1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- 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)
This commit is contained in:
Martin Wilke 2011-02-10 17:11:15 +00:00
parent 32907f260b
commit 627b060d86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=268888
2 changed files with 13 additions and 2 deletions

View File

@ -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

View File

@ -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