Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 285822 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-fs/samba-server/samba-server-3.4.3-r1.ebuild (-9 / +5 lines)
Lines 14-27 Link Here
14
LICENSE="GPL-3"
14
LICENSE="GPL-3"
15
SLOT="0"
15
SLOT="0"
16
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
16
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
17
IUSE="samba4 acl ads aio avahi caps cluster cups debug doc examples fam ldap quota swat syslog winbind zeroconf"
17
IUSE="samba4 acl ads aio caps cluster cups debug doc examples fam ldap quota swat syslog winbind zeroconf"
18
18
19
DEPEND="!<net-fs/samba-3.3
19
DEPEND="!<net-fs/samba-3.3
20
	ads? ( virtual/krb5 sys-fs/e2fsprogs net-fs/samba-libs[ads] )
20
	ads? ( virtual/krb5 sys-fs/e2fsprogs net-fs/samba-libs[ads] )
21
	dev-libs/popt
21
	dev-libs/popt
22
	virtual/libiconv
22
	virtual/libiconv
23
	avahi? ( net-dns/avahi )
23
	zeroconf? ( net-dns/avahi )
24
	zeroconf? ( !avahi? ( || ( net-dns/avahi[mdnsresponder-compat] net-misc/mDNSResponder ) ) )
25
	caps? ( sys-libs/libcap )
24
	caps? ( sys-libs/libcap )
26
	cups? ( net-print/cups )
25
	cups? ( net-print/cups )
27
	debug? ( dev-libs/dmalloc )
26
	debug? ( dev-libs/dmalloc )
Lines 88-99 Link Here
88
	export ac_cv_header_sys_capability_h=no
87
	export ac_cv_header_sys_capability_h=no
89
	use caps && export ac_cv_header_sys_capability_h=yes
88
	use caps && export ac_cv_header_sys_capability_h=yes
90
89
91
	local dnssd="--disable-dnssd"
92
	use zeroconf && ! use avahi && dnssd="--enable-dnssd"
93
94
	# Notes:
90
	# Notes:
95
	# - FAM is a plugin for the server
91
	# - FAM is a plugin for the server
96
	# - DNS-SD is only used in client/server code
97
	# - AFS is a pw-auth-method and only used in client/server code
92
	# - AFS is a pw-auth-method and only used in client/server code
98
	# - AFSACL is a server module
93
	# - AFSACL is a server module
99
	# - automount is only needed in conjunction with NIS and we don't have that
94
	# - automount is only needed in conjunction with NIS and we don't have that
Lines 101-106 Link Here
101
	# - quota-support is only needed in server-code
96
	# - quota-support is only needed in server-code
102
	# - acl-support is only used in server-code
97
	# - acl-support is only used in server-code
103
	# - --without-dce-dfs and --without-nisplus-home can't be passed to configure but are disabled by default
98
	# - --without-dce-dfs and --without-nisplus-home can't be passed to configure but are disabled by default
99
	# - zeroconf support via avahi (dnssd disabled, following upstream default)
104
100
105
	econf ${myconf} \
101
	econf ${myconf} \
106
		--with-piddir=/var/run/samba \
102
		--with-piddir=/var/run/samba \
Lines 116-123 Link Here
116
		--disable-iprint \
112
		--disable-iprint \
117
		$(use_enable fam) \
113
		$(use_enable fam) \
118
		--enable-shared-libs \
114
		--enable-shared-libs \
119
		${dnssd} \
115
		--disable-dnssd \
120
		$(use_enable avahi) \
116
		$(use_enable zeroconf avahi) \
121
		--with-fhs \
117
		--with-fhs \
122
		--with-privatedir=/var/lib/samba/private \
118
		--with-privatedir=/var/lib/samba/private \
123
		--with-rootsbindir=/var/cache/samba \
119
		--with-rootsbindir=/var/cache/samba \

Return to bug 285822