aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoraaron <aaron@FreeBSD.org>2006-02-18 08:23:57 +0800
committeraaron <aaron@FreeBSD.org>2006-02-18 08:23:57 +0800
commitc425db0e382537d029760a6e3227d73e2ed40e6a (patch)
treed9365b7797246ce85cf3dcd272461df151b87f61 /net
parent98f985f32f0037d51fb054f9ccd5ffe370e3a386 (diff)
downloadfreebsd-ports-gnome-c425db0e382537d029760a6e3227d73e2ed40e6a.tar.gz
freebsd-ports-gnome-c425db0e382537d029760a6e3227d73e2ed40e6a.tar.zst
freebsd-ports-gnome-c425db0e382537d029760a6e3227d73e2ed40e6a.zip
Adding port net/libtnl, the Torque networking library which implements a C++ networking API for high-performance simulations and games.
Submitted by: aaron Approved by: tobez
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/libtnl/Makefile28
-rw-r--r--net/libtnl/distinfo3
-rw-r--r--net/libtnl/files/Makefile.bsd67
-rw-r--r--net/libtnl/pkg-descr14
-rw-r--r--net/libtnl/pkg-plist38
6 files changed, 151 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 3c59cf340d4d..968da086877d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -253,6 +253,7 @@
SUBDIR += libsocket++
SUBDIR += libsocketcpp
SUBDIR += libtcp4u
+ SUBDIR += libtnl
SUBDIR += libunp
SUBDIR += libunpipc
SUBDIR += libvncserver
diff --git a/net/libtnl/Makefile b/net/libtnl/Makefile
new file mode 100644
index 000000000000..bb78ac4df78b
--- /dev/null
+++ b/net/libtnl/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: libtnl
+# Date created: 26 Jan 2006
+# Whom: aaron@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= libtnl
+PORTVERSION= 1.5.0
+CATEGORIES= net devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR= opentnl
+DISTNAME= tnl-${PORTVERSION}-source
+
+MAINTAINER= aaron@FreeBSD.org
+COMMENT= A robust, secure, easy to use cross-platform C++ networking API
+
+WRKSRC= ${WRKDIR}/tnl/tnl
+INSTALLS_SHLIB= yes
+ONLY_FOR_ARCHS= i386
+
+post-extract:
+ @${CP} ${PATCHDIR}/Makefile.bsd ${WRKSRC}/Makefile
+
+pre-install:
+ ${MKDIR} ${PREFIX}/include/tnl
+
+.include <bsd.port.mk>
diff --git a/net/libtnl/distinfo b/net/libtnl/distinfo
new file mode 100644
index 000000000000..4e3c604c63e8
--- /dev/null
+++ b/net/libtnl/distinfo
@@ -0,0 +1,3 @@
+MD5 (tnl-1.5.0-source.tar.gz) = 150de9dcfec7bd6ba11873bb2aef278c
+SHA256 (tnl-1.5.0-source.tar.gz) = 28f55eedbe3346ebdbd9cb69e6640d3bc67cd876e70daf90f1fd90e3cbe757df
+SIZE (tnl-1.5.0-source.tar.gz) = 2292358
diff --git a/net/libtnl/files/Makefile.bsd b/net/libtnl/files/Makefile.bsd
new file mode 100644
index 000000000000..7c048d07a416
--- /dev/null
+++ b/net/libtnl/files/Makefile.bsd
@@ -0,0 +1,67 @@
+LIB= tnl
+CXXFLAGS+= -I../libtomcrypt -w -g -fpermissive -DNO_IPX_SUPPORT -DTNL_OS_LINUX -DTNL_DEBUG -D_TNL_ENABLE_LOGGING
+SHLIB_MAJOR= 1
+SHLIB_MINOR= 5
+SRCS= assert.cpp\
+ asymmetricKey.cpp\
+ bitStream.cpp\
+ byteBuffer.cpp\
+ certificate.cpp\
+ clientPuzzle.cpp\
+ connectionStringTable.cpp\
+ dataChunker.cpp\
+ eventConnection.cpp\
+ ghostConnection.cpp\
+ huffmanStringProcessor.cpp\
+ log.cpp\
+ netBase.cpp\
+ netConnection.cpp\
+ netInterface.cpp\
+ netObject.cpp\
+ netStringTable.cpp\
+ platform.cpp\
+ random.cpp\
+ rpc.cpp\
+ symmetricCipher.cpp\
+ tnlMethodDispatch.cpp\
+ journal.cpp\
+ udp.cpp\
+ vector.cpp
+INCS= tnl.h \
+ tnlNetBase.h \
+ tnlAssert.h \
+ tnlNetConnection.h \
+ tnlAsymmetricKey.h \
+ tnlNetEvent.h \
+ tnlBitSet.h \
+ tnlNetInterface.h \
+ tnlBitStream.h \
+ tnlNetObject.h \
+ tnlByteBuffer.h \
+ tnlNetStringTable.h \
+ tnlCertificate.h \
+ tnlNonce.h \
+ tnlClientPuzzle.h \
+ tnlPlatform.h \
+ tnlConnectionStringTable.h \
+ tnlRPC.h \
+ tnlDataChunker.h \
+ tnlRandom.h \
+ tnlEndian.h \
+ tnlString.h \
+ tnlEventConnection.h \
+ tnlSymmetricCipher.h \
+ tnlGhostConnection.h \
+ tnlThread.h \
+ tnlHuffmanStringProcessor.h \
+ tnlTypes.h \
+ tnlJournal.h \
+ tnlUDP.h \
+ tnlLog.h \
+ tnlVector.h \
+ tnlMethodDispatch.h
+INCLUDEDIR= ${PREFIX}/include/tnl
+LIBDIR= ${PREFIX}/lib
+
+.include <bsd.lib.mk>
+
diff --git a/net/libtnl/pkg-descr b/net/libtnl/pkg-descr
new file mode 100644
index 000000000000..628e7fece6d8
--- /dev/null
+++ b/net/libtnl/pkg-descr
@@ -0,0 +1,14 @@
+The Torque Network Library is a robust, secure, easy to use, cross-platform
+C++ networking API designed for high performance simulations and games. The
+network architecture in TNL has powered some of the best internet
+multiplayer action games to date. Whether you're writing a multiplayer game,
+developing a complex simulation, or just need a solid foundation for network
+apps, TNL will meet your needs.
+
+TNL is available under the GNU General Public License (GPL), an indie
+license, and a commercial license.
+
+WWW: http://opentnl.org
+
+- Aaron Dalton
+aaron@FreeBSD.org
diff --git a/net/libtnl/pkg-plist b/net/libtnl/pkg-plist
new file mode 100644
index 000000000000..3c72c696b680
--- /dev/null
+++ b/net/libtnl/pkg-plist
@@ -0,0 +1,38 @@
+include/tnl/tnl.h
+include/tnl/tnlAssert.h
+include/tnl/tnlAsymmetricKey.h
+include/tnl/tnlBitSet.h
+include/tnl/tnlBitStream.h
+include/tnl/tnlByteBuffer.h
+include/tnl/tnlCertificate.h
+include/tnl/tnlClientPuzzle.h
+include/tnl/tnlConnectionStringTable.h
+include/tnl/tnlDataChunker.h
+include/tnl/tnlEndian.h
+include/tnl/tnlEventConnection.h
+include/tnl/tnlGhostConnection.h
+include/tnl/tnlHuffmanStringProcessor.h
+include/tnl/tnlJournal.h
+include/tnl/tnlLog.h
+include/tnl/tnlMethodDispatch.h
+include/tnl/tnlNetBase.h
+include/tnl/tnlNetConnection.h
+include/tnl/tnlNetEvent.h
+include/tnl/tnlNetInterface.h
+include/tnl/tnlNetObject.h
+include/tnl/tnlNetStringTable.h
+include/tnl/tnlNonce.h
+include/tnl/tnlPlatform.h
+include/tnl/tnlRPC.h
+include/tnl/tnlRandom.h
+include/tnl/tnlString.h
+include/tnl/tnlSymmetricCipher.h
+include/tnl/tnlThread.h
+include/tnl/tnlTypes.h
+include/tnl/tnlUDP.h
+include/tnl/tnlVector.h
+lib/libtnl.a
+lib/libtnl.so
+lib/libtnl.so.1
+lib/libtnl_p.a
+@dirrm include/tnl