summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2004-11-18 17:00:27 +0000
committerAaron Walker <ka0ttic@gentoo.org>2004-11-18 17:00:27 +0000
commit3eec35ca5634408b8e3b12e9f0866912e551ad61 (patch)
treecea931f8f4e97f14d564fe5413ba90ada3b5a4de /sys-apps/vixie-cron
parentMoving to dev-haskell/wash (diff)
downloadgentoo-2-3eec35ca5634408b8e3b12e9f0866912e551ad61.tar.gz
gentoo-2-3eec35ca5634408b8e3b12e9f0866912e551ad61.tar.bz2
gentoo-2-3eec35ca5634408b8e3b12e9f0866912e551ad61.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/vixie-cron')
-rw-r--r--sys-apps/vixie-cron/ChangeLog6
-rw-r--r--sys-apps/vixie-cron/Manifest14
-rw-r--r--sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild14
3 files changed, 20 insertions, 14 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..b7150f9c325b 100644
--- a/sys-apps/vixie-cron/Manifest
+++ b/sys-apps/vixie-cron/Manifest
@@ -1,14 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 570905ddd12bf81d50d21a591343775c vixie-cron-4.1-r3.ebuild 2661
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 997a8e7c7203bd319c895bf57916e782 vixie-cron-4.1-r4.ebuild 3082
MD5 ab3b7df1ed3ce81f23a9050de83ca101 vixie-cron-3.0.1-r5.ebuild 2035
-MD5 296c8a871c48d84d4429742890bf0789 ChangeLog 9357
+MD5 24e5897db93c3f0f296ae3ceef40dcd7 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
@@ -31,10 +28,3 @@ MD5 de8a7ebb15e58d9c6496378ff64c5137 files/digest-vixie-cron-4.1-r2 143
MD5 cdf831673f04d48d38020428f6c72937 files/digest-vixie-cron-4.1-r3 143
MD5 cdf831673f04d48d38020428f6c72937 files/digest-vixie-cron-4.1-r4 143
MD5 1915f29deae7e87c569877f1dbbbec67 files/vixie-cron-3.0.1-selinux.diff.bz2 1853
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBmUtFEZCkKN40op4RAn0WAJ9O4oSHLbxLVpXj1ZUYoPf7uKD17QCZAbdn
-JKn90N7WC+X14aVRDLILy+4=
-=Z7QF
------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
}