--- /tmp/dns2tcp/Makefile 2009-07-11 17:52:00.000000000 +0200 +++ /tmp/dns2tcp/Makefile 2010-08-11 16:20:58.000000000 +0200 @@ -6,11 +6,11 @@ # PORTNAME= dns2tcp -PORTVERSION= 0.4.3 +PORTVERSION= 0.5.2 CATEGORIES= dns MASTER_SITES= http://www.hsc.fr/ressources/outils/${PORTNAME}/download/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sbrabez@gmail.com COMMENT= Dns2tcp is a tool for relaying TCP connections over DNS GNU_CONFIGURE= yes --- /tmp/dns2tcp/distinfo 2008-11-23 17:35:48.000000000 +0100 +++ /tmp/dns2tcp/distinfo 2010-08-11 15:46:57.000000000 +0200 @@ -1,3 +1,3 @@ -MD5 (dns2tcp-0.4.3.tar.gz) = d2b322ee27f4ff53dfdad61aa2f42dd8 -SHA256 (dns2tcp-0.4.3.tar.gz) = cd477d7b6789c13a3ab16a1ae64b32e0093f28bdae00a277dedc8a790d50dafa -SIZE (dns2tcp-0.4.3.tar.gz) = 230596 +MD5 (dns2tcp-0.5.2.tar.gz) = 51c5dc69f5814c2936ce6832217d292d +SHA256 (dns2tcp-0.5.2.tar.gz) = ea9ef59002b86519a43fca320982ae971e2df54cdc54cdb35562c751704278d9 +SIZE (dns2tcp-0.5.2.tar.gz) = 173585 --- /tmp/dns2tcp/files/patch-common-includes_dns.h 2009-03-21 13:53:05.000000000 +0100 +++ /tmp/dns2tcp/files/patch-common-includes_dns.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,35 +0,0 @@ ---- common/includes/dns.h.orig 2008-10-29 16:35:26.000000000 +0100 -+++ common/includes/dns.h 2009-03-21 13:34:08.000000000 +0100 -@@ -30,6 +30,10 @@ - #endif - #include "base64.h" - -+#ifdef __FreeBSD__ -+#include -+#endif -+ - #define MAX_REQ_LEN 512 - - #define MAX_HOST_NAME_ENCODED 200 -@@ -140,7 +144,9 @@ - void dns_encode(char *); - void *jump_end_query(void *, int, int); - #ifndef _WIN32 -+#if !defined(__FreeBSD__) || __FreeBSD_version < 800067 - int strnlen(char *, int len); - #endif -+#endif - - #endif ---- server/includes/server.h.orig 2009-03-21 13:27:34.000000000 +0100 -+++ server/includes/server.h 2009-03-21 13:28:21.000000000 +0100 -@@ -48,7 +48,9 @@ - } t_conf; - - int do_server(t_conf *); -+#if !defined(__FreeBSD__) || __FreeBSD_version < 800067 - int strnlen(char *, int); /* not present ?*/ -+#endif - int delete_client(t_conf *conf, struct s_simple_list *client); - void delete_zombie(t_conf *conf); -