aboutsummaryrefslogtreecommitdiff
path: root/net/hanstunnel
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-03-18 23:06:35 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-03-18 23:06:35 +0000
commitbfa35bb0796854d567d0b9156b4c9b025e378885 (patch)
treea9cce3a99fcab65d08d83e0cd2504d83a17fa226 /net/hanstunnel
parent36b92e0860921cc0f0d97a109189f4b2f8df182c (diff)
Notes
Diffstat (limited to 'net/hanstunnel')
-rw-r--r--net/hanstunnel/Makefile5
-rw-r--r--net/hanstunnel/distinfo5
-rw-r--r--net/hanstunnel/files/patch-src_echo.cpp11
-rw-r--r--net/hanstunnel/files/patch-src_tun.cpp11
4 files changed, 5 insertions, 27 deletions
diff --git a/net/hanstunnel/Makefile b/net/hanstunnel/Makefile
index 027c810d1ea7..bf81389b6176 100644
--- a/net/hanstunnel/Makefile
+++ b/net/hanstunnel/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= hans
-PORTVERSION= 0.4.4
+DISTVERSION= 1.0
CATEGORIES= net security
MASTER_SITES= SF/hanstunnel/source
@@ -18,8 +18,7 @@ LICENSE_PERMS_FPL=dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= dos2unix
DOS2UNIX_FILES= ${LICENSE_FILE_FPL}
MAKE_ARGS= GCC="${CC}" GPP="${CXX}" \
- CFLAGS="${CFLAGS} -c" LDFLAGS="${LDFLAGS}" \
- TUN_DEV_FILE="src/tun_dev_freebsd.c"
+ CFLAGS="${CFLAGS} -c" LDFLAGS="${LDFLAGS}"
PLIST_FILES= bin/hans
TARGET_ORDER_OVERRIDE= 040:dos2unix # Fix formatting for 050:ask-license
MAKE_JOBS_UNSAFE= yes
diff --git a/net/hanstunnel/distinfo b/net/hanstunnel/distinfo
index 32c7a8a7103a..ed622d410940 100644
--- a/net/hanstunnel/distinfo
+++ b/net/hanstunnel/distinfo
@@ -1,2 +1,3 @@
-SHA256 (hans-0.4.4.tar.gz) = 81378258b8c9510ac01ad4d69f191e2927b9304daae033ee097f6ba4d39f6bb3
-SIZE (hans-0.4.4.tar.gz) = 33992
+TIMESTAMP = 1517917910
+SHA256 (hans-1.0.tar.gz) = f8f70cf22ba14d9223695c9e9a2d75289d8360f61f533b83ee538836f29a458e
+SIZE (hans-1.0.tar.gz) = 36702
diff --git a/net/hanstunnel/files/patch-src_echo.cpp b/net/hanstunnel/files/patch-src_echo.cpp
deleted file mode 100644
index 0d4be34e7844..000000000000
--- a/net/hanstunnel/files/patch-src_echo.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/echo.cpp.orig 2014-02-07 03:36:31 UTC
-+++ src/echo.cpp
-@@ -19,7 +19,7 @@
-
- #include "echo.h"
- #include "exception.h"
--
-+#include <sys/types.h>
- #include <sys/socket.h>
- #include <netinet/in_systm.h>
- #include <netinet/in.h>
diff --git a/net/hanstunnel/files/patch-src_tun.cpp b/net/hanstunnel/files/patch-src_tun.cpp
deleted file mode 100644
index 60ff6d58d6a9..000000000000
--- a/net/hanstunnel/files/patch-src_tun.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/tun.cpp.orig 2014-02-07 03:36:31 UTC
-+++ src/tun.cpp
-@@ -20,7 +20,7 @@
- #include "tun.h"
- #include "exception.h"
- #include "utility.h"
--
-+#include <sys/types.h>
- #include <arpa/inet.h>
- #include <netinet/in_systm.h>
- #include <netinet/in.h>