diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2004-11-18 17:00:27 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2004-11-18 17:00:27 +0000 |
commit | e0c0520f8e245c55a2a225b8aaa871852b3b3037 (patch) | |
tree | 2c3afda54cb9e611a469d50e4bb1203d082b44ca /sys-apps | |
parent | Moving to dev-haskell/wash (diff) | |
download | historical-e0c0520f8e245c55a2a225b8aaa871852b3b3037.tar.gz historical-e0c0520f8e245c55a2a225b8aaa871852b3b3037.tar.bz2 historical-e0c0520f8e245c55a2a225b8aaa871852b3b3037.zip |
Add warning in pkg_postinst if /etc/pam.d/cron is SUID and give user instructions for fixing permissions.
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/vixie-cron/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/vixie-cron/Manifest | 10 | ||||
-rw-r--r-- | sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild | 14 |
3 files changed, 23 insertions, 7 deletions
diff --git a/sys-apps/vixie-cron/ChangeLog b/sys-apps/vixie-cron/ChangeLog index cb64c6a97883..516a8bf49b36 100644 --- a/sys-apps/vixie-cron/ChangeLog +++ b/sys-apps/vixie-cron/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/vixie-cron # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/ChangeLog,v 1.36 2004/11/16 00:34:57 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/ChangeLog,v 1.37 2004/11/18 17:00:27 ka0ttic Exp $ + + 18 Nov 2004; Aaron Walker <ka0ttic@gentoo.org> vixie-cron-4.1-r4.ebuild: + Add warning in pkg_postinst if /etc/pam.d/cron is SUID and give user + instructions for fixing permissions. *vixie-cron-4.1-r4 (15 Nov 2004) diff --git a/sys-apps/vixie-cron/Manifest b/sys-apps/vixie-cron/Manifest index eb7b30e337fc..3d5bcbd46abb 100644 --- a/sys-apps/vixie-cron/Manifest +++ b/sys-apps/vixie-cron/Manifest @@ -6,9 +6,9 @@ MD5 3ff8b5eb733d9a828e916a46eabfa6ca vixie-cron-3.0.1-r4.ebuild 1852 MD5 141bf296f623dc44f4bfa4d856dc21fa vixie-cron-3.0.1-r1.ebuild 1502 MD5 36b96df568b03fc07852be8e5afd893f vixie-cron-4.1-r2.ebuild 2605 MD5 dd33c1120b51b3d049054c798c20d5fa vixie-cron-3.0.1-r3.ebuild 1748 -MD5 244e99c75d80984efafd0e32dc9f4693 vixie-cron-4.1-r4.ebuild 2700 +MD5 160084254a595314c79e01468069ed52 vixie-cron-4.1-r4.ebuild 3082 MD5 ab3b7df1ed3ce81f23a9050de83ca101 vixie-cron-3.0.1-r5.ebuild 2035 -MD5 296c8a871c48d84d4429742890bf0789 ChangeLog 9357 +MD5 10a4e440db2065a01e99586d198acdd4 ChangeLog 9543 MD5 0fcc78652b11c683f3fe76d614934379 metadata.xml 288 MD5 dfd6ea62f7a18c13729d8c240f7692af vixie-cron-4.1-r1.ebuild 2062 MD5 8692002451e69ee31d667eb2d0dc904d files/vixie-cron-4.1-cron.deny 220 @@ -34,7 +34,7 @@ MD5 1915f29deae7e87c569877f1dbbbec67 files/vixie-cron-3.0.1-selinux.diff.bz2 185 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFBmUtFEZCkKN40op4RAn0WAJ9O4oSHLbxLVpXj1ZUYoPf7uKD17QCZAbdn -JKn90N7WC+X14aVRDLILy+4= -=Z7QF +iD8DBQFBnNU1EZCkKN40op4RAk5GAJ9hvPj7i5G22Jrva9IHSNzB4krr9gCgxZEi +Bqda5KOQIYxr7ekG6J4vSK8= +=GiCi -----END PGP SIGNATURE----- diff --git a/sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild b/sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild index 069349580772..ce4b3538a98e 100644 --- a/sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild +++ b/sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild,v 1.1 2004/11/16 00:34:57 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild,v 1.2 2004/11/18 17:00:27 ka0ttic Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -102,4 +102,16 @@ pkg_postinst() { ewarn "rc-update del vcron" ewarn "rc-update add vixie-cron default" fi + + # bug 71326 + if [ -u ${ROOT}/etc/pam.d/cron ] ; then + echo + ewarn "Warning: previous ebuilds didn't reset permissions prior" + ewarn "to installing crontab, resulting in /etc/pam.d/cron being" + ewarn "installed with the SUID and executable bits set." + ewarn + ewarn "Run the following as root to set the proper permissions:" + ewarn " chmod 0644 /etc/pam.d/cron" + echo + fi } |