mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
development/couchdb: Updated for version 0.11.0.
This commit is contained in:
parent
07997e1b7c
commit
bcffb60063
2 changed files with 10 additions and 10 deletions
|
@ -6,7 +6,7 @@
|
|||
# Heavily modified by Robby Workman <rworkman@slackbuilds.org>
|
||||
|
||||
PRGNAM=couchdb
|
||||
VERSION=0.10.1
|
||||
VERSION=0.11.0
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -16,12 +16,12 @@ PKGSRC=apache-couchdb
|
|||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
## couchdb user & group *MUST* exist before package creation
|
||||
# See http://slackbuilds.org/uid_gid.txt for current recomendations.
|
||||
bailout() {
|
||||
printf " The couchdb user and group do not exist.
|
||||
printf " The couchdb user and group do not exist.
|
||||
You should create it/them with the following:
|
||||
groupadd -g 231 couchdb
|
||||
useradd -u 231 -g couchdb -d /var/lib/couchdb -s /bin/sh couchdb\n"
|
||||
|
@ -44,11 +44,11 @@ elif [ "$ARCH" = "i686" ]; then
|
|||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
rm -rf $TMP/$PKGSRC-$VERSION
|
||||
cd $TMP
|
||||
|
@ -101,7 +101,7 @@ mv $PKG/etc/logrotate.d/couchdb $PKG/etc/logrotate.d/couchdb.new
|
|||
( cd $PKG/usr/man || exit 1
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="couchdb"
|
||||
VERSION="0.10.1"
|
||||
VERSION="0.11.0"
|
||||
HOMEPAGE="http://couchdb.apache.org/"
|
||||
DOWNLOAD="http://www.ecoficial.com/apachemirror/couchdb/0.10.1/apache-couchdb-0.10.1.tar.gz"
|
||||
MD5SUM="a34dae8bf402299e378d7e8c13b7ba46"
|
||||
DOWNLOAD="http://apache.crihan.fr/dist/couchdb/0.11.0/apache-couchdb-0.11.0.tar.gz"
|
||||
MD5SUM="c1784e3850da01dc37dad20c5b1a85f8"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Nicolas Steinmetz"
|
||||
EMAIL="nsteinmetz@gmail.com"
|
||||
APPROVED="rworkman"
|
||||
APPROVED="Erik Hanson"
|
||||
|
|
Loading…
Reference in a new issue