Sun Apr 25 06:13:05 2021 UTC ()
squid4: remove dead download link


(wiz)
diff -r1.16 -r1.17 pkgsrc/www/squid4/Makefile

cvs diff -r1.16 -r1.17 pkgsrc/www/squid4/Makefile (switch to unified diff)

--- pkgsrc/www/squid4/Makefile 2021/04/21 13:25:32 1.16
+++ pkgsrc/www/squid4/Makefile 2021/04/25 06:13:05 1.17
@@ -1,93 +1,91 @@ @@ -1,93 +1,91 @@
1# $NetBSD: Makefile,v 1.16 2021/04/21 13:25:32 adam Exp $ 1# $NetBSD: Makefile,v 1.17 2021/04/25 06:13:05 wiz Exp $
2 2
3DISTNAME= squid-4.14 3DISTNAME= squid-4.14
4PKGREVISION= 1 4PKGREVISION= 1
5CATEGORIES= www 5CATEGORIES= www
6MASTER_SITES= http://www.squid-cache.org/Versions/v4/ 6MASTER_SITES= http://www.squid-cache.org/Versions/v4/
7MASTER_SITES+= ftp://ftp.squid-cache.org/pub/squid/ 
8MASTER_SITES+= ftp://ftp.squid-cache.org/pub/archive/4/ 
9EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
10 8
11MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
12HOMEPAGE= http://www.squid-cache.org/ 10HOMEPAGE= http://www.squid-cache.org/
13COMMENT= Post-Harvest_cached WWW proxy cache and accelerator 11COMMENT= Post-Harvest_cached WWW proxy cache and accelerator
14LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
15 13
16USE_LANGUAGES= c c++11 14USE_LANGUAGES= c c++11
17USE_TOOLS+= perl:run gmake 15USE_TOOLS+= perl:run gmake
18GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
19GNU_CONFIGURE_STRICT= no # has sub-configure in libltdl 17GNU_CONFIGURE_STRICT= no # has sub-configure in libltdl
20CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} 18CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
21CONFIGURE_ARGS+= --localstatedir=${SQUID_DATADIR} 19CONFIGURE_ARGS+= --localstatedir=${SQUID_DATADIR}
22CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/squid 20CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/squid
23CONFIGURE_ARGS+= --disable-arch-native 21CONFIGURE_ARGS+= --disable-arch-native
24CONFIGURE_ARGS+= --enable-cachemgr-hostname=localhost 22CONFIGURE_ARGS+= --enable-cachemgr-hostname=localhost
25CONFIGURE_ARGS+= --enable-delay-pools 23CONFIGURE_ARGS+= --enable-delay-pools
26CONFIGURE_ARGS+= --enable-icap-client 24CONFIGURE_ARGS+= --enable-icap-client
27CONFIGURE_ARGS+= --enable-icmp 25CONFIGURE_ARGS+= --enable-icmp
28CONFIGURE_ARGS+= --enable-poll 26CONFIGURE_ARGS+= --enable-poll
29CONFIGURE_ARGS+= --enable-removal-policies=lru,heap 27CONFIGURE_ARGS+= --enable-removal-policies=lru,heap
30CONFIGURE_ARGS+= --enable-storeio=${SQUID_BACKENDS:Q} 28CONFIGURE_ARGS+= --enable-storeio=${SQUID_BACKENDS:Q}
31CONFIGURE_ARGS+= --with-aio 29CONFIGURE_ARGS+= --with-aio
32CONFIGURE_ARGS+= --with-default-user=${SQUID_USER} 30CONFIGURE_ARGS+= --with-default-user=${SQUID_USER}
33CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/squid.pid 31CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/squid.pid
34 32
35# Let 'purge' find correct config file by default. 33# Let 'purge' find correct config file by default.
36CPPFLAGS+= -DDEFAULT_SQUID_CONF=\"${PKG_SYSCONFDIR}/squid.conf\" 34CPPFLAGS+= -DDEFAULT_SQUID_CONF=\"${PKG_SYSCONFDIR}/squid.conf\"
37 35
38BUILDLINK_TRANSFORM+= rm:-Werror 36BUILDLINK_TRANSFORM+= rm:-Werror
39 37
40MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} 38MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
41MAKE_ENV+= PKG_PREFIX=${PREFIX} VARBASE=${VARBASE} 39MAKE_ENV+= PKG_PREFIX=${PREFIX} VARBASE=${VARBASE}
42REPLACE_PERL+= contrib/url-normalizer.pl contrib/user-agents.pl \ 40REPLACE_PERL+= contrib/url-normalizer.pl contrib/user-agents.pl \
43 scripts/AnnounceCache.pl scripts/access-log-matrix.pl \ 41 scripts/AnnounceCache.pl scripts/access-log-matrix.pl \
44 scripts/cache-compare.pl scripts/cachetrace.pl \ 42 scripts/cache-compare.pl scripts/cachetrace.pl \
45 scripts/calc-must-ids.pl scripts/check_cache.pl \ 43 scripts/calc-must-ids.pl scripts/check_cache.pl \
46 scripts/fileno-to-pathname.pl scripts/find-alive.pl \ 44 scripts/fileno-to-pathname.pl scripts/find-alive.pl \
47 scripts/flag_truncs.pl scripts/icp-test.pl \ 45 scripts/flag_truncs.pl scripts/icp-test.pl \
48 scripts/icpserver.pl scripts/tcp-banger.pl \ 46 scripts/icpserver.pl scripts/tcp-banger.pl \
49 scripts/trace-job.pl scripts/trace-master.pl \ 47 scripts/trace-job.pl scripts/trace-master.pl \
50 scripts/udp-banger.pl scripts/upgrade-1.0-store.pl \ 48 scripts/udp-banger.pl scripts/upgrade-1.0-store.pl \
51 tools/helper-ok-dying.pl tools/helper-ok.pl 49 tools/helper-ok-dying.pl tools/helper-ok.pl
52EGFILES= src/mime.conf.default src/squid.conf.default \ 50EGFILES= src/mime.conf.default src/squid.conf.default \
53 errors/errorpage.css tools/cachemgr.conf 51 errors/errorpage.css tools/cachemgr.conf
54EGDIR= share/examples/squid 52EGDIR= share/examples/squid
55.for f in cachemgr.conf errorpage.css mime.conf squid.conf 53.for f in cachemgr.conf errorpage.css mime.conf squid.conf
56CONF_FILES+= ${PREFIX}/${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} 54CONF_FILES+= ${PREFIX}/${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
57.endfor 55.endfor
58OWN_DIRS= ${SQUID_DATADIR} 56OWN_DIRS= ${SQUID_DATADIR}
59OWN_DIRS_PERMS+= ${SQUID_DATADIR}/cache ${SQUID_USER} ${SQUID_GROUP} 0750 \ 57OWN_DIRS_PERMS+= ${SQUID_DATADIR}/cache ${SQUID_USER} ${SQUID_GROUP} 0750 \
60 ${SQUID_DATADIR}/logs ${SQUID_USER} ${SQUID_GROUP} 0750 58 ${SQUID_DATADIR}/logs ${SQUID_USER} ${SQUID_GROUP} 0750
61 59
62.include "Makefile.common" 60.include "Makefile.common"
63.include "options.mk" 61.include "options.mk"
64 62
65# Incorrect check for <netinet/ip_icmp.h> on FreeBSD: 63# Incorrect check for <netinet/ip_icmp.h> on FreeBSD:
66CONFIGURE_ENV.FreeBSD+= ac_cv_header_netinet_ip_icmp_h=yes 64CONFIGURE_ENV.FreeBSD+= ac_cv_header_netinet_ip_icmp_h=yes
67 65
68INSTALLATION_DIRS= ${EGDIR} 66INSTALLATION_DIRS= ${EGDIR}
69 67
70SPECIAL_PERMS+= libexec/pinger ${SETUID_ROOT_PERMS} 68SPECIAL_PERMS+= libexec/pinger ${SETUID_ROOT_PERMS}
71 69
72RCD_SCRIPTS= squid 70RCD_SCRIPTS= squid
73RCD_SCRIPT_SRC.squid= files/squid.sh 71RCD_SCRIPT_SRC.squid= files/squid.sh
74SMF_NAME= squid 72SMF_NAME= squid
75 73
76SUBST_CLASSES+= confs 74SUBST_CLASSES+= confs
77SUBST_STAGE.confs= pre-configure 75SUBST_STAGE.confs= pre-configure
78SUBST_FILES.confs= src/cf.data.pre 76SUBST_FILES.confs= src/cf.data.pre
79SUBST_SED.confs= -e "s/@DEFAULT_CACHE_EFFECTIVE_USER@/${SQUID_USER}/" 77SUBST_SED.confs= -e "s/@DEFAULT_CACHE_EFFECTIVE_USER@/${SQUID_USER}/"
80SUBST_MESSAGE.confs= Fixing configuration files. 78SUBST_MESSAGE.confs= Fixing configuration files.
81 79
82post-build: 80post-build:
83 cd ${WRKSRC}/src && ${CP} -pf squid.conf.documented squid.conf.default 81 cd ${WRKSRC}/src && ${CP} -pf squid.conf.documented squid.conf.default
84 82
85post-install: 83post-install:
86.for f in ${EGFILES} 84.for f in ${EGFILES}
87 ${INSTALL_DATA} ${WRKSRC}/${f} \ 85 ${INSTALL_DATA} ${WRKSRC}/${f} \
88 ${DESTDIR}${PREFIX}/${EGDIR}/`basename ${f} .default` 86 ${DESTDIR}${PREFIX}/${EGDIR}/`basename ${f} .default`
89.endfor 87.endfor
90 88
91.include "../../devel/libltdl/buildlink3.mk" 89.include "../../devel/libltdl/buildlink3.mk"
92.include "../../mk/atomic64.mk" 90.include "../../mk/atomic64.mk"
93.include "../../mk/bsd.pkg.mk" 91.include "../../mk/bsd.pkg.mk"