| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.2 2020/01/18 21:51:12 jperkin Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2020/01/23 14:49:09 jperkin Exp $ |
2 | | | 2 | |
3 | DISTNAME= squid-4.9 | | 3 | DISTNAME= squid-4.9 |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | CATEGORIES= www | | 5 | CATEGORIES= www |
6 | MASTER_SITES= http://www.squid-cache.org/Versions/v4/ | | 6 | MASTER_SITES= http://www.squid-cache.org/Versions/v4/ |
7 | MASTER_SITES+= ftp://ftp.squid-cache.org/pub/squid/ | | 7 | MASTER_SITES+= ftp://ftp.squid-cache.org/pub/squid/ |
8 | MASTER_SITES+= ftp://ftp.squid-cache.org/pub/archive/4/ | | 8 | MASTER_SITES+= ftp://ftp.squid-cache.org/pub/archive/4/ |
9 | EXTRACT_SUFX= .tar.xz | | 9 | EXTRACT_SUFX= .tar.xz |
10 | | | 10 | |
11 | MAINTAINER= pkgsrc-users@NetBSD.org | | 11 | MAINTAINER= pkgsrc-users@NetBSD.org |
12 | HOMEPAGE= http://www.squid-cache.org/ | | 12 | HOMEPAGE= http://www.squid-cache.org/ |
13 | COMMENT= Post-Harvest_cached WWW proxy cache and accelerator | | 13 | COMMENT= Post-Harvest_cached WWW proxy cache and accelerator |
14 | LICENSE= gnu-gpl-v2 | | 14 | LICENSE= gnu-gpl-v2 |
| @@ -24,26 +24,28 @@ CONFIGURE_ARGS+= --enable-cachemgr-hostn | | | @@ -24,26 +24,28 @@ CONFIGURE_ARGS+= --enable-cachemgr-hostn |
24 | CONFIGURE_ARGS+= --enable-delay-pools | | 24 | CONFIGURE_ARGS+= --enable-delay-pools |
25 | CONFIGURE_ARGS+= --enable-icap-client | | 25 | CONFIGURE_ARGS+= --enable-icap-client |
26 | CONFIGURE_ARGS+= --enable-icmp | | 26 | CONFIGURE_ARGS+= --enable-icmp |
27 | CONFIGURE_ARGS+= --enable-poll | | 27 | CONFIGURE_ARGS+= --enable-poll |
28 | CONFIGURE_ARGS+= --enable-removal-policies=lru,heap | | 28 | CONFIGURE_ARGS+= --enable-removal-policies=lru,heap |
29 | CONFIGURE_ARGS+= --enable-storeio=${SQUID_BACKENDS:Q} | | 29 | CONFIGURE_ARGS+= --enable-storeio=${SQUID_BACKENDS:Q} |
30 | CONFIGURE_ARGS+= --with-aio | | 30 | CONFIGURE_ARGS+= --with-aio |
31 | CONFIGURE_ARGS+= --with-default-user=${SQUID_USER} | | 31 | CONFIGURE_ARGS+= --with-default-user=${SQUID_USER} |
32 | CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/squid.pid | | 32 | CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/squid.pid |
33 | | | 33 | |
34 | # Let 'purge' find correct config file by default. | | 34 | # Let 'purge' find correct config file by default. |
35 | CPPFLAGS+= -DDEFAULT_SQUID_CONF=\"${PKG_SYSCONFDIR}/squid.conf\" | | 35 | CPPFLAGS+= -DDEFAULT_SQUID_CONF=\"${PKG_SYSCONFDIR}/squid.conf\" |
36 | | | 36 | |
| | | 37 | BUILDLINK_TRANSFORM+= rm:-Werror |
| | | 38 | |
37 | BUILD_DEFS+= VARBASE | | 39 | BUILD_DEFS+= VARBASE |
38 | MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} | | 40 | MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} |
39 | MAKE_ENV+= PKG_PREFIX=${PREFIX} VARBASE=${VARBASE} | | 41 | MAKE_ENV+= PKG_PREFIX=${PREFIX} VARBASE=${VARBASE} |
40 | REPLACE_PERL+= contrib/url-normalizer.pl contrib/user-agents.pl \ | | 42 | REPLACE_PERL+= contrib/url-normalizer.pl contrib/user-agents.pl \ |
41 | scripts/AnnounceCache.pl scripts/access-log-matrix.pl \ | | 43 | scripts/AnnounceCache.pl scripts/access-log-matrix.pl \ |
42 | scripts/cache-compare.pl scripts/cachetrace.pl \ | | 44 | scripts/cache-compare.pl scripts/cachetrace.pl \ |
43 | scripts/calc-must-ids.pl scripts/check_cache.pl \ | | 45 | scripts/calc-must-ids.pl scripts/check_cache.pl \ |
44 | scripts/fileno-to-pathname.pl scripts/find-alive.pl \ | | 46 | scripts/fileno-to-pathname.pl scripts/find-alive.pl \ |
45 | scripts/flag_truncs.pl scripts/icp-test.pl \ | | 47 | scripts/flag_truncs.pl scripts/icp-test.pl \ |
46 | scripts/icpserver.pl scripts/tcp-banger.pl \ | | 48 | scripts/icpserver.pl scripts/tcp-banger.pl \ |
47 | scripts/trace-job.pl scripts/trace-master.pl \ | | 49 | scripts/trace-job.pl scripts/trace-master.pl \ |
48 | scripts/udp-banger.pl scripts/upgrade-1.0-store.pl \ | | 50 | scripts/udp-banger.pl scripts/upgrade-1.0-store.pl \ |
49 | tools/helper-ok-dying.pl tools/helper-ok.pl | | 51 | tools/helper-ok-dying.pl tools/helper-ok.pl |