security/n2n: Update to 2.8
This commit is contained in:
@@ -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" \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
10
security/n2n/files/patch-tools_Makefile.in
Normal file
10
security/n2n/files/patch-tools_Makefile.in
Normal file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user