summaryrefslogtreecommitdiff
path: root/databases/postgresql91-server/files
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql91-server/files')
-rw-r--r--databases/postgresql91-server/files/502.pgsql.in4
-rw-r--r--databases/postgresql91-server/files/patch-doc-src-sgml-Makefile19
-rw-r--r--databases/postgresql91-server/files/pkg-install-server.in26
3 files changed, 13 insertions, 36 deletions
diff --git a/databases/postgresql91-server/files/502.pgsql.in b/databases/postgresql91-server/files/502.pgsql.in
index e577f83467f4..e0f90b6b3406 100644
--- a/databases/postgresql91-server/files/502.pgsql.in
+++ b/databases/postgresql91-server/files/502.pgsql.in
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/databases/postgresql91-server/files/502.pgsql.in,v 1.3 2011-06-11 23:14:30 girgen Exp $
+# $FreeBSD: /tmp/pcvs/ports/databases/postgresql91-server/files/502.pgsql.in,v 1.4 2011-10-18 09:03:32 girgen Exp $
#
# Maintenance shell script to vacuum and backup database
# Put this in /usr/local/etc/periodic/daily, and it will be run
@@ -58,7 +58,7 @@ pgsql_backup() {
now=`date "+%Y-%m-%dT%H:%M:%S"`
file=${daily_pgsql_backupdir}/pgglobals_${now}
su -l ${daily_pgsql_user} -c \
- "umask 077; pg_dumpall -g ${daily_pgsql_pgdumpall_globals__args} | gzip -9 > ${file}.gz"
+ "umask 077; pg_dumpall -g ${daily_pgsql_pgdumpall_globals_args} | gzip -9 > ${file}.gz"
db=$1
while shift; do
diff --git a/databases/postgresql91-server/files/patch-doc-src-sgml-Makefile b/databases/postgresql91-server/files/patch-doc-src-sgml-Makefile
index 12c43172fb35..ee9a537b1ecc 100644
--- a/databases/postgresql91-server/files/patch-doc-src-sgml-Makefile
+++ b/databases/postgresql91-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 16:53:51.000000000 +0200
++++ doc/src/sgml/Makefile 2011-10-13 17:05:08.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 $@
+@@ -303,7 +301,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/postgresql91-server/files/pkg-install-server.in b/databases/postgresql91-server/files/pkg-install-server.in
deleted file mode 100644
index 66298484c23b..000000000000
--- a/databases/postgresql91-server/files/pkg-install-server.in
+++ /dev/null
@@ -1,26 +0,0 @@
-#! /bin/sh
-
-# $FreeBSD: /tmp/pcvs/ports/databases/postgresql91-server/files/Attic/pkg-install-server.in,v 1.2 2011-06-11 23:14:30 girgen Exp $
-
-PATH=/bin:/usr/bin:/usr/sbin
-
-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
-BACKUPWARNING)
- backupwarning
- ;;
-esac