From 8e57ed5322f707f7ad77f5af2a23ecca92d0258b Mon Sep 17 00:00:00 2001 From: tnut Date: Mon, 9 Nov 2009 15:55:39 +0100 Subject: ajout de postgresql-libs#8.4.1-1 --- extra/postgresql-libs/.footprint | 64 ++++++++++++++++++++++++++++++++++++++++ extra/postgresql-libs/.md5sum | 1 + extra/postgresql-libs/Pkgfile | 50 +++++++++++++++++++++++++++++++ 3 files changed, 115 insertions(+) create mode 100644 extra/postgresql-libs/.footprint create mode 100644 extra/postgresql-libs/.md5sum create mode 100644 extra/postgresql-libs/Pkgfile (limited to 'extra') diff --git a/extra/postgresql-libs/.footprint b/extra/postgresql-libs/.footprint new file mode 100644 index 000000000..8ac48fb0e --- /dev/null +++ b/extra/postgresql-libs/.footprint @@ -0,0 +1,64 @@ +drwxr-xr-x root/root srv/ +drwxr-xr-x root/root srv/pgsql/ +drwxr-xr-x root/root srv/pgsql/data/ +-rw-r--r-- root/root srv/pgsql/data/pg_service.conf.sample +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/ecpg +-rwxr-xr-x root/root usr/bin/pg_config +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/ecpg_config.h +-rw-r--r-- root/root usr/include/ecpg_informix.h +-rw-r--r-- root/root usr/include/ecpgerrno.h +-rw-r--r-- root/root usr/include/ecpglib.h +-rw-r--r-- root/root usr/include/ecpgtype.h +-rw-r--r-- root/root usr/include/libpq-events.h +-rw-r--r-- root/root usr/include/libpq-fe.h +drwxr-xr-x root/root usr/include/libpq/ +-rw-r--r-- root/root usr/include/libpq/libpq-fs.h +-rw-r--r-- root/root usr/include/pg_config.h +-rw-r--r-- root/root usr/include/pg_config_manual.h +-rw-r--r-- root/root usr/include/pg_config_os.h +-rw-r--r-- root/root usr/include/pgtypes_date.h +-rw-r--r-- root/root usr/include/pgtypes_error.h +-rw-r--r-- root/root usr/include/pgtypes_interval.h +-rw-r--r-- root/root usr/include/pgtypes_numeric.h +-rw-r--r-- root/root usr/include/pgtypes_timestamp.h +-rw-r--r-- root/root usr/include/postgres_ext.h +drwxr-xr-x root/root usr/include/postgresql/ +drwxr-xr-x root/root usr/include/postgresql/informix/ +drwxr-xr-x root/root usr/include/postgresql/informix/esql/ +-rw-r--r-- root/root usr/include/postgresql/informix/esql/datetime.h +-rw-r--r-- root/root usr/include/postgresql/informix/esql/decimal.h +-rw-r--r-- root/root usr/include/postgresql/informix/esql/sqlda.h +-rw-r--r-- root/root usr/include/postgresql/informix/esql/sqltypes.h +drwxr-xr-x root/root usr/include/postgresql/internal/ +-rw-r--r-- root/root usr/include/postgresql/internal/c.h +-rw-r--r-- root/root usr/include/postgresql/internal/libpq-int.h +drwxr-xr-x root/root usr/include/postgresql/internal/libpq/ +-rw-r--r-- root/root usr/include/postgresql/internal/libpq/pqcomm.h +-rw-r--r-- root/root usr/include/postgresql/internal/port.h +-rw-r--r-- root/root usr/include/postgresql/internal/postgres_fe.h +-rw-r--r-- root/root usr/include/postgresql/internal/pqexpbuffer.h +-rw-r--r-- root/root usr/include/sql3types.h +-rw-r--r-- root/root usr/include/sqlca.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libecpg.a +lrwxrwxrwx root/root usr/lib/libecpg.so -> libecpg.so.6.1 +lrwxrwxrwx root/root usr/lib/libecpg.so.6 -> libecpg.so.6.1 +-rwxr-xr-x root/root usr/lib/libecpg.so.6.1 +-rw-r--r-- root/root usr/lib/libecpg_compat.a +lrwxrwxrwx root/root usr/lib/libecpg_compat.so -> libecpg_compat.so.3.1 +lrwxrwxrwx root/root usr/lib/libecpg_compat.so.3 -> libecpg_compat.so.3.1 +-rwxr-xr-x root/root usr/lib/libecpg_compat.so.3.1 +-rw-r--r-- root/root usr/lib/libpgtypes.a +lrwxrwxrwx root/root usr/lib/libpgtypes.so -> libpgtypes.so.3.1 +lrwxrwxrwx root/root usr/lib/libpgtypes.so.3 -> libpgtypes.so.3.1 +-rwxr-xr-x root/root usr/lib/libpgtypes.so.3.1 +-rw-r--r-- root/root usr/lib/libpq.a +lrwxrwxrwx root/root usr/lib/libpq.so -> libpq.so.5.2 +lrwxrwxrwx root/root usr/lib/libpq.so.5 -> libpq.so.5.2 +-rwxr-xr-x root/root usr/lib/libpq.so.5.2 +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/licenses/ +-rw-r--r-- root/root usr/share/licenses/LICENSE diff --git a/extra/postgresql-libs/.md5sum b/extra/postgresql-libs/.md5sum new file mode 100644 index 000000000..91e78c61b --- /dev/null +++ b/extra/postgresql-libs/.md5sum @@ -0,0 +1 @@ +f2015af17bacbbfe140daf0d1067f9c9 postgresql-8.4.1.tar.bz2 diff --git a/extra/postgresql-libs/Pkgfile b/extra/postgresql-libs/Pkgfile new file mode 100644 index 000000000..98ab2f2a8 --- /dev/null +++ b/extra/postgresql-libs/Pkgfile @@ -0,0 +1,50 @@ +# Description: Librairires pour postgresql +# URL: http://www.postgresql.org/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: linux-pam + +name=postgresql-libs +version=8.4.1 +release=1 +source=(ftp://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2) + +build() { + cd postgresql-$version + + # configure + ./configure --prefix=/usr --with-openssl --datadir=/srv/pgsql/data \ + --with-pam + + # make and install + for dir in src/interfaces src/bin/pg_config; do + pushd ${dir} + make + make DESTDIR=$PKG install + popd + done + + cd src/include + make + + set -e + mkdir -p $PKG/usr/include/postgresql/{internal,internal/libpq} + mkdir -p $PKG/usr/include/libpq + + # These headers are needed by the public headers of the interfaces. + install -m644 pg_config.h $PKG/usr/include/ + install -m644 pg_config_os.h $PKG/usr/include/ + install -m644 postgres_ext.h $PKG/usr/include/ + install -m644 libpq/libpq-fs.h $PKG/usr/include/libpq/ + install -m644 pg_config_manual.h $PKG/usr/include/ + + # These headers are needed by the not-so-public headers of the interfaces. + install -m644 c.h $PKG/usr/include/postgresql/internal/ + install -m644 port.h $PKG/usr/include/postgresql/internal/ + install -m644 postgres_fe.h $PKG/usr/include/postgresql/internal/ + install -m644 libpq/pqcomm.h $PKG/usr/include/postgresql/internal/libpq/ + + install -D -m644 ../../COPYRIGHT $PKG/usr/share/licenses/$pkgname/LICENSE + + set +e +} -- cgit v1.2.3-70-g09d2