summaryrefslogtreecommitdiffstats
path: root/extra/postgresql/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-03-05 21:50:52 +0100
committertnut <thierryn1 at hispeed dot ch>2011-03-05 21:50:52 +0100
commita59868c75778349324b4d16f552205198b73dc02 (patch)
treed22222f388fb4391b14d3539f300f17bcc3a5387 /extra/postgresql/Pkgfile
parente07a79c47c1a9b99f2679324c96ced1f7b28d373 (diff)
downloadnutyx-pakxe-a59868c75778349324b4d16f552205198b73dc02.tar.gz
nutyx-pakxe-a59868c75778349324b4d16f552205198b73dc02.tar.bz2
nutyx-pakxe-a59868c75778349324b4d16f552205198b73dc02.tar.xz
nutyx-pakxe-a59868c75778349324b4d16f552205198b73dc02.zip
postgresql, maj 9.0.3-1
Diffstat (limited to 'extra/postgresql/Pkgfile')
-rw-r--r--extra/postgresql/Pkgfile10
1 files changed, 4 insertions, 6 deletions
diff --git a/extra/postgresql/Pkgfile b/extra/postgresql/Pkgfile
index 62efe0b37..f62642397 100644
--- a/extra/postgresql/Pkgfile
+++ b/extra/postgresql/Pkgfile
@@ -6,10 +6,10 @@
# Run on: libxml2,linux-pam
name=postgresql
-version=8.4.4
+version=9.0.3
release=1
source=(ftp://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2 \
- http://nutyx.meticul.eu/files/patchs/{nutyx-01.patch,build.patch,postgresql.pam})
+ http://nutyx.meticul.eu/files/patchs/$name/{$name-9.0.3-nutyx-1.patch,$name-9.0.3-build-1.patch,postgresql.pam})
build() {
source /etc/blfs-bootscripts
@@ -19,7 +19,7 @@ build() {
cd $name-$version
# patch to remove regress/test make target (won't build with it present)
- patch -Np1 -i ../build.patch
+ patch -Np1 -i ../$name-9.0.3-build-1.patch
# configure
./configure --prefix=/usr --mandir=/usr/share/man \
@@ -37,12 +37,10 @@ build() {
install -D -m644 COPYRIGHT $PKG/usr/share/licenses/$name/LICENSE
cd ../$scripts-$scriptsversion
- patch -Np1 -i ../nutyx-01.patch
+ patch -Np1 -i ../$name-9.0.3-nutyx-1.patch
make DESTDIR=$PKG install-postgresql
# install pam file
install -D -m644 $SRC/postgresql.pam $PKG/etc/pam.d/postgresql
-
- chown -v root:root $PKG/usr/share/doc/postgresql/html/*
}