pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/squid5 www/squid5: add package version 5.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/55f173bda521
branches:  trunk
changeset: 384370:55f173bda521
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Aug 31 16:08:44 2022 +0000

description:
www/squid5: add package version 5.6

Squid is a fully-featured HTTP/1.0 proxy with partial HTTP/1.1 support
The 5 series brings many new features and upgrades to the basic
networking protocols. A short list of the major new features is:

Squid 5 represents a new feature release above 4.17.

The most important of these new features are:

* Configurable helper queue size
* Helper concurrency channels changes
* SSL support removal
* Helper Binary Changes
* Secure ICAP
* Improved SMP support
* Improved process management
* Initial GnuTLS support
* ESI Custom Parser removal

diffstat:

 www/squid5/DESCR                                                                   |    17 +
 www/squid5/MESSAGE                                                                 |    10 +
 www/squid5/Makefile                                                                |    90 +
 www/squid5/Makefile.common                                                         |    19 +
 www/squid5/PLIST                                                                   |  2256 ++++++++++
 www/squid5/distinfo                                                                |    14 +
 www/squid5/files/smf/manifest.xml                                                  |    28 +
 www/squid5/files/squid.sh                                                          |    74 +
 www/squid5/options.mk                                                              |   243 +
 www/squid5/patches/patch-compat_compat.h                                           |    15 +
 www/squid5/patches/patch-configure                                                 |   178 +
 www/squid5/patches/patch-errors_Makefile.in                                        |    23 +
 www/squid5/patches/patch-src_Makefile.in                                           |    23 +
 www/squid5/patches/patch-src_acl_external_kerberos__ldap__group_support__resolv.cc |    15 +
 www/squid5/patches/patch-src_comm_ModKqueue.cc                                     |    28 +
 www/squid5/patches/patch-src_esi_VarState.cc                                       |    16 +
 www/squid5/patches/patch-src_fs_ufs_RebuildState.h                                 |    15 +
 www/squid5/patches/patch-tools_Makefile.in                                         |    15 +
 18 files changed, 3079 insertions(+), 0 deletions(-)

diffs (truncated from 3151 to 300 lines):

