diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2005-08-01 13:42:19 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2005-08-01 13:42:19 +0000 |
commit | 780fdc14f51e9ca6cd3fe0cb45d75c846c1c7d5b (patch) | |
tree | 1176c82ff2437cf5fe07d1eefa972a55e3d46aa2 /sys-apps/pam-login | |
parent | Add needed entry for selinux, thanks pebenito. (diff) | |
download | historical-780fdc14f51e9ca6cd3fe0cb45d75c846c1c7d5b.tar.gz historical-780fdc14f51e9ca6cd3fe0cb45d75c846c1c7d5b.tar.bz2 historical-780fdc14f51e9ca6cd3fe0cb45d75c846c1c7d5b.zip |
Cleanup version broken on selinux.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'sys-apps/pam-login')
-rw-r--r-- | sys-apps/pam-login/Manifest | 8 | ||||
-rw-r--r-- | sys-apps/pam-login/files/digest-pam-login-4.0.11.1 | 1 | ||||
-rw-r--r-- | sys-apps/pam-login/pam-login-4.0.11.1.ebuild | 125 |
3 files changed, 3 insertions, 131 deletions
diff --git a/sys-apps/pam-login/Manifest b/sys-apps/pam-login/Manifest index 8793ba2ad4b8..bf53c712eee7 100644 --- a/sys-apps/pam-login/Manifest +++ b/sys-apps/pam-login/Manifest @@ -2,7 +2,6 @@ Hash: SHA1 MD5 dcdb08f3063aa2ddfdaa38fe69bf20a9 pam-login-4.0.11.1-r1.ebuild 3553 -MD5 080856750b39e5e4ff407da09d3dcd4f pam-login-4.0.11.1.ebuild 3434 MD5 c1a4d7808f13b9eb272ef64bb9266e29 ChangeLog 7716 MD5 2595d9d5d585309a961d44bb056d46fe pam-login-3.17.ebuild 2876 MD5 f6a4f4c2e8300f1db0e4daf8fc8999b6 pam-login-3.14.ebuild 2801 @@ -12,7 +11,6 @@ MD5 bd631a67641c2ecb9f2da34226ca80a8 files/digest-pam-login-3.14 67 MD5 128c7d12948df01d7348a7edede0c2fb files/pam-login-3.14-query_user_context.diff 635 MD5 68c71aba21339235407b7b913885d667 files/login.defs-4.0 6041 MD5 97fac4bd3167fadfc2abaeaa819ccbde files/pam_login-Werror-off-ppc64.patch 511 -MD5 9375147f78a25196b654616c969af9a5 files/digest-pam-login-4.0.11.1 69 MD5 95f7b8980169e81352229bd548909ea7 files/pam-login-4.0.10-fix-configure.patch 579 MD5 e01e197ed3b6d2ec6ae83d23b33088b8 files/login.pamd-4.0 1019 MD5 0021ec2d8f5fc517f0e74f7233fc16c9 files/pam-login-3.11-gcc33.patch 527 @@ -24,7 +22,7 @@ MD5 e7f9dde204926c73a570b344556e4b1e files/digest-pam-login-3.17 67 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFC7ib91ZcsMnZjRyIRAsdCAKCJX82M3b0gzXi1pp5RyribZQjiDQCfRO/3 -NYSb2fD57beJiGPPEMlquSI= -=eH1a +iD8DBQFC7ieG1ZcsMnZjRyIRArjIAJ0RfV2BzI6ZGobWoU0Sr4cJjzKxqQCfeIGE +Hfc0bFx3MJ+Vk9YKSPatwt4= +=E9Zc -----END PGP SIGNATURE----- diff --git a/sys-apps/pam-login/files/digest-pam-login-4.0.11.1 b/sys-apps/pam-login/files/digest-pam-login-4.0.11.1 deleted file mode 100644 index 797d6633880d..000000000000 --- a/sys-apps/pam-login/files/digest-pam-login-4.0.11.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 e60b7b16128b9e00576073389a0ff1e6 shadow-4.0.11.1.tar.bz2 1056103 diff --git a/sys-apps/pam-login/pam-login-4.0.11.1.ebuild b/sys-apps/pam-login/pam-login-4.0.11.1.ebuild deleted file mode 100644 index 99f1eba3015c..000000000000 --- a/sys-apps/pam-login/pam-login-4.0.11.1.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-4.0.11.1.ebuild,v 1.1 2005/08/01 11:48:13 azarah Exp $ - -inherit eutils libtool flag-o-matic pam - -# Do we want to backup an old login.defs, and forcefully -# install a new version? -FORCE_LOGIN_DEFS="no" - -MY_PN="shadow" -S="${WORKDIR}/${MY_PN}-${PV}" -DESCRIPTION="Login, lastlog and faillog for PAM based systems" -HOMEPAGE="http://shadow.pld.org.pl/" -SRC_URI="ftp://ftp.pld.org.pl/software/${MY_PN}/${MY_PN}-${PV}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="livecd nls selinux" - -DEPEND="virtual/libc - sys-libs/pam - >=sys-apps/shadow-4.0.11.1 - selinux? ( sys-libs/libselinux )" -# We need sys-apps/shadow-4.0.7-r1, as that no longer installs login.pamd - -src_unpack() { - unpack ${A} - - cd ${S} - - # The new configure changes do not detect utmp/logdir properly - epatch "${FILESDIR}"/${PN}-4.0.10-fix-configure.patch - - elibtoolize - epunt_cxx -} - -src_compile() { - append-ldflags -Wl,-z,now - [[ ${CTARGET:-${CHOST}} != ${CHOST} ]] \ - && export ac_cv_func_setpgrp_void=yes - econf \ - --disable-desrpc \ - --with-libcrypt \ - --with-libcrack \ - --enable-shared=no \ - --enable-static=yes \ - --with-libpam \ - $(use_with skey libskey) \ - $(use_with selinux) \ - $(use_enable nls) \ - || die "bad configure" - - cd ${S}/man - emake SUBDIRS="" \ - man_XMANS="faillog.5.xml faillog.8.xml lastlog.8.xml \ - login.1.xml login.access.5.xml login.defs.5.xml" \ - man_MANS="faillog.5 faillog.8 lastlog.8 \ - login.1 login.access.5 login.defs.5" \ - || die "emake man failed" - cd ${S}/libmisc - emake || die "emake libmisc failed" - cd ${S}/lib - emake || die "emake lib failed" - cd ${S}/src - emake faillog lastlog login || die "emake faillog lastlog login failed" -} - -src_install() { - cd ${S}/man - make SUBDIRS="" \ - man_XMANS="faillog.5.xml faillog.8.xml lastlog.8.xml \ - login.1.xml login.defs.5.xml" \ - man_MANS="faillog.5 faillog.8 lastlog.8 \ - login.1 login.defs.5" \ - DESTDIR=${D} install || die "emake man failed" - cd ${S}/src - - into / - dobin ${S}/src/login - into /usr - dobin ${S}/src/{last,fail}log - - newpamd "${FILESDIR}/login.pamd-4.0" login - - insinto /etc - insopts -m0644 - newins "${FILESDIR}/login.defs-4.0" login.defs - - # Also install another one that we can use to check if - # we need to update it if FORCE_LOGIN_DEFS = "yes" - [ "${FORCE_LOGIN_DEFS}" = "yes" ] \ - && newins "${FILESDIR}/login.defs" login.defs.new - - dodoc ChangeLog NEWS README TODO -} - -pkg_preinst() { - rm -f "${ROOT}/etc/login.defs.new" -} - -pkg_postinst() { - [ "${FORCE_LOGIN_DEFS}" != "yes" ] && return 0 - - ewarn "Due to a compatibility issue, ${ROOT}etc/login.defs " - ewarn "is being updated automatically. Your old login.defs" - ewarn "will be backed up as: ${ROOT}etc/login.defs.bak" - echo - - local CHECK1="`md5sum ${ROOT}/etc/login.defs | cut -d ' ' -f 1`" - local CHECK2="`md5sum ${ROOT}/etc/login.defs.new | cut -d ' ' -f 1`" - - if [ "${CHECK1}" != "${CHECK2}" ] - then - cp -a ${ROOT}/etc/login.defs ${ROOT}/etc/login.defs.bak - mv -f ${ROOT}/etc/login.defs.new ${ROOT}/etc/login.defs - elif [ ! -f ${ROOT}/etc/login.defs ] - then - mv -f ${ROOT}/etc/login.defs.new ${ROOT}/etc/login.defs - else - rm -f ${ROOT}/etc/login.defs.new - fi -} |