head	1.19;
access;
symbols
	pkgsrc-2026Q3:1.19.0.4
	pkgsrc-2026Q3-base:1.19
	pkgsrc-2026Q2:1.19.0.2
	pkgsrc-2026Q2-base:1.19
	pkgsrc-2026Q1:1.18.0.2
	pkgsrc-2026Q1-base:1.18
	pkgsrc-2025Q4:1.16.0.6
	pkgsrc-2025Q4-base:1.16
	pkgsrc-2025Q3:1.16.0.4
	pkgsrc-2025Q3-base:1.16
	pkgsrc-2025Q2:1.16.0.2
	pkgsrc-2025Q2-base:1.16
	pkgsrc-2025Q1:1.14.0.4
	pkgsrc-2025Q1-base:1.14
	pkgsrc-2024Q4:1.14.0.2
	pkgsrc-2024Q4-base:1.14
	pkgsrc-2024Q3:1.11.0.4
	pkgsrc-2024Q3-base:1.11
	pkgsrc-2024Q2:1.11.0.2
	pkgsrc-2024Q2-base:1.11
	pkgsrc-2024Q1:1.9.0.4
	pkgsrc-2024Q1-base:1.9
	pkgsrc-2023Q4:1.9.0.2
	pkgsrc-2023Q4-base:1.9
	pkgsrc-2023Q3:1.6.0.4
	pkgsrc-2023Q3-base:1.6
	pkgsrc-2023Q2:1.6.0.2
	pkgsrc-2023Q2-base:1.6
	pkgsrc-2023Q1:1.4.0.2
	pkgsrc-2023Q1-base:1.4
	pkgsrc-2022Q4:1.3.0.2
	pkgsrc-2022Q4-base:1.3
	pkgsrc-2022Q3:1.2.0.2
	pkgsrc-2022Q3-base:1.2;
locks; strict;
comment	@# @;


1.19
date	2026.05.14.16.42.24;	author ryoon;	state Exp;
branches;
next	1.18;
commitid	tKipFjQKzke3NNFG;

1.18
date	2026.02.06.10.06.11;	author wiz;	state Exp;
branches;
next	1.17;
commitid	MwQEYCXeWSFvIitG;

1.17
date	2026.01.07.08.49.26;	author wiz;	state Exp;
branches;
next	1.16;
commitid	1wQ3ICD8eebefrpG;

1.16
date	2025.04.19.07.58.35;	author wiz;	state Exp;
branches;
next	1.15;
commitid	8J0gu7BGAw8XqDRF;

1.15
date	2025.04.17.21.52.53;	author wiz;	state Exp;
branches;
next	1.14;
commitid	xcIXAVA292fk6sRF;

1.14
date	2024.11.14.22.22.11;	author wiz;	state Exp;
branches;
next	1.13;
commitid	JmuDYqwL4erbdFxF;

1.13
date	2024.11.01.12.54.57;	author wiz;	state Exp;
branches;
next	1.12;
commitid	QB4Wk02mZPuBuWvF;

1.12
date	2024.11.01.00.54.10;	author wiz;	state Exp;
branches;
next	1.11;
commitid	QT27BdVP362gvSvF;

1.11
date	2024.05.29.16.34.56;	author adam;	state Exp;
branches;
next	1.10;
commitid	n8aFyEjEVZA0JUbF;

1.10
date	2024.05.16.06.15.44;	author wiz;	state Exp;
branches;
next	1.9;
commitid	kYKPUni8AkogJbaF;

1.9
date	2023.11.08.13.21.24;	author wiz;	state Exp;
branches;
next	1.8;
commitid	PsuHTklAIsF4bOLE;

1.8
date	2023.10.24.22.11.34;	author wiz;	state Exp;
branches;
next	1.7;
commitid	MTsrqKm6aGrQAVJE;

1.7
date	2023.10.23.14.34.20;	author taca;	state Exp;
branches;
next	1.6;
commitid	ktWhyuHG3tkr7LJE;

1.6
date	2023.05.21.02.19.11;	author taca;	state Exp;
branches;
next	1.5;
commitid	rbmcsSw1i8w92MpE;

1.5
date	2023.04.19.08.11.51;	author adam;	state Exp;
branches;
next	1.4;
commitid	B8gCWhWtMX9vZGlE;

1.4
date	2023.03.17.14.08.25;	author taca;	state Exp;
branches;
next	1.3;
commitid	pJWZDlFyeXSZ2uhE;

1.3
date	2022.10.26.10.32.07;	author wiz;	state Exp;
branches;
next	1.2;
commitid	PVFjlIYUKslkpdZD;

1.2
date	2022.09.23.14.53.35;	author taca;	state Exp;
branches;
next	1.1;
commitid	tljMAlXUSQxbVZUD;

1.1
date	2022.08.31.16.08.44;	author taca;	state Exp;
branches;
next	;
commitid	tNOyJTyMekLI43SD;


desc
@@


1.19
log
@*: Recursive revbump from security/nettle-4.0
@
text
@# $NetBSD: Makefile,v 1.18 2026/02/06 10:06:11 wiz Exp $

