summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy/squirm/squirm-1.23.ebuild')
-rw-r--r--net-proxy/squirm/squirm-1.23.ebuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/net-proxy/squirm/squirm-1.23.ebuild b/net-proxy/squirm/squirm-1.23.ebuild
index c1bf304b560e..7cd712f68b21 100644
--- a/net-proxy/squirm/squirm-1.23.ebuild
+++ b/net-proxy/squirm/squirm-1.23.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squirm/squirm-1.23.ebuild,v 1.5 2006/10/23 18:18:07 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squirm/squirm-1.23.ebuild,v 1.6 2007/04/11 13:55:44 mrness Exp $
DESCRIPTION="A redirector for Squid"
HOMEPAGE="http://squirm.foote.com.au"
@@ -8,7 +8,7 @@ SRC_URI="http://squirm.foote.com.au/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc"
+KEYWORDS="ppc x86"
IUSE=""
DEPEND="net-proxy/squid"
@@ -21,6 +21,7 @@ src_unpack() {
-e 's|^PREFIX=.*|PREFIX=/usr/squirm|' \
-e "s|^OPTIMISATION=.*|OPTIMISATION=${CFLAGS}|" \
-e "s|^CFLAGS =.*|CFLAGS=${CFLAGS} -DPREFIX=\\\\\"\$(PREFIX)\\\\\"|" \
+ -e "s|--strip||" \
"${S}/Makefile"
}
@@ -30,10 +31,6 @@ src_install() {
pkg_postinst() {
einfo "To enable squirm, add the following lines to /etc/squid/squid.conf:"
- einfo " - for squid ver 2.5"
- einfo " ${HILITE}redirect_program /usr/squirm/bin/squirm${NORMAL}"
- einfo " ${HILITE}redirect_children 10${NORMAL}"
- einfo " - for squid ver 2.6"
- einfo " ${HILITE}url_rewrite_program /usr/squirm/bin/squirm${NORMAL}"
- einfo " ${HILITE}url_rewrite_children 10${NORMAL}"
+ einfo " url_rewrite_program /usr/squirm/bin/squirm"
+ einfo " url_rewrite_children 10"
}