Bug 175928 - [MAINTAINER] net/miniupnpd: update to 1.7
Summary: [MAINTAINER] net/miniupnpd: update to 1.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-07 16:20 UTC by Tor Halvard Furulund
Modified: 2013-02-07 19:50 UTC (History)
0 users

See Also:


Attachments
file.diff (3.23 KB, patch)
2013-02-07 16:20 UTC, Tor Halvard Furulund
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tor Halvard Furulund 2013-02-07 16:20:00 UTC
Update net/miniupnpd from 1.7 to 1.8
The release notes for miniupnpd 1.8 are as follows:
Improvements to UPnP standards compliance, especially when MiniUPnPd is compiled with the UPNP_STRICT config option.
For better security, HTTP peer and SSDP source IP are checked to belong to a LAN. It should help to avoid SSDP and SOAP services to be exposed to the internet.
Comment 1 Jason Helfman freebsd_committer freebsd_triage 2013-02-07 18:14:54 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-02-07 19:40:49 UTC
Author: jgh
Date: Thu Feb  7 19:40:36 2013
New Revision: 311883
URL: http://svnweb.freebsd.org/changeset/ports/311883

Log:
  - update to 1.8
  - while here trim historical header, adopt optionsNG
  
  PR:		175928
  Submitted by:	maintainer, squat@squat.no

Deleted:
  head/net/miniupnpd/files/patch-Makefile
  head/net/miniupnpd/files/patch-genconfig.sh
Modified:
  head/net/miniupnpd/Makefile
  head/net/miniupnpd/distinfo

Modified: head/net/miniupnpd/Makefile
==============================================================================
--- head/net/miniupnpd/Makefile	Thu Feb  7 19:28:33 2013	(r311882)
+++ head/net/miniupnpd/Makefile	Thu Feb  7 19:40:36 2013	(r311883)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	miniupnpd
-# Date created:		22 March 2007
-# Whom:			Daniel O'Connor <darius@dons.net.au>
-#
+# Created by: Daniel O'Connor <darius@dons.net.au>
 # $FreeBSD$
-#
 
 PORTNAME=	miniupnpd
-PORTVERSION=	1.7
+PORTVERSION=	1.8
 PORTEPOCH=	1
 CATEGORIES=	net
 MASTER_SITES=	http://miniupnp.tuxfamily.org/files/ \
@@ -27,17 +23,22 @@ MAN8=		miniupnpd.8
 
 USE_RC_SUBR=	miniupnpd
 
-OPTIONS=	PF_ENABLE_FILTER_RULES		"Enable pf generation of filter rules" off
+OPTIONS_DEFINE=	PF_ENABLE_FILTER_RULES
+PF_ENABLE_FILTER_RULES_DESC=	Enable pf generation of filter rules
 
 .include <bsd.port.options.mk>
-.if defined(WITH_PF_ENABLE_FILTER_RULES)
+.if ${PORT_OPTIONS:MWITH_PF_ENABLE_FILTER_RULES}
 EXTRA_PATCHES=	${PATCHDIR}/pf_enable_filter_rules.patch
 .endif
 
+post-patch-script:
+	@${REINPLACE_CMD} 's|CFLAGS ?= -pipe -Os|CFLAGS ?= -pipe|' \
+		${WRKSRC}/Makefile
+
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/miniupnpd ${PREFIX}/sbin/miniupnpd
+	@${INSTALL_PROGRAM} ${WRKSRC}/miniupnpd ${PREFIX}/sbin
 	@${INSTALL_DATA} ${WRKDIR}/miniupnpd.conf.sample ${PREFIX}/etc/miniupnpd.conf.sample
-	@${INSTALL_MAN} ${WRKSRC}/miniupnpd.1 ${PREFIX}/man/man8/miniupnpd.8
+	@${INSTALL_MAN} ${WRKSRC}/miniupnpd.8 ${MAN8PREFIX}/man/man8/miniupnpd.8
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>

Modified: head/net/miniupnpd/distinfo
==============================================================================
--- head/net/miniupnpd/distinfo	Thu Feb  7 19:28:33 2013	(r311882)
+++ head/net/miniupnpd/distinfo	Thu Feb  7 19:40:36 2013	(r311883)
@@ -1,2 +1,2 @@
-SHA256 (miniupnpd-1.7.tar.gz) = 27cfacea0a2aefc109b44497b756bf3e4ab9f92beb55fc492b09df5c46c6bb74
-SIZE (miniupnpd-1.7.tar.gz) = 138047
+SHA256 (miniupnpd-1.8.tar.gz) = e453a9225a2883e759d09e15c51bb0265b8a019d1132434131e6929fef0076bb
+SIZE (miniupnpd-1.8.tar.gz) = 146679
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Jason Helfman freebsd_committer freebsd_triage 2013-02-07 19:40:57 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!