DISTNAME=	squid-5.9
PKGREVISION=	13
CATEGORIES=	www
MASTER_SITES=	http://www.squid-cache.org/Versions/v5/
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	http://www.squid-cache.org/
COMMENT=	Post-Harvest_cached WWW proxy cache and accelerator
LICENSE=	gnu-gpl-v2

PATCH_SITES=		${MASTER_SITES}
PATCHFILES=		SQUID-2023_1.patch SQUID-2023_3.patch
PATCH_DIST_ARGS+=	-p1 -d ${WRKSRC}

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"
@


1.18
log
@*: recursive bump for nettle 4.0 shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2026/01/07 08:49:26 wiz Exp $
d4 1
a4 1
PKGREVISION=	12
@


1.17
log
@*: recursive bump for icu 78.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2025/04/19 07:58:35 wiz Exp $
d4 1
a4 1
PKGREVISION=	11
@


1.16
log
@*: recursive bump for default Kerberos implementation switch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2025/04/17 21:52:53 wiz Exp $
d4 1
a4 1
PKGREVISION=	10
@


1.15
log
@*: recursive bump for icu 77 and libxml2 2.14
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2024/11/14 22:22:11 wiz Exp $
d4 1
a4 1
PKGREVISION=	9
@


1.14
log
@*: recursive bump for icu 76 shlib major version bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2024/11/01 12:54:57 wiz Exp $
d4 1
a4 1
PKGREVISION=	8
@


1.13
log
@*: revbump for icu downgrade
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2024/11/01 00:54:10 wiz Exp $
d4 1
a4 1
PKGREVISION=	7
@


1.12
log
@*: recursive bump for icu 76.1 shlib bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2024/05/29 16:34:56 adam Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.11
log
@revbump after icu and protobuf updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2024/05/16 06:15:44 wiz Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.10
log
@*: recursive bump for gnutls p11-kit option

(existing installations need the bl3.mk included, but it's now only
optionally included)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/11/08 13:21:24 wiz Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.9
log
@*: recursive bump for icu 74.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2023/10/24 22:11:34 wiz Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.8
log
@*: bump for openssl 3
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2023/10/23 14:34:20 taca Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.7
log
@www/squid5: apply security patches

Apply official security patches:

	SQUID-2023:1
	SQUID-2023:3

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2023/05/21 02:19:11 taca Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.6
log
@www/squid5: update to 5.9

5.9 (2023-05-17)

This release is a bug fix release resolving some issues
found in the prior Squid releases.

The major changes to be aware of:

* Improve reply_body_max_size matching accuracy

This bug shows up as cache.log entries at debug level >=3
stating "HttpReply.cc(..) receivedBodyTooLarge: (negative number) >? -1"

In such cases, reply_body_max_size configuration would be
ignored, resulting in undercounting of traffic.

* Fix build issues highlighted by the most recent versions of
  GCC and Clang.

* Portability fixes for ESI, bundled GnuRegex, and GnuTLS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2023/04/19 08:11:51 adam Exp $
d4 1
d14 4
@


1.5
log
@revbump after textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2023/03/17 14:08:25 taca Exp $
d3 1
a3 2
DISTNAME=	squid-5.8
PKGREVISION=	1
@


1.4
log
@www/squid5: update to 5.8

Squid 5.8 (2023-03-01)

This release is a bug fix release resolving several issues
found in the prior Squid-5 releases.

The major changes to be aware of:

* Bug 5162: mgr:index URL do not produce MGR_INDEX template

This bug shows up as Squid producing just the text "mgr_index" instead
of the intended template contents when the cache manager API is
requested. Breaking the use of third-party cache management tools and
also cachemgr.cgi auto-detection of support for those tools.


* Bug 5241: Block all non-localhost requests by default

This release changes the default squid.conf to disable the rule:

	http_access allow localnet

This change affects new Squid installs only.


* Bug 5241: Block to-localhost, to-link-local requests by default

This release adds a predefined ACL named "to_linklocal" which matches
traffic attempting to access link-local network services. Such traffic
can be a problem for proxy operating within Cloud services or
container hosting.

Squid installations which have enabled:

	http_access deny to_localhost

May wish to also enable:

	http_access deny to_linklocal
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/10/26 10:32:07 wiz Exp $
d4 1
@


1.3
log
@*: bump PKGREVISION for libunistring shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2022/09/23 14:53:35 taca Exp $
d3 1
a3 2
DISTNAME=	squid-5.7
PKGREVISION=	1
@


1.2
log
@www/squid5: update to 5.7

This update contains fix for CVE-2022-41317 and CVE-2022-41318.

Changes in squid-5.7 (05 Sep 2022):

	- Regression Fix: Typo in manager ACL
	- Bug 5186: noteDestinationsEnd check failed: transportWait
	- Bug 5160: Test suite fails with -flto=auto
	- Bug 3193 pt2: NTLM decoder truncating strings
	- Bug 5133: OpenSSL 3.0 support
	- ext_session_acl: fix TDB key lookup
	- forward_max_tries: Do not count discarded connections
	- ... and many compile and debugging fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2022/08/31 16:08:44 taca Exp $
d4 1
@


1.1
log
@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
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	squid-5.6
@

