- Update to 0.5.2

- Submitter is now maintainer
- Remove useless patch file

PR:		ports/149529
Submitted by:	Sofian Brabez <sbrabez _AT_ gmail.com>
This commit is contained in:
Philippe Audeoud 2010-08-23 18:31:39 +00:00
parent 3ef6616777
commit 68e63f8634
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259851
3 changed files with 5 additions and 40 deletions

View file

@ -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

View file

@ -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

View file

@ -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 <sys/param.h>
+#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);