diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-01-24 15:10:18 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-01-24 15:13:41 +0000 |
commit | 0cecb8a7d67eafb0bea2ab9bdee9e15da802b68b (patch) | |
tree | e8d746fb153b9ae65302c4d3611248921467d758 | |
parent | 18bf9a53e9bb520df8e4d57ff6d538554b933422 (diff) | |
download | aports-0cecb8a7d67eafb0bea2ab9bdee9e15da802b68b.tar.bz2 aports-0cecb8a7d67eafb0bea2ab9bdee9e15da802b68b.tar.xz |
testing/apache-couchdb: fix post-install, allow cross platform builds
-rw-r--r-- | testing/couchdb/APKBUILD | 5 | ||||
-rwxr-xr-x | testing/couchdb/apache-couchdb.post-install | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/testing/couchdb/APKBUILD b/testing/couchdb/APKBUILD index 44944e75b2..998de527ad 100644 --- a/testing/couchdb/APKBUILD +++ b/testing/couchdb/APKBUILD @@ -29,7 +29,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/testing/couchdb/apache-couchdb.post-install b/testing/couchdb/apache-couchdb.post-install index 0f6c62a3b0..5cc944e70b 100755 --- a/testing/couchdb/apache-couchdb.post-install +++ b/testing/couchdb/apache-couchdb.post-install @@ -1,3 +1,4 @@ #!/bin/sh -addgroup -S couchdb -adduser -h /var/run/couchdb -s /bin/false -G couchdb -S -D couchdb +addgroup -S couchdb &>/dev/null +adduser -h /var/run/couchdb -s /bin/false -G couchdb -S -D couchdb &>/dev/null +exit 0 |