1 |
mueli 08/06/14 16:59:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: heimdal-1.2.1_rc1-r1.ebuild |
5 |
Log: |
6 |
added otp use and removed cracklib dependency |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.120 app-crypt/heimdal/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/heimdal/ChangeLog?rev=1.120&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/heimdal/ChangeLog?rev=1.120&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/heimdal/ChangeLog?r1=1.119&r2=1.120 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v |
19 |
retrieving revision 1.119 |
20 |
retrieving revision 1.120 |
21 |
diff -u -r1.119 -r1.120 |
22 |
--- ChangeLog 11 Jun 2008 07:27:46 -0000 1.119 |
23 |
+++ ChangeLog 14 Jun 2008 16:59:32 -0000 1.120 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for app-crypt/heimdal |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.119 2008/06/11 07:27:46 mueli Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.120 2008/06/14 16:59:32 mueli Exp $ |
29 |
+ |
30 |
+*heimdal-1.2.1_rc1-r1 (14 Jun 2008) |
31 |
+ |
32 |
+ 14 Jun 2008; Michael Hammer <mueli@g.o> |
33 |
+ +heimdal-1.2.1_rc1-r1.ebuild: |
34 |
+ Removed the cracklib dependency as it is not needed. Added otp use flag. See |
35 |
+ #185899, thx to mastamind@×××××××××××××××××.net |
36 |
|
37 |
*heimdal-1.2.1_rc1 (11 Jun 2008) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 app-crypt/heimdal/heimdal-1.2.1_rc1-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/heimdal/heimdal-1.2.1_rc1-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/heimdal/heimdal-1.2.1_rc1-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: heimdal-1.2.1_rc1-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.2.1_rc1-r1.ebuild,v 1.1 2008/06/14 16:59:32 mueli Exp $ |
52 |
|
53 |
WANT_AUTOMAKE=latest |
54 |
WANT_AUTOCONF=latest |
55 |
|
56 |
inherit autotools libtool eutils virtualx toolchain-funcs flag-o-matic |
57 |
|
58 |
PATCHVER=0.2 |
59 |
PATCH_P=${PN}-gentoo-patches-${PATCHVER} |
60 |
|
61 |
DESCRIPTION="Kerberos 5 implementation from KTH" |
62 |
HOMEPAGE="http://www.h5l.org/" |
63 |
SRC_URI="http://www.h5l.org/dist/src/snapshots/${P/_rc/rc}.tar.gz |
64 |
mirror://gentoo/${PATCH_P}.tar.bz2" |
65 |
|
66 |
LICENSE="BSD" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
IUSE="berkdb ipv6 ssl threads X pkinit otp" # ldap ldap-shared <- circular dependency |
70 |
|
71 |
RDEPEND="ssl? ( dev-libs/openssl ) |
72 |
berkdb? ( sys-libs/db ) |
73 |
>=dev-db/sqlite-3.5.7 |
74 |
sys-libs/ss |
75 |
sys-libs/com_err |
76 |
!virtual/krb5" |
77 |
# Sry for that - still have no cute solution to break circular dependency |
78 |
# I also want to point at http://www.h5l.org/manual/heimdal-1-1-branch/info/heimdal.html#Using-LDAP-to-store-the-database |
79 |
# I agree that it's not advicable to use LDAP as backend for kerberos |
80 |
# ldap? ( >=net-nds/openldap-2.3.0 ) |
81 |
# ldap-shared? ( >=net-nds/openldap-2.3.0 ) |
82 |
|
83 |
DEPEND="${RDEPEND} |
84 |
dev-util/pkgconfig |
85 |
>=sys-devel/autoconf-2.62" |
86 |
# >=sys-devel/libtool-2.2" |
87 |
PROVIDE="virtual/krb5" |
88 |
|
89 |
GENTOODIR=${WORKDIR}/gentoo |
90 |
S=${WORKDIR}/${P/_rc/rc} |
91 |
|
92 |
src_unpack() { |
93 |
unpack ${A} |
94 |
cd "${S}" |
95 |
|
96 |
EPATCH_SUFFIX="patch" epatch "${GENTOODIR}"/patches |
97 |
|
98 |
epatch "${FILESDIR}"/heimdal-r23238-kb5_locl_h-wind_h.patch |
99 |
epatch "${FILESDIR}"/heimdal-r23235-kb5-libwind_la.patch |
100 |
epatch "${FILESDIR}"/heimdal-kdc-sans_pkinit.patch |
101 |
epatch "${FILESDIR}"/heimdal-system_sqlite.patch |
102 |
|
103 |
AT_M4DIR="cf" eautoreconf |
104 |
} |
105 |
|
106 |
src_compile() { |
107 |
local myconf="" |
108 |
|
109 |
# if use ldap || use ldap-shared ; then |
110 |
# myconf="${myconf} --with-openldap=/usr" |
111 |
# fi |
112 |
|
113 |
econf \ |
114 |
$(use_with ipv6) \ |
115 |
$(use_enable berkdb berkeley-db) \ |
116 |
$(use_enable pkinit pk-init) \ |
117 |
$(use_with ssl openssl) \ |
118 |
$(use_with X x) \ |
119 |
$(use_enable threads pthread-support) \ |
120 |
$(use_enable otp) \ |
121 |
--enable-kcm \ |
122 |
--enable-shared \ |
123 |
--enable-netinfo \ |
124 |
--prefix=/usr \ |
125 |
--libexecdir=/usr/sbin \ |
126 |
${myconf} || die "econf failed" |
127 |
# $(use_enable ldap-shared hdb-openldap-module) \ |
128 |
|
129 |
|
130 |
local ltversion=`libtool --version |grep 'GNU libtool' |sed -e's/^.*(GNU libtool) \([0-9]\+\.[0-9]\+\(\.[0-9]\+\)\+\) .*$/\1/'` |
131 |
local ltmajor=`echo $ltversion |sed -e's/^\([0-9]\+\)\..*$/\1/'` |
132 |
local ltminor=`echo $ltversion |sed -e's/^[0-9]\+\.\([0-9]\+\)\..*$/\1/'` |
133 |
if [ $ltmajor -lt 2 ] || ( [ $ltmajor -eq 2 ] && [ $ltminor -lt 2 ] ); then |
134 |
ewarn "Using old libtool with a quick hack." |
135 |
sed -i -e's/ECHO=/echo=/' libtool |
136 |
fi |
137 |
|
138 |
emake || die "emake failed" |
139 |
|
140 |
} |
141 |
|
142 |
src_test() { |
143 |
addpredict /proc/fs/openafs/afs_ioctl |
144 |
addpredict /proc/fs/nnpfs/afs_ioctl |
145 |
|
146 |
if use X ; then |
147 |
KRB5_CONFIG="${S}"/krb5.conf Xmake check || die |
148 |
else |
149 |
KRB5_CONFIG="${S}"/krb5.conf make check || die |
150 |
fi |
151 |
} |
152 |
|
153 |
src_install() { |
154 |
emake DESTDIR="${D}" install || die "emake install failed" |
155 |
|
156 |
dodoc ChangeLog README NEWS TODO |
157 |
|
158 |
# Begin client rename and install |
159 |
for i in {telnetd,ftpd,rshd} |
160 |
do |
161 |
mv "${D}"/usr/share/man/man8/{,k}${i}.8 |
162 |
mv "${D}"/usr/sbin/{,k}${i} |
163 |
done |
164 |
|
165 |
for i in {rcp,rsh,telnet,ftp,su,login} |
166 |
do |
167 |
mv "${D}"/usr/share/man/man1/{,k}${i}.1 |
168 |
mv "${D}"/usr/bin/{,k}${i} |
169 |
done |
170 |
|
171 |
mv "${D}"/usr/share/man/man5/{,k}ftpusers.5 |
172 |
mv "${D}"/usr/share/man/man5/{,k}login.access.5 |
173 |
|
174 |
doinitd "${GENTOODIR}"/configs/heimdal-kdc |
175 |
doinitd "${GENTOODIR}"/configs/heimdal-kadmind |
176 |
doinitd "${GENTOODIR}"/configs/heimdal-kpasswdd |
177 |
doinitd "${GENTOODIR}"/configs/heimdal-kcm |
178 |
|
179 |
insinto /etc |
180 |
newins "${GENTOODIR}"/configs/krb5.conf krb5.conf.example |
181 |
|
182 |
sed -i "s:/lib:/$(get_libdir):" "${D}"/etc/krb5.conf.example || die "sed failed" |
183 |
|
184 |
# if use ldap; then |
185 |
# insinto /etc/openldap/schema |
186 |
# doins "${GENTOODIR}"/configs/krb5-kdc.schema |
187 |
# fi |
188 |
|
189 |
# default database dir |
190 |
keepdir /var/heimdal |
191 |
} |
192 |
|
193 |
|
194 |
|
195 |
-- |
196 |
gentoo-commits@l.g.o mailing list |