pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/stund Initial import of stund 0.97



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c4dc4c1647c
branches:  trunk
changeset: 372383:5c4dc4c1647c
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Mon Dec 04 23:59:20 2017 +0000

description:
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.

diffstat:

 net/stund/DESCR               |   3 +++
 net/stund/Makefile            |  24 ++++++++++++++++++++++++
 net/stund/PLIST               |   4 ++++
 net/stund/distinfo            |   7 +++++++
 net/stund/patches/patch-udp.h |  16 ++++++++++++++++
 5 files changed, 54 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r 5f4abd250ab5 -r 5c4dc4c1647c net/stund/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/stund/DESCR   Mon Dec 04 23:59:20 2017 +0000
@@ -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.
diff -r 5f4abd250ab5 -r 5c4dc4c1647c net/stund/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/stund/Makefile        Mon Dec 04 23:59:20 2017 +0000
@@ -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@localhost
+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"
diff -r 5f4abd250ab5 -r 5c4dc4c1647c net/stund/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/stund/PLIST   Mon Dec 04 23:59:20 2017 +0000
@@ -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
diff -r 5f4abd250ab5 -r 5c4dc4c1647c net/stund/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/stund/distinfo        Mon Dec 04 23:59:20 2017 +0000
@@ -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
diff -r 5f4abd250ab5 -r 5c4dc4c1647c net/stund/patches/patch-udp.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/stund/patches/patch-udp.h     Mon Dec 04 23:59:20 2017 +0000
@@ -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 <errno.h>
+ 
+ #ifdef WIN32



Home | Main Index | Thread Index | Old Index