diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-04-03 23:13:03 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-04-03 23:13:03 +0000 |
commit | 57eabdfc29080edc10010c5bd0172a1972381d86 (patch) | |
tree | 5e36f749d7fa9c01865398495d6fec50e22ace2c /net/Sockets | |
parent | e83412c8f0b84b22ddb3e38e7697fd8943ba7762 (diff) | |
download | ports-57eabdfc29080edc10010c5bd0172a1972381d86.tar.gz ports-57eabdfc29080edc10010c5bd0172a1972381d86.zip |
Notes
Diffstat (limited to 'net/Sockets')
-rw-r--r-- | net/Sockets/Makefile | 2 | ||||
-rw-r--r-- | net/Sockets/distinfo | 4 | ||||
-rw-r--r-- | net/Sockets/files/patch-ListenSocket.h | 4 | ||||
-rw-r--r-- | net/Sockets/files/patch-Makefile | 9 | ||||
-rw-r--r-- | net/Sockets/files/patch-MinderHandler.cpp | 4 | ||||
-rw-r--r-- | net/Sockets/files/patch-Uid.cpp | 36 | ||||
-rw-r--r-- | net/Sockets/files/patch-socket_include.h | 34 | ||||
-rw-r--r-- | net/Sockets/pkg-plist | 2 |
8 files changed, 14 insertions, 81 deletions
diff --git a/net/Sockets/Makefile b/net/Sockets/Makefile index 6fce882d5d58..6272dc2ec53c 100644 --- a/net/Sockets/Makefile +++ b/net/Sockets/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Sockets -PORTVERSION= 1.7.1 +PORTVERSION= 1.8.1 CATEGORIES= net ipv6 MASTER_SITES= http://www.alhem.net/Sockets/ diff --git a/net/Sockets/distinfo b/net/Sockets/distinfo index 13fe1ed5070b..c6cb7b91d2b1 100644 --- a/net/Sockets/distinfo +++ b/net/Sockets/distinfo @@ -1,2 +1,2 @@ -MD5 (Sockets-1.7.1.tar.gz) = 8f3ac8d40c65f7545e358e03ea3eead4 -SIZE (Sockets-1.7.1.tar.gz) = 46255 +MD5 (Sockets-1.8.1.tar.gz) = 2792d7b81f4fcb2888e6cd6f94bafd0e +SIZE (Sockets-1.8.1.tar.gz) = 55562 diff --git a/net/Sockets/files/patch-ListenSocket.h b/net/Sockets/files/patch-ListenSocket.h index e0468c1f10de..0c32e99b29b8 100644 --- a/net/Sockets/files/patch-ListenSocket.h +++ b/net/Sockets/files/patch-ListenSocket.h @@ -1,5 +1,5 @@ ---- ListenSocket.h.orig Sat Jan 15 23:40:23 2005 -+++ ListenSocket.h Sat Jan 15 23:41:10 2005 +--- ListenSocket.h.orig Sun Apr 3 18:43:45 2005 ++++ ListenSocket.h Sun Apr 3 18:44:30 2005 @@ -31,6 +31,7 @@ #include "Socket.h" diff --git a/net/Sockets/files/patch-Makefile b/net/Sockets/files/patch-Makefile index e3f8911db7a0..6b3be9c245d9 100644 --- a/net/Sockets/files/patch-Makefile +++ b/net/Sockets/files/patch-Makefile @@ -1,14 +1,15 @@ ---- Makefile.orig Sat Jan 15 23:06:28 2005 -+++ Makefile Sat Jan 15 23:07:15 2005 -@@ -59,11 +59,11 @@ +--- Makefile.orig Sun Apr 3 18:39:23 2005 ++++ Makefile Sun Apr 3 18:41:20 2005 +@@ -69,12 +69,11 @@ ranlib $@ install: all +- @mkdir -p $(PREFIX)/lib - cp libSockets.a $(PREFIX)/lib - cp libSocketsEx.a $(PREFIX)/lib + @${BSD_INSTALL_DATA} libSockets.a $(PREFIX)/lib + @${BSD_INSTALL_DATA} libSocketsEx.a $(PREFIX)/lib - mkdir -p $(PREFIX)/include/Sockets + @mkdir -p $(PREFIX)/include/Sockets - cp -a *.h $(PREFIX)/include/Sockets - install Sockets-config $(PREFIX)/bin + @${BSD_INSTALL_DATA} *.h $(PREFIX)/include/Sockets diff --git a/net/Sockets/files/patch-MinderHandler.cpp b/net/Sockets/files/patch-MinderHandler.cpp index ec527d254b23..cf080fa1c4e7 100644 --- a/net/Sockets/files/patch-MinderHandler.cpp +++ b/net/Sockets/files/patch-MinderHandler.cpp @@ -1,5 +1,5 @@ ---- MinderHandler.cpp.orig Sun Jan 16 02:22:51 2005 -+++ MinderHandler.cpp Sun Jan 16 02:26:52 2005 +--- MinderHandler.cpp.orig Sun Apr 3 18:42:07 2005 ++++ MinderHandler.cpp Sun Apr 3 18:43:09 2005 @@ -20,6 +20,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. diff --git a/net/Sockets/files/patch-Uid.cpp b/net/Sockets/files/patch-Uid.cpp deleted file mode 100644 index 6066b39928ea..000000000000 --- a/net/Sockets/files/patch-Uid.cpp +++ /dev/null @@ -1,36 +0,0 @@ ---- Uid.cpp.orig Sat Jan 15 21:36:02 2005 -+++ Uid.cpp Sat Jan 15 22:41:30 2005 -@@ -20,12 +20,22 @@ - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ -+#if (defined(__unix__) || defined(unix)) && !defined(USG) -+#include <sys/param.h> -+#endif -+ - #include <stdio.h> - #include <assert.h> - #ifdef _WIN32 - #include <objbase.h> - #elif defined MACOSX - #include "uuid.h" -+#elif defined __FreeBSD__ -+# if __FreeBSD_version >= 500000 -+# include <uuid.h> -+# else -+# error FreeBSD versions prior to 500000 does not support uuid(3) -+# endif - #else - #include <uuid/uuid.h> - #endif -@@ -49,6 +59,10 @@ - exit(-1); - } - memcpy(m_bufuid, &randomGuid, 16); -+#elif defined __FreeBSD__ -+ uuid_t uid; -+ uuid_create(&uid, NULL); -+ memcpy(m_bufuid, &uid, 16); - #else - uuid_t uid; - uuid_generate(uid); diff --git a/net/Sockets/files/patch-socket_include.h b/net/Sockets/files/patch-socket_include.h deleted file mode 100644 index 87aa06ecb7cc..000000000000 --- a/net/Sockets/files/patch-socket_include.h +++ /dev/null @@ -1,34 +0,0 @@ ---- socket_include.h.orig Sat Jan 15 14:48:57 2005 -+++ socket_include.h Sat Jan 15 22:31:09 2005 -@@ -1,10 +1,31 @@ - #ifndef _SOCKET_INCLUDE_H - #define _SOCKET_INCLUDE_H - -+#if (defined(__unix__) || defined(unix)) && !defined(USG) -+#include <sys/param.h> -+#endif -+ - #ifdef SOLARIS - // ---------------------------------------- - // Solaris - typedef unsigned short port_t; -+ -+#elif defined __FreeBSD__ -+// ---------------------------------------- -+// FreeBSD -+# if __FreeBSD_version >= 400014 -+# define s6_addr16 __u6_addr.__u6_addr16 -+# if !defined(MSG_NOSIGNAL) -+# define MSG_NOSIGNAL 0 -+# endif -+# include <netinet/in.h> -+typedef in_addr_t ipaddr_t; -+typedef in_port_t port_t; -+# define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP -+# define IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP -+# else -+# error FreeBSD versions prior to 400014 does not support ipv6 -+# endif - - #elif defined MACOSX - // ---------------------------------------- diff --git a/net/Sockets/pkg-plist b/net/Sockets/pkg-plist index cec6ff22295b..67a9b9edf78d 100644 --- a/net/Sockets/pkg-plist +++ b/net/Sockets/pkg-plist @@ -17,6 +17,8 @@ include/Sockets/MinionSocket.h include/Sockets/NullCrypt.h include/Sockets/Parse.h include/Sockets/PoolSocket.h +include/Sockets/ResolvServer.h +include/Sockets/ResolvSocket.h include/Sockets/SSLSocket.h include/Sockets/Socket.h include/Sockets/SocketHandler.h |