net-fs/samba: Fixing automagic dependency on pam for samba-4.3.x (bug #489770)
authorLars Wendler <polynomial-c@gentoo.org>
Wed, 6 Jan 2016 12:30:08 +0000 (13:30 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 6 Jan 2016 12:30:08 +0000 (13:30 +0100)
Package-Manager: portage-2.2.26
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
net-fs/samba/samba-4.2.7.ebuild
net-fs/samba/samba-4.3.3.ebuild

index 170e737c967232f32e6904b646e151e63bd7e357..f80127c86b8906c23f04cd2533a528840025567c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -73,8 +73,10 @@ REQUIRED_USE="addc? ( gnutls !system-mitkrb5 )
 
 S="${WORKDIR}/${MY_P}"
 
-PATCHES=( "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch" \
-                       "${FILESDIR}/${PN}-4.2.7-pam.patch")
+PATCHES=(
+       "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch"
+       "${FILESDIR}/${PN}-4.2.7-pam.patch"
+)
 
 CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
 
index a6497de3833dd23e4f97cb3c8f6415e137f15b24..e71e35f19c3f1659a44497206a274a44a417d78a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -28,7 +28,6 @@ IUSE="acl addc addns ads aio avahi client cluster cups dmapi fam gnutls iprint
 ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind"
 
 # sys-apps/attr is an automagic dependency (see bug #489748)
-# sys-libs/pam is an automagic dependency (see bug #489770)
 CDEPEND="${PYTHON_DEPS}
        dev-libs/iniparser:0
        dev-libs/popt
@@ -73,7 +72,10 @@ REQUIRED_USE="addc? ( gnutls !system-mitkrb5 )
 
 S="${WORKDIR}/${MY_P}"
 
-PATCHES=( "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch" )
+PATCHES=(
+       "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch"
+       "${FILESDIR}/${PN}-4.2.7-pam.patch"
+)
 
 CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
 
@@ -93,14 +95,6 @@ pkg_setup() {
                                ewarn "and recompile your kernel..."
                fi
        fi
-       if ! use pam ; then
-               ewarn "You have pam USE flag disabled!"
-               ewarn "Unfortunately we still have to hard depend on virtual/pam as samba upstream"
-               ewarn "still unconditionally links libauth4-samba4.so library to libpam.so once being"
-               ewarn "found on the sytem."
-               ewarn "Disabling the pam USE flag only disables installation of samba's pam authenti-"
-               ewarn "cation modules."
-       fi
 }
 
 src_prepare() {