Received: by mail.netbsd.org (Postfix, from userid 605) id 416B984FEA; Tue, 5 Dec 2017 00:01:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id BA6C984D7D for ; Mon, 4 Dec 2017 23:59:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id C5uQle9_JW3a for ; Mon, 4 Dec 2017 23:59:21 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 3993384C8D for ; Mon, 4 Dec 2017 23:59:21 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 3293CFB40; Mon, 4 Dec 2017 23:59:21 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1512431961178650" MIME-Version: 1.0 Date: Mon, 4 Dec 2017 23:59:21 +0000 From: "Jared D. McNeill" Subject: CVS commit: pkgsrc/net/stund To: pkgsrc-changes@NetBSD.org Reply-To: jmcneill@netbsd.org X-Mailer: log_accum Message-Id: <20171204235921.3293CFB40@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1512431961178650 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jmcneill Date: Mon Dec 4 23:59:21 UTC 2017 Added Files: pkgsrc/net/stund: DESCR Makefile PLIST distinfo pkgsrc/net/stund/patches: patch-udp.h Log Message: Initial import of stund 0.97 This project implements a simple STUN server and client on Windows, Linux, and Solaris. The STUN protocol (Simple Traversal of UDP through NATs) is described in the IETF RFC 3489. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/net/stund/DESCR pkgsrc/net/stund/Makefile \ pkgsrc/net/stund/PLIST pkgsrc/net/stund/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/net/stund/patches/patch-udp.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1512431961178650 Content-Disposition: inline Content-Length: 2715 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/net/stund/DESCR diff -u /dev/null pkgsrc/net/stund/DESCR:1.1 --- /dev/null Mon Dec 4 23:59:21 2017 +++ pkgsrc/net/stund/DESCR Mon Dec 4 23:59:20 2017 @@ -0,0 +1,3 @@ +This project implements a simple STUN server and client on Windows, Linux, +and Solaris. The STUN protocol (Simple Traversal of UDP through NATs) is +described in the IETF RFC 3489. Index: pkgsrc/net/stund/Makefile diff -u /dev/null pkgsrc/net/stund/Makefile:1.1 --- /dev/null Mon Dec 4 23:59:21 2017 +++ pkgsrc/net/stund/Makefile Mon Dec 4 23:59:20 2017 @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2017/12/04 23:59:20 jmcneill Exp $ + +DISTNAME= stund-0.97 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=stun/} +EXTRACT_SUFX= .tgz + +MAINTAINER= jmcneill@invisible.ca +HOMEPAGE= http://stun.sourceforge.net/ +COMMENT= STUN Client and Server +LICENSE= vovida-license + +WRKSRC= ${WRKDIR}/stund +USE_LANGUAGES= c++ +USE_TOOLS+= gmake + +INSTALLATION_DIRS= bin sbin share/doc/stund + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/server ${DESTDIR}${PREFIX}/sbin/stund + ${INSTALL_PROGRAM} ${WRKSRC}/client ${DESTDIR}${PREFIX}/bin/stun_client + ${INSTALL_DATA} ${WRKSRC}/license.txt ${DESTDIR}${PREFIX}/share/doc/stund + +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/net/stund/PLIST diff -u /dev/null pkgsrc/net/stund/PLIST:1.1 --- /dev/null Mon Dec 4 23:59:21 2017 +++ pkgsrc/net/stund/PLIST Mon Dec 4 23:59:20 2017 @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1 2017/12/04 23:59:20 jmcneill Exp $ +bin/stun_client +sbin/stund +share/doc/stund/license.txt Index: pkgsrc/net/stund/distinfo diff -u /dev/null pkgsrc/net/stund/distinfo:1.1 --- /dev/null Mon Dec 4 23:59:21 2017 +++ pkgsrc/net/stund/distinfo Mon Dec 4 23:59:20 2017 @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2017/12/04 23:59:20 jmcneill Exp $ + +SHA1 (stund-0.97.tgz) = 49bc35790e4b3facbb31ebcc1f1f8277a999fb0c +RMD160 (stund-0.97.tgz) = 06672b39bb3fcac1c136a3496b875f05deafc647 +SHA512 (stund-0.97.tgz) = 8f32d4fadf7264967a8cdabf410b9cd495e1f4dc6198d5efe07559996697db088a8a6b1b5fd0814c1a04fe8c17c866256d6a59b719a153fd23c26939d3c6bc1a +Size (stund-0.97.tgz) = 169558 bytes +SHA1 (patch-udp.h) = 0bc0c4254596fc9018f5bdc4d5dd96d6000bcbb6 Index: pkgsrc/net/stund/patches/patch-udp.h diff -u /dev/null pkgsrc/net/stund/patches/patch-udp.h:1.1 --- /dev/null Mon Dec 4 23:59:21 2017 +++ pkgsrc/net/stund/patches/patch-udp.h Mon Dec 4 23:59:21 2017 @@ -0,0 +1,16 @@ +$NetBSD: patch-udp.h,v 1.1 2017/12/04 23:59:21 jmcneill Exp $ + +--- udp.h.orig 2012-01-26 11:02:46.000000000 +0000 ++++ udp.h +@@ -1,11 +1,6 @@ + #ifndef udp_h + #define udp_h + +- +-#ifdef __MACH__ +-typedef int socklen_t; +-#endif +- + #include + + #ifdef WIN32 --_----------=_1512431961178650--