diff options
Diffstat (limited to 'dev-db/couchdb')
-rw-r--r-- | dev-db/couchdb/Manifest | 7 | ||||
-rw-r--r-- | dev-db/couchdb/couchdb-2.1.0.ebuild | 96 | ||||
-rw-r--r-- | dev-db/couchdb/files/10_gentoo.ini | 7 | ||||
-rw-r--r-- | dev-db/couchdb/files/couchdb.conf-2.1.0 | 8 | ||||
-rw-r--r-- | dev-db/couchdb/files/couchdb.init-2.1.0 | 20 | ||||
-rw-r--r-- | dev-db/couchdb/files/couchdb.logrotate | 10 | ||||
-rw-r--r-- | dev-db/couchdb/metadata.xml | 7 |
7 files changed, 0 insertions, 155 deletions
diff --git a/dev-db/couchdb/Manifest b/dev-db/couchdb/Manifest deleted file mode 100644 index be74b81..0000000 --- a/dev-db/couchdb/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX 10_gentoo.ini 131 SHA256 ee6f0151c2cba3bb7ae473c184e50e8160edcc6984a30d77959fb48112919414 SHA512 a6e331a7a9af8e8218364f92fe297f1877e7b976395c1f164af07b5e1dfe122aa9e329e57122ad4389a5eda287ec45f234c6361e017c48752896d3d89d7dc99c WHIRLPOOL a14cffa8e2f0dfb2b7164df09ba5ad8d019e8ca2eeb1b900d1659eb8d710148bed12fba34e5d75014b972fef7f7d4cfb3c09575fb87387d4c2544fd83e41ad82 -AUX couchdb.conf-2.1.0 208 SHA256 3d9b56a025cd0fe4599465e0a611a37b836f1ecf0cd767a19fcb7907d9f6956a SHA512 e665fb29ee3f8bf2966dd407a0f918a9e61a46a5ef0e5e14150d829f517653ab7693287278f3e621439d1b8baf80428f785b3270d470702a3bb2986fa3044771 WHIRLPOOL d6e8fc0e50904feab6c1d96ff4edb9d3f1fa2d8203502c92ae24b7bc76b1821d52cec013c6d112df8870f1a498816934b39e0b7630bcb1ade53a8f9e9996be84 -AUX couchdb.init-2.1.0 484 SHA256 81e325c9bdd060f7a2ecb780ed7d023fd6d8511972e2c6540cf00c49b7a870ba SHA512 2d98f7aa0f718c3e7bae523d3a97c2bb61c5064a82b78e779bb562abad60fcd1f277bb160754a8af6b5dce7d6a8b0390bfcd880b97da874b6a7a63874a22e4b2 WHIRLPOOL 679a52a5af08509ede6f33611c554fd68ba0d8f970940e7c55f6a92e5c57d2f43d0a80969f9920047a66ae4abf77e817899c8117a8f7a6a9279eb3c03987aba5 -AUX couchdb.logrotate 117 SHA256 86503e63541288bcc99408d80dd888bc2a5ee33e7de3802f5a5ffb8df7789aba SHA512 3b251a17f160d7cf3ad2d1b4c0ea120c2080b661cdc1044b5246d5e24f8c2fe53311f20c107ee4bbe58d3e4fb05f32b6adc00ec77d47f024fd629ab1b21d5703 WHIRLPOOL 516468522b088a3a1785723e391c99025d59021c6c8344b254576971fbabe3ef0689940726da28a541893040ec9b3f55746b339d1ce24a423bd73d79d8f9f8c5 -DIST apache-couchdb-2.1.0.tar.gz 12276350 SHA256 eb1fbf746cd4bce2322389983e4d174c78e1520435578bff1507bb51c96a8825 SHA512 8c5f9fea852ae59bf5d6d23b1eaa68df5554660e4cfe918e9465772e964e2e5e24a7db1ee803adf7af16549b8c6445127ce4a7a65b7ee85510661ae1582ca8da WHIRLPOOL 7ee6dcbfdeda1d4926b24c1d093a7b9e9988e683ec49725446196b71c083c7df24b6f48b21ce8d5b1d02d4e772c0df3541d90f850d5f89acb7d780d66cd18169 -EBUILD couchdb-2.1.0.ebuild 2174 SHA256 146df2db6bb39fe2094578d74ba48744e1901153cb238849dc16bff1e979f07d SHA512 af88d1e6a3bfc0dc16d873b0121b6b9c5abeabd4af7c9bcaf50060a7e0d300a0d534b88634f4b87626ab1fbf970a53ef17c3b3e33d0ac26850637769295d9526 WHIRLPOOL 6ca0e2f7b336ad20019700b480ac1c59268c1b4c2567f6dd41fcc6a6e1d8983ec887f548f233dd110ea0bad88414d5fefeaa9e6ab3bfaeffc655d917dc1aadb0 -MISC metadata.xml 212 SHA256 061538b4837ab7b95b652299476a75942b769652dbd569225713fdf1166b1d37 SHA512 e4f4b6dbbf6bf039ff5c19bb6a209ad4e0b1286f8cf7cc0cbafcc04fcf93fb92766c8cae06ff19f980a069c7fe9a1686437ab215f84ce10e301275ae107d00bd WHIRLPOOL bb35c86572b2ad56bf93b52f6eca6bea0f5591c1a9ebd608833dea63c89d4bd36cd402a8ffc2d5fdc1d7e1d5466782d1e37dfcac14fae0bbb181029799728fa5 diff --git a/dev-db/couchdb/couchdb-2.1.0.ebuild b/dev-db/couchdb/couchdb-2.1.0.ebuild deleted file mode 100644 index a872124..0000000 --- a/dev-db/couchdb/couchdb-2.1.0.ebuild +++ /dev/null @@ -1,96 +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="https://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="libressl selinux test" - -RDEPEND=">=dev-libs/icu-4.3.1:= - <dev-lang/erlang-19[ssl] - ~dev-lang/spidermonkey-1.8.5 - !libressl? ( dev-libs/openssl:0 ) - libressl? ( dev-libs/libressl ) - net-misc/curl - selinux? ( sec-policy/selinux-couchdb ) - sys-process/psmisc -" - -DEPEND="${RDEPEND} - >=dev-util/rebar-2.6.0 - <dev-util/rebar-3.0.0 - sys-devel/autoconf-archive -" - -RESTRICT=test - -S="${WORKDIR}/apache-${P}" - -pkg_setup() { - enewgroup couchdb - enewuser couchdb -1 -1 /var/lib/couchdb couchdb -} - -src_configure() { - econf \ - --with-erlang="${EPREFIX}"/usr/$(get_libdir)/erlang/usr/include \ - --with-curl \ - --user=couchdb -} - -src_compile() { - emake release -} - -src_test() { - emake distcheck -} - -src_install() { - mkdir -p "${D}"/{etc,opt} - mv "${S}/rel/couchdb/etc" "${D}/etc/couchdb" - mv "${S}/rel/couchdb" "${D}/opt/" - dosym ../../etc/couchdb /opt/couchdb/etc - - keepdir /var/l{ib,og}/couchdb - - fowners couchdb:couchdb \ - /var/lib/couchdb \ - /var/log/couchdb - - for f in "${ED}"/etc/couchdb/*.d; do - fowners root:couchdb "${f#${ED}}" - fperms 0750 "${f#${ED}}" - done - for f in "${ED}"/etc/couchdb/*.ini; do - fowners root:couchdb "${f#${ED}}" - fperms 0440 "${f#${ED}}" - done - # couchdb needs to write to local.ini on first start - fowners couchdb:couchdb "/opt/couchdb/etc/local.ini" - fperms 0640 "/opt/couchdb/etc/local.ini" - - insinto /etc/couchdb/default.d - insopts -m0640 -oroot -gcouchdb - doins "${FILESDIR}/10_gentoo.ini" - - insinto /etc/logrotate.d/ - newins "${FILESDIR}/${PN}.logrotate" "${PN}" - - newinitd "${FILESDIR}/${PN}.init-2.1.0" "${PN}" - newconfd "${FILESDIR}/${PN}.conf-2.1.0" "${PN}" - - rm "${ED}/opt/couchdb/bin/couchdb.cmd" - - # bug 442616 - pax-mark mr "${D}/opt/couchdb/bin/couchjs" - pax-mark mr "${D}/opt/couchdb/lib/couch-${PV}/priv/couchjs" -} diff --git a/dev-db/couchdb/files/10_gentoo.ini b/dev-db/couchdb/files/10_gentoo.ini deleted file mode 100644 index efcf6a6..0000000 --- a/dev-db/couchdb/files/10_gentoo.ini +++ /dev/null @@ -1,7 +0,0 @@ -[couchdb] -database_dir = /var/lib/couchdb -view_index_dir = /var/lib/couchdb - -[log] -writer = file -file = /var/log/couchdb/couch.log diff --git a/dev-db/couchdb/files/couchdb.conf-2.1.0 b/dev-db/couchdb/files/couchdb.conf-2.1.0 deleted file mode 100644 index d517470..0000000 --- a/dev-db/couchdb/files/couchdb.conf-2.1.0 +++ /dev/null @@ -1,8 +0,0 @@ -# Options for CouchDB - -COUCHDB_USER="couchdb:couchdb" -COUCHDB_PID_FILE="/run/couchdb/couchdb.pid" -COUCHDB_STDOUT_FILE="/dev/null" -COUCHDB_STDERR_FILE="/dev/null" -#COUCHDB_RESPAWN_TIMEOUT= -#COUCHDB_OPTIONS="" diff --git a/dev-db/couchdb/files/couchdb.init-2.1.0 b/dev-db/couchdb/files/couchdb.init-2.1.0 deleted file mode 100644 index 8b45c0c..0000000 --- a/dev-db/couchdb/files/couchdb.init-2.1.0 +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -pidfile=${COUCHDB_PID_FILE} -command=${EXEC:-/opt/couchdb/bin/couchdb} -command_args="-o /dev/null -e /dev/null ${COUCHDB_OPTIONS}" -start_stop_daemon_args="--background --make-pidfile --user ${COUCHDB_USER}" - -depend() { - need net -} - -start_pre() { - checkpath -q -d -m 0755 -o ${COUCHDB_USER} /run/couchdb -} - -stop_post() { - killall -u ${COUCHDB_USER%:*} epmd -} diff --git a/dev-db/couchdb/files/couchdb.logrotate b/dev-db/couchdb/files/couchdb.logrotate deleted file mode 100644 index bb92fcd..0000000 --- a/dev-db/couchdb/files/couchdb.logrotate +++ /dev/null @@ -1,10 +0,0 @@ -/var/log/couchdb/*.log { - daily - rotate 30 - dateext - delaycompress - compress - notifempty - sharedscripts - missingok -} diff --git a/dev-db/couchdb/metadata.xml b/dev-db/couchdb/metadata.xml deleted file mode 100644 index 37f6a30..0000000 --- a/dev-db/couchdb/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>djc@gentoo.org</email> -</maintainer> -</pkgmetadata> |