diff options
Diffstat (limited to 'net/libsocketcpp')
-rw-r--r-- | net/libsocketcpp/Makefile | 26 | ||||
-rw-r--r-- | net/libsocketcpp/distinfo | 2 | ||||
-rw-r--r-- | net/libsocketcpp/files/patch-src__tcpservertest.cpp | 26 | ||||
-rw-r--r-- | net/libsocketcpp/files/patch-src__tcpsocket.cpp | 11 | ||||
-rw-r--r-- | net/libsocketcpp/files/patch-src__tcptest.cpp | 22 | ||||
-rw-r--r-- | net/libsocketcpp/pkg-descr | 4 | ||||
-rw-r--r-- | net/libsocketcpp/pkg-plist | 7 |
7 files changed, 0 insertions, 98 deletions
diff --git a/net/libsocketcpp/Makefile b/net/libsocketcpp/Makefile deleted file mode 100644 index 8c1a5b624549..000000000000 --- a/net/libsocketcpp/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -# Created by: ijliao -# $FreeBSD$ - -PORTNAME= libsocketcpp -PORTVERSION= 1.0.7 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= SF/libsocket/${PORTNAME}-stable/${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= C++ wrapper library to the sockets - -LICENSE= LGPL21+ -LICENSE_FILE= ${WRKSRC}/LICENSE - -DEPRECATED= Uses gets(3) -EXPIRATION_DATE= 2017-11-05 - -USES= libtool -GNU_CONFIGURE= yes -USE_LDCONFIG= yes - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsocketcpp.so - -.include <bsd.port.mk> diff --git a/net/libsocketcpp/distinfo b/net/libsocketcpp/distinfo deleted file mode 100644 index a2e4e064d337..000000000000 --- a/net/libsocketcpp/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (libsocketcpp-1.0.7.tar.gz) = b4a7242f92d0e8f7af22baeda187ef0fcd9d6f9de6df6a45fd1f6344455a2c36 -SIZE (libsocketcpp-1.0.7.tar.gz) = 148735 diff --git a/net/libsocketcpp/files/patch-src__tcpservertest.cpp b/net/libsocketcpp/files/patch-src__tcpservertest.cpp deleted file mode 100644 index 2dcdfc1a999a..000000000000 --- a/net/libsocketcpp/files/patch-src__tcpservertest.cpp +++ /dev/null @@ -1,26 +0,0 @@ ---- src/tcpservertest.cpp.orig 2012-12-03 14:28:35.000000000 +0100 -+++ src/tcpservertest.cpp 2012-12-03 14:28:46.000000000 +0100 -@@ -22,7 +22,7 @@ - - #include <stdio.h> - #include <stdlib.h> --#include <iostream.h> -+#include <iostream> - #include <unistd.h> - #include <sys/wait.h> - #include <sys/types.h> -@@ -30,6 +30,7 @@ - - #include "tcpsocket.h" - -+int - main() { - printf("\r\nInit Object..."); - TCPSocket *MyServerSocket = new TCPSocket; -@@ -67,5 +68,6 @@ - while(waitpid(-1, NULL, WNOHANG) > 0); - } - -+ return 0; - } - diff --git a/net/libsocketcpp/files/patch-src__tcpsocket.cpp b/net/libsocketcpp/files/patch-src__tcpsocket.cpp deleted file mode 100644 index 28b819805d55..000000000000 --- a/net/libsocketcpp/files/patch-src__tcpsocket.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/tcpsocket.cpp.orig Fri Jul 11 15:00:44 2003 -+++ src/tcpsocket.cpp Fri Jul 11 15:00:56 2003 -@@ -212,7 +212,7 @@ - } - - bool TCPSocket::Accept() { -- size_t sin_size = sizeof(struct sockaddr_in); -+ socklen_t sin_size = sizeof(struct sockaddr_in); - //sockaddr_in RemoteAddress; - if((newfd = accept(sockfd, (struct sockaddr *)&RemoteAddress, &sin_size)) == -1) { - perror("accept"); diff --git a/net/libsocketcpp/files/patch-src__tcptest.cpp b/net/libsocketcpp/files/patch-src__tcptest.cpp deleted file mode 100644 index 6dfa402deb74..000000000000 --- a/net/libsocketcpp/files/patch-src__tcptest.cpp +++ /dev/null @@ -1,22 +0,0 @@ ---- src/tcptest.cpp.orig 2001-02-16 19:45:31.000000000 +0100 -+++ src/tcptest.cpp 2012-12-03 14:27:37.000000000 +0100 -@@ -22,8 +22,10 @@ - #include <stdio.h> - #include <stdlib.h> - #include <string.h> -+#include <sys/types.h> - #include "tcpsocket.h" - -+int - main() { - char *Host = new char[100]; - char *Buffer = new char[2048]; -@@ -62,6 +64,8 @@ - delete [] Buffer; - delete [] Host; - delete [] TempMsg; -+ -+ return 0; - } - - diff --git a/net/libsocketcpp/pkg-descr b/net/libsocketcpp/pkg-descr deleted file mode 100644 index ad51367d205e..000000000000 --- a/net/libsocketcpp/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -Libsocketcpp provides a easy-to-use C++ class. With this class, TCP and UDP -functionality can be added to any program quickly and easily. - -WWW: http://libsocket.sourceforge.net/ diff --git a/net/libsocketcpp/pkg-plist b/net/libsocketcpp/pkg-plist deleted file mode 100644 index 51959cb21db6..000000000000 --- a/net/libsocketcpp/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -bin/tcpservertest -bin/tcptest -include/libsocketcpp/tcpsocket.h -lib/libsocketcpp.a -lib/libsocketcpp.so -lib/libsocketcpp.so.0 -lib/libsocketcpp.so.0.0.0 |