Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-db/couchdb/, dev-db/couchdb/files/
Date: Tue, 11 Dec 2018 13:25:06
Message-Id: 1544534693.b5319fbfd42c7e3be1d5f2223a13a1a160459dee.mgorny@gentoo
1 commit: b5319fbfd42c7e3be1d5f2223a13a1a160459dee
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 11 13:23:30 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 11 13:24:53 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5319fbf
7
8 dev-db/couchdb: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/594624
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-db/couchdb/Manifest | 1 -
14 dev-db/couchdb/couchdb-1.7.2.ebuild | 77 -------------------------------------
15 dev-db/couchdb/files/couchdb.conf-2 | 9 -----
16 dev-db/couchdb/files/couchdb.init-4 | 17 --------
17 dev-db/couchdb/metadata.xml | 5 ---
18 profiles/package.mask | 4 --
19 6 files changed, 113 deletions(-)
20
21 diff --git a/dev-db/couchdb/Manifest b/dev-db/couchdb/Manifest
22 deleted file mode 100644
23 index 995550493f1..00000000000
24 --- a/dev-db/couchdb/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST apache-couchdb-1.7.2.tar.gz 10009424 BLAKE2B 3d3b4922fe5b2c55e4851e48993442ba23369753fb17d5cafba936947624af0d3dac70e0a23d0c22c79e7e2776a3a441d5b1020a4a420b7d9a621fb59aad48d9 SHA512 507a35a7f1e826b1562eec86146cc6fcff3c65fa7762f9742e6e8fdacfca735473105772757624183778f7a532c742f6644b301677607bb81c1f3f0ceb742867
28
29 diff --git a/dev-db/couchdb/couchdb-1.7.2.ebuild b/dev-db/couchdb/couchdb-1.7.2.ebuild
30 deleted file mode 100644
31 index 85ea96ed35b..00000000000
32 --- a/dev-db/couchdb/couchdb-1.7.2.ebuild
33 +++ /dev/null
34 @@ -1,77 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=5
39 -
40 -inherit autotools eutils multilib pax-utils user
41 -
42 -DESCRIPTION="Distributed, fault-tolerant and schema-free document-oriented database"
43 -HOMEPAGE="https://couchdb.apache.org/"
44 -SRC_URI="mirror://apache/couchdb/source/${PV}/apache-${P}.tar.gz"
45 -
46 -LICENSE="Apache-2.0"
47 -SLOT="0"
48 -KEYWORDS="amd64 ppc x86"
49 -IUSE="libressl selinux test"
50 -
51 -RDEPEND=">=dev-libs/icu-4.3.1:=
52 - <dev-lang/erlang-21.0[ssl]
53 - !libressl? ( >=dev-libs/openssl-0.9.8j:0 )
54 - libressl? ( dev-libs/libressl )
55 - >=net-misc/curl-7.18.2
56 - <dev-lang/spidermonkey-1.8.7
57 - selinux? ( sec-policy/selinux-couchdb )"
58 -
59 -DEPEND="${RDEPEND}
60 - sys-devel/autoconf-archive"
61 -RESTRICT=test
62 -
63 -S="${WORKDIR}/apache-${P}"
64 -
65 -pkg_setup() {
66 - enewgroup couchdb
67 - enewuser couchdb -1 -1 /var/lib/couchdb couchdb
68 -}
69 -
70 -src_prepare() {
71 - sed -i ./src/couchdb/priv/Makefile.* -e 's|-Werror||g'
72 - eautoreconf
73 -}
74 -
75 -src_configure() {
76 - econf \
77 - --with-erlang="${EPREFIX}"/usr/$(get_libdir)/erlang/usr/include \
78 - --localstatedir="${EPREFIX}"/var \
79 - --with-js-lib="${EPREFIX}"/usr/$(get_libdir)
80 - # bug 296609, upstream bug #COUCHDB-621
81 - sed -e "s#localdocdir = /usr/share/doc/couchdb#localdocdir = "${EPREFIX}"/usr/share/doc/${PF}#" -i Makefile || die "sed failed"
82 -}
83 -
84 -src_compile() {
85 - emake
86 - # bug 442616
87 - pax-mark mr src/couchdb/priv/couchjs
88 -}
89 -
90 -src_test() {
91 - emake distcheck
92 -}
93 -
94 -src_install() {
95 - emake DESTDIR="${D}" install
96 -
97 - fowners couchdb:couchdb \
98 - /var/lib/couchdb \
99 - /var/log/couchdb
100 -
101 - for f in "${ED}"/etc/couchdb/*.ini ; do
102 - fowners root:couchdb "${f#${ED}}"
103 - fperms 660 "${f#${ED}}"
104 - done
105 - fperms 664 /etc/couchdb/default.ini
106 -
107 - newinitd "${FILESDIR}/couchdb.init-4" couchdb
108 - newconfd "${FILESDIR}/couchdb.conf-2" couchdb
109 -
110 - sed -i -e "s:LIBDIR:$(get_libdir):" "${ED}/etc/conf.d/couchdb"
111 -}
112
113 diff --git a/dev-db/couchdb/files/couchdb.conf-2 b/dev-db/couchdb/files/couchdb.conf-2
114 deleted file mode 100644
115 index 94d50b35f33..00000000000
116 --- a/dev-db/couchdb/files/couchdb.conf-2
117 +++ /dev/null
118 @@ -1,9 +0,0 @@
119 -# Options for CouchDB
120 -
121 -EXEC="/usr/bin/couchdb"
122 -COUCHDB_USER="couchdb:couchdb"
123 -COUCHDB_PID_FILE="/var/run/couchdb/couchdb.pid"
124 -COUCHDB_STDOUT_FILE="/dev/null"
125 -COUCHDB_STDERR_FILE="/dev/null"
126 -#COUCHDB_RESPAWN_TIMEOUT=
127 -#COUCHDB_OPTIONS=
128
129 diff --git a/dev-db/couchdb/files/couchdb.init-4 b/dev-db/couchdb/files/couchdb.init-4
130 deleted file mode 100644
131 index aab1757d3cf..00000000000
132 --- a/dev-db/couchdb/files/couchdb.init-4
133 +++ /dev/null
134 @@ -1,17 +0,0 @@
135 -#!/sbin/openrc-run
136 -# Copyright 1999-2013 Dirkjan Ochtman
137 -# Distributed under the terms of the Apache License, Version 2.0
138 -
139 -pidfile=${COUCHDB_PID_FILE}
140 -command=${EXEC:-/usr/bin/couchdb}
141 -command_args="-b -o ${COUCHDB_STDOUT_FILE} -e ${COUCHDB_STDERR_FILE} -p ${pidfile} ${COUCHDB_OPTIONS}"
142 -
143 -start_stop_daemon_args="--user ${COUCHDB_USER}"
144 -
145 -depend() {
146 - need net
147 -}
148 -
149 -start_pre() {
150 - checkpath -q -d -m 0755 -o ${COUCHDB_USER} /var/run/couchdb
151 -}
152
153 diff --git a/dev-db/couchdb/metadata.xml b/dev-db/couchdb/metadata.xml
154 deleted file mode 100644
155 index cc08d6296c9..00000000000
156 --- a/dev-db/couchdb/metadata.xml
157 +++ /dev/null
158 @@ -1,5 +0,0 @@
159 -<?xml version="1.0" encoding="UTF-8"?>
160 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
161 -<pkgmetadata>
162 - <!-- maintainer needed -->
163 -</pkgmetadata>
164
165 diff --git a/profiles/package.mask b/profiles/package.mask
166 index 64dca6f1b7c..31d1b31cbed 100644
167 --- a/profiles/package.mask
168 +++ b/profiles/package.mask
169 @@ -255,10 +255,6 @@ sys-block/rts_pstor
170 # Fails to run (#662180). Removal in a month.
171 app-text/chm2pdf
172
173 -# Pacho Ramos <pacho@g.o> (11 Nov 2018)
174 -# Unmaintained, security issues (#630796, #663164). Removal in a month.
175 -dev-db/couchdb
176 -
177 # Mike Gilbert <floppym@g.o> (10 Nov 2018)
178 # Open bugs and no Gentoo maintainer.
179 # Removal in 30 days.