mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
system/pgadmin3: Updated for version 1.12.3.
Also changed maintainer information and did some general cleanup... Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
6d0288b85b
commit
8f1d474a55
4 changed files with 48 additions and 48 deletions
|
@ -1,18 +1,19 @@
|
||||||
pgAdmin is a feature rich Open Source administration and development
|
pgAdmin III is the most popular and feature rich Open Source
|
||||||
platform for PostgreSQL. The application may be used on variuos
|
administration and development platform for PostgreSQL, the most
|
||||||
platforms to manage PostgreSQL 7.3 and above, as well as commercial
|
advanced Open Source database in the world. The application may be used
|
||||||
and derived versions of PostgreSQL such as Postgres Plus Advanced
|
on Linux, FreeBSD Solaris, Mac OSX and Windows platforms to manage
|
||||||
Server and Greenplum database.
|
PostgreSQL 7.3 and above running on any platform, as well as commercial
|
||||||
|
versions of PostgreSQL such as Mammoth PostgreSQL, EnterpriseDB Postgres
|
||||||
|
Plus Advanced Server, Greenplum Database and Bizgres.
|
||||||
|
|
||||||
pgAdmin is designed to answer the needs of all users, from writing
|
pgAdmin III is designed to answer the needs of all users, from writing
|
||||||
simple SQL queries to developing complex databases. The graphical
|
simple SQL queries to developing complex databases. The graphical
|
||||||
interface supports all PostgreSQL features and makes administration
|
interface supports all PostgreSQL features and makes administration
|
||||||
easy. The application also includes a syntax highlighting SQL editor,
|
easy. The application also includes a syntax highlighting SQL editor, a
|
||||||
a server-side code editor, an SQL/batch/shell job scheduling agent,
|
server-side code editor, an SQL/batch/shell job scheduling agent,
|
||||||
support for the Slony-I replication engine and much more. Server
|
support for the Slony-I replication engine and much more. Server
|
||||||
connection may be made using TCP/IP or Unix Domain Sockets
|
connection may be made using TCP/IP or Unix Domain Sockets (on *nix
|
||||||
(on *nix platforms), and may be SSL encrypted for security.
|
platforms), and may be SSL encrypted for security. No additional drivers
|
||||||
No additional drivers are required to communicate with
|
are required to communicate with the database server.
|
||||||
the database server.
|
|
||||||
|
|
||||||
pgAdmin requires wxPython PostgreSQL (available at slackbuilds.org).
|
pgAdmin III requires wxPython and PostgreSQL.
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Slackware build script for pgAdmin
|
# Slackware build script for pgAdmin
|
||||||
# Written by Iskar Enev (<iskar.enev[@]gmail.com>)
|
# Written by Iskar Enev (<iskar.enev[@]gmail.com>)
|
||||||
|
# Modified by slakmagik <slakmagik@gmail.com>
|
||||||
|
|
||||||
PRGNAM=pgadmin3
|
PRGNAM=pgadmin3
|
||||||
VERSION=${VERSION:-1.10.1}
|
VERSION=${VERSION:-1.12.3}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i486 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
@ -22,8 +22,6 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
DOCUMENTATION="BUGS CHANGELOG DEVELOPERS INSTALL LICENSE README TODO"
|
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
|
@ -38,6 +36,8 @@ else
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
DOCUMENTATION="BUGS CHANGELOG DEVELOPERS INSTALL LICENSE README TODO"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
@ -48,10 +48,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
-exec chmod 755 {} \; -o \
|
-exec chmod 755 {} \; -o \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
|
||||||
-exec chmod 644 {} \;
|
-o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
@ -64,25 +64,24 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
( cd i18n
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF |
|
||||||
make install DESTDIR=$PKG
|
cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
)
|
|
||||||
|
|
||||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
# add the range of pgAdmin3 images - only one can be used in the desktop file
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
# but the default might not be the one people would want
|
||||||
|
mkdir -p $PKG/usr/share/pixmaps
|
||||||
mkdir -p $PKG/usr/share/pixmaps/pgadmin3
|
cp -a pgadmin/include/images/pgAdmin3* $PKG/usr/share/pixmaps
|
||||||
cp -a pgadmin/include/images/* $PKG/usr/share/pixmaps/pgadmin3
|
|
||||||
|
|
||||||
mkdir -p $PKG/usr/share/applications
|
mkdir -p $PKG/usr/share/applications
|
||||||
cp -a pkg/pgadmin3.desktop $PKG/usr/share/applications
|
sed '/^Icon=/s/pgadmin3/pixmaps/' \
|
||||||
sed -i 's%Icon=/usr/share/pgadmin3/pgadmin3.xpm%Icon=/usr/share/pixmaps/pgadmin3/pgAdmin3.xpm%' \
|
pkg/pgadmin3.desktop > $PKG/usr/share/applications/pgadmin3.desktop
|
||||||
$PKG/usr/share/applications/pgadmin3.desktop
|
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
# as with so many packages, --docdir is present but ignored
|
||||||
cp -a docs/* $DOCUMENTATION $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc
|
||||||
|
ln -s ../share/pgadmin3/docs $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cp -a $DOCUMENTATION $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="pgadmin3"
|
PRGNAM="pgadmin3"
|
||||||
VERSION="1.10.1"
|
VERSION="1.12.3"
|
||||||
HOMEPAGE="http://www.pgadmin.org/"
|
HOMEPAGE="http://www.pgadmin.org/"
|
||||||
DOWNLOAD="ftp://ftp.postgresql.org/pub/pgadmin3/release/v1.10.1/src/pgadmin3-1.10.1.tar.gz"
|
DOWNLOAD="ftp://ftp.postgresql.org/pub/pgadmin3/release/v1.12.3/src/pgadmin3-1.12.3.tar.gz"
|
||||||
MD5SUM="baeec7dfcff6ec1447f6097f11c443e0"
|
MD5SUM="0ff7a970a14757ee951a4e8b1a246a70"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="slakmagik"
|
MAINTAINER="slakmagik"
|
||||||
EMAIL="slakmagik@gmail.com"
|
EMAIL="slakmagik@gmail.com"
|
||||||
APPROVED="dsomero"
|
APPROVED="rworkman"
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
# up the first '|' above the ':' following the base package name, and the '|'
|
# up the first '|' above the ':' following the base package name, and the '|'
|
||||||
# on the right side marks the last column you can put a character in. You must
|
# on the right side marks the last column you can put a character in. You must
|
||||||
# make exactly 11 lines for the formatting to be correct. It's also
|
# make exactly 11 lines for the formatting to be correct. It's also
|
||||||
# customary to leave one space after the ':'.
|
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||||
|
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
pgadmin3: pgAdmin3 (manage PostgreSQL database)
|
pgadmin3: pgAdmin3 (PostgreSQL design and management interface)
|
||||||
pgadmin3:
|
|
||||||
pgadmin3: pgAdmin is a design and management interface for
|
|
||||||
pgadmin3: PostgreSQL database
|
|
||||||
pgadmin3:
|
pgadmin3:
|
||||||
|
pgadmin3: pgAdmin III is the most popular and feature rich Open Source
|
||||||
|
pgadmin3: administration and development platform for PostgreSQL, the most
|
||||||
|
pgadmin3: advanced Open Source database in the world.
|
||||||
pgadmin3:
|
pgadmin3:
|
||||||
pgadmin3:
|
pgadmin3:
|
||||||
pgadmin3:
|
pgadmin3:
|
||||||
|
|
Loading…
Reference in a new issue