summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-10-27 08:58:43 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-10-27 08:58:43 +0000
commit239abe1a42dad02d5d8b3457ca5f3978cd95dce2 (patch)
treee86f9c5cfa8029be97d4c9b32873c0211057dadf /dev-db/couchdb
parent Honour Gentoo CFLAGS. (diff)
downloadgentoo-2-239abe1a42dad02d5d8b3457ca5f3978cd95dce2.tar.gz
gentoo-2-239abe1a42dad02d5d8b3457ca5f3978cd95dce2.tar.bz2
gentoo-2-239abe1a42dad02d5d8b3457ca5f3978cd95dce2.zip
Fix configuration files permissions, bug 337636.
(Portage version: 2.1.9.22/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/couchdb')
-rw-r--r--dev-db/couchdb/ChangeLog8
-rw-r--r--dev-db/couchdb/couchdb-1.0.1-r2.ebuild (renamed from dev-db/couchdb/couchdb-1.0.1-r1.ebuild)8
2 files changed, 12 insertions, 4 deletions
diff --git a/dev-db/couchdb/ChangeLog b/dev-db/couchdb/ChangeLog
index 0952069f7d05..853aca887501 100644
--- a/dev-db/couchdb/ChangeLog
+++ b/dev-db/couchdb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/couchdb
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/ChangeLog,v 1.40 2010/10/27 08:43:02 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/ChangeLog,v 1.41 2010/10/27 08:58:43 djc Exp $
+
+*couchdb-1.0.1-r2 (27 Oct 2010)
+
+ 27 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> -couchdb-1.0.1-r1.ebuild,
+ +couchdb-1.0.1-r2.ebuild:
+ Fix /etc/couchdb/*.ini permissions, bug 337636.
27 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> -couchdb-0.11.0-r1.ebuild:
Remove old version.
diff --git a/dev-db/couchdb/couchdb-1.0.1-r1.ebuild b/dev-db/couchdb/couchdb-1.0.1-r2.ebuild
index 25c589924ca2..a03af873428c 100644
--- a/dev-db/couchdb/couchdb-1.0.1-r1.ebuild
+++ b/dev-db/couchdb/couchdb-1.0.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/couchdb-1.0.1-r1.ebuild,v 1.2 2010/09/09 14:50:58 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/couchdb-1.0.1-r2.ebuild,v 1.1 2010/10/27 08:58:43 djc Exp $
EAPI="2"
@@ -49,8 +49,10 @@ src_install() {
/var/lib/couchdb \
/var/log/couchdb
- fowners root:couchdb /etc/couchdb/*.ini
- fperms 660 /etc/couchdb/*.ini
+ for f in /etc/couchdb/*.ini ; do
+ fowners root:couchdb ${f#"${D}"}
+ fperms 660 ${f#"${D}"}
+ done
newinitd "${FILESDIR}/couchdb.init-0.10" couchdb || die
newconfd "${FILESDIR}/couchdb.conf-0.10" couchdb || die