From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 11 17:50:02 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 294AE1065676 for ; Tue, 11 Aug 2009 17:50:02 +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 035858FC65 for ; Tue, 11 Aug 2009 17:50:02 +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 n7BHo16t000189 for ; Tue, 11 Aug 2009 17:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7BHo1DV000188; Tue, 11 Aug 2009 17:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 11 Aug 2009 17:50:01 GMT Resent-Message-Id: <200908111750.n7BHo1DV000188@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, Hung-Yi Chen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCDAE106566B for ; Tue, 11 Aug 2009 17:42:14 +0000 (UTC) (envelope-from gaod@gaod.tfcis.org) Received: from gaod.tfcis.org (gaod.tfcis.org [210.70.137.25]) by mx1.freebsd.org (Postfix) with SMTP id 1BC378FC45 for ; Tue, 11 Aug 2009 17:42:13 +0000 (UTC) Received: from gaod.tfcis.org (localhost [127.0.0.1]) by gaod.tfcis.org (Postfix) with ESMTP id 17CD88FC1D; Wed, 12 Aug 2009 01:37:16 +0800 (CST) Received: (from gaod@localhost) by gaod.tfcis.org (8.14.3/8.14.3/Submit) id n7BHbG2u051532; Wed, 12 Aug 2009 01:37:16 +0800 (CST) (envelope-from gaod) Message-Id: <200908111737.n7BHbG2u051532@gaod.tfcis.org> Date: Wed, 12 Aug 2009 01:37:16 +0800 (CST) From: Hung-Yi Chen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gaod.chen@gmail.com Subject: ports/137676: [NEW PORT] net/libnatpmp: An NAT-PMP lightweight library X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hung-Yi Chen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2009 17:50:02 -0000 >Number: 137676 >Category: ports >Synopsis: [NEW PORT] net/libnatpmp: An NAT-PMP lightweight library >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: Tue Aug 11 17:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Hung-Yi Chen >Release: FreeBSD 7.2-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD gaod.tfcis.org 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #3: Sat Aug 1 22:21:07 CST 2009 gaod@gaod.tfcis.org:/usr/obj/usr/src/sys/gaod i386 >Description: libnatpmp is an attempt to make a portable and fully compliant implementation of the protocol for the client side. It is based on non blocking sockets and all calls of the API are asynchronous. It is therefore very easy to integrate the NAT-PMP code to any event driven code. WWW: http://miniupnp.free.fr/libnatpmp.html >How-To-Repeat: >Fix: --- libnatpmp.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libnatpmp/ # libnatpmp/pkg-plist # libnatpmp/pkg-descr # libnatpmp/distinfo # libnatpmp/Makefile # libnatpmp/files # libnatpmp/files/patch-Makefile # echo c - libnatpmp/ mkdir -p libnatpmp/ > /dev/null 2>&1 echo x - libnatpmp/pkg-plist sed 's/^X//' >libnatpmp/pkg-plist << '5441e0e4e69c94f31cf23b3fe9668d3b' Xbin/natpmpc Xinclude/natpmp.h Xlib/libnatpmp.a Xlib/libnatpmp.so Xlib/libnatpmp.so.0 5441e0e4e69c94f31cf23b3fe9668d3b echo x - libnatpmp/pkg-descr sed 's/^X//' >libnatpmp/pkg-descr << 'd69280b84bcc3f273ecd3f860e841590' Xlibnatpmp is an attempt to make a portable and fully compliant implementation Xof the protocol for the client side. It is based on non blocking sockets and Xall calls of the API are asynchronous. It is therefore very easy to integrate Xthe NAT-PMP code to any event driven code. X XWWW: http://miniupnp.free.fr/ d69280b84bcc3f273ecd3f860e841590 echo x - libnatpmp/distinfo sed 's/^X//' >libnatpmp/distinfo << '624989097095f0498f4f56556243650a' XMD5 (libnatpmp-20090713.tar.gz) = d11d96c93117444755fc510a3011cbd1 XSHA256 (libnatpmp-20090713.tar.gz) = edd6c182f41862eeed1507895a28cb0facb516de8e2d7ca95ecb37e02c3301ff XSIZE (libnatpmp-20090713.tar.gz) = 14262 624989097095f0498f4f56556243650a echo x - libnatpmp/Makefile sed 's/^X//' >libnatpmp/Makefile << 'eba387183ddd703fbb5655f59ac70f8e' X# New ports collection makefile for: libnatpmp X# Date created: 11 Aug 2009 X# Whom: Hung-Yi Chen X# X# $FreeBSD$ X# X XPORTNAME= libnatpmp XPORTVERSION= 20090713 XCATEGORIES= net XMASTER_SITES= http://miniupnp.free.fr/files/ X XMAINTAINER= gaod@hychen.org XCOMMENT= An NAT-PMP lightweight library X XUSE_GMAKE= yes XMAKE_ENV+= INSTALLPREFIX=${PREFIX} XCFLAGS+= -fPIC XUSE_LDCONFIG= yes X X.include eba387183ddd703fbb5655f59ac70f8e echo c - libnatpmp/files mkdir -p libnatpmp/files > /dev/null 2>&1 echo x - libnatpmp/files/patch-Makefile sed 's/^X//' >libnatpmp/files/patch-Makefile << 'd33a267e511b678ff6a99318808d1164' X--- Makefile.orig 2009-08-11 21:25:47.000000000 +0800 X+++ Makefile 2009-08-11 21:28:24.000000000 +0800 X@@ -50,12 +50,12 @@ X X install: $(HEADERS) $(STATICLIB) $(SHAREDLIB) X $(INSTALL) -d $(INSTALLDIRINC) X- $(INSTALL) --mode=644 $(HEADERS) $(INSTALLDIRINC) X+ $(INSTALL) -m 644 $(HEADERS) $(INSTALLDIRINC) X $(INSTALL) -d $(INSTALLDIRLIB) X- $(INSTALL) --mode=644 $(STATICLIB) $(INSTALLDIRLIB) X- $(INSTALL) --mode=644 $(SHAREDLIB) $(INSTALLDIRLIB)/$(SONAME) X- $(INSTALL) --mode=755 natpmpc-shared $(INSTALLDIRBIN)/natpmpc X- ln --symbolic --force $(SONAME) $(INSTALLDIRLIB)/$(SHAREDLIB) X+ $(INSTALL) -m 644 $(STATICLIB) $(INSTALLDIRLIB) X+ $(INSTALL) -m 644 $(SHAREDLIB) $(INSTALLDIRLIB)/$(SONAME) X+ $(INSTALL) -m 755 natpmpc-shared $(INSTALLDIRBIN)/natpmpc X+ ln -s -f $(SONAME) $(INSTALLDIRLIB)/$(SHAREDLIB) X X cleaninstall: X $(RM) $(addprefix $(INSTALLDIRINC), $(HEADERS)) d33a267e511b678ff6a99318808d1164 exit --- libnatpmp.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: