diff options
Diffstat (limited to 'databases/postgresql90-server/files')
3 files changed, 11 insertions, 99 deletions
diff --git a/databases/postgresql90-server/files/patch-doc-src-sgml-Makefile b/databases/postgresql90-server/files/patch-doc-src-sgml-Makefile index 12c43172fb35..986ef77157fb 100644 --- a/databases/postgresql90-server/files/patch-doc-src-sgml-Makefile +++ b/databases/postgresql90-server/files/patch-doc-src-sgml-Makefile @@ -1,11 +1,5 @@ -Manual pages are already present in the PostgreSQL tarball, so we avoid -messing with timestamp: it depends on postgres.xml that, in turn, -depends on almost all SGML files, most notably, version.sgml. And the -latter depends on the configure in the top-level directory, so when -we patch it, build system wants to regenerate manual pages. - ---- doc/src/sgml/Makefile.orig 2011-09-13 23:42:58.508672251 +0400 -+++ doc/src/sgml/Makefile 2011-09-13 23:43:01.676668807 +0400 +--- doc/src/sgml/Makefile.orig 2011-10-13 15:05:32.000000000 +0200 ++++ doc/src/sgml/Makefile 2011-10-13 15:41:10.000000000 +0200 @@ -75,8 +75,6 @@ ## Man pages ## @@ -15,3 +9,12 @@ we patch it, build system wants to regenerate manual pages. man-stamp: stylesheet-man.xsl postgres.xml $(XSLTPROC) $(XSLTPROCFLAGS) $(XSLTPROC_MAN_FLAGS) $^ touch $@ +@@ -292,7 +290,7 @@ + endif + + installdirs: +- $(MKDIR_P) '$(DESTDIR)$(htmldir)'/html $(addprefix '$(DESTDIR)$(mandir)'/man, 1 3 $(sqlmansectnum)) ++ $(MKDIR_P) $(addprefix '$(DESTDIR)$(mandir)'/man, 1 3 $(sqlmansectnum)) + + uninstall: + rm -f '$(DESTDIR)$(htmldir)/html/'* $(addprefix '$(DESTDIR)$(mandir)'/man, 1/* 3/* $(sqlmansectnum)/*) diff --git a/databases/postgresql90-server/files/patch-src-plperl-plperl b/databases/postgresql90-server/files/patch-src-plperl-plperl deleted file mode 100644 index 6f84a60e950d..000000000000 --- a/databases/postgresql90-server/files/patch-src-plperl-plperl +++ /dev/null @@ -1,28 +0,0 @@ -Obtained from: http://archives.postgresql.org/pgsql-hackers/2011-04/msg01283.php -Reference: http://search.cpan.org/~jesse/perl-5.14.0/pod/perldelta.pod#GvCV()_and_GvGP()_are_no_longer_lvalues - ---- src/pl/plperl/plperl.c.orig 2011-04-15 11:15:53.000000000 +0800 -+++ src/pl/plperl/plperl.c 2011-05-19 20:39:34.126713700 +0800 -@@ -874,7 +874,7 @@ - if (!isGV_with_GP(sv) || !GvCV(sv)) - continue; - SvREFCNT_dec(GvCV(sv)); /* free the CV */ -- GvCV(sv) = NULL; /* prevent call via GV */ -+ GvCV_set(sv, NULL); /* prevent call via GV */ - } - hv_clear(stash); - ---- src/pl/plperl/plperl.h.orig 2011-04-15 11:15:53.000000000 +0800 -+++ src/pl/plperl/plperl.h 2011-05-19 20:39:34.127713548 +0800 -@@ -42,6 +42,11 @@ - #undef bool - #endif - -+/* supply GvCV_set if it's missing - ppport.h doesn't supply it, unfortunately */ -+#ifndef GvCV_set -+#define GvCV_set(gv, cv) (GvCV(gv) = cv) -+#endif -+ - /* declare routines from plperl.c for access by .xs files */ - HV *plperl_spi_exec(char *, int); - void plperl_return_next(SV *); diff --git a/databases/postgresql90-server/files/pkg-install-server.in b/databases/postgresql90-server/files/pkg-install-server.in deleted file mode 100644 index da85c73b7e4c..000000000000 --- a/databases/postgresql90-server/files/pkg-install-server.in +++ /dev/null @@ -1,63 +0,0 @@ -#! /bin/sh - -# $FreeBSD$ - -PATH=/bin:/usr/bin:/usr/sbin - -PG_USER=%%PG_USER%% -PG_GROUP=%%PG_GROUP%% -PG_UID=%%PG_UID%% - -backupwarning() { echo " - - =========== BACKUP YOUR DATA! ============= - As always, backup your data before - upgrading. If the upgrade leads to a higher - minor revision (e.g. 7.3.x -> 7.4), a dump - and restore of all databases is - required. This is *NOT* done by the port! - - Press ctrl-C *now* if you need to pg_dump. - =========================================== -" - sleep 5 -} - -case $2 in -PRE-INSTALL) - backupwarning - DB_DIR=${PKG_PREFIX}/${PG_USER} - - if pw group show "${PG_GROUP}" 2>/dev/null; then - echo "You already have a group \"${PG_GROUP}\", so I will use it." - else - if pw groupadd ${PG_GROUP} -g ${PG_UID}; then - echo "Added group \"${PG_GROUP}\"." - else - echo "Adding group \"${PG_GROUP}\" failed..." - exit 1 - fi - fi - - if pw user show "${PG_USER}" 2>/dev/null; then - echo "You already have a user \"${PG_USER}\", so I will use it." - else - if pw useradd ${PG_USER} -u ${PG_UID} -g ${PG_GROUP} -h - \ - -d ${DB_DIR} -c "PostgreSQL Daemon" - then - echo "Added user \"${PG_USER}\"." - else - echo "Adding user \"${PG_USER}\" failed..." - exit 1 - fi - fi - - if ! [ -x ~${PG_USER} ] ; then - install -m 755 -o ${PG_USER} -g ${PG_GROUP} -d ${DB_DIR} - fi - ;; - -BACKUPWARNING) - backupwarning - ;; -esac |