LICENSE="GPL-2 BSD"
SLOT="0/17.0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
-IUSE="acl avahi cracklib dbus debug pgp kerberos ldap pam quota samba +shadow ssl static-libs tracker tcpd +utils"
+IUSE="acl cracklib dbus debug pgp kerberos ldap pam quota samba +shadow ssl static-libs tracker tcpd +utils zeroconf"
CDEPEND="
!app-editors/yudit
sys-apps/attr
sys-apps/acl
)
- avahi? ( net-dns/avahi[dbus] )
cracklib? ( sys-libs/cracklib )
dbus? ( sys-apps/dbus dev-libs/dbus-glib )
kerberos? ( virtual/krb5 )
tcpd? ( sys-apps/tcp-wrappers )
tracker? ( app-misc/tracker )
utils? ( ${PYTHON_DEPS} )
- "
+ zeroconf? ( net-dns/avahi[dbus] )
+"
RDEPEND="${CDEPEND}
utils? (
dev-lang/perl
# TODO:
# systemd : --with-init-style=systemd
myeconfargs+=(
- $(use_enable avahi zeroconf)
$(use_enable debug)
$(use_enable debug debugging)
$(use_enable pgp pgp-uam)
$(use_enable kerberos krbV-uam)
$(use_enable quota)
$(use_enable tcpd tcp-wrappers)
+ $(use_enable zeroconf)
$(use_with acl acls)
$(use_with cracklib)
$(use_with dbus afpstats)
src_install() {
autotools-utils_src_install
- if use avahi; then
+ if use zeroconf; then
sed -i -e '/avahi-daemon/s:use:need:g' "${D}"/etc/init.d/${PN} || die
else
sed -i -e '/avahi-daemon/d' "${D}"/etc/init.d/${PN} || die