From owner-svn-ports-all@freebsd.org  Sat Sep 19 12:20:34 2015
Return-Path: <owner-svn-ports-all@freebsd.org>
Delivered-To: svn-ports-all@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5BEA39CF69F;
 Sat, 19 Sep 2015 12:20:34 +0000 (UTC)
 (envelope-from garga@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4B9241C07;
 Sat, 19 Sep 2015 12:20:34 +0000 (UTC)
 (envelope-from garga@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.70])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8JCKYnF080734;
 Sat, 19 Sep 2015 12:20:34 GMT (envelope-from garga@FreeBSD.org)
Received: (from garga@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8JCKXnX080731;
 Sat, 19 Sep 2015 12:20:33 GMT (envelope-from garga@FreeBSD.org)
Message-Id: <201509191220.t8JCKXnX080731@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: garga set sender to
 garga@FreeBSD.org using -f
From: Renato Botelho <garga@FreeBSD.org>
Date: Sat, 19 Sep 2015 12:20:33 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r397321 - in head/net/miniupnpd: . files
X-SVN-Group: ports-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-ports-all@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: SVN commit messages for the ports tree <svn-ports-all.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-all/>
List-Post: <mailto:svn-ports-all@freebsd.org>
List-Help: <mailto:svn-ports-all-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Sep 2015 12:20:34 -0000

Author: garga
Date: Sat Sep 19 12:20:32 2015
New Revision: 397321
URL: https://svnweb.freebsd.org/changeset/ports/397321

Log:
  - Update net/miniupnpd to 1.9.20150721 [1]
  - Stop calling uuidgen on port Makefile, miniupnpd Makefile already does it
  - Do not modify CFLAGS since it's already attributed using ?=
  - Remove do-install: target from ports Makefile, let miniupnpd Makefile
    installs it
  - Patch miniupnpd Makefile to install conf with .sample suffix
  - Patch miniupnpd Makefile to install manpage in the proper place, respecting
    MANPREFIX
  
  PR:		203191 [1]
  Submitted by:	Tor Halvard Furulund <squat@squat.no> [1]
  Approved by:	Tor Halvard Furulund <squat@squat.no> (maintainer)
  Sponsored by:	Rubicon Communications (Netgate)

Modified:
  head/net/miniupnpd/Makefile
  head/net/miniupnpd/distinfo
  head/net/miniupnpd/files/patch-Makefile

Modified: head/net/miniupnpd/Makefile
==============================================================================
--- head/net/miniupnpd/Makefile	Sat Sep 19 12:18:12 2015	(r397320)
+++ head/net/miniupnpd/Makefile	Sat Sep 19 12:20:32 2015	(r397321)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	miniupnpd
-PORTVERSION=	1.9
-PORTREVISION=	1
+PORTVERSION=	1.9.20150721
 PORTEPOCH=	1
 CATEGORIES=	net
 MASTER_SITES=	http://miniupnp.tuxfamily.org/files/ \
@@ -12,12 +11,10 @@ MASTER_SITES=	http://miniupnp.tuxfamily.
 MAINTAINER=	squat@squat.no
 COMMENT=	UPnP IGD implementation which uses pf/ipf
 
-SUB_FILES=	miniupnpd.conf.sample
-SUB_LIST=	UUID=${UUID}
+LICENSE=	BSD3CLAUSE
 
 USES=		cpe
 CPE_VENDOR=	miniupnp_project
-UUID!=		uuidgen
 PLIST_FILES=	etc/miniupnpd.conf.sample sbin/miniupnpd \
 		man/man8/miniupnpd.8.gz
 MAKE_JOBS_UNSAFE=yes
@@ -42,15 +39,4 @@ UPNP_IGDV2_EXTRA_PATCHES=	${PATCHDIR}/en
 UPNP_STRICT_EXTRA_PATCHES=	${PATCHDIR}/enable_upnp_strict.patch
 LEASEFILE_EXTRA_PATCHES=	${PATCHDIR}/enable_leasefile.patch
 
-post-patch:
-	@${REINPLACE_CMD} 's|CFLAGS ?= -pipe -Os|CFLAGS ?= -pipe|' \
-		${WRKSRC}/Makefile
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/miniupnpd ${STAGEDIR}${PREFIX}/sbin
-	${INSTALL_DATA} ${WRKDIR}/miniupnpd.conf.sample \
-		${STAGEDIR}${PREFIX}/etc/miniupnpd.conf.sample
-	${INSTALL_MAN} ${WRKSRC}/miniupnpd.8 \
-		${STAGEDIR}${MAN8PREFIX}/man/man8/miniupnpd.8
-
 .include <bsd.port.mk>

Modified: head/net/miniupnpd/distinfo
==============================================================================
--- head/net/miniupnpd/distinfo	Sat Sep 19 12:18:12 2015	(r397320)
+++ head/net/miniupnpd/distinfo	Sat Sep 19 12:20:32 2015	(r397321)
@@ -1,2 +1,2 @@
-SHA256 (miniupnpd-1.9.tar.gz) = 6176eb21a6422a7ee68ef1c62ccbbd5003335fa773d8c9013228c2a217bba2ac
-SIZE (miniupnpd-1.9.tar.gz) = 192183
+SHA256 (miniupnpd-1.9.20150721.tar.gz) = 9340224e5023ecb5d1b7f45e4d69734dcfbadbe41a80d1f0182347e6b8104470
+SIZE (miniupnpd-1.9.20150721.tar.gz) = 207562

Modified: head/net/miniupnpd/files/patch-Makefile
==============================================================================
--- head/net/miniupnpd/files/patch-Makefile	Sat Sep 19 12:18:12 2015	(r397320)
+++ head/net/miniupnpd/files/patch-Makefile	Sat Sep 19 12:20:32 2015	(r397321)
@@ -1,6 +1,30 @@
---- Makefile.orig	2014-06-30 12:03:05 UTC
+--- Makefile.orig	2015-04-30 09:08:34 UTC
 +++ Makefile
-@@ -204,7 +204,7 @@ depend:	config.h
+@@ -160,8 +160,7 @@ LIBS += -lssl -lcrypto
+ 
+ INSTALLBINDIR = $(PREFIX)/sbin
+ INSTALLETCDIR = $(PREFIX)/etc
+-# INSTALLMANDIR = $(PREFIX)/man
+-INSTALLMANDIR = /usr/share/man
++INSTALLMANDIR = $(MANPREFIX)/man
+ 
+ all:	$(EXECUTABLES)
+ 
+@@ -178,10 +177,10 @@ install:	miniupnpd genuuid
+ 	$(INSTALL) -d $(DESTDIR)$(INSTALLBINDIR)
+ 	$(INSTALL) -m 755 miniupnpd $(DESTDIR)$(INSTALLBINDIR)
+ 	$(INSTALL) -d $(DESTDIR)$(INSTALLETCDIR)
+-	$(INSTALL) -b miniupnpd.conf $(DESTDIR)$(INSTALLETCDIR)
++	$(INSTALL) -b miniupnpd.conf $(DESTDIR)$(INSTALLETCDIR)/miniupnpd.conf.sample
+ 	# TODO : install man page correctly
+-#	$(INSTALL) -d $(INSTALLMANDIR)
+-#	$(INSTALL) miniupnpd.8 $(INSTALLMANDIR)/cat8/miniupnpd.0
++	$(INSTALL) -d $(DESTDIR)$(INSTALLMANDIR)/man8
++	$(INSTALL) miniupnpd.8 $(DESTDIR)$(INSTALLMANDIR)/man8/miniupnpd.8
+ 
+ # genuuid is using the uuid cli tool available under OpenBSD 4.0 in
+ # the uuid-1.5.0 package
+@@ -204,7 +203,7 @@ depend:	config.h
  	testgetroute.c testportinuse.c testasyncsendto.c
  
  miniupnpd: config.h $(ALLOBJS)