diff --git a/www/tinyproxy/Makefile b/www/tinyproxy/Makefile index 06e08d10e0cd..b93af2e9b88b 100644 --- a/www/tinyproxy/Makefile +++ b/www/tinyproxy/Makefile @@ -1,52 +1,52 @@ PORTNAME= tinyproxy PORTVERSION= 1.11.2 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= https://github.com/tinyproxy/tinyproxy/releases/download/${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Small, efficient HTTP proxy server WWW= https://tinyproxy.github.io/ \ https://github.com/tinyproxy/tinyproxy LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe gmake tar:xz CONFIGURE_ARGS= --bindir=${PREFIX}/sbin \ --disable-manpage_support \ --program-transform-name="" GNU_CONFIGURE= yes USE_RC_SUBR= tinyproxy CPE_VENDOR= tinyproxy_project OPTIONS_DEFINE= FILTER REVERSE UPSTREAM TRANSPARENT XHEADER OPTIONS_DEFAULT=FILTER REVERSE UPSTREAM TRANSPARENT XHEADER FILTER_DESC= Filter support REVERSE_DESC= Reverse proxy support UPSTREAM_DESC= Upstream proxying support TRANSPARENT_DESC= Transparent proxy support XHEADER_DESC= X-Tinyproxy header FILTER_CONFIGURE_ENABLE= filter REVERSE_CONFIGURE_ENABLE= reverse UPSTREAM_CONFIGURE_ENABLE= upstream TRANSPARENT_CONFIGURE_ENABLE= transparent XHEADER_CONFIGURE_ENABLE= xtinyproxy post-patch: @${REINPLACE_CMD} -e 's|tinyproxy/tinyproxy|tinyproxy|g; s|/etc/tinyproxy|${PREFIX}&|' \ ${WRKSRC}/docs/man5/tinyproxy.conf.5 \ ${WRKSRC}/docs/man8/tinyproxy.8 \ ${WRKSRC}/etc/tinyproxy.conf.in @${REINPLACE_CMD} -e '/\/usr\/share\/tinyproxy/d; s|^#\(LogFile \)|\1|; s|^#\(PidFile \)|\1|' ${WRKSRC}/etc/tinyproxy.conf.in post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/tinyproxy.conf ${STAGEDIR}${PREFIX}/etc/tinyproxy.conf.sample ${INSTALL_MAN} ${WRKSRC}/docs/man5/tinyproxy.conf.5 ${STAGEDIR}${PREFIX}/share/man/man5/ ${INSTALL_MAN} ${WRKSRC}/docs/man8/tinyproxy.8 ${STAGEDIR}${PREFIX}/share/man/man8/ .include diff --git a/www/tinyproxy/files/patch-src-Makefile.in b/www/tinyproxy/files/patch-src-Makefile.in new file mode 100644 index 000000000000..ccf0c7ae7c24 --- /dev/null +++ b/www/tinyproxy/files/patch-src-Makefile.in @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig 2024-05-08 18:25:30 UTC ++++ src/Makefile.in +@@ -307,7 +307,7 @@ top_srcdir = @top_srcdir@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-pkgsysconfdir = $(sysconfdir)/$(PACKAGE) ++pkgsysconfdir = $(sysconfdir) + AM_CPPFLAGS = \ + -DSYSCONFDIR=\"${pkgsysconfdir}\" \ + -DLOCALSTATEDIR=\"${localstatedir}\"