Enable build of ssl_crtd if ssl option selected. This is required for dynamic certificate generation when using SSL Bump. http://wiki.squid-cache.org/ConfigExamples/Intercept/SslBumpExplicitdiff -r1.72 -r1.73 pkgsrc/www/squid3/Makefile
(sborrill)
@@ -1,16 +1,17 @@ | @@ -1,16 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.72 2017/01/30 14:17:33 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.73 2017/02/10 08:41:25 sborrill Exp $ | |
2 | 2 | |||
3 | DISTNAME= squid-3.5.24 | 3 | DISTNAME= squid-3.5.24 | |
4 | PKGREVISION= 1 | |||
4 | CATEGORIES= www | 5 | CATEGORIES= www | |
5 | MASTER_SITES= http://www.squid-cache.org/Versions/v3/${PKGVERSION_NOREV:R}/ | 6 | MASTER_SITES= http://www.squid-cache.org/Versions/v3/${PKGVERSION_NOREV:R}/ | |
6 | MASTER_SITES+= ftp://ftp.squid-cache.org/pub/squid/ | 7 | MASTER_SITES+= ftp://ftp.squid-cache.org/pub/squid/ | |
7 | MASTER_SITES+= http://ftp.nluug.nl/internet/squid/ | 8 | MASTER_SITES+= http://ftp.nluug.nl/internet/squid/ | |
8 | EXTRACT_SUFX= .tar.xz | 9 | EXTRACT_SUFX= .tar.xz | |
9 | 10 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 11 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://www.squid-cache.org/ | 12 | HOMEPAGE= http://www.squid-cache.org/ | |
12 | COMMENT= Post-Harvest_cached WWW proxy cache and accelerator | 13 | COMMENT= Post-Harvest_cached WWW proxy cache and accelerator | |
13 | LICENSE= gnu-gpl-v2 | 14 | LICENSE= gnu-gpl-v2 | |
14 | 15 | |||
15 | USE_LANGUAGES= c c++ | 16 | USE_LANGUAGES= c c++ | |
16 | USE_TOOLS+= perl:run gmake | 17 | USE_TOOLS+= perl:run gmake |
@@ -1,22 +1,23 @@ | @@ -1,22 +1,23 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.12 2016/10/10 09:01:39 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.13 2017/02/10 08:41:25 sborrill Exp $ | |
2 | bin/purge | 2 | bin/purge | |
3 | bin/squidclient | 3 | bin/squidclient | |
4 | ${PLIST.ba_getpwnam}libexec/basic_getpwnam_auth | 4 | ${PLIST.ba_getpwnam}libexec/basic_getpwnam_auth | |
5 | ${PLIST.ba_LDAP}libexec/basic_ldap_auth | 5 | ${PLIST.ba_LDAP}libexec/basic_ldap_auth | |
6 | ${PLIST.ba_NCSA}libexec/basic_ncsa_auth | 6 | ${PLIST.ba_NCSA}libexec/basic_ncsa_auth | |
7 | ${PLIST.ba_PAM}libexec/basic_pam_auth | 7 | ${PLIST.ba_PAM}libexec/basic_pam_auth | |
8 | libexec/cachemgr.cgi | 8 | libexec/cachemgr.cgi | |
9 | ${PLIST.ssl}libexec/cert_valid.pl | 9 | ${PLIST.ssl}libexec/cert_valid.pl | |
10 | ${PLIST.ssl}libexec/ssl_crtd | |||
10 | ${PLIST.da_file}libexec/digest_file_auth | 11 | ${PLIST.da_file}libexec/digest_file_auth | |
11 | ${PLIST.da_LDAP}libexec/digest_ldap_auth | 12 | ${PLIST.da_LDAP}libexec/digest_ldap_auth | |
12 | ${PLIST.diskd}libexec/diskd | 13 | ${PLIST.diskd}libexec/diskd | |
13 | ${PLIST.eacl_file_userip}libexec/ext_file_userip_acl | 14 | ${PLIST.eacl_file_userip}libexec/ext_file_userip_acl | |
14 | ${PLIST.eacl_LDAP_group}libexec/ext_ldap_group_acl | 15 | ${PLIST.eacl_LDAP_group}libexec/ext_ldap_group_acl | |
15 | ${PLIST.eacl_unix_group}libexec/ext_unix_group_acl | 16 | ${PLIST.eacl_unix_group}libexec/ext_unix_group_acl | |
16 | libexec/helper-mux.pl | 17 | libexec/helper-mux.pl | |
17 | libexec/log_db_daemon | 18 | libexec/log_db_daemon | |
18 | libexec/log_file_daemon | 19 | libexec/log_file_daemon | |
19 | ${PLIST.ta_kerberos}libexec/negotiate_kerberos_auth | 20 | ${PLIST.ta_kerberos}libexec/negotiate_kerberos_auth | |
20 | ${PLIST.ta_kerberos}libexec/negotiate_kerberos_auth_test | 21 | ${PLIST.ta_kerberos}libexec/negotiate_kerberos_auth_test | |
21 | libexec/ntlm_fake_auth | 22 | libexec/ntlm_fake_auth | |
22 | libexec/ntlm_smb_lm_auth | 23 | libexec/ntlm_smb_lm_auth | |
@@ -27,26 +28,27 @@ libexec/url_fake_rewrite | @@ -27,26 +28,27 @@ libexec/url_fake_rewrite | |||
27 | libexec/url_fake_rewrite.sh | 28 | libexec/url_fake_rewrite.sh | |
28 | man/man1/squidclient.1 | 29 | man/man1/squidclient.1 | |
29 | ${PLIST.ba_getpwnam}man/man8/basic_getpwnam_auth.8 | 30 | ${PLIST.ba_getpwnam}man/man8/basic_getpwnam_auth.8 | |
30 | ${PLIST.ba_LDAP}man/man8/basic_ldap_auth.8 | 31 | ${PLIST.ba_LDAP}man/man8/basic_ldap_auth.8 | |
31 | ${PLIST.ba_NCSA}man/man8/basic_ncsa_auth.8 | 32 | ${PLIST.ba_NCSA}man/man8/basic_ncsa_auth.8 | |
32 | ${PLIST.ba_PAM}man/man8/basic_pam_auth.8 | 33 | ${PLIST.ba_PAM}man/man8/basic_pam_auth.8 | |
33 | man/man8/cachemgr.cgi.8 | 34 | man/man8/cachemgr.cgi.8 | |
34 | ${PLIST.da_file}man/man8/digest_file_auth.8 | 35 | ${PLIST.da_file}man/man8/digest_file_auth.8 | |
35 | ${PLIST.eacl_file_userip}man/man8/ext_file_userip_acl.8 | 36 | ${PLIST.eacl_file_userip}man/man8/ext_file_userip_acl.8 | |
36 | ${PLIST.eacl_LDAP_group}man/man8/ext_ldap_group_acl.8 | 37 | ${PLIST.eacl_LDAP_group}man/man8/ext_ldap_group_acl.8 | |
37 | ${PLIST.eacl_unix_group}man/man8/ext_unix_group_acl.8 | 38 | ${PLIST.eacl_unix_group}man/man8/ext_unix_group_acl.8 | |
38 | man/man8/log_db_daemon.8 | 39 | man/man8/log_db_daemon.8 | |
39 | ${PLIST.ta_kerberos}man/man8/negotiate_kerberos_auth.8 | 40 | ${PLIST.ta_kerberos}man/man8/negotiate_kerberos_auth.8 | |
41 | ${PLIST.ssl}man/man8/ssl_crtd.8 | |||
40 | man/man8/squid.8 | 42 | man/man8/squid.8 | |
41 | man/man8/storeid_file_rewrite.8 | 43 | man/man8/storeid_file_rewrite.8 | |
42 | sbin/squid | 44 | sbin/squid | |
43 | share/examples/squid/cachemgr.conf | 45 | share/examples/squid/cachemgr.conf | |
44 | share/examples/squid/errorpage.css | 46 | share/examples/squid/errorpage.css | |
45 | share/examples/squid/mime.conf | 47 | share/examples/squid/mime.conf | |
46 | share/examples/squid/squid.conf | 48 | share/examples/squid/squid.conf | |
47 | share/squid/errors/COPYRIGHT | 49 | share/squid/errors/COPYRIGHT | |
48 | share/squid/errors/TRANSLATORS | 50 | share/squid/errors/TRANSLATORS | |
49 | share/squid/errors/af/ERR_ACCESS_DENIED | 51 | share/squid/errors/af/ERR_ACCESS_DENIED | |
50 | share/squid/errors/af/ERR_ACL_TIME_QUOTA_EXCEEDED | 52 | share/squid/errors/af/ERR_ACL_TIME_QUOTA_EXCEEDED | |
51 | share/squid/errors/af/ERR_AGENT_CONFIGURE | 53 | share/squid/errors/af/ERR_AGENT_CONFIGURE | |
52 | share/squid/errors/af/ERR_AGENT_WPAD | 54 | share/squid/errors/af/ERR_AGENT_WPAD |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: options.mk,v 1.21 2016/10/10 09:01:39 adam Exp $ | 1 | # $NetBSD: options.mk,v 1.22 2017/02/10 08:41:25 sborrill Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.squid | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.squid | |
4 | PKG_SUPPORTED_OPTIONS= ecap inet6 snmp ssl squid-backend-aufs \ | 4 | PKG_SUPPORTED_OPTIONS= ecap inet6 snmp ssl squid-backend-aufs \ | |
5 | squid-backend-diskd squid-backend-rock squid-backend-ufs \ | 5 | squid-backend-diskd squid-backend-rock squid-backend-ufs \ | |
6 | squid-carp squid-unlinkd squid-kerberos-helper \ | 6 | squid-carp squid-unlinkd squid-kerberos-helper \ | |
7 | squid-ldap-helper squid-pam-helper | 7 | squid-ldap-helper squid-pam-helper | |
8 | PKG_OPTIONS_LEGACY_OPTS+= diskd:squid-backend-diskd \ | 8 | PKG_OPTIONS_LEGACY_OPTS+= diskd:squid-backend-diskd \ | |
9 | null:squid-backend-null ufs:squid-backend-ufs \ | 9 | null:squid-backend-null ufs:squid-backend-ufs \ | |
10 | linux-netfilter:squid-netfilter ipf-transparent:squid-ipf \ | 10 | linux-netfilter:squid-netfilter ipf-transparent:squid-ipf \ | |
11 | pf-transparent:squid-pf unlinkd:squid-unlinkd \ | 11 | pf-transparent:squid-pf unlinkd:squid-unlinkd \ | |
12 | arp-acl:squid-arp-acl pam-helper:squid-pam-helper carp:squid-carp | 12 | arp-acl:squid-arp-acl pam-helper:squid-pam-helper carp:squid-carp | |
13 | 13 | |||
14 | PLIST_VARS+= diskd snmp unlinkd | 14 | PLIST_VARS+= diskd snmp unlinkd | |
@@ -122,26 +122,27 @@ SQUID_EXTERNAL_ACL_HELPERS+= LDAP_group | @@ -122,26 +122,27 @@ SQUID_EXTERNAL_ACL_HELPERS+= LDAP_group | |||
122 | . include "../../mk/pam.buildlink3.mk" | 122 | . include "../../mk/pam.buildlink3.mk" | |
123 | SQUID_BASIC_AUTH_HELPERS+= PAM | 123 | SQUID_BASIC_AUTH_HELPERS+= PAM | |
124 | .endif | 124 | .endif | |
125 | 125 | |||
126 | .if !empty(PKG_OPTIONS:Msnmp) | 126 | .if !empty(PKG_OPTIONS:Msnmp) | |
127 | CONFIGURE_ARGS+= --enable-snmp | 127 | CONFIGURE_ARGS+= --enable-snmp | |
128 | PLIST.snmp= yes | 128 | PLIST.snmp= yes | |
129 | .else | 129 | .else | |
130 | CONFIGURE_ARGS+= --disable-snmp | 130 | CONFIGURE_ARGS+= --disable-snmp | |
131 | .endif | 131 | .endif | |
132 | 132 | |||
133 | .if !empty(PKG_OPTIONS:Mssl) | 133 | .if !empty(PKG_OPTIONS:Mssl) | |
134 | CONFIGURE_ARGS+= --enable-ssl --with-openssl=${SSLBASE:Q} | 134 | CONFIGURE_ARGS+= --enable-ssl --with-openssl=${SSLBASE:Q} | |
135 | CONFIGURE_ARGS+= --enable-ssl-crtd | |||
135 | . include "../../security/openssl/buildlink3.mk" | 136 | . include "../../security/openssl/buildlink3.mk" | |
136 | PLIST.ssl= yes | 137 | PLIST.ssl= yes | |
137 | .endif | 138 | .endif | |
138 | 139 | |||
139 | .if !empty(PKG_OPTIONS:Msquid-backend-aufs) | 140 | .if !empty(PKG_OPTIONS:Msquid-backend-aufs) | |
140 | SQUID_BACKENDS+= aufs | 141 | SQUID_BACKENDS+= aufs | |
141 | . include "../../mk/pthread.buildlink3.mk" | 142 | . include "../../mk/pthread.buildlink3.mk" | |
142 | .endif | 143 | .endif | |
143 | 144 | |||
144 | .if !empty(PKG_OPTIONS:Msquid-backend-diskd) | 145 | .if !empty(PKG_OPTIONS:Msquid-backend-diskd) | |
145 | SQUID_BACKENDS+= diskd | 146 | SQUID_BACKENDS+= diskd | |
146 | PLIST.diskd= yes | 147 | PLIST.diskd= yes | |
147 | .endif | 148 | .endif |