Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/heimdal: heimdal-1.3.2-r1.ebuild ChangeLog heimdal-1.3.2.ebuild
Date: Sun, 09 May 2010 16:32:51
Message-Id: 20100509163244.867542C475@corvid.gentoo.org
1 darkside 10/05/09 16:32:44
2
3 Modified: ChangeLog
4 Added: heimdal-1.3.2-r1.ebuild
5 Removed: heimdal-1.3.2.ebuild
6 Log:
7 Revbump to workaround parallel make issues and install schema file correctly, bug 319039
8 (Portage version: 2.1.8.3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.152 app-crypt/heimdal/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/heimdal/ChangeLog?rev=1.152&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/heimdal/ChangeLog?rev=1.152&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/heimdal/ChangeLog?r1=1.151&r2=1.152
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v
20 retrieving revision 1.151
21 retrieving revision 1.152
22 diff -u -r1.151 -r1.152
23 --- ChangeLog 9 May 2010 03:50:51 -0000 1.151
24 +++ ChangeLog 9 May 2010 16:32:44 -0000 1.152
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-crypt/heimdal
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.151 2010/05/09 03:50:51 darkside Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.152 2010/05/09 16:32:44 darkside Exp $
30 +
31 +*heimdal-1.3.2-r1 (09 May 2010)
32 +
33 + 09 May 2010; Jeremy Olexa <darkside@g.o> -heimdal-1.3.2.ebuild,
34 + +heimdal-1.3.2-r1.ebuild:
35 + Revbump to workaround parallel make issues and install schema file
36 + correctly, bug 319039
37
38 *heimdal-1.3.2 (09 May 2010)
39
40
41
42
43 1.1 app-crypt/heimdal/heimdal-1.3.2-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/heimdal/heimdal-1.3.2-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/heimdal/heimdal-1.3.2-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: heimdal-1.3.2-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.3.2-r1.ebuild,v 1.1 2010/05/09 16:32:44 darkside Exp $
53
54 EAPI=2
55 VIRTUALX_REQUIRED="manual"
56
57 inherit autotools libtool eutils virtualx toolchain-funcs
58
59 PATCHVER=0.2
60 PATCH_P=${PN}-gentoo-patches-${PATCHVER}
61 RESTRICT="test"
62
63 DESCRIPTION="Kerberos 5 implementation from KTH"
64 HOMEPAGE="http://www.h5l.org/"
65 SRC_URI="http://www.h5l.org/dist/src/${P}.tar.gz"
66
67 LICENSE="BSD"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh
70 ~sparc ~x86"
71 IUSE="afs +berkdb hdb-ldap ipv6 otp pkinit ssl test threads X"
72
73 RDEPEND="ssl? ( dev-libs/openssl )
74 berkdb? ( sys-libs/db )
75 !berkdb? ( sys-libs/gdbm )
76 >=dev-db/sqlite-3.5.7
77 >=sys-libs/e2fsprogs-libs-1.41.11
78 afs? ( net-fs/openafs )
79 hdb-ldap? ( >=net-nds/openldap-2.3.0 )
80 !virtual/krb5"
81
82 DEPEND="${RDEPEND}
83 dev-util/pkgconfig
84 >=sys-devel/autoconf-2.62
85 test? ( X? ( ${VIRTUALX_DEPEND} ) )"
86
87 PROVIDE="virtual/krb5"
88
89 GENTOODIR=${WORKDIR}/gentoo
90
91 src_prepare() {
92 eautoreconf
93 }
94
95 src_configure() {
96 econf \
97 --enable-kcm \
98 --disable-osfc2 \
99 --enable-shared \
100 --with-libintl=/usr \
101 --with-readline=/usr \
102 --with-sqlite3=/usr \
103 --libexecdir=/usr/sbin \
104 $(use_enable afs afs-support) \
105 $(use_enable berkdb berkeley-db) \
106 $(use_enable otp) \
107 $(use_enable pkinit kx509) \
108 $(use_enable pkinit pk-init) \
109 $(use_enable threads pthread-support) \
110 $(use_with hdb-ldap openldap /usr) \
111 $(use_with ipv6) \
112 $(use_with ssl openssl /usr) \
113 $(use_with X x)
114 }
115
116 src_compile() {
117 emake -j1 || die "emake failed"
118 }
119
120 src_install() {
121 INSTALL_CATPAGES="no" emake DESTDIR="${D}" install || die "emake install failed"
122
123 dodoc ChangeLog README NEWS TODO
124
125 # Begin client rename and install
126 for i in {telnetd,ftpd,rshd,popper}
127 do
128 mv "${D}"/usr/share/man/man8/{,k}${i}.8
129 mv "${D}"/usr/sbin/{,k}${i}
130 done
131
132 for i in {rcp,rsh,telnet,ftp,su,login,pagsh,kf}
133 do
134 mv "${D}"/usr/share/man/man1/{,k}${i}.1
135 mv "${D}"/usr/bin/{,k}${i}
136 done
137
138 mv "${D}"/usr/share/man/man5/{,k}ftpusers.5
139 mv "${D}"/usr/share/man/man5/{,k}login.access.5
140
141 newinitd "${FILESDIR}"/heimdal-kdc.initd heimdal-kdc
142 newinitd "${FILESDIR}"/heimdal-kadmind.initd heimdal-kadmind
143 newinitd "${FILESDIR}"/heimdal-kpasswdd.initd heimdal-kpasswdd
144 newinitd "${FILESDIR}"/heimdal-kcm.initd heimdal-kcm
145
146 insinto /etc
147 newins "${FILESDIR}"/krb5.conf krb5.conf.example
148
149 if use hdb-ldap; then
150 insinto /etc/openldap/schema
151 newins "${S}/lib/hdb/hdb.schema" krb5-kdc.schema
152 fi
153
154 # default database dir
155 keepdir /var/heimdal
156 }