head 1.10; access; symbols pkgsrc-2023Q4:1.10.0.6 pkgsrc-2023Q4-base:1.10 pkgsrc-2023Q3:1.10.0.4 pkgsrc-2023Q3-base:1.10 pkgsrc-2023Q2:1.10.0.2 pkgsrc-2023Q2-base:1.10 pkgsrc-2023Q1:1.8.0.34 pkgsrc-2023Q1-base:1.8 pkgsrc-2022Q4:1.8.0.32 pkgsrc-2022Q4-base:1.8 pkgsrc-2022Q3:1.8.0.30 pkgsrc-2022Q3-base:1.8 pkgsrc-2022Q2:1.8.0.28 pkgsrc-2022Q2-base:1.8 pkgsrc-2022Q1:1.8.0.26 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.8.0.24 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.8.0.22 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.8.0.20 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.18 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.8.0.16 pkgsrc-2020Q4-base:1.8 pkgsrc-2020Q3:1.8.0.14 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.12 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.8 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.8.0.10 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.6 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.4 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.2 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.6.0.6 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.4 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.2 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.5.0.10 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.8 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.6 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.2 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.4.0.16 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.14 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.12 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.10 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.8 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.6 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.4 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.2 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.3.0.4 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.2 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.2.0.2 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.1.0.2 pkgsrc-2014Q2-base:1.1; locks; strict; comment @# @; 1.10 date 2023.06.06.12.42.09; author riastradh; state Exp; branches; next 1.9; commitid xhspr6Z8JLQOWSrE; 1.9 date 2023.05.11.05.14.00; author schmonz; state Exp; branches; next 1.8; commitid 8uborbb32qY5kvoE; 1.8 date 2019.01.11.23.09.53; author schmonz; state Exp; branches; next 1.7; commitid XAGrJ3wxP6mU5q7B; 1.7 date 2019.01.08.14.41.16; author wiedi; state Exp; branches; next 1.6; commitid KGOO4NQ3sl7snZ6B; 1.6 date 2018.04.18.19.34.11; author kamil; state Exp; branches; next 1.5; commitid DO9znhitjYQYvXyA; 1.5 date 2017.05.09.14.17.07; author wiedi; state Exp; branches; next 1.4; commitid xmz34qKkWl5QOIQz; 1.4 date 2015.06.04.22.14.22; author wiedi; state Exp; branches; next 1.3; commitid hsZn5lvR1ees7aoy; 1.3 date 2014.10.21.12.04.44; author wiedi; state Exp; branches; next 1.2; commitid GbtqyfbuUAJt04Vx; 1.2 date 2014.07.10.00.12.57; author wiedi; state Exp; branches; next 1.1; commitid IWORZtks7prPnLHx; 1.1 date 2014.06.13.00.13.13; author wiedi; state Exp; branches; next ; commitid 3Ice00cINsQIfiEx; desc @@ 1.10 log @Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html @ text @# $NetBSD: Makefile,v 1.9 2023/05/11 05:14:00 schmonz Exp $ DISTNAME= sniproxy-0.6.1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_GITHUB:=dlundquist/} MAINTAINER= wiedi@@frubar.net HOMEPAGE= https://github.com/dlundquist/sniproxy/ COMMENT= Proxy that routes based on TLS server name extension LICENSE= 2-clause-bsd USE_LANGUAGES= c99 USE_TOOLS+= autoconf aclocal automake pkg-config GNU_CONFIGURE= YES USE_LIBTOOL= YES TOOL_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4 EGDIR= ${PREFIX}/share/examples/${PKGBASE} CONF_FILES= ${EGDIR}/sniproxy.conf ${PKG_SYSCONFDIR}/sniproxy.conf CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 LDFLAGS.SunOS+= -lsocket -lnsl SUBST_CLASSES+= pkgvars SUBST_STAGE.pkgvars= do-configure SUBST_FILES.pkgvars= src/sniproxy.c sniproxy.conf \ man/sniproxy.8 man/sniproxy.conf.5 SUBST_VARS.pkgvars= PKG_SYSCONFDIR VARBASE SNIPROXY_USER SNIPROXY_GROUP PKG_USERS_VARS+= SNIPROXY_USER PKG_GROUPS_VARS+= SNIPROXY_GROUP PKG_GROUPS+= ${SNIPROXY_GROUP} PKG_USERS+= ${SNIPROXY_USER}:${SNIPROXY_GROUP} RCD_SCRIPTS= sniproxy BUILD_DEFS+= VARBASE PKG_SYSCONFBASE pre-configure: cd ${WRKSRC} && autoreconf --install && automake --add-missing --copy post-install: ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} ${INSTALL_DATA} ${WRKSRC}/sniproxy.conf ${DESTDIR}${EGDIR} .include "../../devel/libev/buildlink3.mk" .include "../../devel/pcre/buildlink3.mk" .include "../../net/udns/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.9 log @Update to 0.6.1. From the changelog: * Fix buffer overflow in address module * Fix tests @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2019/01/11 23:09:53 schmonz Exp $ d17 1 a17 1 BUILD_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4 @ 1.8 log @Support PKG_SYSCONFDIR and VARBASE. Add SNIPROXY_{USER,GROUP}, both defaulting to "sniproxy." Add rc.d script. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2019/01/08 14:41:16 wiedi Exp $ d3 1 a3 2 DISTNAME= sniproxy-0.6.0 PKGREVISION= 1 @ 1.7 log @sniproxy: update to 0.6.0 2018-12-05 Dustin Lundquist 0.6.0 Release * PROXY v1 protocol support * SO_REUSEPORT support on Linux 3.9 and later * Listener ipv6_only directive to accept only IPv6 connections * TCP keepalive @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2018/04/18 19:34:11 kamil Exp $ d4 1 d26 15 @ 1.6 log @sniproxy: Improve distinfo Reuse the GitHub framework and stop using plain ${PKGVERSION_NOREV}.zip for distfile name. No functional change intended. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2017/05/09 14:17:07 wiedi Exp $ d3 1 a3 1 DISTNAME= sniproxy-0.5.0 @ 1.5 log @Update sniproxy to 0.5.0 2017-04-26 Dustin Lundquist 0.5.0 Release * Transparent proxy support * Use accept4() on Linix * Run as group specified in config @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2015/06/04 22:14:22 wiedi Exp $ d3 1 a3 2 DISTNAME= 0.5.0 PKGNAME= sniproxy-${DISTNAME} d5 1 a5 1 MASTER_SITES= https://github.com/dlundquist/sniproxy/archive/ a11 2 WRKSRC= ${WRKDIR}/sniproxy-${DISTNAME} @ 1.4 log @Update sniproxy to 0.4.0 2015-04-07 Dustin Lundquist 0.4.0 release * Improve DNS resolver: Support for AAAA records Configuration options * Global access log * Man page for sniproxy.conf * Reject IP literals as hostnames for wildcard backends @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2014/10/21 12:04:44 wiedi Exp $ d3 1 a3 1 DISTNAME= 0.4.0 @ 1.3 log @Update sniproxy to 0.3.6 Changelog: 2014-09-26 Dustin Lundquist 0.3.6 release * Improve logging: Fix negative connection duration in access log Include log rotate script Reopen log files on SIGHUP Share file handle to same log file between listeners Avoid unnecessary reconnection to syslog socket Cache timestamp string for current second * Man page * Packaging improvements: passes lintian and rpm-lint 2014-08-13 Dustin Lundquist 0.3.5 release * Configuration reloading on SIGHUP * SSL 2.0 connection handling: do not treat as an error, use fallback address if configured. * Fix buffer_coalesce error * Spawn privileged child to bind sockets to privileged ports on reload * Add -V flag to return sniproxy version * Use libev for timestamps to improve portability * Include several for BSD compatibility * Large file support (for log files) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2014/07/10 00:12:57 wiedi Exp $ d3 1 a3 1 DISTNAME= 0.3.6 @ 1.2 log @needs pkg-config @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2014/06/13 00:13:13 wiedi Exp $ d3 1 a3 1 DISTNAME= 0.3.4 d29 1 a29 1 cd ${WRKSRC} && ./autogen.sh @ 1.1 log @Import sniproxy-0.3.4 as net/sniproxy Proxies incoming HTTP and TLS connections based on the hostname contained in the initial request. This enables HTTPS name-based virtual hosting to separate backend servers without installing the private key on the proxy machine. @ text @d1 1 a1 1 # $NetBSD$ d16 1 a16 1 USE_TOOLS+= autoconf aclocal automake @