From nobody Mon Mar 6 04:32:37 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PVQfY5z90z3wNj4; Mon, 6 Mar 2023 04:32:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PVQfY57wnz3Pkl; Mon, 6 Mar 2023 04:32:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678077157; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g3QdO51U00qZFbgrquP4n5Yz10PLu/C0ByAm3C67jrw=; b=wrUlecfjw/elXhICTM7JHpZT7Db9TYdUUk7Iye3iQAYyWaV8ktfA6XZdIS7PN5ftKlFeSn aCfzNvF6wXQvcgf5GmCQB58FtHjIfRdMrq4ypFZErFFr4a+5isy7p18WJ9Vjkgnvo+7237 Uwdz7bFjVp/RmTA30MQ2BN+lQ9XWUe0iLbCs+52iWXrkc5UckWw0HQirFAT2V+Hg7HpBS9 35OTsfD91ltTy06p2Sncj/3gFGxrPxjoGjeKVkNRTezPGfDPkZmp2p36Ta67wWUPuji93Y dPIVuG43ifvHXdC3Ij7X58oGJW4T+l/p01kDk2xj2b5AKETo+Q1gDnd0eY8T1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678077157; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g3QdO51U00qZFbgrquP4n5Yz10PLu/C0ByAm3C67jrw=; b=tw5Lzm3BhIFjXGMY8gXJcbxK4qqFGu4aXSgDaokE9IAJv95wcHH2sOVNnLDCgUV5u90r9E oelOnI99VQ0Zo1sJvnKra2/zGujrlkiNaTaFd5ThM2a5IFNBdVl3dnBNRwPmLfJT4bsdgr L4u97m2iW14XsulOwhyF8vUeC6dfvwSK64fzT0Lwa4oJndBSanDTK1GS4M/2cUnca/Icl2 8M+MT5xH0wthfZTIpsODisTQp6dgWYzZv+i/yQnwGBkJTJrC3mKnMne+h5eikWmsUxp29/ XFPCKwE9cm4s0MlNiMjv4rMSwVlVOSXipBGAq9ZPo1Rfdq+SebmC6EEjsSQ7Ew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678077157; a=rsa-sha256; cv=none; b=KY+HvGVTuPw6H/eBnNBqKUTCkTJP9uPpBCf4UWyJOyt2fn9A22UMKZ0KeyFlBRAEltcnP8 gntfi9yA2sAJfOGMR2iAryn5JKqudKKYoFO3suzs+8LlvMJOZVldVGbyWLAhfFMBYW5Otu nYh0EJQgyPWXUDXJC6sFwgqXkSEAYcdl9ztYwGA9lq8yaOMMb4WN9y8rpECAHlja9EVhC6 E6Cn/CfYhZepmcj5WjPzRDfjX74L7SkZ34OrziR5jbSpkfS+V0mcF5nsHKfgpHWouGpH79 62IGrgMHAP3vD/KMc8yWzPrZNa7hR08LaqIdw573N1KPpg2KyjFOno1uYjiAoA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PVQfY4CqPzpS3; Mon, 6 Mar 2023 04:32:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3264WbcA041270; Mon, 6 Mar 2023 04:32:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3264Wbtc041269; Mon, 6 Mar 2023 04:32:37 GMT (envelope-from git) Date: Mon, 6 Mar 2023 04:32:37 GMT Message-Id: <202303060432.3264Wbtc041269@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Koichiro Iwao Subject: git: d69b20995dec - main - security/softether5: add DEBUG option List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: meta X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d69b20995dec38f96ef28522bc6156a7d5b80fff Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by meta: URL: https://cgit.FreeBSD.org/ports/commit/?id=d69b20995dec38f96ef28522bc6156a7d5b80fff commit d69b20995dec38f96ef28522bc6156a7d5b80fff Author: Koichiro Iwao AuthorDate: 2023-03-06 04:29:27 +0000 Commit: Koichiro Iwao CommitDate: 2023-03-06 04:32:17 +0000 security/softether5: add DEBUG option --- security/softether5/Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/security/softether5/Makefile b/security/softether5/Makefile index 723a7250d28f..fb8e5a63082b 100644 --- a/security/softether5/Makefile +++ b/security/softether5/Makefile @@ -1,6 +1,7 @@ PORTNAME= softether DISTVERSION= 5.02.5180-292 DISTVERSIONSUFFIX= -g8c64dc0c +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= security net-vpn PKGNAMESUFFIX= 5 @@ -38,15 +39,14 @@ GH_TUPLE= SoftEtherVPN:libhamcore:2951ae5:libhamcore/src/libhamcore \ BLAKE2:BLAKE2:b52178a:BLAKE2/3rdparty/BLAKE2 \ cxong:tinydir:ec6bff2:tinydir/3rdparty/tinydir -CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DSE_DBDIR="${SE_DBDIR}" \ +CMAKE_ARGS+= -DSE_DBDIR="${SE_DBDIR}" \ -DSE_LOGDIR="${SE_LOGDIR}" \ -DSE_PIDDIR="${SE_PIDDIR}" \ -DSE_TAGNAME="${GH_TAGNAME}/freebsd" CFLAGS+= -I${LOCALBASE}/include/cpu_features -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS DEBUG PORTDOCS= DISCLAIMER.md WARNING.TXT CONFLICTS_INSTALL= softether-4.[0-9]* softether-devel-4.[0-9]* @@ -62,6 +62,14 @@ SUB_LIST= SE_DBDIR="${SE_DBDIR}" \ SE_PIDDIR="${SE_PIDDIR}" SUB_FILES= pkg-message +.include + +# CMAKE_BUILD_TYPE is automatically set by Mk/Uses/cmake.mk +# just set WITH_DEBUG=yes, CMAKE_ARGS+=-DCMAKE_BUILD_TYPE=Debug takes no effect. +.if ${PORT_OPTIONS:MDEBUG} +WITH_DEBUG= yes +.endif + .include # devel/cpu_features not available on these archs, see devel/cpu_features/Makefile