couchdb: remove package.

This commit is contained in:
Érico Rolim 2021-01-24 18:46:42 -03:00 committed by Érico Nogueira Rolim
parent 42c9b73051
commit 9b13419069
5 changed files with 1 additions and 53 deletions

View file

@ -1,6 +0,0 @@
case "$ACTION" in
post)
chown -R couchdb /var/lib/couchdb/ /var/log/couchdb/
;;
esac

View file

@ -1,6 +0,0 @@
#!/bin/sh
export HOME=/var/lib/couchdb
mkdir -p /var/run/couchdb
chown couchdb /var/run/couchdb
exec chpst -u couchdb:couchdb couchdb -r 5 -o /dev/null -e /dev/null

View file

@ -1,40 +0,0 @@
# Template file for 'couchdb'
pkgname=couchdb
version=1.7.1
revision=2
wrksrc="apache-couchdb-${version}"
build_style=gnu-configure
conf_files="/etc/couchdb/default.ini /etc/couchdb/local.ini"
hostmakedepends="erlang pkg-config"
makedepends="libressl-devel icu-devel js-devel libcurl-devel"
depends="erlang"
short_desc="A document-oriented database"
maintainer="Gerardo Di Iorio <arete74@gmail.com>"
license="Apache-2.0"
homepage="http://couchdb.apache.org/"
distfiles="https://dist.apache.org/repos/dist/release/couchdb/source/${version}/apache-couchdb-${version}.tar.gz"
checksum=91200aa6fbc6fa5e2f3d78ef40e39d8c1ec7c83ea1c2cd730d270658735b2cad
broken="unsupported version upstream, broken distfiles"
system_accounts="couchdb"
couchdb_homedir="/var/lib/couchdb"
make_dirs="
/var/lib/couchdb 0700 couchdb couchdb
/var/log/couchdb 0750 couchdb couchdb"
if [ "$CROSS_BUILD" ]; then
makedepends+=" erlang"
configure_args="--with-erlang=${XBPS_CROSS_BASE}/usr/lib/erlang/usr/include"
fi
pre_configure() {
sed -i 's|-Werror|-pie -fPIE|g' src/couchdb/priv/Makefile.*
if [ "$CROSS_BUILD" ]; then
sed -i '/FLAGS.*\(usr\|opt\)/s/.*/:/' configure
fi
}
post_install() {
vsv couchdb
}

View file

@ -1 +0,0 @@
pkgname=apache-$pkgname

View file

@ -16,6 +16,7 @@ replaces="
bokken<=1.8_3
caja-gksu<=1.20.2_2
california<=0.4.0_4
couchdb<=1.7.1_2
ctpp2<=2.8.3_7
ctpp2-devel<=2.8.3_7
djmount<=0.71_8