summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-12-08 22:44:00 +0000
committerAlin Năstac <mrness@gentoo.org>2005-12-08 22:44:00 +0000
commitaa3d640eecf06f22c23df45bee2c2bb1b9025395 (patch)
tree1907e3e43968ff23b8df9b013695f44ff6c6d5ce /net-proxy/dansguardian
parentStable on x86. Closes bug #114812, reported by Sean D'Epagnier <geckosenator ... (diff)
downloadhistorical-aa3d640eecf06f22c23df45bee2c2bb1b9025395.tar.gz
historical-aa3d640eecf06f22c23df45bee2c2bb1b9025395.tar.bz2
historical-aa3d640eecf06f22c23df45bee2c2bb1b9025395.zip
set more secure default permissions on /var/log/dansguardian
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'net-proxy/dansguardian')
-rw-r--r--net-proxy/dansguardian/Manifest8
-rw-r--r--net-proxy/dansguardian/dansguardian-2.8.0.6-r1.ebuild8
2 files changed, 10 insertions, 6 deletions
diff --git a/net-proxy/dansguardian/Manifest b/net-proxy/dansguardian/Manifest
index 21f848354522..7d6870918f29 100644
--- a/net-proxy/dansguardian/Manifest
+++ b/net-proxy/dansguardian/Manifest
@@ -1,7 +1,7 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 0c616776ecafaf1f53fd3a159edaaf7a dansguardian-2.8.0.6-r1.ebuild 1159
+MD5 b7155754bb72a87e11aa74ab97678d8e dansguardian-2.8.0.6-r1.ebuild 1244
MD5 66b41ef646913a4fe63153d4e76c4193 dansguardian-2.8.0.4.ebuild 1176
MD5 887c6bdeabb27180c88519f1403b877b dansguardian-2.8.0.6.ebuild 1179
MD5 67348e217c074d5b4ebd97030c44dd11 ChangeLog 5200
@@ -16,7 +16,7 @@ MD5 421e49847907b8c4d53ccc01d17656e6 files/digest-dansguardian-2.8.0.6-r1 79
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDmLCANSP4Vda7IdsRAv2EAJwJyybtcAT3wtIkq9aqKLy3iCtdIACeKrox
-W1kq3HjEFIJ6HrJMn5jvi1k=
-=UPNU
+iD8DBQFDmLc7NSP4Vda7IdsRAqgIAJ991HyIxgkQoAMAq7oCFClJspx37QCeKbgd
+zaRo/5eXEFBshUnWtHtUB9U=
+=byuJ
-----END PGP SIGNATURE-----
diff --git a/net-proxy/dansguardian/dansguardian-2.8.0.6-r1.ebuild b/net-proxy/dansguardian/dansguardian-2.8.0.6-r1.ebuild
index e4fac9af749e..c30de74c109f 100644
--- a/net-proxy/dansguardian/dansguardian-2.8.0.6-r1.ebuild
+++ b/net-proxy/dansguardian/dansguardian-2.8.0.6-r1.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/net-proxy/dansguardian/dansguardian-2.8.0.6-r1.ebuild,v 1.1 2005/12/08 22:15:11 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian/dansguardian-2.8.0.6-r1.ebuild,v 1.2 2005/12/08 22:44:00 mrness Exp $
inherit eutils
@@ -39,8 +39,12 @@ src_install() {
newinitd ${FILESDIR}/dansguardian.init dansguardian
insinto /etc/logrotate.d
- newins ${FILESDIR}/${PN}.logrotate ${PN}
+ newins ${FILESDIR}/dansguardian.logrotate dansguardian
doman dansguardian.8
dodoc README
+
+ #Create log directory
+ diropts -m0700
+ keepdir /var/log/dansguardian
}