diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index fa092ff3beef..228ad522fa7f 100644 --- a/net/miniupnpd/Makefile +++ b/net/miniupnpd/Makefile @@ -1,52 +1,56 @@ PORTNAME= miniupnpd DISTVERSION= 2.3.9 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= http://miniupnp.free.fr/files/ \ https://github.com/miniupnp/miniupnp/releases/download/${PORTNAME}_${DISTVERSION:S|.|_|g}/ +PATCH_SITES= https://github.com/miniupnp/miniupnp/commit/ +PATCHFILES= 7949a7a.patch:-p2 + MAINTAINER= squat@squat.no COMMENT= Lightweight UPnP IGD & PCP/NAT-PMP daemon which uses pf WWW= http://miniupnp.free.fr/ LICENSE= BSD3CLAUSE LIB_DEPENDS= libpfctl.so:net/libpfctl USES= cpe localbase:ldflags ssl CPE_VENDOR= miniupnp_project USE_RC_SUBR= ${PORTNAME} HAS_CONFIGURE= yes # unconditionally use pf, ipfw does not work on FreeBSD CONFIGURE_ARGS= --firewall=pf --libpfctl MAKE_JOBS_UNSAFE= yes CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} -lpfctl PLIST_FILES= etc/miniupnpd.conf.sample \ share/man/man8/miniupnpd.8.gz \ sbin/miniupnpd OPTIONS_DEFINE= CHECK_PORTINUSE IPV6 LEASEFILE UPNP_IGDV2 \ UPNP_STRICT CHECK_PORTINUSE_DESC= Check if ports are in use LEASEFILE_DESC= Enable lease file UPNP_IGDV2_DESC= Build an IGDv2 instead of an IGDv1 UPNP_STRICT_DESC= More strict UPnP specification compliance CHECK_PORTINUSE_CONFIGURE_ON= --portinuse IPV6_CONFIGURE_ON= --ipv6 LEASEFILE_CONFIGURE_ON= --leasefile UPNP_IGDV2_CONFIGURE_ON= --igd2 UPNP_STRICT_CONFIGURE_ON= --strict post-patch: @${REINPLACE_CMD} -e 's|\(-lssl -lcrypto\)|$$(LDFLAGS) \1|g' \ -e 's|^INSTALLMANDIR.*|INSTALLMANDIR = ${PREFIX}/share/man|' \ ${WRKSRC}/Makefile.bsd .include diff --git a/net/miniupnpd/distinfo b/net/miniupnpd/distinfo index 7c57bc76cb0c..3407938ec81e 100644 --- a/net/miniupnpd/distinfo +++ b/net/miniupnpd/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1745338102 +TIMESTAMP = 1747298117 SHA256 (miniupnpd-2.3.9.tar.gz) = 66cb3c3d697ab2bb3a61d3c48628166d6ba328d7c2dbeb95898fdf2a3202af7b SIZE (miniupnpd-2.3.9.tar.gz) = 302607 +SHA256 (7949a7a.patch) = fab2b96b4eeb36438400c96aeef7375b41de920067068a5ef02ef6708c1e8b6f +SIZE (7949a7a.patch) = 3173