From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 9 20:00:08 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAF711065674 for ; Sun, 9 Aug 2009 20:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 95E3B8FC21 for ; Sun, 9 Aug 2009 20:00:08 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n79K08fc082435 for ; Sun, 9 Aug 2009 20:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n79K081H082432; Sun, 9 Aug 2009 20:00:08 GMT (envelope-from gnats) Resent-Date: Sun, 9 Aug 2009 20:00:08 GMT Resent-Message-Id: <200908092000.n79K081H082432@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anonymous Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EE86106564A for ; Sun, 9 Aug 2009 19:51:43 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-ew0-f206.google.com (mail-ew0-f206.google.com [209.85.219.206]) by mx1.freebsd.org (Postfix) with ESMTP id 9A3308FC15 for ; Sun, 9 Aug 2009 19:51:42 +0000 (UTC) Received: by ewy2 with SMTP id 2so2619043ewy.43 for ; Sun, 09 Aug 2009 12:51:41 -0700 (PDT) Received: by 10.210.137.18 with SMTP id k18mr2131150ebd.47.1249847501730; Sun, 09 Aug 2009 12:51:41 -0700 (PDT) Received: from localhost (95-24-210-154.broadband.corbina.ru [95.24.210.154]) by mx.google.com with ESMTPS id 5sm9158165eyh.46.2009.08.09.12.51.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 09 Aug 2009 12:51:40 -0700 (PDT) Message-Id: <86ljlsojed.fsf@gmail.com> Date: Sun, 09 Aug 2009 23:51:38 +0400 From: Anonymous To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/137612: [new port] net/py-miniupnpc, slave port of net/miniupnpc X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Aug 2009 20:00:09 -0000 >Number: 137612 >Category: ports >Synopsis: [new port] net/py-miniupnpc, slave port of net/miniupnpc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Aug 09 20:00:08 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD 8.0-BETA2 #0 r196037M: Sun Aug 2 15:30:58 UTC 2009 root@luffy:/usr/obj/usr/src/sys/PHOENIX amd64 >Description: >How-To-Repeat: Run ${WRKSRC}/pymoduletest.py to test the module. >Fix: --- py-miniupnpc.diff begins here --- 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 + +.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 +.include 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 --- py-miniupnpc.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: