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