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

(-)hanstunnel/Makefile (-3 / +2 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/net/hanstunnel/Makefile 411613 2016-03-21 18:47:47Z jbeich $
2
# $FreeBSD: head/net/hanstunnel/Makefile 411613 2016-03-21 18:47:47Z jbeich $
3
3
4
PORTNAME=	hans
4
PORTNAME=	hans
5
PORTVERSION=	0.4.4
5
PORTVERSION=	1.0
6
CATEGORIES=	net security
6
CATEGORIES=	net security
7
MASTER_SITES=	SF/hanstunnel/source
7
MASTER_SITES=	SF/hanstunnel/source
8
8
Lines 18-25 Link Here
18
USES=		dos2unix
18
USES=		dos2unix
19
DOS2UNIX_FILES=	${LICENSE_FILE_FPL}
19
DOS2UNIX_FILES=	${LICENSE_FILE_FPL}
20
MAKE_ARGS=	GCC="${CC}" GPP="${CXX}" \
20
MAKE_ARGS=	GCC="${CC}" GPP="${CXX}" \
21
		CFLAGS="${CFLAGS} -c" LDFLAGS="${LDFLAGS}" \
21
		CFLAGS="${CFLAGS} -c" LDFLAGS="${LDFLAGS}"
22
		TUN_DEV_FILE="src/tun_dev_freebsd.c"
23
PLIST_FILES=	bin/hans
22
PLIST_FILES=	bin/hans
24
TARGET_ORDER_OVERRIDE=	040:dos2unix # Fix formatting for 050:ask-license
23
TARGET_ORDER_OVERRIDE=	040:dos2unix # Fix formatting for 050:ask-license
25
MAKE_JOBS_UNSAFE=	yes
24
MAKE_JOBS_UNSAFE=	yes
(-)hanstunnel/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (hans-0.4.4.tar.gz) = 81378258b8c9510ac01ad4d69f191e2927b9304daae033ee097f6ba4d39f6bb3
1
TIMESTAMP = 1517917910
2
SIZE (hans-0.4.4.tar.gz) = 33992
2
SHA256 (hans-1.0.tar.gz) = f8f70cf22ba14d9223695c9e9a2d75289d8360f61f533b83ee538836f29a458e
3
SIZE (hans-1.0.tar.gz) = 36702
(-)hanstunnel/files/patch-src_echo.cpp (-11 lines)
Lines 1-11 Link Here
1
--- src/echo.cpp.orig	2014-02-07 03:36:31 UTC
2
+++ src/echo.cpp
3
@@ -19,7 +19,7 @@
4
 
5
 #include "echo.h"
6
 #include "exception.h"
7
-
8
+#include <sys/types.h>
9
 #include <sys/socket.h>
10
 #include <netinet/in_systm.h>
11
 #include <netinet/in.h>
(-)hanstunnel/files/patch-src_tun.cpp (-11 lines)
Lines 1-11 Link Here
1
--- src/tun.cpp.orig	2014-02-07 03:36:31 UTC
2
+++ src/tun.cpp
3
@@ -20,7 +20,7 @@
4
 #include "tun.h"
5
 #include "exception.h"
6
 #include "utility.h"
7
-
8
+#include <sys/types.h>
9
 #include <arpa/inet.h>
10
 #include <netinet/in_systm.h>
11
 #include <netinet/in.h>

Return to bug 226283