aboutsummaryrefslogtreecommitdiff
path: root/www/squidguard
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-02-10 17:11:15 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-02-10 17:11:15 +0000
commit627b060d867735f847b92bad3383f19c7552dacd (patch)
treea9a6f4983bdddbce0cf2d934b88192070e8e4d89 /www/squidguard
parent32907f260bd8800140169c25d4c06afa9f6caa4d (diff)
downloadports-627b060d867735f847b92bad3383f19c7552dacd.tar.gz
ports-627b060d867735f847b92bad3383f19c7552dacd.zip
- Add an option to activate a vendor patch which allows using quoted
strings in the configuration file. PR: 154656 Submitted by: Guido Falsi <mad@madpilot.net> (maintainer)
Notes
Notes: svn path=/head/; revision=268888
Diffstat (limited to 'www/squidguard')
-rw-r--r--www/squidguard/Makefile12
-rw-r--r--www/squidguard/distinfo3
2 files changed, 13 insertions, 2 deletions
diff --git a/www/squidguard/Makefile b/www/squidguard/Makefile
index 244408326be9..95d54abd2f02 100644
--- a/www/squidguard/Makefile
+++ b/www/squidguard/Makefile
@@ -14,6 +14,9 @@ MASTER_SITES= http://www.squidguard.org/Downloads/
MAINTAINER= mad@madpilot.net
COMMENT= A fast redirector for squid
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid
USE_BDB= 3+
@@ -44,10 +47,17 @@ SUB_LIST= PORTNAME=${PORTNAME} \
PKGMESSAGE= ${WRKDIR}/pkg-message
OPTIONS= SAMPLE_BL "Install sample blacklists" On \
- LDAP "Enable LDAP support" Off
+ LDAP "Enable LDAP support" Off \
+ QUOTE_STRING "Add quoted string patch" Off
.include <bsd.port.pre.mk>
+.if defined(WITH_QUOTE_STRING)
+PATCH_SITES= http://www.squidguard.org/Downloads/
+PATCHFILES= Contrib/squidGuard-1.4-quoted_string_support.diff
+PATCH_DIST_STRIP=-p2
+.endif
+
.if defined(WITH_LDAP)
CONFIGURE_ARGS+= --with-ldap
USE_OPENLDAP= yes
diff --git a/www/squidguard/distinfo b/www/squidguard/distinfo
index 8974cfc5398f..39d775e8fe15 100644
--- a/www/squidguard/distinfo
+++ b/www/squidguard/distinfo
@@ -1,3 +1,4 @@
-MD5 (squidGuard-1.4.tar.gz) = de834150998c1386c30feae196f16b06
SHA256 (squidGuard-1.4.tar.gz) = 0711ce60b8e2bbba107b980fed446a88df35e1584b39f079c0cae54a172c5141
SIZE (squidGuard-1.4.tar.gz) = 1968492
+SHA256 (Contrib/squidGuard-1.4-quoted_string_support.diff) = 510c2ac13e7211d019c4ab7233bedf6db3d715ebd9e35e7e3f66267cc37b5ec5
+SIZE (Contrib/squidGuard-1.4-quoted_string_support.diff) = 13593