diff -r 4e7fd68ea03a -r 55f173bda521 www/squid5/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/squid5/DESCR  Wed Aug 31 16:08:44 2022 +0000
@@ -0,0 +1,17 @@
+Squid is a fully-featured HTTP/1.0 proxy with partial HTTP/1.1 support
+The 5 series brings many new features and upgrades to the basic
+networking protocols. A short list of the major new features is:
+
+Squid 5 represents a new feature release above 4.17.
+
+The most important of these new features are:
+
+* Configurable helper queue size
+* Helper concurrency channels changes
+* SSL support removal
+* Helper Binary Changes
+* Secure ICAP
+* Improved SMP support
+* Improved process management
+* Initial GnuTLS support
+* ESI Custom Parser removal
diff -r 4e7fd68ea03a -r 55f173bda521 www/squid5/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/squid5/MESSAGE        Wed Aug 31 16:08:44 2022 +0000
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2022/08/31 16:08:44 taca Exp $
+
+You DO need running nameservice to start and run ${PKGNAME}.
+
+Please note that to use the diskd storage method, you'll likely have to
+change SYSV-IPC parameters in the kernel config file (see
+http://wiki.squid-cache.org/Features/DiskDaemon for details)
+
+===========================================================================
diff -r 4e7fd68ea03a -r 55f173bda521 www/squid5/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/squid5/Makefile       Wed Aug 31 16:08:44 2022 +0000
@@ -0,0 +1,90 @@
+# $NetBSD: Makefile,v 1.1 2022/08/31 16:08:44 taca Exp $
+
+DISTNAME=      squid-5.6
+CATEGORIES=    www
+MASTER_SITES=  http://www.squid-cache.org/Versions/v5/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.squid-cache.org/
+COMMENT=       Post-Harvest_cached WWW proxy cache and accelerator
+LICENSE=       gnu-gpl-v2
+
+USE_LANGUAGES=         c c++11
+USE_TOOLS+=            perl:run gmake
+GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no # has sub-configure in libltdl
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=       --localstatedir=${SQUID_DATADIR}
+CONFIGURE_ARGS+=       --datarootdir=${PREFIX}/share/squid
+CONFIGURE_ARGS+=       --disable-arch-native
+CONFIGURE_ARGS+=       --enable-cachemgr-hostname=localhost
+CONFIGURE_ARGS+=       --enable-delay-pools
+CONFIGURE_ARGS+=       --enable-icap-client
+CONFIGURE_ARGS+=       --enable-icmp
+CONFIGURE_ARGS+=       --enable-poll
+CONFIGURE_ARGS+=       --enable-removal-policies=lru,heap
+CONFIGURE_ARGS+=       --enable-storeio=${SQUID_BACKENDS:Q}
+CONFIGURE_ARGS+=       --with-aio
+CONFIGURE_ARGS+=       --with-default-user=${SQUID_USER}
+CONFIGURE_ARGS+=       --with-pidfile=${VARBASE}/run/squid.pid
+
+# Let 'purge' find correct config file by default.
+CPPFLAGS+=             -DDEFAULT_SQUID_CONF=\"${PKG_SYSCONFDIR}/squid.conf\"
+
+BUILDLINK_TRANSFORM+=  rm:-Werror
+
+MAKE_ENV+=             INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
+MAKE_ENV+=             PKG_PREFIX=${PREFIX} VARBASE=${VARBASE}
+REPLACE_PERL+=         contrib/url-normalizer.pl contrib/user-agents.pl \
+                       scripts/AnnounceCache.pl scripts/access-log-matrix.pl \
+                       scripts/cache-compare.pl scripts/cachetrace.pl \
+                       scripts/calc-must-ids.pl scripts/check_cache.pl \
+                       scripts/fileno-to-pathname.pl scripts/find-alive.pl \
+                       scripts/flag_truncs.pl scripts/icp-test.pl \
+                       scripts/icpserver.pl scripts/tcp-banger.pl \
+                       scripts/trace-job.pl scripts/trace-master.pl \
+                       scripts/udp-banger.pl scripts/upgrade-1.0-store.pl \
+                       tools/helper-ok-dying.pl tools/helper-ok.pl
+EGFILES=               src/mime.conf.default src/squid.conf.default \
+                       errors/errorpage.css tools/cachemgr.conf
+EGDIR=                 share/examples/squid
+.for f in cachemgr.conf errorpage.css mime.conf squid.conf
+CONF_FILES+=           ${PREFIX}/${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
+.endfor
+OWN_DIRS=              ${SQUID_DATADIR}
+OWN_DIRS_PERMS+=       ${SQUID_DATADIR}/cache ${SQUID_USER} ${SQUID_GROUP} 0750 \
+                       ${SQUID_DATADIR}/logs ${SQUID_USER} ${SQUID_GROUP} 0750
+
+.include "Makefile.common"
+.include "options.mk"
+
+# Incorrect check for <netinet/ip_icmp.h> on FreeBSD:
+CONFIGURE_ENV.FreeBSD+=        ac_cv_header_netinet_ip_icmp_h=yes
+
+INSTALLATION_DIRS=     ${EGDIR}
+
+SPECIAL_PERMS+=                libexec/pinger ${SETUID_ROOT_PERMS}
+
+RCD_SCRIPTS=           squid
+RCD_SCRIPT_SRC.squid=  files/squid.sh
+SMF_NAME=              squid
+
+SUBST_CLASSES+=                confs
+SUBST_STAGE.confs=     pre-configure
+SUBST_FILES.confs=     src/cf.data.pre
+SUBST_SED.confs=       -e "s/@DEFAULT_CACHE_EFFECTIVE_USER@/${SQUID_USER}/"
+SUBST_MESSAGE.confs=   Fixing configuration files.
+
+post-build:
+       cd ${WRKSRC}/src && ${CP} -pf squid.conf.documented squid.conf.default
+
+post-install:
+.for f in ${EGFILES}
+       ${INSTALL_DATA} ${WRKSRC}/${f} \
+               ${DESTDIR}${PREFIX}/${EGDIR}/`basename ${f} .default`
+.endfor
+
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../mk/atomic64.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4e7fd68ea03a -r 55f173bda521 www/squid5/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/squid5/Makefile.common        Wed Aug 31 16:08:44 2022 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile.common,v 1.1 2022/08/31 16:08:44 taca Exp $
+#
+# used by www/squid4/Makefile
+
+SQUID_DATADIR= ${VARBASE}/squid
+
+PKG_SYSCONFSUBDIR?=            squid
+
+SQUID_USER?=                   squid
+SQUID_GROUP?=                  squid
+
+PKG_GROUPS_VARS+=              SQUID_GROUP
+PKG_USERS_VARS+=               SQUID_USER
+
+PKG_GROUPS=                    ${SQUID_GROUP}
+PKG_USERS=                     ${SQUID_USER}:${SQUID_GROUP}
+PKG_GECOS.${SQUID_USER}=       Squid Web-Cache pseudo-user
+
+BUILD_DEFS+=                   VARBASE
diff -r 4e7fd68ea03a -r 55f173bda521 www/squid5/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/squid5/PLIST  Wed Aug 31 16:08:44 2022 +0000
@@ -0,0 +1,2256 @@
+@comment $NetBSD: PLIST,v 1.1 2022/08/31 16:08:44 taca Exp $
+bin/purge
+bin/squidclient
+libexec/basic_db_auth
+libexec/basic_fake_auth
+${PLIST.ba_getpwnam}libexec/basic_getpwnam_auth
+${PLIST.ba_LDAP}libexec/basic_ldap_auth
+${PLIST.ba_NCSA}libexec/basic_ncsa_auth
+${PLIST.ba_PAM}libexec/basic_pam_auth
+libexec/cachemgr.cgi
+${PLIST.da_file}libexec/digest_file_auth
+${PLIST.da_LDAP}libexec/digest_ldap_auth
+${PLIST.diskd}libexec/diskd
+${PLIST.eacl_file_userip}libexec/ext_file_userip_acl
+${PLIST.eacl_LDAP_group}libexec/ext_ldap_group_acl
+${PLIST.eacl_unix_group}libexec/ext_unix_group_acl
+libexec/helper-mux
+libexec/log_db_daemon
+libexec/log_file_daemon
+${PLIST.ta_kerberos}libexec/negotiate_kerberos_auth
+${PLIST.ta_kerberos}libexec/negotiate_kerberos_auth_test
+libexec/ntlm_fake_auth
+libexec/ntlm_smb_lm_auth
+libexec/pinger
+libexec/security_fake_certverify
+${PLIST.openssl}libexec/security_file_certgen
+libexec/storeid_file_rewrite
+${PLIST.unlinkd}libexec/unlinkd
+libexec/url_fake_rewrite
+libexec/url_fake_rewrite.sh
+libexec/url_lfs_rewrite
+man/man1/purge.1
+man/man1/squidclient.1
+man/man8/basic_db_auth.8
+${PLIST.ba_getpwnam}man/man8/basic_getpwnam_auth.8
+${PLIST.ba_LDAP}man/man8/basic_ldap_auth.8
+${PLIST.ba_NCSA}man/man8/basic_ncsa_auth.8
+${PLIST.ba_PAM}man/man8/basic_pam_auth.8
+man/man8/cachemgr.cgi.8
+${PLIST.da_file}man/man8/digest_file_auth.8
+${PLIST.eacl_file_userip}man/man8/ext_file_userip_acl.8
+${PLIST.eacl_LDAP_group}man/man8/ext_ldap_group_acl.8
+${PLIST.eacl_unix_group}man/man8/ext_unix_group_acl.8
+man/man8/helper-mux.8
+man/man8/log_db_daemon.8
+${PLIST.ta_kerberos}man/man8/negotiate_kerberos_auth.8
+man/man8/security_fake_certverify.8
+${PLIST.openssl}man/man8/security_file_certgen.8
+man/man8/squid.8
+man/man8/storeid_file_rewrite.8
+man/man8/url_lfs_rewrite.8
+sbin/squid
+share/examples/squid/cachemgr.conf
+share/examples/squid/errorpage.css
+share/examples/squid/mime.conf
+share/examples/squid/squid.conf
+share/squid/errors/COPYRIGHT
+share/squid/errors/TRANSLATORS
+share/squid/errors/af/ERR_ACCESS_DENIED
+share/squid/errors/af/ERR_ACL_TIME_QUOTA_EXCEEDED
+share/squid/errors/af/ERR_AGENT_CONFIGURE
+share/squid/errors/af/ERR_AGENT_WPAD
+share/squid/errors/af/ERR_CACHE_ACCESS_DENIED
+share/squid/errors/af/ERR_CACHE_MGR_ACCESS_DENIED
+share/squid/errors/af/ERR_CANNOT_FORWARD
+share/squid/errors/af/ERR_CONFLICT_HOST
+share/squid/errors/af/ERR_CONNECT_FAIL
+share/squid/errors/af/ERR_DIR_LISTING
+share/squid/errors/af/ERR_DNS_FAIL
+share/squid/errors/af/ERR_ESI
+share/squid/errors/af/ERR_FORWARDING_DENIED
+share/squid/errors/af/ERR_FTP_DISABLED
+share/squid/errors/af/ERR_FTP_FAILURE
+share/squid/errors/af/ERR_FTP_FORBIDDEN
+share/squid/errors/af/ERR_FTP_NOT_FOUND
+share/squid/errors/af/ERR_FTP_PUT_CREATED
+share/squid/errors/af/ERR_FTP_PUT_ERROR
+share/squid/errors/af/ERR_FTP_PUT_MODIFIED
+share/squid/errors/af/ERR_FTP_UNAVAILABLE
+share/squid/errors/af/ERR_GATEWAY_FAILURE
+share/squid/errors/af/ERR_ICAP_FAILURE
+share/squid/errors/af/ERR_INVALID_REQ
+share/squid/errors/af/ERR_INVALID_RESP
+share/squid/errors/af/ERR_INVALID_URL
+share/squid/errors/af/ERR_LIFETIME_EXP
+share/squid/errors/af/ERR_NO_RELAY
+share/squid/errors/af/ERR_ONLY_IF_CACHED_MISS
+share/squid/errors/af/ERR_PRECONDITION_FAILED
+share/squid/errors/af/ERR_PROTOCOL_UNKNOWN
+share/squid/errors/af/ERR_READ_ERROR
+share/squid/errors/af/ERR_READ_TIMEOUT
+share/squid/errors/af/ERR_SECURE_CONNECT_FAIL
+share/squid/errors/af/ERR_SHUTTING_DOWN
+share/squid/errors/af/ERR_SOCKET_FAILURE
+share/squid/errors/af/ERR_TOO_BIG
+share/squid/errors/af/ERR_UNSUP_HTTPVERSION
+share/squid/errors/af/ERR_UNSUP_REQ
+share/squid/errors/af/ERR_URN_RESOLVE
+share/squid/errors/af/ERR_WRITE_ERROR
+share/squid/errors/af/ERR_ZERO_SIZE_OBJECT
+share/squid/errors/af/error-details.txt
+share/squid/errors/ar-ae
+share/squid/errors/ar-bh
+share/squid/errors/ar-dz
+share/squid/errors/ar-eg
+share/squid/errors/ar-iq
+share/squid/errors/ar-jo
+share/squid/errors/ar-kw
+share/squid/errors/ar-lb
+share/squid/errors/ar-ly
+share/squid/errors/ar-ma
+share/squid/errors/ar-om
+share/squid/errors/ar-qa
+share/squid/errors/ar-sa
+share/squid/errors/ar-sy
+share/squid/errors/ar-tn
+share/squid/errors/ar-ye
+share/squid/errors/ar/ERR_ACCESS_DENIED
+share/squid/errors/ar/ERR_ACL_TIME_QUOTA_EXCEEDED
+share/squid/errors/ar/ERR_AGENT_CONFIGURE
+share/squid/errors/ar/ERR_AGENT_WPAD
+share/squid/errors/ar/ERR_CACHE_ACCESS_DENIED
+share/squid/errors/ar/ERR_CACHE_MGR_ACCESS_DENIED
+share/squid/errors/ar/ERR_CANNOT_FORWARD
+share/squid/errors/ar/ERR_CONFLICT_HOST
+share/squid/errors/ar/ERR_CONNECT_FAIL
+share/squid/errors/ar/ERR_DIR_LISTING
+share/squid/errors/ar/ERR_DNS_FAIL
+share/squid/errors/ar/ERR_ESI
+share/squid/errors/ar/ERR_FORWARDING_DENIED
+share/squid/errors/ar/ERR_FTP_DISABLED
+share/squid/errors/ar/ERR_FTP_FAILURE
+share/squid/errors/ar/ERR_FTP_FORBIDDEN
+share/squid/errors/ar/ERR_FTP_NOT_FOUND
+share/squid/errors/ar/ERR_FTP_PUT_CREATED
+share/squid/errors/ar/ERR_FTP_PUT_ERROR
+share/squid/errors/ar/ERR_FTP_PUT_MODIFIED
+share/squid/errors/ar/ERR_FTP_UNAVAILABLE
+share/squid/errors/ar/ERR_GATEWAY_FAILURE
+share/squid/errors/ar/ERR_ICAP_FAILURE
+share/squid/errors/ar/ERR_INVALID_REQ
+share/squid/errors/ar/ERR_INVALID_RESP
+share/squid/errors/ar/ERR_INVALID_URL
+share/squid/errors/ar/ERR_LIFETIME_EXP



Home | Main Index | Thread Index | Old Index