aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichiro Iwao <meta@FreeBSD.org>2020-03-17 06:34:24 +0000
committerKoichiro Iwao <meta@FreeBSD.org>2020-03-17 06:34:24 +0000
commit0e87813769ad4b5acf065e3695ca6bca0769dd31 (patch)
tree3464fc95e465418fee9ce45ade9ef98da38e3a23
parentaa87c0680c4ee598462a797ce8fedf24d5d0d2ee (diff)
downloadports-0e87813769ad4b5acf065e3695ca6bca0769dd31.tar.gz
ports-0e87813769ad4b5acf065e3695ca6bca0769dd31.zip
MFH: r528561
security/softether5: fix build on aarch64 Tested on Amazon EC2 A1 instances with FreeBSD/ARM 12 image[1]. Build on mips also should be fixed (not actually tested). [1] https://aws.amazon.com/marketplace/pp/B081NF7BY7 Sponsored by: HAW International Approved by: portmgr branket (fix build)
Notes
Notes: svn path=/branches/2020Q1/; revision=528563
-rw-r--r--security/softether5/Makefile6
-rw-r--r--security/softether5/distinfo4
2 files changed, 6 insertions, 4 deletions
diff --git a/security/softether5/Makefile b/security/softether5/Makefile
index 40a4297d38f2..eb7d64432b36 100644
--- a/security/softether5/Makefile
+++ b/security/softether5/Makefile
@@ -2,14 +2,14 @@
PORTNAME= softether
DISTVERSION= 5.01.9672
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security net-vpn
PKGNAMESUFFIX= 5
DIST_SUBDIR= ${PORTNAME}
# Some patches are managed in my GitHub fork
PATCH_SITES= https://github.com/metalefty/${GH_PROJECT}/commit/
-PATCHFILES= 7dcfce9.patch:-p1 5832425.patch:-p1 9093f9e.patch:-p1
+PATCHFILES= 7dcfce9.patch:-p1 5832425.patch:-p1 9093f9e.patch:-p1 6349d85.patch:-p1
MAINTAINER= meta@FreeBSD.org
COMMENT= SoftEther VPN 5 (Developer Edition)
@@ -55,7 +55,7 @@ SUB_FILES= pkg-message
# devel/cpu_features not available on these archs, see devel/cpu_features/Makefile
.if (${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == mips || ${ARCH} == mips64)
# skip cpu_features when devel/cpu_features is not available
-CFLAGS+= -DSKIP_CPU_FEATURES
+CMAKE_BOOL_ON+= SKIP_CPU_FEATURES
.else
BUILD_DEPENDS+= ${LOCALBASE}/include/cpu_features_macros.h:devel/cpu_features
.endif
diff --git a/security/softether5/distinfo b/security/softether5/distinfo
index 0725f311fec2..46dd3ef792c5 100644
--- a/security/softether5/distinfo
+++ b/security/softether5/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1582012314
+TIMESTAMP = 1584404535
SHA256 (softether/SoftEtherVPN-SoftEtherVPN-5.01.9672_GH0.tar.gz) = 71db32ac42ac52af8d50c61190834b0c96759363d5e1911a69a0e3155a4c9644
SIZE (softether/SoftEtherVPN-SoftEtherVPN-5.01.9672_GH0.tar.gz) = 107032019
SHA256 (softether/7dcfce9.patch) = 43192adaedf65c3e5f0c5b22a489b41d2e192e6d4b4e24e2f7de1280d3b13dd9
@@ -7,5 +7,7 @@ SHA256 (softether/5832425.patch) = bea99778e2d0ebaf2e80a2511cdc5c91a13430678f371
SIZE (softether/5832425.patch) = 12581
SHA256 (softether/9093f9e.patch) = aba81b81e21829356f8caeacc986cc3e6d94fe0c7dfb371a63485702ea6c0a53
SIZE (softether/9093f9e.patch) = 2046
+SHA256 (softether/6349d85.patch) = a644a67d511becaa00e0c32e7529b28e0a44d1626869005f55c406af401aa70f
+SIZE (softether/6349d85.patch) = 912
SHA256 (softether/d41c3ae.patch) = 33bc1239c13737869fba80f5e3aba0b293f125b70221cb586da885fbcd405412
SIZE (softether/d41c3ae.patch) = 930