From 627b060d867735f847b92bad3383f19c7552dacd Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 10 Feb 2011 17:11:15 +0000 Subject: - Add an option to activate a vendor patch which allows using quoted strings in the configuration file. PR: 154656 Submitted by: Guido Falsi (maintainer) --- www/squidguard/Makefile | 12 +++++++++++- www/squidguard/distinfo | 3 ++- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'www/squidguard') 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 +.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 -- cgit v1.2.3