View | Details | Raw Unified | Return to bug 149529
Collapse All | Expand All

(-)/tmp/dns2tcp/Makefile (-2 / +2 lines)
Lines 6-16 Link Here
6
#
6
#
7
7
8
PORTNAME=	dns2tcp
8
PORTNAME=	dns2tcp
9
PORTVERSION=	0.4.3
9
PORTVERSION=	0.5.2
10
CATEGORIES=	dns
10
CATEGORIES=	dns
11
MASTER_SITES=	http://www.hsc.fr/ressources/outils/${PORTNAME}/download/
11
MASTER_SITES=	http://www.hsc.fr/ressources/outils/${PORTNAME}/download/
12
12
13
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	sbrabez@gmail.com
14
COMMENT=	Dns2tcp is a tool for relaying TCP connections over DNS
14
COMMENT=	Dns2tcp is a tool for relaying TCP connections over DNS
15
15
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
(-)/tmp/dns2tcp/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (dns2tcp-0.4.3.tar.gz) = d2b322ee27f4ff53dfdad61aa2f42dd8
1
MD5 (dns2tcp-0.5.2.tar.gz) = 51c5dc69f5814c2936ce6832217d292d
2
SHA256 (dns2tcp-0.4.3.tar.gz) = cd477d7b6789c13a3ab16a1ae64b32e0093f28bdae00a277dedc8a790d50dafa
2
SHA256 (dns2tcp-0.5.2.tar.gz) = ea9ef59002b86519a43fca320982ae971e2df54cdc54cdb35562c751704278d9
3
SIZE (dns2tcp-0.4.3.tar.gz) = 230596
3
SIZE (dns2tcp-0.5.2.tar.gz) = 173585
(-)/tmp/dns2tcp/files/patch-common-includes_dns.h (-35 lines)
Lines 1-35 Link Here
1
--- common/includes/dns.h.orig	2008-10-29 16:35:26.000000000 +0100
2
+++ common/includes/dns.h	2009-03-21 13:34:08.000000000 +0100
3
@@ -30,6 +30,10 @@
4
 #endif
5
 #include "base64.h"
6
 
7
+#ifdef __FreeBSD__
8
+#include <sys/param.h>
9
+#endif
10
+
11
 #define MAX_REQ_LEN			512
12
 
13
 #define MAX_HOST_NAME_ENCODED		200 
14
@@ -140,7 +144,9 @@
15
 void	dns_encode(char *);
16
 void	*jump_end_query(void *, int, int);
17
 #ifndef _WIN32
18
+#if !defined(__FreeBSD__) || __FreeBSD_version < 800067
19
 int	strnlen(char *, int len);
20
 #endif
21
+#endif
22
 
23
 #endif
24
--- server/includes/server.h.orig	2009-03-21 13:27:34.000000000 +0100
25
+++ server/includes/server.h	2009-03-21 13:28:21.000000000 +0100
26
@@ -48,7 +48,9 @@
27
 }			t_conf;
28
 
29
 int	do_server(t_conf *);
30
+#if !defined(__FreeBSD__) || __FreeBSD_version < 800067
31
 int	strnlen(char *, int); /* not present ?*/
32
+#endif
33
 int	delete_client(t_conf *conf, struct s_simple_list *client);
34
 void	delete_zombie(t_conf *conf);
35
 

Return to bug 149529