aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/postgresql-old9.0
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-12-01 17:26:53 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-12-01 17:26:53 +0100
commit3ce3c4fd596debefbad77328a9b62a39eccf753c (patch)
tree8ea8842d946335dbd124e71336a11b928481c544 /unmaintained/postgresql-old9.0
parent62b8ba5f8fe6d62d56b2d078b4f12f72830ee4af (diff)
downloadaports-3ce3c4fd596debefbad77328a9b62a39eccf753c.tar.bz2
aports-3ce3c4fd596debefbad77328a9b62a39eccf753c.tar.xz
unmaintained/*: purge aports not touched since v3.5.0
We agreed with ncopa on #alpine-devel (2017-12-01 16:20 UTC) to periodically purge aports in unmaintained that haven't been touched in last 1 year (2 releases).
Diffstat (limited to 'unmaintained/postgresql-old9.0')
-rw-r--r--unmaintained/postgresql-old9.0/APKBUILD71
1 files changed, 0 insertions, 71 deletions
diff --git a/unmaintained/postgresql-old9.0/APKBUILD b/unmaintained/postgresql-old9.0/APKBUILD
deleted file mode 100644
index ce3f91c793..0000000000
--- a/unmaintained/postgresql-old9.0/APKBUILD
+++ /dev/null
@@ -1,71 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgver=9.0.9
-_engine_ver=${pkgver%.*}
-pkgname=postgresql-old${_engine_ver}
-pkgrel=0
-pkgdesc="Old PostgreSQL engine to be used with postgresql-upgrade"
-url="http://www.postgresql.org/"
-arch="all"
-license="BSD"
-install=""
-depends_dev="readline-dev openssl-dev zlib-dev libxml2-dev"
-makedepends="$depends_dev"
-subpackages=""
-source="ftp://ftp.postgresql.org/pub/source/v$pkgver/postgresql-$pkgver.tar.bz2
- "
-
-_builddir="$srcdir"/postgresql-$pkgver
-build() {
- cd "$_builddir"
- ./configure --prefix=/usr/lib/postgresql-${_engine_ver} \
- --mandir=/usr/share/man \
- --with-openssl \
- --disable-rpath \
- --disable-shared \
- || return 1
-
- make all || return 1
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
-
- # remo stuff not needed for upgrade
- cd "$pkgdir"/usr/lib/postgresql-${_engine_ver}
- rm bin/clusterdb
- rm bin/createdb
- rm bin/createlang
- rm bin/createuser
- rm bin/dropdb
- rm bin/droplang
- rm bin/dropuser
- rm bin/ecpg
- rm bin/initdb
- rm bin/pg_basebackup
- rm bin/pg_config
- rm bin/pg_controldata
- rm bin/pg_dump
- rm bin/pg_dumpall
- rm bin/pg_restore
- rm bin/psql
- rm bin/reindexdb
- rm bin/vacuumdb
- rm -rf include
- rm lib/dict_snowball.so
- rm lib/libecpg*
- rm lib/libpg*
- rm lib/libpq*
- rm -rf lib/pgxs
- rm lib/plpgsql.so
- rm -rf share/doc
- rm -rf share/man
- rm -rf share/tsearch_data
- rm share/*.bki
- rm share/*description
- rm share/*.sample
- rm share/*.sql
- rm share/*.txt
-}
-
-md5sums="284303098b161240fd13df7c251822a5 postgresql-9.0.9.tar.bz2"