Lines 15-24
Link Here
|
15 |
LICENSE="as-is" |
15 |
LICENSE="as-is" |
16 |
SLOT="0" |
16 |
SLOT="0" |
17 |
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86" |
17 |
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86" |
18 |
IUSE="krb4 doc" |
18 |
IUSE="krb4 doc ldap" |
19 |
|
19 |
|
20 |
RDEPEND="!virtual/krb5 |
20 |
RDEPEND="!virtual/krb5 |
21 |
>=sys-libs/e2fsprogs-libs-1.41.0" |
21 |
>=sys-libs/e2fsprogs-libs-1.41.0 |
|
|
22 |
ldap? ( net-nds/openldap )" |
22 |
DEPEND="${RDEPEND} |
23 |
DEPEND="${RDEPEND} |
23 |
doc? ( virtual/latex-base )" |
24 |
doc? ( virtual/latex-base )" |
24 |
|
25 |
|
Lines 48-53
Link Here
|
48 |
append-flags "-I/usr/include/et" |
49 |
append-flags "-I/usr/include/et" |
49 |
econf \ |
50 |
econf \ |
50 |
$(use_with krb4) \ |
51 |
$(use_with krb4) \ |
|
|
52 |
$(use_with ldap) \ |
51 |
--enable-shared \ |
53 |
--enable-shared \ |
52 |
--with-system-et --with-system-ss \ |
54 |
--with-system-et --with-system-ss \ |
53 |
--enable-dns-for-realm \ |
55 |
--enable-dns-for-realm \ |
Lines 95-104
Link Here
|
95 |
|
97 |
|
96 |
newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind |
98 |
newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind |
97 |
newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc |
99 |
newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc |
|
|
100 |
newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc |
98 |
|
101 |
|
99 |
insinto /etc |
102 |
insinto /etc |
100 |
newins "${D}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example |
103 |
newins "${D}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example |
101 |
newins "${D}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example |
104 |
newins "${D}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example |
|
|
105 |
|
106 |
insinto /etc/openldap/schema |
107 |
use ldap && doins "${S}"/plugins/kdb/ldap/libkdb_ldap/kerberos.schema |
102 |
} |
108 |
} |
103 |
|
109 |
|
104 |
pkg_postinst() { |
110 |
pkg_postinst() { |