summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-12-20 15:45:37 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-12-20 15:45:37 +0000
commit2c86d161395cfe3e957921a9091fc66c27525d66 (patch)
treee1f234be56bd2fa3aa6a0b8ece2bc2c8b1e8f865 /sys-libs/pam
parentGoodbye sys-auth/pam_console. (diff)
downloadgentoo-2-2c86d161395cfe3e957921a9091fc66c27525d66.tar.gz
gentoo-2-2c86d161395cfe3e957921a9091fc66c27525d66.tar.bz2
gentoo-2-2c86d161395cfe3e957921a9091fc66c27525d66.zip
Remove pam_console USE flag so that it's always disabled.
(Portage version: 2.1.4_rc10)
Diffstat (limited to 'sys-libs/pam')
-rw-r--r--sys-libs/pam/ChangeLog5
-rw-r--r--sys-libs/pam/files/digest-pam-0.78-r53
-rw-r--r--sys-libs/pam/pam-0.78-r5.ebuild64
3 files changed, 11 insertions, 61 deletions
diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog
index aec601bbe3b5..1997133770a6 100644
--- a/sys-libs/pam/ChangeLog
+++ b/sys-libs/pam/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/pam
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.187 2007/11/24 11:27:34 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.188 2007/12/20 15:45:36 flameeyes Exp $
+
+ 20 Dec 2007; Diego Pettenò <flameeyes@gentoo.org> pam-0.78-r5.ebuild:
+ Remove pam_console USE flag so that it's always disabled.
24 Nov 2007; Diego Pettenò <flameeyes@gentoo.org> pam-0.99.9.0.ebuild:
Don't suggest using sys-auth/pam_console anymore, also link the upgrade
diff --git a/sys-libs/pam/files/digest-pam-0.78-r5 b/sys-libs/pam/files/digest-pam-0.78-r5
index 1fae6302036d..598e12bc452b 100644
--- a/sys-libs/pam/files/digest-pam-0.78-r5
+++ b/sys-libs/pam/files/digest-pam-0.78-r5
@@ -4,9 +4,6 @@ SHA256 a18b9f7b45344a4e49d2647c036894cc6578f249fa0cf024763f1140df684d3e Linux-PA
MD5 fcc481d52c3b80e20a328f8c0cb042bd db-4.3.27.tar.gz 5921872
RMD160 711129871c7edd840184bd5a87fb7bf93c8bb953 db-4.3.27.tar.gz 5921872
SHA256 6f09e04c5811ad72a2a5c99459340cb2c635e6553520af76fc9e717dd6207244 db-4.3.27.tar.gz 5921872
-MD5 777d2e34a60edad28319207b576cda91 glib-2.6.5.tar.bz2 2357089
-RMD160 6ccdfed7ea5621b7c69c436c3b8b5fbba44dc62e glib-2.6.5.tar.bz2 2357089
-SHA256 ca061bbd41c6484b4b0eabbee08f99e51ebf5f3a0c63e8b0787b8d37546cc2ca glib-2.6.5.tar.bz2 2357089
MD5 aa8983563b7d6f4904a26d2b5c7448bd pam-0.78-patches-1.6.tar.bz2 91527
RMD160 af880422f7e0f6440debf6885a4e3ca048dc67a9 pam-0.78-patches-1.6.tar.bz2 91527
SHA256 54241417a9e19b02457b3d9997e6ca24c14da86e22d447873440853a7525c9bb pam-0.78-patches-1.6.tar.bz2 91527
diff --git a/sys-libs/pam/pam-0.78-r5.ebuild b/sys-libs/pam/pam-0.78-r5.ebuild
index c1717524b2ff..8acc7738ac87 100644
--- a/sys-libs/pam/pam-0.78-r5.ebuild
+++ b/sys-libs/pam/pam-0.78-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.78-r5.ebuild,v 1.20 2007/11/15 16:59:56 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.78-r5.ebuild,v 1.21 2007/12/20 15:45:36 flameeyes Exp $
FORCE_SYSTEMAUTH_UPDATE="no"
@@ -23,24 +23,21 @@ S="${WORKDIR}/Linux-PAM-${PV}"
S2="${WORKDIR}/pam-${PV}-patches"
SRC_URI="mirror://kernel/linux/libs/pam/pre/library/Linux-PAM-${PV}.tar.gz
mirror://gentoo/pam-${PV}-patches-${PATCH_LEVEL}.tar.bz2
- berkdb? ( http://downloads.sleepycat.com/db-${BDB_VER}.tar.gz )
- pam_console? ( ftp://ftp.gtk.org/pub/gtk/v2.6/glib-${GLIB_VER}.tar.bz2 )"
+ berkdb? ( http://downloads.sleepycat.com/db-${BDB_VER}.tar.gz )"
LICENSE="PAM"
SLOT="0"
KEYWORDS="mips"
-IUSE="berkdb pwdb selinux pam_chroot pam_console pam_timestamp nis"
+IUSE="berkdb pwdb selinux pam_chroot pam_timestamp nis"
RDEPEND=">=sys-libs/cracklib-2.8.3
selinux? ( >=sys-libs/libselinux-1.28 )
berkdb? ( >=sys-libs/db-${BDB_VER2} )
pwdb? ( >=sys-libs/pwdb-0.62 )
- !sys-auth/pam_console
!sys-auth/pam_userdb
!sys-auth/pam_chroot"
-# Note that we link to static versions of glib (pam_console.so)
-# and pwdb (pam_pwdb.so), so we need glib-2.6.2-r1 or later ...
+# Note that we link to static versions of and pwdb (pam_pwdb.so)
DEPEND="${RDEPEND}
dev-lang/perl
dev-util/pkgconfig
@@ -89,14 +86,6 @@ pkg_setup() {
# fi
# done
#fi
- #if use pam_console; then
- # x="libglib-2.0.a"
- # if [ ! -f "${ROOT}/usr/$(get_libdir)/${x}" ]; then
- # eerror "Could not find /usr/$(get_libdir)/${x} needed to build Linux-PAM!"
- # eerror "Please remerge glib-2.6.* to make sure you have static changes."
- # die "Could not find /usr/$(get_libdir)/${x} needed to build Linux-PAM!"
- # fi
- #fi
return 0
}
@@ -122,9 +111,10 @@ src_unpack() {
# Check which extra modules should be built
# (Do this after apply_pam_patches(), else some may fail)
- for x in pam_chroot pam_console pam_timestamp; do
+ for x in pam_chroot pam_timestamp; do
use "${x}" || rm -rf "${S}/modules/${x}"
done
+ rm -rf "${S}/modules/pam_console"
use berkdb || rm -rf "${S}/modules/pam_userdb"
use pwdb || rm -rf "${S}/modules/pam_pwdb"
use pwdb || rm -rf "${S}/modules/pam_radius"
@@ -196,35 +186,7 @@ src_compile() {
make install || die
fi
- if use pam_console ; then
- einfo "Building GLIB ${GLIB_VER}..."
- cd "${GLIB_DIR}" || die
-
- # The __attribute__((visibility("hidden"))) causes TEXTREL issues
- sed -i -s 's:G_GNUC_INTERNAL::g' "${GLIB_DIR}/glib"/*.c
-
- CFLAGS="${CFLAGS} -fPIC" \
- ./configure \
- --host=${CHOST} \
- --enable-static \
- --disable-shared \
- --with-pic \
- --disable-threads \
- --with-threads=none \
- --prefix="${S}" \
- --includedir="${S}/include" \
- --libdir="${S}/lib" || die "Bad GLIB ./configure"
-
- # Do not need to build the whole shebang
- cd "${GLIB_DIR}/glib" || die
- make CC="$(tc-getCC)" || die "GLIB build failed"
- make install || die
- # Install pkg-config stuff and needed headers
- cd "${GLIB_DIR}" || die
- make install-pkgconfigDATA install-exec-local || die
- fi
-
- if use berkdb || use pam_console ; then
+ if use berkdb ; then
# Make sure out static libs are used
export CFLAGS="-I${S}/include -Wl,-L${S}/lib ${CFLAGS}"
export LDFLAGS="-L${S}/lib ${LDFLAGS}"
@@ -327,9 +289,6 @@ src_install() {
cd ${S}
- # need this for pam_console
- keepdir /var/run/console
-
newpamd "${FILESDIR}/system-auth.pamd.0.78" system-auth
newpamd "${FILESDIR}/other.pamd" other
@@ -345,8 +304,6 @@ src_install() {
dodoc CHANGELOG Copyright README
docinto modules ; dodoc modules/README ; dodoc doc/txts/README.*
- # Install our own README.pam_console
- docinto modules ; dodoc "${S2}/gentoo-extrafiles/README.pam_console"
docinto txt ; dodoc doc/specs/*.txt #doc/txts/*.txt
# docinto print ; dodoc doc/ps/*.ps
@@ -382,11 +339,4 @@ pkg_postinst() {
rm -f ${ROOT}/etc/pam.d/system-auth.new
fi
fi
-
- if use pam_console; then
- echo
- elog "If you want to enable the pam_console module, please follow"
- elog "the instructions in /usr/share/doc/${PF}/README.pam_console."
- echo
- fi
}