summaryrefslogtreecommitdiffstats
path: root/net/stund
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2004-04-09 07:55:34 +0000
committersobomax <sobomax@FreeBSD.org>2004-04-09 07:55:34 +0000
commite98521d64174cc81a9798fcbb673d07cbb053c29 (patch)
tree05d930548aad367991b23c890c09ea22cafc59f6 /net/stund
parent5395c32d01f6c4801c98f43d53224c1961715841 (diff)
downloadFreeBSD-ports-e98521d64174cc81a9798fcbb673d07cbb053c29.zip
FreeBSD-ports-e98521d64174cc81a9798fcbb673d07cbb053c29.tar.gz
Add stund 0.91, a simple STUN (RFC 3489) server and client.
Diffstat (limited to 'net/stund')
-rw-r--r--net/stund/Makefile27
-rw-r--r--net/stund/distinfo2
-rw-r--r--net/stund/files/patch-Makefile16
-rw-r--r--net/stund/pkg-descr14
-rw-r--r--net/stund/pkg-plist2
5 files changed, 61 insertions, 0 deletions
diff --git a/net/stund/Makefile b/net/stund/Makefile
new file mode 100644
index 0000000..b59fc8d
--- /dev/null
+++ b/net/stund/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: stund
+# Date created: 9 April 2004
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= stund
+PORTVERSION= 0.91
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= stun
+DISTNAME= ${PORTNAME}_${PORTVERSION}_Feb21
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= sobomax@FreeBSD.org
+COMMENT= A simple STUN (RFC 3489) server and client
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_GMAKE= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/server ${LOCALBASE}/sbin/stund
+ ${INSTALL_PROGRAM} ${WRKSRC}/client ${LOCALBASE}/bin/stun_client
+
+.include <bsd.port.mk>
diff --git a/net/stund/distinfo b/net/stund/distinfo
new file mode 100644
index 0000000..08b3db8
--- /dev/null
+++ b/net/stund/distinfo
@@ -0,0 +1,2 @@
+MD5 (stund_0.91_Feb21.tgz) = 0349e688b4dfdef97feb1e150f16d8e0
+SIZE (stund_0.91_Feb21.tgz) = 82402
diff --git a/net/stund/files/patch-Makefile b/net/stund/files/patch-Makefile
new file mode 100644
index 0000000..edfedf0
--- /dev/null
+++ b/net/stund/files/patch-Makefile
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- Makefile 2004/04/09 07:45:21 1.1
++++ Makefile 2004/04/09 07:46:00
+@@ -21,8 +21,8 @@
+ #
+ # Alternatively, for debugging.
+ #
+-CXXFLAGS+=-g -O -Wall
+-LDFLAGS+=-g -O -Wall -lssl -lcrypto
++CXXFLAGS+=-Wall
++LDFLAGS+=-Wall -lssl -lcrypto
+ # for solaris
+ #LDFLAGS+= -lnsl -lsocket
+
diff --git a/net/stund/pkg-descr b/net/stund/pkg-descr
new file mode 100644
index 0000000..1183544
--- /dev/null
+++ b/net/stund/pkg-descr
@@ -0,0 +1,14 @@
+The STUN (Simple Traversal of UDP through NATs (Network Address Translation))
+server is an implementation of the STUN protocol that enables STUN
+functionality in SIP-based systems. The STUN server tar ball also include a
+client API to enable STUN functionality in SIP endpoints. In addition there
+is a command line UNIX client and a graphical windows client that check what
+type of NAT the user is using.
+
+STUN is an application-layer protocol that can determine the public IP and
+nature of a NAT device that sits between the STUN client and STUN server.
+
+The current version of the code supports most of RFC 3489 except the ability
+to get OTPs from the server.
+
+WWW: http://www.vovida.org/applications/downloads/stun/
diff --git a/net/stund/pkg-plist b/net/stund/pkg-plist
new file mode 100644
index 0000000..0ba7281
--- /dev/null
+++ b/net/stund/pkg-plist
@@ -0,0 +1,2 @@
+bin/stun_client
+sbin/stund
OpenPOWER on IntegriCloud