FreeBSD Bugzilla – Attachment 98664 Details for
Bug 137612
[new port] net/py-miniupnpc, slave port of net/miniupnpc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-miniupnpc.diff
py-miniupnpc.diff (text/plain), 3.20 KB, created by
swell.k
on 2009-08-09 21:00:08 UTC
(
hide
)
Description:
py-miniupnpc.diff
Filename:
MIME Type:
Creator:
swell.k
Created:
2009-08-09 21:00:08 UTC
Size:
3.20 KB
patch
obsolete
>Index: net/Makefile >=================================================================== >RCS file: /home/csup/ports/net/Makefile,v >retrieving revision 1.2132 >diff -u -p -r1.2132 Makefile >--- net/Makefile 8 Aug 2009 16:34:07 -0000 1.2132 >+++ net/Makefile 9 Aug 2009 19:26:44 -0000 >@@ -772,6 +772,7 @@ > SUBDIR += py-libdnet > SUBDIR += py-libnet > SUBDIR += py-medusa >+ SUBDIR += py-miniupnpc > SUBDIR += py-mp-random > SUBDIR += py-netaddr > SUBDIR += py-netifaces >Index: net/miniupnpc/Makefile >=================================================================== >RCS file: /home/csup/ports/net/miniupnpc/Makefile,v >retrieving revision 1.7 >diff -u -p -r1.7 Makefile >--- net/miniupnpc/Makefile 3 Aug 2009 02:03:08 -0000 1.7 >+++ net/miniupnpc/Makefile 9 Aug 2009 19:32:02 -0000 >@@ -11,15 +11,28 @@ CATEGORIES= net > MASTER_SITES= http://miniupnp.free.fr/files/ > > MAINTAINER= dinoex@FreeBSD.org >-COMMENT= UPnP IGD client lightweight library >+COMMENT?= UPnP IGD client lightweight library > >+HAS_CONFIGURE= yes >+CONFIGURE_SCRIPT= updateminiupnpcstrings.sh > USE_GMAKE= yes > MAKE_ENV+= INSTALLPREFIX=${PREFIX} > CFLAGS+= -fPIC > USE_LDCONFIG= yes >+ >+.include <bsd.port.pre.mk> >+ >+.if !defined(SLAVE_PORT) > MAN3= miniupnpc.3 >+.endif >+ >+.if defined(WITH_DEBUG) >+CFLAGS+= -DDEBUG >+.endif > >+.if !defined(SLAVE_PORT) > post-install: > ${INSTALL_MAN} ${WRKSRC}/man3/miniupnpc.3 ${PREFIX}/man/man3/ >+.endif > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >Index: net/miniupnpc/files/patch-updateminiupnpcstrings.sh >=================================================================== >RCS file: net/miniupnpc/files/patch-updateminiupnpcstrings.sh >diff -N net/miniupnpc/files/patch-updateminiupnpcstrings.sh >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ net/miniupnpc/files/patch-updateminiupnpcstrings.sh 9 Aug 2009 19:38:01 -0000 >@@ -0,0 +1,11 @@ >+--- updateminiupnpcstrings.sh~ >++++ updateminiupnpcstrings.sh >+@@ -27,7 +27,7 @@ fi >+ >+ echo "Detected OS [$OS_NAME] version [$OS_VERSION]" >+ >+-EXPR="s/OS_STRING\s\".*\"/OS_STRING \"${OS_NAME}\/${OS_VERSION}\"/" >++EXPR="/OS_STRING/s|\".*\"|\"${OS_NAME}/${OS_VERSION}\"|" >+ #echo $EXPR >+ echo "Backuping $FILE to $FILE.bak." >+ cp $FILE $FILE.bak >Index: net/py-miniupnpc/Makefile >=================================================================== >RCS file: net/py-miniupnpc/Makefile >diff -N net/py-miniupnpc/Makefile >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ net/py-miniupnpc/Makefile 9 Aug 2009 19:31:42 -0000 >@@ -0,0 +1,22 @@ >+# New ports collection makefile for: py-miniupnpc >+# Date created: 9 Aug 2009 >+# Whom: Anonymous >+# >+# $FreeBSD$ >+# >+ >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+COMMENT= Python module for miniupnpc >+ >+BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/miniupnpc:build >+ >+MASTERDIR= ${.CURDIR}/../../net/miniupnpc >+ >+USE_PYTHON= yes >+USE_PYDISTUTILS=yes >+ >+WRKDIR= ${WRKDIRPREFIX}${MASTERDIR}/work >+PLIST= ${.CURDIR}/pkg-plist >+ >+.include "${MASTERDIR}/Makefile" >Index: net/py-miniupnpc/pkg-plist >=================================================================== >RCS file: net/py-miniupnpc/pkg-plist >diff -N net/py-miniupnpc/pkg-plist >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ net/py-miniupnpc/pkg-plist 9 Aug 2009 19:03:12 -0000 >@@ -0,0 +1 @@ >+%%PYTHON_SITELIBDIR%%/miniupnpc.so
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 137612
: 98664