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