aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/iodine/Makefile9
-rw-r--r--net/iodine/distinfo6
-rw-r--r--net/iodine/files/patch-tun.c14
3 files changed, 21 insertions, 8 deletions
diff --git a/net/iodine/Makefile b/net/iodine/Makefile
index fbf7e3a21082..326acb88f1b0 100644
--- a/net/iodine/Makefile
+++ b/net/iodine/Makefile
@@ -6,17 +6,16 @@
#
PORTNAME= iodine
-PORTVERSION= 0.5.0
+PORTVERSION= 0.5.2
CATEGORIES= net
-MASTER_SITES= http://code.kryo.se/iodine/
+MASTER_SITES= http://code.kryo.se/iodine/ \
+ http://redundancy.redundancy.org/mirror/
-MAINTAINER= rafan@FreeBSD.org
+MAINTAINER= lx@FreeBSD.org
COMMENT= Tunnel IPv4 data through a DNS server
PLIST_FILES= bin/iodine sbin/iodined
-BUILD_WRKSRC= ${WRKSRC}/src
-
PORTDOCS= CHANGELOG README TODO
MAN8= iodine.8
diff --git a/net/iodine/distinfo b/net/iodine/distinfo
index db8dcd86674a..21d62e4a2226 100644
--- a/net/iodine/distinfo
+++ b/net/iodine/distinfo
@@ -1,3 +1,3 @@
-MD5 (iodine-0.5.0.tar.gz) = af2d9062b7788fc47385d8c6c645dfa0
-SHA256 (iodine-0.5.0.tar.gz) = ae4d9804fb69bef371e1d0565f7cbcff94e6ddd5e941afca742cbc753d25502d
-SIZE (iodine-0.5.0.tar.gz) = 43918
+MD5 (iodine-0.5.2.tar.gz) = 6952343cc4614857f83dbb81247871e7
+SHA256 (iodine-0.5.2.tar.gz) = cbc14665d325634318ebd6f792f8dc2229101bd5a55232420570538612f6a5e4
+SIZE (iodine-0.5.2.tar.gz) = 50788
diff --git a/net/iodine/files/patch-tun.c b/net/iodine/files/patch-tun.c
new file mode 100644
index 000000000000..3c25e722d8c8
--- /dev/null
+++ b/net/iodine/files/patch-tun.c
@@ -0,0 +1,14 @@
+--- src/tun.c.orig 2009-12-10 20:26:35.000000000 -0800
++++ src/tun.c 2009-12-10 20:26:46.000000000 -0800
+@@ -402,10 +402,9 @@
+ }
+ #ifndef WINDOWS32
+ snprintf(cmdline, sizeof(cmdline),
+- "/sbin/ifconfig %s %s %s netmask %s",
++ "/sbin/ifconfig %s %s netmask %s",
+ if_name,
+ ip,
+- ip,
+ inet_ntoa(net));
+
+ fprintf(stderr, "Setting IP of %s to %s\n", if_name, ip);