diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-04 23:41:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-04 23:41:54 +0000 |
commit | 871943998b24e6e58276927633eb66475611b8c8 (patch) | |
tree | 7b6100bc4f5d9b79082613c34fdfcf2dbca7f531 /sys-apps | |
parent | tell peeps they should makewhatis themselves if they dont have a cronjob #111484 (diff) | |
download | historical-871943998b24e6e58276927633eb66475611b8c8.tar.gz historical-871943998b24e6e58276927633eb66475611b8c8.tar.bz2 historical-871943998b24e6e58276927633eb66475611b8c8.zip |
move into unstable and quote $ROOT
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/shadow/Manifest | 8 | ||||
-rw-r--r-- | sys-apps/shadow/shadow-4.0.13.ebuild | 31 |
2 files changed, 20 insertions, 19 deletions
diff --git a/sys-apps/shadow/Manifest b/sys-apps/shadow/Manifest index ad03fc8b57aa..4d0498e20cbd 100644 --- a/sys-apps/shadow/Manifest +++ b/sys-apps/shadow/Manifest @@ -77,7 +77,7 @@ MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 MD5 30c0eb4f3ffb1e531659cf9b69cffa14 shadow-4.0.11.1-r1.ebuild 7084 MD5 75f60cacddf580b22250ec244749116c shadow-4.0.11.1-r2.ebuild 7215 MD5 0528fcbf64cb6383f23308d400e3d58a shadow-4.0.12.ebuild 7110 -MD5 a7afb0ae64b5fc3037aa92b1eacdf60e shadow-4.0.13.ebuild 7121 +MD5 05eddaf00670e6097f273167af706ee3 shadow-4.0.13.ebuild 7153 MD5 dd33182f75e512eacdf6652e505359eb shadow-4.0.4.1-r4.ebuild 5963 MD5 bbedc15fb467b91796456cd032199535 shadow-4.0.5-r2.ebuild 5443 MD5 69b75fc8b3df89e5da434f35f6db5e31 shadow-4.0.5-r3.ebuild 5616 @@ -89,7 +89,7 @@ MD5 314bf4f7ce691287c74208fe9719f146 shadow-4.0.7.ebuild 5582 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDSu7UgIKl8Uu19MoRAmGjAJ9MrPFnwqNUVpIJ73lg7WH9PVzYAACfQst7 -OlR/g2W9QI8xveGKA2gdWP8= -=ttqZ +iD8DBQFDa/H8gIKl8Uu19MoRAgcQAJ4/nfegw/Cy55+p2iDs/a5jfgTgLwCcCtFh +NWqiU9ekFSQ/8YBO7M+/pbs= +=I841 -----END PGP SIGNATURE----- diff --git a/sys-apps/shadow/shadow-4.0.13.ebuild b/sys-apps/shadow/shadow-4.0.13.ebuild index 801d296373cd..4b27a92e61d4 100644 --- a/sys-apps/shadow/shadow-4.0.13.ebuild +++ b/sys-apps/shadow/shadow-4.0.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.13.ebuild,v 1.1 2005/10/10 22:42:44 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.13.ebuild,v 1.2 2005/11/04 23:41:54 vapier Exp $ inherit eutils libtool toolchain-funcs flag-o-matic @@ -13,7 +13,7 @@ SRC_URI="ftp://ftp.pld.org.pl/software/${PN}/${P}.tar.bz2" LICENSE="BSD" SLOT="0" -KEYWORDS="-*" #~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="nls pam selinux skey nousuid" RDEPEND=">=sys-libs/cracklib-2.7-r3 @@ -201,10 +201,11 @@ src_install() { '(' -name id.1 -o -name passwd.5 -o -name getspnam.3 ')' \ -exec rm {} \; - cd "${S}"/doc - dodoc INSTALL README WISHLIST - docinto txt - dodoc HOWTO LSM README.* *.txt + cd "${S}" + dodoc ChangeLog NEWS TODO + newdoc README README.download + cd doc + dodoc HOWTO LSM README* WISHLIST *.txt } pkg_preinst() { @@ -212,11 +213,11 @@ pkg_preinst() { } pkg_postinst() { - use pam || return 0; + use pam || return 0 if [ "${FORCE_SYSTEMAUTH_UPDATE}" = "yes" ]; then - local CHECK1="$(md5sum ${ROOT}/etc/pam.d/system-auth | cut -d ' ' -f 1)" - local CHECK2="$(md5sum ${ROOT}/etc/pam.d/system-auth.new | cut -d ' ' -f 1)" + local CHECK1=$(md5sum "${ROOT}"/etc/pam.d/system-auth | cut -d ' ' -f 1) + local CHECK2=$(md5sum "${ROOT}"/etc/pam.d/system-auth.new | cut -d ' ' -f 1) if [ "${CHECK1}" != "${CHECK2}" ]; then ewarn "Due to a security issue, ${ROOT}etc/pam.d/system-auth " @@ -226,13 +227,13 @@ pkg_postinst() { ewarn " ${ROOT}etc/pam.d/system-auth.bak" echo - cp -pPR ${ROOT}/etc/pam.d/system-auth \ - ${ROOT}/etc/pam.d/system-auth.bak; - mv -f ${ROOT}/etc/pam.d/system-auth.new \ - ${ROOT}/etc/pam.d/system-auth - rm -f ${ROOT}/etc/pam.d/._cfg????_system-auth + cp -pPR "${ROOT}"/etc/pam.d/system-auth \ + "${ROOT}"/etc/pam.d/system-auth.bak; + mv -f "${ROOT}"/etc/pam.d/system-auth.new \ + "${ROOT}"/etc/pam.d/system-auth + rm -f "${ROOT}"/etc/pam.d/._cfg????_system-auth else - rm -f ${ROOT}/etc/pam.d/system-auth.new + rm -f "${ROOT}"/etc/pam.d/system-auth.new fi fi } |