Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2013 13:28:34 GMT
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175924: update of net/miniupnpd and net/miniupnpc to 1.8
Message-ID:  <201302071328.r17DSYa2003789@red.freebsd.org>
Resent-Message-ID: <201302071330.r17DU0s7007685@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175924
>Category:       ports
>Synopsis:       update of net/miniupnpd and net/miniupnpc to 1.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 07 13:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Konstantin Belousov
>Release:        stable/9
>Organization:
home
>Environment:
FreeBSD tom.home 9.1-STABLE FreeBSD 9.1-STABLE #17 r245449M: Tue Jan 15 12:50:40 EET 2013     root@pooma.home:/usr/obj/usr/bsd/src/sys/TOM  amd64
>Description:
Update both daemon and client of miniupnp to 1.8.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: miniupnpd/Makefile
===================================================================
--- miniupnpd/Makefile	(revision 311823)
+++ miniupnpd/Makefile	(working copy)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	miniupnpd
-PORTVERSION=	1.7
+PORTVERSION=	1.8
 PORTEPOCH=	1
 CATEGORIES=	net
 MASTER_SITES=	http://miniupnp.tuxfamily.org/files/ \
@@ -37,7 +37,7 @@
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/miniupnpd ${PREFIX}/sbin/miniupnpd
 	@${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 ${PREFIX}/man/man8/miniupnpd.8
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: miniupnpd/distinfo
===================================================================
--- miniupnpd/distinfo	(revision 311823)
+++ miniupnpd/distinfo	(working copy)
@@ -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
Index: miniupnpc/Makefile
===================================================================
--- miniupnpc/Makefile	(revision 311823)
+++ miniupnpc/Makefile	(working copy)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	miniupnpc
-PORTVERSION=	1.7
+PORTVERSION=	1.8
 CATEGORIES?=	net
 MASTER_SITES=	http://miniupnp.free.fr/files/
 
Index: miniupnpc/distinfo
===================================================================
--- miniupnpc/distinfo	(revision 311823)
+++ miniupnpc/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (miniupnpc-1.7.tar.gz) = 16dd2456be9b4bf290667c00eeb38c77ad47eb2107569b2dadcfcee8c9af6337
-SIZE (miniupnpc-1.7.tar.gz) = 68327
+SHA256 (miniupnpc-1.8.tar.gz) = bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c
+SIZE (miniupnpc-1.8.tar.gz) = 70624
Index: miniupnpc/files/patch-Makefile
===================================================================
--- miniupnpc/files/patch-Makefile	(revision 311823)
+++ miniupnpc/files/patch-Makefile	(working copy)
@@ -1,18 +1,36 @@
-_POSIX_C_SOURCE hides declarations of things like snprintf()...
-
---- Makefile	2012-05-01 16:11:49.000000000 -0400
-+++ Makefile	2012-06-07 13:45:54.000000000 -0400
-@@ -27,5 +27,5 @@
+--- Makefile.orig	2013-01-28 12:10:25.000000000 +0200
++++ Makefile	2013-02-07 15:19:04.788319388 +0200
+@@ -35,7 +35,7 @@
  CFLAGS += -fno-common
  CFLAGS += -DMINIUPNPC_SET_SOCKET_TIMEOUT
+ CFLAGS += -DMINIUPNPC_GET_SRC_ADDR
 -CFLAGS += -D_BSD_SOURCE -D_POSIX_C_SOURCE=1
 +CFLAGS += -D_BSD_SOURCE
  CFLAGS += -ansi
  # -DNO_GETADDRINFO
-@@ -102,5 +102,5 @@
- INSTALLDIRLIB = $(INSTALLPREFIX)/lib
+ INSTALL = install
+@@ -80,7 +80,7 @@
+   SONAME = $(basename $(SHAREDLIBRARY)).$(APIVERSION).dylib
+   CFLAGS := -DMACOSX -D_DARWIN_C_SOURCE $(CFLAGS)
+ else
+-ifeq ($(OS), Linux)
++ifeq ($(OS), FreeBSD)
+   SHAREDLIBRARY = libminiupnpc.so
+   SONAME = $(SHAREDLIBRARY).$(APIVERSION)
+ endif
+@@ -110,13 +110,11 @@
+ TESTIGDDESCPARSE := $(TESTIGDDESCPARSE) minissdpc.o
+ endif
+ 
+-LIBDIR ?= lib
+ # install directories
+-INSTALLPREFIX ?= $(PREFIX)/usr
+ INSTALLDIRINC = $(INSTALLPREFIX)/include/miniupnpc
+-INSTALLDIRLIB = $(INSTALLPREFIX)/$(LIBDIR)
++INSTALLDIRLIB = $(INSTALLPREFIX)/lib
  INSTALLDIRBIN = $(INSTALLPREFIX)/bin
 -INSTALLDIRMAN = $(INSTALLPREFIX)/share/man
 +INSTALLDIRMAN = $(INSTALLPREFIX)/man
  
  FILESTOINSTALL = $(LIBRARY) $(EXECUTABLES)
+ ifneq ($(OS), AmigaOS)
Index: miniupnpc/pkg-plist
===================================================================
--- miniupnpc/pkg-plist	(revision 311823)
+++ miniupnpc/pkg-plist	(working copy)
@@ -11,5 +11,5 @@
 include/miniupnpc/upnperrors.h
 lib/libminiupnpc.a
 lib/libminiupnpc.so
-lib/libminiupnpc.so.8
+lib/libminiupnpc.so.9
 @dirrm include/miniupnpc


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302071328.r17DSYa2003789>