Date: Thu, 3 Nov 2022 22:39:58 GMT From: Dave Cottlehuber <dch@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1a3b41478321 - main - databases/couchdb3: ensure /var/run/couchdb3 is created Message-ID: <202211032239.2A3MdwpV068379@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by dch: URL: https://cgit.FreeBSD.org/ports/commit/?id=1a3b41478321cf4cb61f83eb7e011c46d9a9629d commit 1a3b41478321cf4cb61f83eb7e011c46d9a9629d Author: Dave Cottlehuber <dch@FreeBSD.org> AuthorDate: 2022-11-03 07:35:49 +0000 Commit: Dave Cottlehuber <dch@FreeBSD.org> CommitDate: 2022-11-03 22:36:37 +0000 databases/couchdb3: ensure /var/run/couchdb3 is created Reported by: Gerrit RĂ¼sing <gerrit@macclub-os.de> --- databases/couchdb3/Makefile | 4 +++- databases/couchdb3/pkg-plist | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/databases/couchdb3/Makefile b/databases/couchdb3/Makefile index 62270ab1c4a9..c3bb99c49205 100644 --- a/databases/couchdb3/Makefile +++ b/databases/couchdb3/Makefile @@ -56,6 +56,7 @@ ERLVER?= 24 LOGDIR?= /var/log/${PORTNAME} LOGFILE?= ${LOGDIR}/couch.log RELDIR= ${APPDIR}/releases/${DISTVERSION} +RUNDIR= /var/run/${PORTNAME} .include <bsd.port.options.mk> @@ -113,7 +114,8 @@ post-install: -exec ${STRIP_CMD} {} + @${MKDIR} \ ${STAGEDIR}${DBDIR} \ - ${STAGEDIR}${LOGDIR} + ${STAGEDIR}${LOGDIR} \ + ${STAGEDIR}${RUNDIR} # fauxton UI is a required component (cd ${WRKSRC}/share/www && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) diff --git a/databases/couchdb3/pkg-plist b/databases/couchdb3/pkg-plist index 25688aaba82f..f14d70fa6645 100644 --- a/databases/couchdb3/pkg-plist +++ b/databases/couchdb3/pkg-plist @@ -1,6 +1,7 @@ @dir libexec/couchdb3/lib/couch-%%VERSION%%/priv/couch_ejson_compare @dir(couchdb,couchdb,700) /var/db/couchdb3 @dir(couchdb,couchdb,700) /var/log/couchdb3 +@dir(couchdb,couchdb,700) /var/run/couchdb3 @sample(couchdb,couchdb,640) %%ETCDIR%%/local.ini.sample @sample(couchdb,couchdb,640) %%ETCDIR%%/vm.args.sample libexec/couchdb3/LICENSE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211032239.2A3MdwpV068379>