summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2005-05-08 09:03:31 +0000
committerAndrej Kacian <ticho@gentoo.org>2005-05-08 09:03:31 +0000
commitb4aa3b51f13cc6bad24fee4ee44a932e0d781480 (patch)
treeeb704b36edfd51dc3167eae2c35b315059bcc672
parentStable on ia64. (diff)
downloadhistorical-b4aa3b51f13cc6bad24fee4ee44a932e0d781480.tar.gz
historical-b4aa3b51f13cc6bad24fee4ee44a932e0d781480.tar.bz2
historical-b4aa3b51f13cc6bad24fee4ee44a932e0d781480.zip
Add permission change to pkg_postinst().
Package-Manager: portage-2.0.51.21-r1
-rw-r--r--mail-filter/amavisd-new/ChangeLog7
-rw-r--r--mail-filter/amavisd-new/Manifest12
-rw-r--r--mail-filter/amavisd-new/amavisd-new-2.2.1-r2.ebuild10
-rw-r--r--mail-filter/amavisd-new/amavisd-new-2.3.0.ebuild9
4 files changed, 21 insertions, 17 deletions
diff --git a/mail-filter/amavisd-new/ChangeLog b/mail-filter/amavisd-new/ChangeLog
index 6cbc675cb0d4..c32cc8c0da19 100644
--- a/mail-filter/amavisd-new/ChangeLog
+++ b/mail-filter/amavisd-new/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/amavisd-new
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.28 2005/05/06 22:50:51 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.29 2005/05/08 09:03:31 ticho Exp $
+
+ 08 May 2005; Andrej Kacian <ticho@gentoo.org> amavisd-new-2.2.1-r2.ebuild,
+ amavisd-new-2.3.0.ebuild:
+ Added amavisd.conf permission/ownership change to pkg_postinst(), as
+ suggested by Marius Mauch <genone@gentoo.org>.
06 May 2005; Andrej Kacian <ticho@gentoo.org> amavisd-new-2.2.1-r2.ebuild,
amavisd-new-2.3.0.ebuild:
diff --git a/mail-filter/amavisd-new/Manifest b/mail-filter/amavisd-new/Manifest
index 4384e15bd3b8..fd00d6c8324d 100644
--- a/mail-filter/amavisd-new/Manifest
+++ b/mail-filter/amavisd-new/Manifest
@@ -1,10 +1,10 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 f9938edfd376fea9f902127c1e168785 amavisd-new-2.2.1-r2.ebuild 5188
-MD5 d7a016e43eacc0441cd697f716af9360 amavisd-new-2.3.0.ebuild 5034
+MD5 1a4094b9cdba0a76b97e7efe8b193ca2 amavisd-new-2.2.1-r2.ebuild 5080
+MD5 17f497d9b7039a2d3e54f78062dd1065 amavisd-new-2.3.0.ebuild 4921
MD5 0d78e40f5c429dce29343001eca9444a amavisd-new-2.2.1-r1.ebuild 4813
-MD5 4ef6c709ea8eb138071e432a0fcf198a ChangeLog 9079
+MD5 c1f14aeab9e3380183ac28abb606c559 ChangeLog 9305
MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184
MD5 13b88011aa82860b7be5c6f44051d162 amavisd-new-2.2.1.ebuild 4802
MD5 1f1f4cf9c92f92f966361a8ac08aa543 files/amavisd.rc6 305
@@ -18,7 +18,7 @@ MD5 13504b8528cc13c668935ff82a0680f1 files/amavisd-new-2.3.0-amavisd.conf-gentoo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFCe/TVQlM6RnzZP+IRAkn+AJwODYZyNaG95MWlM55M5I2H4tC18ACdGpqt
-XjXiCdU2YTH9b96APFyrjL4=
-=8J1i
+iD8DBQFCfdX0QlM6RnzZP+IRAm6DAKCfRwin9xVpviuipc/uGBJPUYFcrwCglDhM
+MJGaMU4pVWeaYqyd2Y0eHdo=
+=iuXZ
-----END PGP SIGNATURE-----
diff --git a/mail-filter/amavisd-new/amavisd-new-2.2.1-r2.ebuild b/mail-filter/amavisd-new/amavisd-new-2.2.1-r2.ebuild
index d67d38cd46ad..0831a688e044 100644
--- a/mail-filter/amavisd-new/amavisd-new-2.2.1-r2.ebuild
+++ b/mail-filter/amavisd-new/amavisd-new-2.2.1-r2.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/mail-filter/amavisd-new/amavisd-new-2.2.1-r2.ebuild,v 1.4 2005/05/06 22:50:51 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/amavisd-new-2.2.1-r2.ebuild,v 1.5 2005/05/08 09:03:31 ticho Exp $
inherit eutils
@@ -169,8 +169,8 @@ pkg_postinst() {
einfo "and comment out the line containing: "
einfo "@bypass_virus_checks_maps = (1); in /etc/amavisd.conf."
fi
- ewarn "You should set permissions for /etc/amavisd.conf to 640, and owner to"
- ewarn "root:amavis manually, since portage is unable to modify these attributes"
- ewarn "for existing files in protected directories, such as /etc."
- ewarn "Sorry for the inconvenience."
+ echo
+ ewarn "Adjusting permissions for /etc/amavisd.new (0 for world, owner root:amavis)"
+ chmod o-rwx /etc/amavisd.conf
+ chown root:amavis /etc/amavisd.conf
}
diff --git a/mail-filter/amavisd-new/amavisd-new-2.3.0.ebuild b/mail-filter/amavisd-new/amavisd-new-2.3.0.ebuild
index 35acea41a692..a5942c2ca416 100644
--- a/mail-filter/amavisd-new/amavisd-new-2.3.0.ebuild
+++ b/mail-filter/amavisd-new/amavisd-new-2.3.0.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/mail-filter/amavisd-new/amavisd-new-2.3.0.ebuild,v 1.4 2005/05/06 22:50:51 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/amavisd-new-2.3.0.ebuild,v 1.5 2005/05/08 09:03:31 ticho Exp $
inherit eutils
@@ -165,8 +165,7 @@ pkg_postinst() {
einfo "@bypass_virus_checks_maps = (1); in /etc/amavisd.conf."
fi
echo
- ewarn "You should set permissions for /etc/amavisd.conf to 640, and owner to"
- ewarn "root:amavis manually, since portage is unable to modify these attributes"
- ewarn "for existing files in protected directories, such as /etc."
- ewarn "Sorry for the inconvenience."
+ ewarn "Adjusting permissions for /etc/amavisd.conf (0 for world, owner root:amavis)"
+ chmod o-rwx /etc/amavisd.conf
+ chown root:amavis /etc/amavisd.conf
}