pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/squid3 Let 'purge' find correct config file by def...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5e051298c7ad
branches: trunk
changeset: 359812:5e051298c7ad
user: adam <adam%pkgsrc.org@localhost>
date: Sat Mar 18 21:26:31 2017 +0000
description:
Let 'purge' find correct config file by default.
diffstat:
www/squid3/Makefile | 7 ++++---
www/squid3/PLIST | 6 +++---
2 files changed, 7 insertions(+), 6 deletions(-)
diffs (63 lines):
diff -r 7eb0844bd60a -r 5e051298c7ad www/squid3/Makefile
--- a/www/squid3/Makefile Sat Mar 18 20:18:39 2017 +0000
+++ b/www/squid3/Makefile Sat Mar 18 21:26:31 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2017/02/10 08:41:25 sborrill Exp $
+# $NetBSD: Makefile,v 1.74 2017/03/18 21:26:31 adam Exp $
DISTNAME= squid-3.5.24
PKGREVISION= 1
@@ -19,6 +19,7 @@
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --localstatedir=${SQUID_DATADIR}
CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/squid
+CONFIGURE_ARGS+= --disable-arch-native
CONFIGURE_ARGS+= --disable-strict-error-checking
CONFIGURE_ARGS+= --enable-auth
CONFIGURE_ARGS+= --enable-cachemgr-hostname=localhost
@@ -32,8 +33,8 @@
CONFIGURE_ARGS+= --with-default-user=${SQUID_USER}
CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/squid.pid
-# Explicitly disable using CPU optimized instruction
-CONFIGURE_ARGS+= --disable-arch-native
+# Let 'purge' find correct config file by default.
+CPPFLAGS+= -DDEFAULT_SQUID_CONF=\"${PKG_SYSCONFDIR}/squid.conf\"
BUILD_DEFS+= VARBASE
MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
diff -r 7eb0844bd60a -r 5e051298c7ad www/squid3/PLIST
--- a/www/squid3/PLIST Sat Mar 18 20:18:39 2017 +0000
+++ b/www/squid3/PLIST Sat Mar 18 21:26:31 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2017/02/10 08:41:25 sborrill Exp $
+@comment $NetBSD: PLIST,v 1.14 2017/03/18 21:26:31 adam Exp $
bin/purge
bin/squidclient
${PLIST.ba_getpwnam}libexec/basic_getpwnam_auth
@@ -7,7 +7,6 @@
${PLIST.ba_PAM}libexec/basic_pam_auth
libexec/cachemgr.cgi
${PLIST.ssl}libexec/cert_valid.pl
-${PLIST.ssl}libexec/ssl_crtd
${PLIST.da_file}libexec/digest_file_auth
${PLIST.da_LDAP}libexec/digest_ldap_auth
${PLIST.diskd}libexec/diskd
@@ -22,6 +21,7 @@
libexec/ntlm_fake_auth
libexec/ntlm_smb_lm_auth
libexec/pinger
+${PLIST.ssl}libexec/ssl_crtd
libexec/storeid_file_rewrite
${PLIST.unlinkd}libexec/unlinkd
libexec/url_fake_rewrite
@@ -38,8 +38,8 @@
${PLIST.eacl_unix_group}man/man8/ext_unix_group_acl.8
man/man8/log_db_daemon.8
${PLIST.ta_kerberos}man/man8/negotiate_kerberos_auth.8
+man/man8/squid.8
${PLIST.ssl}man/man8/ssl_crtd.8
-man/man8/squid.8
man/man8/storeid_file_rewrite.8
sbin/squid
share/examples/squid/cachemgr.conf
Home |
Main Index |
Thread Index |
Old Index