Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions net/miniupnpd/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
PORTNAME= miniupnpd
DISTVERSION= 2.3.9
PORTREVISION= 2
DISTVERSION= 2.3.11
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= http://miniupnp.free.fr/files/ \
MASTER_SITES= https://miniupnp.tuxfamily.org/files/ \
https://github.com/miniupnp/miniupnp/releases/download/${PORTNAME}_${DISTVERSION:S|.|_|g}/

PATCH_SITES= https://github.com/miniupnp/miniupnp/commit/
PATCHFILES= 7949a7acb3b8471681157863387339ea2ca749fb.patch:-p2
PATCH_SITES= https://github.com/Self-Hosting-Group/miniupnp/commit/
# miniupnpd: UPnP IGDv2 Microsoft/Apple compatibility
PATCHFILES= f94e5bf7a60a41911af8d7e23cdb4ebe166257e2.patch:-p2
# miniupnpd: Improve start banner and add security warnings
PATCHFILES+= 266d2bd9710af90c5a6f0cccc4669c1413443337.patch:-p2
# miniupnpd: Less excessive logging by default
PATCHFILES+= a7cebfc522306295cc1745c637f64d0e7d659795.patch:-p2

MAINTAINER= squat@squat.no
COMMENT= Lightweight UPnP IGD & PCP/NAT-PMP daemon which uses pf
Expand All @@ -24,27 +28,24 @@ USE_RC_SUBR= ${PORTNAME}

HAS_CONFIGURE= yes
# unconditionally use pf, ipfw does not work on FreeBSD
CONFIGURE_ARGS= --firewall=pf --libpfctl --vendorcfg
CONFIGURE_ARGS= --disable-pppconn --firewall=pf --libpfctl --vendorcfg
MAKE_ENV= MANPREFIX=${PREFIX}/share
MAKE_JOBS_UNSAFE= yes

PLIST_FILES= etc/miniupnpd.conf.sample \
share/man/man8/miniupnpd.8.gz \
sbin/miniupnpd

OPTIONS_DEFINE= CHECK_PORTINUSE IPV6 LEASEFILE UPNP_IGDV2 \
UPNP_NOPPP UPNP_STRICT
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_NOPPP_DESC= No old/IGDv1-only extra WANPPPConnection SSDP announcements workaround
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_NOPPP_CONFIGURE_ON= --disable-pppconn
UPNP_STRICT_CONFIGURE_ON= --strict

.include <bsd.port.mk>
14 changes: 9 additions & 5 deletions net/miniupnpd/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
TIMESTAMP = 1763942400
SHA256 (miniupnpd-2.3.9.tar.gz) = 66cb3c3d697ab2bb3a61d3c48628166d6ba328d7c2dbeb95898fdf2a3202af7b
SIZE (miniupnpd-2.3.9.tar.gz) = 302607
SHA256 (7949a7acb3b8471681157863387339ea2ca749fb.patch) = 492399388049c5f0b51251074814a6782f8e5cebf2e5ced04561e45270bba53f
SIZE (7949a7acb3b8471681157863387339ea2ca749fb.patch) = 3181
TIMESTAMP = 1786491927
SHA256 (miniupnpd-2.3.11.tar.gz) = 91994b127da735b2c97f19992e34420648c0e8c4ace8a4bcb0596e7685c48678
SIZE (miniupnpd-2.3.11.tar.gz) = 308180
SHA256 (f94e5bf7a60a41911af8d7e23cdb4ebe166257e2.patch) = f1cb8faa51828cb1feb1840259904c5479f4bf4e478648558f9a0aaf63ae7bef
SIZE (f94e5bf7a60a41911af8d7e23cdb4ebe166257e2.patch) = 3956
SHA256 (266d2bd9710af90c5a6f0cccc4669c1413443337.patch) = 42bca5ab60a7dcafd902b80c4c86f49c2e31b457ab5325fc602b24bc7d2c0fb2
SIZE (266d2bd9710af90c5a6f0cccc4669c1413443337.patch) = 6154
SHA256 (a7cebfc522306295cc1745c637f64d0e7d659795.patch) = da5f2dfa6fd03d6b78470722e7f26560883357f8ea449d311bd72e48041a7b75
SIZE (a7cebfc522306295cc1745c637f64d0e7d659795.patch) = 44704
75 changes: 0 additions & 75 deletions net/miniupnpd/files/patch-upnp-igdv2-compat.patch

This file was deleted.