summaryrefslogtreecommitdiffstats
path: root/network/pgpool-II
diff options
context:
space:
mode:
Diffstat (limited to 'network/pgpool-II')
-rw-r--r--network/pgpool-II/README4
-rw-r--r--network/pgpool-II/pgpool-II.SlackBuild22
-rw-r--r--network/pgpool-II/pgpool-II.info8
-rw-r--r--network/pgpool-II/slack-desc2
4 files changed, 24 insertions, 12 deletions
diff --git a/network/pgpool-II/README b/network/pgpool-II/README
index 53f8fba675..024cc74dae 100644
--- a/network/pgpool-II/README
+++ b/network/pgpool-II/README
@@ -8,5 +8,5 @@ PostgreSQL database client. It has support for:
Docs are available at: http://www.pgpool.net/docs/latest/en/html/
-Note that this SlackBuild comes without a default configuration. Sample config
-files will be dropped in /etc/pgpool.conf.sample-*
+Note that this SlackBuild comes without a default configuration.
+Sample config files will be installed to "/etc/pgpool.conf.sample-*".
diff --git a/network/pgpool-II/pgpool-II.SlackBuild b/network/pgpool-II/pgpool-II.SlackBuild
index 18762c7c43..c7ce12e620 100644
--- a/network/pgpool-II/pgpool-II.SlackBuild
+++ b/network/pgpool-II/pgpool-II.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pgpool-II
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pgpool-II
-VERSION=${VERSION:-3.7.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.7.21}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -93,9 +103,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO doc/ src/sql/ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pgpool-II/pgpool-II.info b/network/pgpool-II/pgpool-II.info
index dac27fce06..8287b03899 100644
--- a/network/pgpool-II/pgpool-II.info
+++ b/network/pgpool-II/pgpool-II.info
@@ -1,8 +1,8 @@
PRGNAM="pgpool-II"
-VERSION="3.7.3"
-HOMEPAGE="http://www.pgpool.net"
-DOWNLOAD="http://www.pgpool.net/download.php?f=pgpool-II-3.7.3.tar.gz"
-MD5SUM="622aca1698b29f735042da52a374afed"
+VERSION="3.7.21"
+HOMEPAGE="https://www.pgpool.net/mediawiki/index.php/Main_Page"
+DOWNLOAD="https://www.pgpool.net/mediawiki/download.php?f=pgpool-II-3.7.21.tar.gz"
+MD5SUM="2326727471f6fd390a7a1d7ec92e4c04"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="postgresql"
diff --git a/network/pgpool-II/slack-desc b/network/pgpool-II/slack-desc
index de51400650..195ba5d4e4 100644
--- a/network/pgpool-II/slack-desc
+++ b/network/pgpool-II/slack-desc
@@ -15,5 +15,5 @@ pgpool-II: Load Balance, Limiting Exceeding Connections and Parallel Query.
pgpool-II:
pgpool-II:
pgpool-II:
-pgpool-II: http://www.pgpool.net
+pgpool-II: https://www.pgpool.net/mediawiki/index.php/Main_Page
pgpool-II: