git: d0d590a6727c - main - security/n2n: Update to 2.8
Babak Farrokhi
farrokhi at FreeBSD.org
Thu Aug 5 12:23:57 UTC 2021
The branch main has been updated by farrokhi:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d0d590a6727ca2e37269247494063939949d50ec
commit d0d590a6727ca2e37269247494063939949d50ec
Author: Babak Farrokhi <farrokhi at FreeBSD.org>
AuthorDate: 2021-08-05 12:23:46 +0000
Commit: Babak Farrokhi <farrokhi at FreeBSD.org>
CommitDate: 2021-08-05 12:23:46 +0000
security/n2n: Update to 2.8
---
security/n2n/Makefile | 8 ++++++--
security/n2n/distinfo | 6 +++---
security/n2n/files/patch-Makefile.in | 11 -----------
security/n2n/files/patch-tools_Makefile.in | 10 ++++++++++
4 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/security/n2n/Makefile b/security/n2n/Makefile
index 58da491f7093..c0c02eb0234f 100644
--- a/security/n2n/Makefile
+++ b/security/n2n/Makefile
@@ -10,11 +10,13 @@ COMMENT= Layer Two Peer-to-peer VPN
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-GNU_CONFIGURE= yes
USES= autoreconf gmake ssl
+GNU_CONFIGURE= yes
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
PORT_V_MAJOR= 2
-PORT_V_MINOR= 6
+PORT_V_MINOR= 8
PORT_V_PATCH= 0
USE_GITHUB= yes
@@ -26,6 +28,8 @@ PLIST_FILES= sbin/edge \
man/man7/n2n.7.gz \
man/man8/edge.8.gz
+LIB_DEPENDS+= libzstd.so:archivers/zstd
+
post-patch:
@${SED} -e "s/@N2N_MAJOR@/${PORT_V_MAJOR}/g" \
-e "s/@N2N_MINOR@/${PORT_V_MINOR}/g" \
diff --git a/security/n2n/distinfo b/security/n2n/distinfo
index 2b1b66e4d9ea..0413fb23f153 100644
--- a/security/n2n/distinfo
+++ b/security/n2n/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1586460913
-SHA256 (ntop-n2n-2.6_GH0.tar.gz) = d08a75cba32394e7077d8b3afdef913d61cdf5911141effb5cd3ee2d79c66bc2
-SIZE (ntop-n2n-2.6_GH0.tar.gz) = 559529
+TIMESTAMP = 1628160276
+SHA256 (ntop-n2n-2.8_GH0.tar.gz) = ad9ab95a79dcf6b412c36489f50de54bb54417b5cea854eb54722b6cb8f0fd04
+SIZE (ntop-n2n-2.8_GH0.tar.gz) = 327114
diff --git a/security/n2n/files/patch-Makefile.in b/security/n2n/files/patch-Makefile.in
deleted file mode 100644
index 4b15f34b59e1..000000000000
--- a/security/n2n/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
-
diff --git a/security/n2n/files/patch-tools_Makefile.in b/security/n2n/files/patch-tools_Makefile.in
new file mode 100644
index 000000000000..251f345ce0f1
--- /dev/null
+++ b/security/n2n/files/patch-tools_Makefile.in
@@ -0,0 +1,10 @@
+--- tools/Makefile.in.orig 2021-08-05 10:46:29 UTC
++++ tools/Makefile.in
+@@ -1,5 +1,5 @@
+-CC?=gcc
+-DEBUG?=-g3
++CC?=cc
++DEBUG?=
+ OPTIMIZATION?=-O2 #-march=native
+ WARN?=-Wall
+
More information about the dev-commits-ports-all
mailing list