Date: Fri, 22 May 2020 10:35:50 +0000 (UTC) From: Koichiro Iwao <meta@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r536193 - head/security/softether5 Message-ID: <202005221035.04MAZo7L077272@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: meta Date: Fri May 22 10:35:49 2020 New Revision: 536193 URL: https://svnweb.freebsd.org/changeset/ports/536193 Log: security/softether5: Fix log, pid, db directory Fix SE_{LOG,PID,DB}DIR weren't reintroduced properly after r532611. While here, omit nolonger needed post-patch. Modified: head/security/softether5/Makefile Modified: head/security/softether5/Makefile ============================================================================== --- head/security/softether5/Makefile Fri May 22 09:32:48 2020 (r536192) +++ head/security/softether5/Makefile Fri May 22 10:35:49 2020 (r536193) @@ -2,6 +2,7 @@ PORTNAME= softether DISTVERSION= 5.01.9674 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= security net-vpn PKGNAMESUFFIX= 5 @@ -26,7 +27,10 @@ USE_GITHUB= yes GH_ACCOUNT= SoftEtherVPN GH_PROJECT= SoftEtherVPN -CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=RelWithDebInfo +CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DSE_DBDIR="${SE_DBDIR}" \ + -DSE_LOGDIR="${SE_LOGDIR}" \ + -DSE_PIDDIR="${SE_PIDDIR}" OPTIONS_DEFINE= DOCS UNLOCK @@ -59,15 +63,6 @@ CMAKE_BOOL_ON+= SKIP_CPU_FEATURES .else BUILD_DEPENDS+= ${LOCALBASE}/include/cpu_features_macros.h:devel/cpu_features .endif - -post-patch: - # SoftEther scatters logs, config files and PID files in PREFIX/libexec - # directory. To write them in the right place, replace it. - ${REINPLACE_CMD} \ - -e "s|%%SE_DBDIR%%|${SE_DBDIR}|g" \ - -e "s|%%SE_LOGDIR%%|${SE_LOGDIR}|g" \ - -e "s|%%SE_PIDDIR%%|${SE_PIDDIR}|g" \ - ${WRKSRC}/src/Mayaqua/FileIO.c post-install: @${MKDIR} ${STAGEDIR}${SE_LOGDIR} ${STAGEDIR}${SE_DBDIR} ${STAGEDIR}${SE_PIDDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005221035.04MAZo7L077272>