Lines 11-24
Link Here
|
11 |
PATCH_P=${P}-gentoo-patches-${PATCHVER} |
11 |
PATCH_P=${P}-gentoo-patches-${PATCHVER} |
12 |
|
12 |
|
13 |
DESCRIPTION="Kerberos 5 implementation from KTH" |
13 |
DESCRIPTION="Kerberos 5 implementation from KTH" |
14 |
HOMEPAGE="http://www.pdc.kth.se/heimdal/" |
14 |
HOMEPAGE="http://www.h5l.org/" |
15 |
SRC_URI="ftp://ftp.pdc.kth.se/pub/heimdal/src/${P}.tar.gz |
15 |
SRC_URI="http://www.h5l.org/dist/src/${P}.tar.gz |
16 |
http://dev.gentoo.org/~seemant/distfiles/${PATCH_P}.tar.bz2 |
|
|
17 |
mirror://gentoo/${PATCH_P}.tar.bz2" |
16 |
mirror://gentoo/${PATCH_P}.tar.bz2" |
18 |
|
17 |
|
19 |
LICENSE="as-is" |
18 |
LICENSE="three clause BSD style license" |
20 |
SLOT="0" |
19 |
SLOT="0" |
21 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" |
20 |
KEYWORDS="~amd64 ~x86" |
22 |
IUSE="ssl berkdb ipv6 ldap X" |
21 |
IUSE="ssl berkdb ipv6 ldap X" |
23 |
|
22 |
|
24 |
RDEPEND="ssl? ( dev-libs/openssl ) |
23 |
RDEPEND="ssl? ( dev-libs/openssl ) |
Lines 48-59
Link Here
|
48 |
|
47 |
|
49 |
if use ldap; then |
48 |
if use ldap; then |
50 |
myconf="${myconf} --with-openldap=/usr" |
49 |
myconf="${myconf} --with-openldap=/usr" |
51 |
#append-flags -DLDAP_DEPRECATED=1 |
|
|
52 |
fi |
50 |
fi |
53 |
|
51 |
|
54 |
econf \ |
52 |
econf \ |
55 |
$(use_with ipv6) \ |
53 |
$(use_with ipv6) \ |
56 |
$(use_with berkdb berkeley-db) \ |
54 |
$(use_enable berkdb berkeley-db) \ |
57 |
$(use_with ssl openssl) \ |
55 |
$(use_with ssl openssl) \ |
58 |
$(use_with X x) \ |
56 |
$(use_with X x) \ |
59 |
--disable-krb4 \ |
57 |
--disable-krb4 \ |
Lines 62-80
Link Here
|
62 |
--enable-netinfo \ |
60 |
--enable-netinfo \ |
63 |
--enable-pthread-support \ |
61 |
--enable-pthread-support \ |
64 |
--libexecdir=/usr/sbin \ |
62 |
--libexecdir=/usr/sbin \ |
65 |
--includedir=/usr/include/heimdal \ |
63 |
--prefix=/usr \ |
66 |
${myconf} || die "econf failed" |
64 |
${myconf} || die "econf failed" |
67 |
|
65 |
|
68 |
emake || die "emake failed" |
66 |
emake || die "emake failed" |
69 |
|
67 |
|
70 |
# Compile the added password checker: |
|
|
71 |
#cd lib/kadm5 |
72 |
#tc-export CC |
73 |
#${CC} -shared -fPIC \ |
74 |
# ${CFLAGS} -I"${S}"/include \ |
75 |
# -DDICTPATH=\"/usr/$(get_libdir)/cracklib_dict\" \ |
76 |
# -o sample_passwd_check.so sample_passwd_check.c -lcrack || \ |
77 |
# die "Failed to compile password checker" |
78 |
} |
68 |
} |
79 |
|
69 |
|
80 |
src_test() { |
70 |
src_test() { |
Lines 91-98
Link Here
|
91 |
src_install() { |
81 |
src_install() { |
92 |
emake DESTDIR="${D}" install || die "emake install failed" |
82 |
emake DESTDIR="${D}" install || die "emake install failed" |
93 |
|
83 |
|
94 |
#dolib lib/kadm5/sample_passwd_check.so |
|
|
95 |
|
96 |
dodoc ChangeLog README NEWS TODO |
84 |
dodoc ChangeLog README NEWS TODO |
97 |
|
85 |
|
98 |
# Begin client rename and install |
86 |
# Begin client rename and install |
Lines 111-131
Link Here
|
111 |
mv "${D}"/usr/share/man/man5/{,k}ftpusers.5 |
99 |
mv "${D}"/usr/share/man/man5/{,k}ftpusers.5 |
112 |
mv "${D}"/usr/share/man/man5/{,k}login.access.5 |
100 |
mv "${D}"/usr/share/man/man5/{,k}login.access.5 |
113 |
|
101 |
|
114 |
# Create symlinks for the includes |
|
|
115 |
#dosym heimdal /usr/include/gssapi |
116 |
#dosym heimdal/krb5-types.h /usr/include/krb5-types.h |
117 |
#dosym heimdal/krb5.h /usr/include/krb5.h |
118 |
#dosym heimdal/asn1_err.h /usr/include/asn1_err.h |
119 |
#dosym heimdal/krb5_asn1.h /usr/include/krb5_asn1.h |
120 |
#dosym heimdal/krb5_err.h /usr/include/krb5_err.h |
121 |
#dosym heimdal/heim_err.h /usr/include/heim_err.h |
122 |
#dosym heimdal/k524_err.h /usr/include/k524_err.h |
123 |
#dosym heimdal/krb5-protos.h /usr/include/krb5-protos.h |
124 |
|
125 |
# Hacky symlinks for silly old SASL checks |
126 |
dosym . /usr/include/heimdal/include |
127 |
dosym /usr/lib /usr/include/heimdal/lib |
128 |
|
129 |
doinitd "${GENTOODIR}"/configs/heimdal-kdc |
102 |
doinitd "${GENTOODIR}"/configs/heimdal-kdc |
130 |
doinitd "${GENTOODIR}"/configs/heimdal-kadmind |
103 |
doinitd "${GENTOODIR}"/configs/heimdal-kadmind |
131 |
doinitd "${GENTOODIR}"/configs/heimdal-kpasswdd |
104 |
doinitd "${GENTOODIR}"/configs/heimdal-kpasswdd |