diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2013-03-03 21:09:54 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2013-03-03 21:09:54 +0000 |
commit | 0c6a465309cef9c65d92dd1d0f988f9f0be423ff (patch) | |
tree | d9b2ca71f6bedf7947acb9cee898e96b4b92eedb /net/miniupnpc | |
parent | 31782d340bf5917e2ebebd13381e30cb53734dde (diff) | |
download | ports-0c6a465309cef9c65d92dd1d0f988f9f0be423ff.tar.gz ports-0c6a465309cef9c65d92dd1d0f988f9f0be423ff.zip |
Notes
Diffstat (limited to 'net/miniupnpc')
-rw-r--r-- | net/miniupnpc/Makefile | 2 | ||||
-rw-r--r-- | net/miniupnpc/distinfo | 4 | ||||
-rw-r--r-- | net/miniupnpc/files/patch-Makefile | 32 | ||||
-rw-r--r-- | net/miniupnpc/pkg-plist | 2 |
4 files changed, 29 insertions, 11 deletions
diff --git a/net/miniupnpc/Makefile b/net/miniupnpc/Makefile index fe9f8420ec50..2d988b706faf 100644 --- a/net/miniupnpc/Makefile +++ b/net/miniupnpc/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= miniupnpc -PORTVERSION= 1.7 +PORTVERSION= 1.8 CATEGORIES?= net MASTER_SITES= http://miniupnp.free.fr/files/ diff --git a/net/miniupnpc/distinfo b/net/miniupnpc/distinfo index ec0713770e91..983d2720a2c6 100644 --- a/net/miniupnpc/distinfo +++ b/net/miniupnpc/distinfo @@ -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 diff --git a/net/miniupnpc/files/patch-Makefile b/net/miniupnpc/files/patch-Makefile index 2d8314216e3b..c26ddcb89e3c 100644 --- a/net/miniupnpc/files/patch-Makefile +++ b/net/miniupnpc/files/patch-Makefile @@ -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) diff --git a/net/miniupnpc/pkg-plist b/net/miniupnpc/pkg-plist index f03f03c22b2b..52fcfedac9fe 100644 --- a/net/miniupnpc/pkg-plist +++ b/net/miniupnpc/pkg-plist @@ -11,5 +11,5 @@ include/miniupnpc/upnpreplyparse.h include/miniupnpc/upnperrors.h lib/libminiupnpc.a lib/libminiupnpc.so -lib/libminiupnpc.so.8 +lib/libminiupnpc.so.9 @dirrm include/miniupnpc |