1 |
eras 11/03/02 10:46:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: heimdal-1.4.1_pre20110301.ebuild |
5 |
Log: |
6 |
Version bump - bug 355375 |
7 |
|
8 |
(Portage version: 2.1.9.41/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.171 app-crypt/heimdal/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/heimdal/ChangeLog?rev=1.171&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/heimdal/ChangeLog?rev=1.171&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/heimdal/ChangeLog?r1=1.170&r2=1.171 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v |
20 |
retrieving revision 1.170 |
21 |
retrieving revision 1.171 |
22 |
diff -u -r1.170 -r1.171 |
23 |
--- ChangeLog 20 Feb 2011 18:16:10 -0000 1.170 |
24 |
+++ ChangeLog 2 Mar 2011 10:46:16 -0000 1.171 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-crypt/heimdal |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.170 2011/02/20 18:16:10 eras Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.171 2011/03/02 10:46:16 eras Exp $ |
30 |
+ |
31 |
+*heimdal-1.4.1_pre20110301 (02 Mar 2011) |
32 |
+ |
33 |
+ 02 Mar 2011; Eray Aslan <eras@g.o> |
34 |
+ +heimdal-1.4.1_pre20110301.ebuild: |
35 |
+ Version bump - bug 355375 |
36 |
|
37 |
20 Feb 2011; Eray Aslan <eras@g.o> |
38 |
-heimdal-1.4.1_pre20110216.ebuild, heimdal-1.4.1_pre20110216-r1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-crypt/heimdal/heimdal-1.4.1_pre20110301.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/heimdal/heimdal-1.4.1_pre20110301.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/heimdal/heimdal-1.4.1_pre20110301.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: heimdal-1.4.1_pre20110301.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 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.4.1_pre20110301.ebuild,v 1.1 2011/03/02 10:46:16 eras Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
# PYTHON_BDEPEND="2" |
55 |
VIRTUALX_REQUIRED="manual" |
56 |
|
57 |
inherit autotools db-use eutils libtool python toolchain-funcs virtualx |
58 |
|
59 |
MY_P="${P}" |
60 |
DESCRIPTION="Kerberos 5 implementation from KTH" |
61 |
HOMEPAGE="http://www.h5l.org/" |
62 |
SRC_URI="http://www.h5l.org/dist/src/${MY_P}.tar.bz2" |
63 |
|
64 |
LICENSE="BSD" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
67 |
IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit ssl threads test X" |
68 |
|
69 |
RDEPEND="ssl? ( dev-libs/openssl ) |
70 |
berkdb? ( sys-libs/db ) |
71 |
!berkdb? ( sys-libs/gdbm ) |
72 |
caps? ( sys-libs/libcap-ng ) |
73 |
>=dev-db/sqlite-3.5.7 |
74 |
>=sys-libs/e2fsprogs-libs-1.41.11 |
75 |
afs? ( net-fs/openafs ) |
76 |
hdb-ldap? ( >=net-nds/openldap-2.3.0 ) |
77 |
!!app-crypt/mit-krb5" |
78 |
|
79 |
DEPEND="${RDEPEND} |
80 |
=dev-lang/python-2* |
81 |
dev-util/pkgconfig |
82 |
>=sys-devel/autoconf-2.62 |
83 |
test? ( X? ( ${VIRTUALX_DEPEND} ) )" |
84 |
|
85 |
PROVIDE="virtual/krb5" |
86 |
|
87 |
S="${WORKDIR}/${PN}" |
88 |
|
89 |
pkg_setup() { |
90 |
python_set_active_version 2 |
91 |
python_pkg_setup |
92 |
} |
93 |
|
94 |
src_prepare() { |
95 |
epatch "${FILESDIR}/heimdal_db5.patch" |
96 |
epatch "${FILESDIR}/heimdal_disable-check-iprop.patch" |
97 |
epatch "${FILESDIR}/heimdal_link_order.patch" |
98 |
eautoreconf |
99 |
} |
100 |
|
101 |
src_configure() { |
102 |
local myconf="" |
103 |
if use berkdb; then |
104 |
myconf="--with-berkeley-db --with-berkeley-db-include=$(db_includedir)" |
105 |
else |
106 |
myconf="--without-berkeley-db" |
107 |
fi |
108 |
econf \ |
109 |
--enable-kcm \ |
110 |
--disable-osfc2 \ |
111 |
--enable-shared \ |
112 |
--with-libintl=/usr \ |
113 |
--with-readline=/usr \ |
114 |
--with-sqlite3=/usr \ |
115 |
--libexecdir=/usr/sbin \ |
116 |
$(use_enable afs afs-support) \ |
117 |
$(use_enable otp) \ |
118 |
$(use_enable pkinit kx509) \ |
119 |
$(use_enable pkinit pk-init) \ |
120 |
$(use_enable threads pthread-support) \ |
121 |
$(use_with caps capng) \ |
122 |
$(use_with hdb-ldap openldap /usr) \ |
123 |
$(use_with ipv6) \ |
124 |
$(use_with ssl openssl /usr) \ |
125 |
$(use_with X x) \ |
126 |
${myconf} |
127 |
} |
128 |
|
129 |
src_compile() { |
130 |
emake -j1 || die "emake failed" |
131 |
} |
132 |
|
133 |
src_test() { |
134 |
einfo "Disabled check-iprop which is known to fail. Other tests should work." |
135 |
default_src_test |
136 |
} |
137 |
|
138 |
src_install() { |
139 |
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install || die "emake install failed" |
140 |
|
141 |
dodoc ChangeLog README NEWS TODO |
142 |
|
143 |
# Begin client rename and install |
144 |
for i in {telnetd,ftpd,rshd,popper} |
145 |
do |
146 |
mv "${D}"/usr/share/man/man8/{,k}${i}.8 |
147 |
mv "${D}"/usr/sbin/{,k}${i} |
148 |
done |
149 |
|
150 |
for i in {rcp,rsh,telnet,ftp,su,login,pagsh,kf} |
151 |
do |
152 |
mv "${D}"/usr/share/man/man1/{,k}${i}.1 |
153 |
mv "${D}"/usr/bin/{,k}${i} |
154 |
done |
155 |
|
156 |
mv "${D}"/usr/share/man/man5/{,k}ftpusers.5 |
157 |
mv "${D}"/usr/share/man/man5/{,k}login.access.5 |
158 |
|
159 |
newinitd "${FILESDIR}"/heimdal-kdc.initd-r1 heimdal-kdc |
160 |
newinitd "${FILESDIR}"/heimdal-kadmind.initd-r1 heimdal-kadmind |
161 |
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r1 heimdal-kpasswdd |
162 |
newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm |
163 |
|
164 |
newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc |
165 |
newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind |
166 |
newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd |
167 |
newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm |
168 |
|
169 |
insinto /etc |
170 |
newins "${FILESDIR}"/krb5.conf krb5.conf.example |
171 |
|
172 |
if use hdb-ldap; then |
173 |
insinto /etc/openldap/schema |
174 |
doins "${S}/lib/hdb/hdb.schema" |
175 |
fi |
176 |
|
177 |
# default database dir |
178 |
keepdir /var/heimdal |
179 |
} |
180 |
|
181 |
pkg_preinst() { |
182 |
if has_version "=${CATEGORY}/${PN}-1.3.2*" ; then |
183 |
if use hdb-ldap ; then |
184 |
ewarn "Schema name changed to hdb.schema to follow upstream." |
185 |
ewarn "Please check your slapd conf file to make sure" |
186 |
ewarn "that the correct schema file is included." |
187 |
fi |
188 |
fi |
189 |
} |