public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-db/couchdb: ChangeLog couchdb-1.0.1-r2.ebuild couchdb-1.0.1-r1.ebuild
@ 2010-10-27  8:58 Dirkjan Ochtman (djc)
  0 siblings, 0 replies; only message in thread
From: Dirkjan Ochtman (djc) @ 2010-10-27  8:58 UTC (permalink / raw
  To: gentoo-commits

djc         10/10/27 08:58:44

  Modified:             ChangeLog
  Added:                couchdb-1.0.1-r2.ebuild
  Removed:              couchdb-1.0.1-r1.ebuild
  Log:
  Fix configuration files permissions, bug 337636.
  
  (Portage version: 2.1.9.22/cvs/Linux x86_64)

Revision  Changes    Path
1.41                 dev-db/couchdb/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/couchdb/ChangeLog?rev=1.41&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/couchdb/ChangeLog?rev=1.41&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/couchdb/ChangeLog?r1=1.40&r2=1.41

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/couchdb/ChangeLog,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- ChangeLog	27 Oct 2010 08:43:02 -0000	1.40
+++ ChangeLog	27 Oct 2010 08:58:43 -0000	1.41
@@ -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.



1.1                  dev-db/couchdb/couchdb-1.0.1-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/couchdb/couchdb-1.0.1-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/couchdb/couchdb-1.0.1-r2.ebuild?rev=1.1&content-type=text/plain

Index: couchdb-1.0.1-r2.ebuild
===================================================================
# 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-r2.ebuild,v 1.1 2010/10/27 08:58:43 djc Exp $

EAPI="2"

inherit eutils

DESCRIPTION="Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database."
HOMEPAGE="http://couchdb.apache.org/"
SRC_URI="mirror://apache/couchdb/${PV}/apache-${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="test"

RDEPEND=">=dev-libs/icu-4.3.1
		dev-lang/erlang[ssl]
		>=dev-libs/openssl-0.9.8j
		>=net-misc/curl-7.18.2
		dev-lang/spidermonkey"

DEPEND="${RDEPEND}"

S="${WORKDIR}/apache-${P}"

pkg_setup() {
	enewgroup couchdb
	enewuser couchdb -1 -1 /var/lib/couchdb couchdb
}

src_configure() {
	econf \
		--with-erlang=/usr/lib/erlang/usr/include \
		--localstatedir=/var \
		--with-js-lib=/usr/lib
	# bug 296609, upstream bug #COUCHDB-621
	sed -e "s#localdocdir = /usr/share/doc/couchdb#localdocdir = /usr/share/doc/couchdb-0.10.1#" -i Makefile || die "sed failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "install failed"

	insinto /var/run/couchdb

	fowners couchdb:couchdb \
		/var/run/couchdb \
		/var/lib/couchdb \
		/var/log/couchdb

	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

	sed -i -e "s:LIBDIR:$(get_libdir):" "${D}/etc/conf.d/couchdb"
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-27  8:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-27  8:58 [gentoo-commits] gentoo-x86 commit in dev-db/couchdb: ChangeLog couchdb-1.0.1-r2.ebuild couchdb-1.0.1-r1.ebuild Dirkjan Ochtman (djc)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox