summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-10-14 08:24:47 +0200
committertnut <thierryn1 at hispeed dot ch>2010-10-14 08:24:47 +0200
commit6242598051fc9a95b530f719ff65a284ddafc6b5 (patch)
tree26b5ff15faaea9e550109c44664a90dd8a684dec /extra
parent5ea8ad8e2a806c979d411e07bb82519d5dd7cde2 (diff)
downloadnutyx-pakxe-6242598051fc9a95b530f719ff65a284ddafc6b5.tar.gz
nutyx-pakxe-6242598051fc9a95b530f719ff65a284ddafc6b5.tar.bz2
nutyx-pakxe-6242598051fc9a95b530f719ff65a284ddafc6b5.tar.xz
nutyx-pakxe-6242598051fc9a95b530f719ff65a284ddafc6b5.zip
postgresql, port nettoyé
Diffstat (limited to 'extra')
-rw-r--r--extra/postgresql/Pkgfile2
-rw-r--r--extra/postgresql/build.patch11
-rw-r--r--extra/postgresql/nutyx-01.patch21
-rw-r--r--extra/postgresql/postgresql.pam3
4 files changed, 1 insertions, 36 deletions
diff --git a/extra/postgresql/Pkgfile b/extra/postgresql/Pkgfile
index 43b728ab0..7cdb72abb 100644
--- a/extra/postgresql/Pkgfile
+++ b/extra/postgresql/Pkgfile
@@ -8,7 +8,7 @@ name=postgresql
version=8.4.4
release=1
source=(ftp://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2 \
- nutyx-01.patch build.patch postgresql.pam)
+ http://nutyx.meticul.eu/files/patchs/{nutyx-01.patch,build.patch,postgresql.pam})
build() {
source /etc/blfs-bootscripts
diff --git a/extra/postgresql/build.patch b/extra/postgresql/build.patch
deleted file mode 100644
index c8f665d12..000000000
--- a/extra/postgresql/build.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur postgresql-8.2.3-orig/src/Makefile postgresql-8.2.3/src/Makefile
---- postgresql-8.2.3-orig/src/Makefile 2006-06-22 16:50:35.000000000 -0700
-+++ postgresql-8.2.3/src/Makefile 2007-03-05 10:46:24.000000000 -0800
-@@ -23,7 +23,6 @@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
- $(MAKE) -C makefiles $@
-- $(MAKE) -C test/regress $@
-
- install: install-local
-
diff --git a/extra/postgresql/nutyx-01.patch b/extra/postgresql/nutyx-01.patch
deleted file mode 100644
index a1b1585d9..000000000
--- a/extra/postgresql/nutyx-01.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- blfs-bootscripts-20090302/blfs/init.d/postgresql.original 2010-01-20 20:34:28.000000000 +0000
-+++ blfs-bootscripts-20090302/blfs/init.d/postgresql 2010-01-20 20:37:49.000000000 +0000
-@@ -10,6 +10,18 @@
- . /etc/sysconfig/rc
- . $rc_functions
-
-+newgroup=postgres
-+newuser=postgres
-+newid=40
-+
-+# check for mysql group or add one
-+getent group $newgroup > /dev/null || /usr/sbin/groupadd -g $newid $newgroup
-+
-+# check for mysql user or add one
-+getent passwd $newuser > /dev/null || /usr/sbin/useradd -g $newgroup \
-+-u $newid -d /dev/null \
-+-s /bin/false -c "PostgreSQL Server" $newuser
-+
- case "$1" in
- start)
- boot_mesg "Starting PostgreSQL daemon..."
diff --git a/extra/postgresql/postgresql.pam b/extra/postgresql/postgresql.pam
deleted file mode 100644
index 53724d1f8..000000000
--- a/extra/postgresql/postgresql.pam
+++ /dev/null
@@ -1,3 +0,0 @@
-auth required pam_unix.so
-account required pam_unix.so
-session required pam_unix.so