Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2016 09:21:24 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428664 - head/databases/couchdb
Message-ID:  <201612160921.uBG9LOQb003884@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Fri Dec 16 09:21:24 2016
New Revision: 428664
URL: https://svnweb.freebsd.org/changeset/ports/428664

Log:
  Use more restrictive permissions for CouchDB's data and configuration
  files.
  
  PR:		214334
  Submitted by:	Dave Cottlehuber

Modified:
  head/databases/couchdb/Makefile
  head/databases/couchdb/pkg-plist

Modified: head/databases/couchdb/Makefile
==============================================================================
--- head/databases/couchdb/Makefile	Fri Dec 16 09:21:04 2016	(r428663)
+++ head/databases/couchdb/Makefile	Fri Dec 16 09:21:24 2016	(r428664)
@@ -3,7 +3,7 @@
 
 PORTNAME=	couchdb
 PORTVERSION=	1.6.1
-PORTREVISION=	9
+PORTREVISION=	10
 PORTEPOCH=	2
 CATEGORIES=	databases
 MASTER_SITES=	APACHE/couchdb/source/${PORTVERSION}

Modified: head/databases/couchdb/pkg-plist
==============================================================================
--- head/databases/couchdb/pkg-plist	Fri Dec 16 09:21:04 2016	(r428663)
+++ head/databases/couchdb/pkg-plist	Fri Dec 16 09:21:24 2016	(r428664)
@@ -2,7 +2,7 @@ bin/couch-config
 bin/couchdb
 bin/couchjs
 %%ETCDIR%%/default.ini
-@sample(couchdb,,) %%ETCDIR%%/local.ini.sample
+@sample(couchdb,couchdb,600) %%ETCDIR%%/local.ini.sample
 etc/logrotate.d/couchdb
 lib/couchdb/bin/couchjs
 lib/couchdb/erlang/lib/couch-%%VERSION%%/ebin/couch.app
@@ -632,8 +632,8 @@ man/man1/couchjs.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/NOTICE.gz
 %%PORTDOCS%%%%DOCSDIR%%/README.gz
 %%PORTDOCS%%%%DOCSDIR%%/THANKS.gz
-@dir %%ETCDIR%%/default.d
-@dir %%ETCDIR%%/local.d
-@dir /var/db/couchdb
-@dir /var/log/couchdb
-@dir /var/run/couchdb
+@dir(couchdb,couchdb,750) %%ETCDIR%%/default.d
+@dir(couchdb,couchdb,750) %%ETCDIR%%/local.d
+@dir(couchdb,couchdb,750) /var/db/couchdb
+@dir(couchdb,couchdb,750) /var/log/couchdb
+@dir(couchdb,couchdb,750) /var/run/couchdb



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612160921.uBG9LOQb003884>