summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2017-04-22 13:27:49 +0200
committerDirkjan Ochtman <djc@gentoo.org>2017-04-22 13:27:49 +0200
commit1ca1833defdcb0f60b6e7e1238889cbef00ffe1a (patch)
tree4655481f3640692f80ac24493ee12251636bf42c /dev-db/couchdb
parentapp-misc/livecd-tools: EAPI=6. (diff)
downloadgentoo-1ca1833defdcb0f60b6e7e1238889cbef00ffe1a.tar.gz
gentoo-1ca1833defdcb0f60b6e7e1238889cbef00ffe1a.tar.bz2
gentoo-1ca1833defdcb0f60b6e7e1238889cbef00ffe1a.zip
dev-db/couchdb: remove old versions
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-db/couchdb')
-rw-r--r--dev-db/couchdb/couchdb-1.6.1.ebuild74
1 files changed, 0 insertions, 74 deletions
diff --git a/dev-db/couchdb/couchdb-1.6.1.ebuild b/dev-db/couchdb/couchdb-1.6.1.ebuild
deleted file mode 100644
index f5b2bb120d94..000000000000
--- a/dev-db/couchdb/couchdb-1.6.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib pax-utils user
-
-DESCRIPTION="Distributed, fault-tolerant and schema-free document-oriented database"
-HOMEPAGE="http://couchdb.apache.org/"
-SRC_URI="mirror://apache/couchdb/source/${PV}/apache-${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="selinux test"
-
-RDEPEND=">=dev-libs/icu-4.3.1:=
- <dev-lang/erlang-18.0[ssl]
- >=dev-libs/openssl-0.9.8j:0
- >=net-misc/curl-7.18.2
- <dev-lang/spidermonkey-1.8.7
- selinux? ( sec-policy/selinux-couchdb )"
-
-DEPEND="${RDEPEND}"
-RESTRICT=test
-
-S="${WORKDIR}/apache-${P}"
-
-pkg_setup() {
- enewgroup couchdb
- enewuser couchdb -1 -1 /var/lib/couchdb couchdb
-}
-
-src_prepare() {
- sed -i ./src/couchdb/priv/Makefile.* -e 's|-Werror||g'
-}
-
-src_configure() {
- econf \
- --with-erlang="${EPREFIX}"/usr/$(get_libdir)/erlang/usr/include \
- --localstatedir="${EPREFIX}"/var \
- --with-js-lib="${EPREFIX}"/usr/$(get_libdir)
- # bug 296609, upstream bug #COUCHDB-621
- sed -e "s#localdocdir = /usr/share/doc/couchdb#localdocdir = "${EPREFIX}"/usr/share/doc/${PF}#" -i Makefile || die "sed failed"
-}
-
-src_compile() {
- emake
- # bug 442616
- pax-mark mr src/couchdb/priv/couchjs
-}
-
-src_test() {
- emake distcheck
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- fowners couchdb:couchdb \
- /var/lib/couchdb \
- /var/log/couchdb
-
- for f in "${ED}"/etc/couchdb/*.ini ; do
- fowners root:couchdb "${f#${ED}}"
- fperms 660 "${f#${ED}}"
- done
- fperms 664 /etc/couchdb/default.ini
-
- newinitd "${FILESDIR}/couchdb.init-4" couchdb
- newconfd "${FILESDIR}/couchdb.conf-2" couchdb
-
- sed -i -e "s:LIBDIR:$(get_libdir):" "${ED}/etc/conf.d/couchdb"
-}