pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/miniupnpc
Module Name: pkgsrc
Committed By: adam
Date: Thu Dec 1 22:28:29 UTC 2016
Added Files:
pkgsrc/net/miniupnpc: DESCR Makefile PLIST buildlink3.mk distinfo
pkgsrc/net/miniupnpc/patches: patch-Makefile
Log Message:
Simple and small footprint client and library for setuping gateway port
redirections using UPnP Internet Gateway Device services.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/miniupnpc/DESCR \
pkgsrc/net/miniupnpc/Makefile pkgsrc/net/miniupnpc/PLIST \
pkgsrc/net/miniupnpc/buildlink3.mk pkgsrc/net/miniupnpc/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/miniupnpc/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/net/miniupnpc/DESCR
diff -u /dev/null pkgsrc/net/miniupnpc/DESCR:1.1
--- /dev/null Thu Dec 1 22:28:29 2016
+++ pkgsrc/net/miniupnpc/DESCR Thu Dec 1 22:28:29 2016
@@ -0,0 +1,2 @@
+Simple and small footprint client and library for setuping gateway port
+redirections using UPnP Internet Gateway Device services.
Index: pkgsrc/net/miniupnpc/Makefile
diff -u /dev/null pkgsrc/net/miniupnpc/Makefile:1.1
--- /dev/null Thu Dec 1 22:28:29 2016
+++ pkgsrc/net/miniupnpc/Makefile Thu Dec 1 22:28:29 2016
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2016/12/01 22:28:29 adam Exp $
+
+DISTNAME= miniupnpc-2.0
+CATEGORIES= net
+MASTER_SITES= http://miniupnp.free.fr/files/download.php?file=
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://miniupnp.free.fr/
+COMMENT= Client and library for UPnP IGD services
+LICENSE= modified-bsd
+
+USE_TOOLS+= gmake
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/miniupnpc/PLIST
diff -u /dev/null pkgsrc/net/miniupnpc/PLIST:1.1
--- /dev/null Thu Dec 1 22:28:29 2016
+++ pkgsrc/net/miniupnpc/PLIST Thu Dec 1 22:28:29 2016
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2016/12/01 22:28:29 adam Exp $
+bin/external-ip
+bin/upnpc
+include/miniupnpc/igd_desc_parse.h
+include/miniupnpc/miniupnpc.h
+include/miniupnpc/miniupnpc_declspec.h
+include/miniupnpc/miniupnpctypes.h
+include/miniupnpc/miniwget.h
+include/miniupnpc/portlistingparse.h
+include/miniupnpc/upnpcommands.h
+include/miniupnpc/upnpdev.h
+include/miniupnpc/upnperrors.h
+include/miniupnpc/upnpreplyparse.h
+lib/libminiupnpc.a
+lib/libminiupnpc.so
+lib/libminiupnpc.so.16
+man/man3/miniupnpc.3
Index: pkgsrc/net/miniupnpc/buildlink3.mk
diff -u /dev/null pkgsrc/net/miniupnpc/buildlink3.mk:1.1
--- /dev/null Thu Dec 1 22:28:29 2016
+++ pkgsrc/net/miniupnpc/buildlink3.mk Thu Dec 1 22:28:29 2016
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/12/01 22:28:29 adam Exp $
+
+BUILDLINK_TREE+= miniupnpc
+
+.if !defined(MINIUPNPC_BUILDLINK3_MK)
+MINIUPNPC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.miniupnpc+= miniupnpc>=2.0
+BUILDLINK_PKGSRCDIR.miniupnpc?= ../../net/miniupnpc
+.endif # MINIUPNPC_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -miniupnpc
Index: pkgsrc/net/miniupnpc/distinfo
diff -u /dev/null pkgsrc/net/miniupnpc/distinfo:1.1
--- /dev/null Thu Dec 1 22:28:29 2016
+++ pkgsrc/net/miniupnpc/distinfo Thu Dec 1 22:28:29 2016
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/12/01 22:28:29 adam Exp $
+
+SHA1 (miniupnpc-2.0.tar.gz) = 21181b364be330436922459c1f81ee641ac182a6
+RMD160 (miniupnpc-2.0.tar.gz) = b3038dc6a78be0bc161dc226f79fd0fd8b66fdb3
+SHA512 (miniupnpc-2.0.tar.gz) = e8bca24265086518fa3bdc25fc31371ddf878adaa2bd6a80b30f33a3e5adb831220e906302832f2250e489a73ecd7e6c9a6bfcb1c70258a90e4c4712196275de
+Size (miniupnpc-2.0.tar.gz) = 85287 bytes
+SHA1 (patch-Makefile) = 7eb888a6a1ee6005506aae69a6c6e7194e5b6ba7
Index: pkgsrc/net/miniupnpc/patches/patch-Makefile
diff -u /dev/null pkgsrc/net/miniupnpc/patches/patch-Makefile:1.1
--- /dev/null Thu Dec 1 22:28:29 2016
+++ pkgsrc/net/miniupnpc/patches/patch-Makefile Thu Dec 1 22:28:29 2016
@@ -0,0 +1,41 @@
+$NetBSD: patch-Makefile,v 1.1 2016/12/01 22:28:29 adam Exp $
+
+Do not pick pkgsrc libtool on Darwin.
+NetBSD needs _NETBSD_SOURCE to be defined.
+Use correct installation dirs.
+
+--- Makefile.orig 2016-02-09 09:38:56.000000000 +0000
++++ Makefile
+@@ -15,7 +15,7 @@ VERSION = $(shell cat VERSION)
+
+ ifeq ($(OS), Darwin)
+ JARSUFFIX=mac
+-LIBTOOL ?= $(shell which libtool)
++LIBTOOL ?= /usr/bin/libtool
+ endif
+ ifeq ($(OS), Linux)
+ JARSUFFIX=linux
+@@ -38,6 +38,9 @@ CFLAGS += -DMINIUPNPC_SET_SOCKET_TIMEOUT
+ CFLAGS += -DMINIUPNPC_GET_SRC_ADDR
+ CFLAGS += -D_BSD_SOURCE
+ CFLAGS += -D_DEFAULT_SOURCE
++ifeq ($(OS), NetBSD)
++CFLAGS += -D_NETBSD_SOURCE
++endif
+ ifneq ($(OS), FreeBSD)
+ ifneq ($(OS), Darwin)
+ #CFLAGS += -D_POSIX_C_SOURCE=200112L
+@@ -136,11 +139,11 @@ endif
+
+ LIBDIR ?= lib
+ # install directories
+-INSTALLPREFIX ?= $(PREFIX)/usr
++INSTALLPREFIX ?= $(PREFIX)
+ INSTALLDIRINC = $(INSTALLPREFIX)/include/miniupnpc
+ INSTALLDIRLIB = $(INSTALLPREFIX)/$(LIBDIR)
+ INSTALLDIRBIN = $(INSTALLPREFIX)/bin
+-INSTALLDIRMAN = $(INSTALLPREFIX)/share/man
++INSTALLDIRMAN = $(INSTALLPREFIX)/man
+
+ FILESTOINSTALL = $(LIBRARY) $(EXECUTABLES)
+ ifneq ($(OS), AmigaOS)
Home |
Main Index |
Thread Index |
Old Index