summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-proxy/squid/ChangeLog6
-rw-r--r--net-proxy/squid/squid-2.5.10.ebuild12
-rw-r--r--net-proxy/squid/squid-2.5.10_rc3.ebuild12
3 files changed, 27 insertions, 3 deletions
diff --git a/net-proxy/squid/ChangeLog b/net-proxy/squid/ChangeLog
index 5fd96867ba4a..55d84bcf5c76 100644
--- a/net-proxy/squid/ChangeLog
+++ b/net-proxy/squid/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-proxy/squid
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.18 2005/07/19 23:23:24 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.19 2005/07/20 05:04:23 mrness Exp $
+
+ 20 Jul 2005; Alin Nastac <mrness@gentoo.org> squid-2.5.10_rc3.ebuild,
+ squid-2.5.10.ebuild:
+ Add creation of squid user/group (#99603).
19 Jul 2005; Bryan Østergaard <kloeri@gentoo.org> squid-2.5.10.ebuild:
Stable on alpha.
diff --git a/net-proxy/squid/squid-2.5.10.ebuild b/net-proxy/squid/squid-2.5.10.ebuild
index 35d58df5c7f3..f29a5f3ae538 100644
--- a/net-proxy/squid/squid-2.5.10.ebuild
+++ b/net-proxy/squid/squid-2.5.10.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/squid/squid-2.5.10.ebuild,v 1.6 2005/07/19 23:23:24 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-2.5.10.ebuild,v 1.7 2005/07/20 05:04:23 mrness Exp $
inherit eutils pam toolchain-funcs
@@ -31,6 +31,11 @@ RDEPEND="pam? ( virtual/pam )
!mips? ( logrotate? ( app-admin/logrotate ) )"
DEPEND="${RDEPEND} dev-lang/perl"
+pkg_setup() {
+ enewgroup squid 31
+ enewuser squid 31 /bin/false /var/cache/squid squid
+}
+
src_unpack() {
unpack ${A} || die "unpack failed"
cd ${S} || die "dir ${S} not found"
@@ -183,6 +188,11 @@ src_install() {
dodir /var/cache/squid /var/log/squid
}
+pkg_preinst() {
+ enewgroup squid 31
+ enewuser squid 31 /bin/false /var/cache/squid squid
+}
+
pkg_postinst() {
echo
ewarn "Squid authentication helpers have been installed suid root"
diff --git a/net-proxy/squid/squid-2.5.10_rc3.ebuild b/net-proxy/squid/squid-2.5.10_rc3.ebuild
index ccdbca991554..8d6459e599a8 100644
--- a/net-proxy/squid/squid-2.5.10_rc3.ebuild
+++ b/net-proxy/squid/squid-2.5.10_rc3.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/squid/squid-2.5.10_rc3.ebuild,v 1.10 2005/07/16 10:14:17 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-2.5.10_rc3.ebuild,v 1.11 2005/07/20 05:04:23 mrness Exp $
inherit eutils toolchain-funcs
@@ -32,6 +32,11 @@ RDEPEND="virtual/libc
!mips? ( logrotate? ( app-admin/logrotate ) )"
DEPEND="${RDEPEND} dev-lang/perl"
+pkg_setup() {
+ enewgroup squid 31
+ enewuser squid 31 /bin/false /var/cache/squid squid
+}
+
src_unpack() {
unpack ${A} || die "unpack failed"
cd ${S} || die "dir ${S} not found"
@@ -191,6 +196,11 @@ src_install() {
dodir /var/cache/squid /var/log/squid
}
+pkg_preinst() {
+ enewgroup squid 31
+ enewuser squid 31 /bin/false /var/cache/squid squid
+}
+
pkg_postinst() {
echo
ewarn "Squid authentication helpers have been installed suid root"