postgresql: add pg_isready.
This commit is contained in:
parent
f8c99d9f2b
commit
a7adff4737
1 changed files with 7 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'postgresql'
|
# Template file for 'postgresql'
|
||||||
pkgname=postgresql
|
pkgname=postgresql
|
||||||
version=9.3.5
|
version=9.3.5
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
make_build_target="world"
|
make_build_target="world"
|
||||||
configure_args="--with-openssl --with-python
|
configure_args="--with-openssl --with-python
|
||||||
|
@ -72,11 +72,11 @@ postgresql-libs_package() {
|
||||||
short_desc="PostgreSQL shared libraries"
|
short_desc="PostgreSQL shared libraries"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/*.so*"
|
vmove "usr/lib/*.so*"
|
||||||
for d in $(find ${DESTDIR}/usr/share/locale \
|
for d in $(find ${DESTDIR}/usr/share/locale \
|
||||||
-type f -name libpq5\*); do
|
-type f -name libpq5\*); do
|
||||||
mkdir -p ${PKGDESTDIR}/$(dirname ${d#${DESTDIR}})
|
mkdir -p ${PKGDESTDIR}/$(dirname ${d#${DESTDIR}})
|
||||||
mv ${d} ${PKGDESTDIR}/$(dirname ${d#${DESTDIR}})
|
mv ${d} ${PKGDESTDIR}/$(dirname ${d#${DESTDIR}})
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ postgresql-client_package() {
|
||||||
short_desc="Client frontends programs for PostgreSQL"
|
short_desc="Client frontends programs for PostgreSQL"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
for f in clusterdb createdb createlang createuser dropdb droplang \
|
for f in clusterdb createdb createlang createuser dropdb droplang \
|
||||||
dropuser pg_dump pg_dumpall pg_restore psql reindexdb \
|
dropuser pg_dump pg_dumpall pg_isready pg_restore psql reindexdb \
|
||||||
vacuumdb; do
|
vacuumdb; do
|
||||||
vmove usr/bin/${f}
|
vmove usr/bin/${f}
|
||||||
vmove usr/share/man/man1/$(basename ${f}).1
|
vmove usr/share/man/man1/$(basename ${f}).1
|
||||||
|
|
Loading…
Reference in a new issue