diff options
author | miwi <miwi@FreeBSD.org> | 2011-02-11 01:11:15 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2011-02-11 01:11:15 +0800 |
commit | e7a363146be81e13c12c353003cc1b47c467a0ce (patch) | |
tree | 25a21728fb7d21c8cd2891926c98601649cece8a /www/squidguard | |
parent | 5b95764c725b59a3072ba487e9b2214b3597465f (diff) | |
download | freebsd-ports-gnome-e7a363146be81e13c12c353003cc1b47c467a0ce.tar.gz freebsd-ports-gnome-e7a363146be81e13c12c353003cc1b47c467a0ce.tar.zst freebsd-ports-gnome-e7a363146be81e13c12c353003cc1b47c467a0ce.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)
Diffstat (limited to 'www/squidguard')
-rw-r--r-- | www/squidguard/Makefile | 12 | ||||
-rw-r--r-- | www/squidguard/distinfo | 3 |
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 |