New package: couchdb-1.6.1
This commit is contained in:
parent
00948f7b81
commit
7058696b6d
|
@ -0,0 +1,6 @@
|
||||||
|
case "$ACTION" in
|
||||||
|
post)
|
||||||
|
chown -R couchdb var/lib/couchdb/* var/log/couchdb/*
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/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 -b -o /dev/null -e /dev/null
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
# Template file for 'couchdb'
|
||||||
|
pkgname=couchdb
|
||||||
|
version=1.6.1
|
||||||
|
revision=1
|
||||||
|
wrksrc="apache-couchdb-$version"
|
||||||
|
build_style=gnu-configure
|
||||||
|
conf_files="/etc/couchdb/default.ini /etc/couchdb/local.ini"
|
||||||
|
couchdb_homedir="/var/lib/couchdb"
|
||||||
|
hostmakedepends="erlang"
|
||||||
|
makedepends="libressl-devel>=2.1.4 icu-devel js-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="http://www.apache.org/dist/couchdb/source/${version%.*}/apache-couchdb-${version}.tar.gz"
|
||||||
|
checksum=5a601b173733ce3ed31b654805c793aa907131cd70b06d03825f169aa48c8627
|
||||||
|
system_accounts="couchdb"
|
||||||
|
make_dirs="
|
||||||
|
/var/lib/couchdb 0700 couchdb couchdb
|
||||||
|
/var/log/couchdb 0750 couchdb couchdb"
|
||||||
|
|
||||||
|
pre_configure(){
|
||||||
|
sed -i 's|-Werror||g' src/couchdb/priv/Makefile.*
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vsv couchdb
|
||||||
|
}
|
Loading…
Reference in New Issue