svn commit: r531269 - in head/security/n2n: . files
Babak Farrokhi
farrokhi at FreeBSD.org
Thu Apr 9 20:23:27 UTC 2020
Author: farrokhi
Date: Thu Apr 9 20:23:25 2020
New Revision: 531269
URL: https://svnweb.freebsd.org/changeset/ports/531269
Log:
security/n2n: Update to 2.6
- Update to 2.6
- Pet portlint
Relnotes: https://github.com/ntop/n2n/releases/tag/2.6
Added:
head/security/n2n/files/patch-Makefile.in (contents, props changed)
Deleted:
head/security/n2n/files/patch-Makefile
head/security/n2n/files/patch-tuntap__freebsd.c
Modified:
head/security/n2n/Makefile
head/security/n2n/distinfo
head/security/n2n/pkg-descr
Modified: head/security/n2n/Makefile
==============================================================================
--- head/security/n2n/Makefile Thu Apr 9 20:19:49 2020 (r531268)
+++ head/security/n2n/Makefile Thu Apr 9 20:23:25 2020 (r531269)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= n2n
-PORTVERSION= 2.4
+PORTVERSION= ${PORT_V_MAJOR}.${PORT_V_MINOR}
CATEGORIES= security net net-vpn
MAINTAINER= farrokhi at FreeBSD.org
@@ -11,8 +11,13 @@ COMMENT= Layer Two Peer-to-peer VPN
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gmake ssl
+GNU_CONFIGURE= yes
+USES= autoreconf gmake ssl
+PORT_V_MAJOR= 2
+PORT_V_MINOR= 6
+PORT_V_PATCH= 0
+
USE_GITHUB= yes
GH_ACCOUNT= ntop
@@ -21,6 +26,13 @@ PLIST_FILES= sbin/edge \
man/man1/supernode.1.gz \
man/man7/n2n.7.gz \
man/man8/edge.8.gz
+
+post-patch:
+ @${SED} -e "s/@N2N_MAJOR@/${PORT_V_MAJOR}/g" \
+ -e "s/@N2N_MINOR@/${PORT_V_MINOR}/g" \
+ -e "s/@N2N_PATCH@/${PORT_V_PATCH}/g" \
+ -e "s/@N2N_VERSION_SHORT@/${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH}/g" \
+ ${WRKSRC}/configure.seed >${WRKSRC}/configure.ac
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/edge ${STAGEDIR}${PREFIX}/sbin
Modified: head/security/n2n/distinfo
==============================================================================
--- head/security/n2n/distinfo Thu Apr 9 20:19:49 2020 (r531268)
+++ head/security/n2n/distinfo Thu Apr 9 20:23:25 2020 (r531269)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1534574950
-SHA256 (ntop-n2n-2.4_GH0.tar.gz) = acbf5792935b84fb6516b9a2133a0f6f70023ee6ee4ca0d2d4248cab187f3c04
-SIZE (ntop-n2n-2.4_GH0.tar.gz) = 501614
+TIMESTAMP = 1586460913
+SHA256 (ntop-n2n-2.6_GH0.tar.gz) = d08a75cba32394e7077d8b3afdef913d61cdf5911141effb5cd3ee2d79c66bc2
+SIZE (ntop-n2n-2.6_GH0.tar.gz) = 559529
Added: head/security/n2n/files/patch-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/n2n/files/patch-Makefile.in Thu Apr 9 20:23:25 2020 (r531269)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2020-04-09 19:38:26 UTC
++++ Makefile.in
+@@ -6,7 +6,7 @@ GIT_COMMITS=@GIT_COMMITS@
+ ########
+
+ CC?=gcc
+-DEBUG?=-g3
++#DEBUG?=-g3
+ #OPTIMIZATION?=-O2
+ WARN?=-Wall
+
Modified: head/security/n2n/pkg-descr
==============================================================================
--- head/security/n2n/pkg-descr Thu Apr 9 20:19:49 2020 (r531268)
+++ head/security/n2n/pkg-descr Thu Apr 9 20:23:25 2020 (r531269)
@@ -1,10 +1,10 @@
-n2n is a layer-two peer-to-peer virtual private network (VPN) which allows
-users to exploit features typical of P2P applications at network instead of
-application level. This means that users can gain native IP visibility
-(e.g. two PCs belonging to the same n2n network can ping each other) and be
-reachable with the same network IP address regardless of the network where
-they currently belong. In a nutshell, as OpenVPN moved SSL from application
-(e.g. used to implement the https protocol) to network protocol, n2n moves
+n2n is a layer-two peer-to-peer virtual private network (VPN) which allows
+users to exploit features typical of P2P applications at network instead of
+application level. This means that users can gain native IP visibility
+(e.g. two PCs belonging to the same n2n network can ping each other) and be
+reachable with the same network IP address regardless of the network where
+they currently belong. In a nutshell, as OpenVPN moved SSL from application
+(e.g. used to implement the https protocol) to network protocol, n2n moves
P2P from application to network level.
WWW: https://www.ntop.org/products/n2n/
More information about the svn-ports-all
mailing list