Framework: partially sync with upstream

Taken from: HardenedBSD
This commit is contained in:
Franco Fichtner 2019-11-17 04:13:56 +01:00
parent b321937832
commit 3c25f0ef74
4 changed files with 12 additions and 5 deletions

2
GIDs
View File

@ -722,7 +722,7 @@ litecoin:*:778:
bitcoin:*:779:
zetacoin:*:780:
monero:*:781:
# free: 782
zeek:*:782
# free: 783
# free: 784
# free: 785

View File

@ -44,7 +44,7 @@
# command
#
# GO_BUILDFLAGS
# Additional build arguments to be passed to the `go install` command
# Additional build arguments to be passed to the `go build` command
#
# GO_PORT
# The Go port to use. By default this is lang/go but can be set
@ -62,6 +62,7 @@ IGNORE= USES=go has invalid arguments: ${go_ARGS:Nmodules:Nno_targets:Nrun}
.endif
# Settable variables
.if empty(GO_PKGNAME)
. if !empty(GH_SUBDIR)
GO_PKGNAME= ${GH_SUBDIR:S|^src/||}
@ -72,18 +73,24 @@ GO_PKGNAME= ${PORTNAME}
. endif
.endif
GO_TARGET?= ${GO_PKGNAME}
GO_BUILDFLAGS+= -v -buildmode=exe
.if !defined(WITH_DEBUG) && empty(GO_BUILDFLAGS:M-ldflags*)
GO_BUILDFLAGS+= -ldflags=-s
.endif
CGO_ENABLED?= 1
CGO_CFLAGS+= -I${LOCALBASE}/include
CGO_LDFLAGS+= -L${LOCALBASE}/lib
.if ${ARCH} == armv6 || ${ARCH} == armv7
GOARM?= ${ARCH:C/armv//}
.endif
# Read-only variables
GO_CMD= ${LOCALBASE}/bin/go
GO_WRKDIR_BIN= ${WRKDIR}/bin
GO_ENV+= CGO_ENABLED=${CGO_ENABLED} \
CGO_CFLAGS="${CGO_CFLAGS}" \
CGO_LDFLAGS="${CGO_LDFLAGS}" \

View File

@ -58,7 +58,7 @@ KDE_PLASMA_VERSION?= 5.17.3
KDE_PLASMA_BRANCH?= stable
# Current KDE frameworks.
KDE_FRAMEWORKS_VERSION?= 5.63.0
KDE_FRAMEWORKS_VERSION?= 5.64.0
KDE_FRAMEWORKS_BRANCH?= stable
# Current KDE applications.

2
UIDs
View File

@ -727,7 +727,7 @@ litecoin:*:778:778::0:0:litecoin Daemon:/var/db/litecoin:/usr/sbin/nologin
bitcoin:*:779:779::0:0:bitcoin Daemon:/var/db/bitcoin:/usr/sbin/nologin
zetacoin:*:780:780::0:0:ZetaCoin Daemon:/nonexistent:/usr/sbin/nologin
monero:*:781:781::0:0:Monero Daemon:/var/db/monero:/usr/sbin/nologin
# free: 782
zeek:*:782:782::0:0:Zeek Network Security Monitor:/nonexistent:/usr/sbin/nologin
# free: 783
# free: 784
# free: 785