ports/189903: [patch] Add staging support to www/squid33
Joseph Benden
joe at thrallingpenguin.com
Sun May 18 00:40:00 UTC 2014
>Number: 189903
>Category: ports
>Synopsis: [patch] Add staging support to www/squid33
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun May 18 00:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Joseph Benden
>Release: FreeBSD 11
>Organization:
>Environment:
FreeBSD lucy 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r264887: Thu Apr 24 12:43:46 MST 2014 root at lucy:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Adds staging support, added shebangfixes, and USES tar:bzip2 to www/squid33.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff --git a/www/squid33/Makefile b/www/squid33/Makefile
index a889e5e..7b24047 100644
--- a/www/squid33/Makefile
+++ b/www/squid33/Makefile
@@ -44,9 +44,32 @@ LICENSE_FILE= ${WRKSRC}/COPYING
SQUID_STABLE_VER= 11
CONFLICTS_INSTALL= squid-2.[0-9].* squid32-* cacheboy-[0-9]* lusca-head-[0-9]*
-USES= perl5
+USES= perl5 tar:bzip2 shebangfix
+SHEBANG_FILES= scripts/AnnounceCache.pl \
+ scripts/access-log-matrix.pl \
+ scripts/cache-compare.pl \
+ scripts/cachetrace.pl \
+ scripts/check_cache.pl \
+ scripts/fileno-to-pathname.pl \
+ scripts/flag_truncs.pl \
+ scripts/icp-test.pl \
+ scripts/find-alive.pl \
+ scripts/trace-job.pl \
+ scripts/trace-master.pl \
+ scripts/icpserver.pl \
+ scripts/tcp-banger.pl \
+ scripts/udp-banger.pl \
+ scripts/upgrade-1.0-store.pl \
+ scripts/calc-must-ids.pl \
+ contrib/rredir.pl \
+ contrib/user-agents.pl \
+ contrib/url-normalizer.pl \
+ src/mk-globals-c.pl \
+ src/mk-string-arrays.pl \
+ tools/helper-mux.pl \
+ tools/helper-ok-dying.pl \
+ tools/helper-ok.pl
GNU_CONFIGURE= yes
-USE_BZIP2= yes
USE_RC_SUBR= squid
USERS= squid
@@ -66,7 +89,6 @@ OPTIONS_DEFINE= ARP_ACL AUTH_KERB AUTH_LDAP AUTH_NIS AUTH_SASL AUTH_SMB \
LARGEFILE SNMP SSL SSL_CRTD STACKTRACES STRICT_HTTP \
TP_IPF TP_IPFW TP_PF VIA_DB WCCP WCCPV2 DOCS EXAMPLES
-NO_STAGE= yes
# TODO:
# add an option for external_acl/session (requires some kind of external
# Berkeley DB support, unsure which one)
@@ -477,7 +499,25 @@ PLIST_DIRS= %%ETCDIR%%/icons/silk %%ETCDIR%%/icons libexec/squid
PLIST_FILES= ${etc_files:S,^,etc/,} \
%%ETCDIR%%/icons/SN.png \
${icon_silk_files:S,^,%%ETCDIR%%/icons/silk/,} \
- ${libexec:S,^,libexec/squid/,} ${sbin:S,^,sbin/,}
+ ${libexec:S,^,libexec/squid/,} ${sbin:S,^,sbin/,} \
+ man/man8/cachemgr.cgi.8.gz \
+ man/man8/basic_db_auth.8.gz \
+ man/man8/basic_getpwnam_auth.8.gz \
+ man/man8/basic_ncsa_auth.8.gz \
+ man/man8/basic_pam_auth.8.gz \
+ man/man8/basic_radius_auth.8.gz \
+ man/man8/digest_file_auth.8.gz \
+ man/man8/ext_file_userip_acl.8.gz \
+ man/man8/ext_unix_group_acl.8.gz \
+ man/man8/negotiate_kerberos_auth.8.gz \
+ man/man8/ext_time_quota_acl.8.gz \
+ man/man8/squid.8.gz \
+ man/man1/squidclient.1.gz \
+ %%ETCDIR%%/cachemgr.conf \
+ %%ETCDIR%%/mime.conf \
+ %%ETCDIR%%/msntauth.conf \
+ %%ETCDIR%%/squid.conf \
+ %%ETCDIR%%/errorpage.css
PLIST_FILES+= %%ETCDIR%%/errors/COPYRIGHT %%ETCDIR%%/errors/TRANSLATORS
.for d in ${error_dirs}
@@ -486,7 +526,9 @@ PLIST_FILES+= ${error_files:S,^,%%ETCDIR%%/errors/${d}/,}
.endfor
PLIST_FILES+= ${error_dir_links:S,^,%%ETCDIR%%/errors/,}
PLIST_DIRS+= %%ETCDIR%%/errors
-PLIST_DIRSTRY+= %%ETCDIR%%
+PLIST_DIRSTRY+= %%ETCDIR%% /var/log/squid /var/run/squid \
+ /var/squid/cache/squid /var/squid/cache \
+ /var/squid/logs /var/squid %%EXAMPLESDIR%%
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list