FreeBSD Bugzilla – Attachment 142813 Details for
Bug 189898
[stage] Add staging support to www/squid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
squid-staging-orphans.patch.txt
squid-staging-orphans.patch.txt (text/plain), 2.68 KB, created by
joe
on 2014-05-17 22:50:45 UTC
(
hide
)
Description:
squid-staging-orphans.patch.txt
Filename:
MIME Type:
Creator:
joe
Created:
2014-05-17 22:50:45 UTC
Size:
2.68 KB
patch
obsolete
>diff --git a/www/squid/Makefile b/www/squid/Makefile >index e77f475..10b684d 100644 >--- a/www/squid/Makefile >+++ b/www/squid/Makefile >@@ -1,7 +1,6 @@ > # Created by: Adrian Chadd <adrian@FreeBSD.org> > # $FreeBSD$ > >-NO_STAGE= yes > # Tunables not (yet) configurable via 'make config': > # SQUID_{U,G}ID > # Which user/group Squid should run as (default: squid/squid). >@@ -116,8 +115,19 @@ SQUID_STABLE_VER= 9 > > CONFLICTS_INSTALL= squid-2.[^7]* squid3?-* cacheboy-[0-9]* lusca-head-[0-9]* > USES= perl5 >+USES+= shebangfix >+USES+= tar:bzip2 >+SHEBANG_FILES= scripts/*.pl \ >+ src/mk-globals-c.pl \ >+ src/mk-string-arrays.pl \ >+ contrib/rredir.pl \ >+ contrib/user-agents.pl \ >+ contrib/url-normalizer.pl \ >+ helpers/basic_auth/multi-domain-NTLM/smb_auth.pl \ >+ helpers/basic_auth/POP3/pop3.pl \ >+ helpers/ntlm_auth/no_check/no_check.pl \ >+ helpers/external_acl/wbinfo_group/wbinfo_group.pl > GNU_CONFIGURE= yes >-USE_BZIP2= yes > USE_RC_SUBR= squid > > SQUID_UID?= squid >@@ -391,13 +401,24 @@ CONFIGURE_ENV+= GREP="${GREP}" > PLIST_DIRS= %%ETCDIR%%/icons libexec/squid > PLIST_FILES= ${etc_files:S,^,etc/,} ${icon_files:S,^,%%ETCDIR%%/icons/,} \ > ${libexec:S,^,libexec/squid/,} ${sbin:S,^,sbin/,} >+PLIST_FILES+= man/man8/cachemgr.cgi.8.gz \ >+ man/man8/ncsa_auth.8.gz \ >+ man/man8/pam_auth.8.gz \ >+ man/man8/squid.8.gz \ >+ man/man8/squid_db_auth.8.gz \ >+ man/man8/squid_session.8.gz \ >+ man/man8/squid_unix_group.8.gz \ >+ %%ETCDIR%%/cachemgr.conf \ >+ %%ETCDIR%%/mime.conf \ >+ %%ETCDIR%%/msntauth.conf \ >+ %%ETCDIR%%/squid.conf > > .for d in ${SQUID_LANGUAGES} > PLIST_DIRS+= %%ETCDIR%%/errors/${d} > PLIST_FILES+= ${error_files:S,^,%%ETCDIR%%/errors/${d}/,} > .endfor > PLIST_DIRS+= %%ETCDIR%%/errors >-PLIST_DIRSTRY+= %%ETCDIR%% >+PLIST_DIRSTRY+= %%ETCDIR%% /var/squid/logs /var/squid > > post-patch: > @${REINPLACE_CMD} -e 's|%%SQUID_UID%%|${SQUID_UID}|g' \ >@@ -418,16 +439,16 @@ pre-su-install: > > post-install: > .if ${PORT_OPTIONS:MEXAMPLES} >- @${MKDIR} ${EXAMPLESDIR} >- ${INSTALL_DATA} ${WRKSRC}/helpers/basic_auth/DB/passwd.sql ${EXAMPLESDIR} >+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} >+ ${INSTALL_DATA} ${WRKSRC}/helpers/basic_auth/DB/passwd.sql ${STAGEDIR}${EXAMPLESDIR} > .endif > .if ${PORT_OPTIONS:MPINGER} >- ${CHMOD} 4510 ${PREFIX}/libexec/squid/pinger; \ >- ${CHGRP} ${SQUID_GID} ${PREFIX}/libexec/squid/pinger >+ ${CHMOD} 4510 ${STAGEDIR}${PREFIX}/libexec/squid/pinger; \ >+ ${CHGRP} ${SQUID_GID} ${STAGEDIR}${PREFIX}/libexec/squid/pinger > .endif > .if ${PORT_OPTIONS:MDOCS} >- @${MKDIR} ${DOCSDIR} >- cd ${WRKSRC} && ${INSTALL_DATA} ${docs} ${DOCSDIR} >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ cd ${WRKSRC} && ${INSTALL_DATA} ${docs} ${STAGEDIR}${DOCSDIR} > .endif > @${SETENV} PKG_PREFIX=${PREFIX} \ > ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 189898
:
142812
| 142813