summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-10-02 13:38:57 +0200
committerPacho Ramos <pacho@gentoo.org>2016-10-02 14:36:58 +0200
commitb4f8611095fc4d3cfc54b3c4abcf58ee960644b7 (patch)
tree11b010d3ec93ea6c8e600f704aa4ddc5ab0176a9 /net-fs/netatalk
parentmedia-video/vlc: Use zeroconf instead of avahi USE flag (#477620) (diff)
downloadgentoo-b4f8611095fc4d3cfc54b3c4abcf58ee960644b7.tar.gz
gentoo-b4f8611095fc4d3cfc54b3c4abcf58ee960644b7.tar.bz2
gentoo-b4f8611095fc4d3cfc54b3c4abcf58ee960644b7.zip
net-fs/netatalk: Use zeroconf instead of avahi USE flag (#477620)
Package-Manager: portage-2.3.1
Diffstat (limited to 'net-fs/netatalk')
-rw-r--r--net-fs/netatalk/netatalk-3.1.8.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/net-fs/netatalk/netatalk-3.1.8.ebuild b/net-fs/netatalk/netatalk-3.1.8.ebuild
index 3416b1c570e..fc297d9b694 100644
--- a/net-fs/netatalk/netatalk-3.1.8.ebuild
+++ b/net-fs/netatalk/netatalk-3.1.8.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/project/${PN}/${PN}/$(get_version_component_range
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
@@ -30,7 +30,6 @@ CDEPEND="
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 )
@@ -40,7 +39,8 @@ CDEPEND="
tcpd? ( sys-apps/tcp-wrappers )
tracker? ( app-misc/tracker )
utils? ( ${PYTHON_DEPS} )
- "
+ zeroconf? ( net-dns/avahi[dbus] )
+"
RDEPEND="${CDEPEND}
utils? (
dev-lang/perl
@@ -80,7 +80,6 @@ src_configure() {
# TODO:
# systemd : --with-init-style=systemd
myeconfargs+=(
- $(use_enable avahi zeroconf)
$(use_enable debug)
$(use_enable debug debugging)
$(use_enable pgp pgp-uam)
@@ -88,6 +87,7 @@ src_configure() {
$(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)
@@ -117,7 +117,7 @@ src_configure() {
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