ports/161329: [PATCH] databases/postgresql83-server: Update to 8.3.16
Martin Matuska
mm at FreeBSD.org
Thu Oct 6 11:40:04 UTC 2011
>Number: 161329
>Category: ports
>Synopsis: [PATCH] databases/postgresql83-server: Update to 8.3.16
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 06 11:40:03 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Martin Matuska
>Release: FreeBSD 9.0-BETA3 amd64
>Organization:
>Environment:
System: FreeBSD neo.vx.sk 9.0-BETA3 FreeBSD 9.0-BETA3 #0 r225756M: Wed Sep 28 12:38:53 CEST
>Description:
- Update to 8.3.16
- Make SSL available as an option
Removed file(s):
- files/patch-src-plperl-plperl
Port maintainer (girgen at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- postgresql-server-8.3.16.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/postgresql83-server/Makefile,v
retrieving revision 1.213
diff -u -r1.213 Makefile
--- Makefile 23 Sep 2011 22:21:38 -0000 1.213
+++ Makefile 6 Oct 2011 11:34:53 -0000
@@ -6,7 +6,7 @@
#
PORTNAME?= postgresql
-DISTVERSION?= 8.3.15
+DISTVERSION?= 8.3.16
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${DISTVERSION}
@@ -72,18 +72,6 @@
CONFIGURE_ENV+= PATH=${PREFIX}/bin:${PATH}
.endif
-# Cannot check this with standard OPTION due to a catch-22.
-# USE_OPENSSL must precede bsd.port.pre.mk, but then we don't know
-# what OPTIONS are set.
-#
-# If you *don't* want SSL, set WITHOUT_SSL=YES when making
-.if !defined(WITHOUT_SSL)
-USE_OPENSSL= yes
-CONFIGURE_ARGS+=--with-openssl
-.endif
-
-.include <bsd.port.pre.mk>
-
.if !defined(SLAVE_ONLY)
OPTIONS+= PAM "Build with PAM support (server only)" off
OPTIONS+= LDAP "Build with LDAP authentication support" off
@@ -100,7 +88,17 @@
# See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/76999 for more info
# (requires dump/restore if modified.)
OPTIONS+= INTDATE "Builds with 64-bit date/time type (server)" off
+OPTIONS+= SSL "Build with OpenSSL support" on
+.endif # !SLAVE_ONLY
+.include <bsd.port.options.mk>
+
+.if !defined(WITHOUT_SSL)
+USE_OPENSSL= yes
+CONFIGURE_ARGS+=--with-openssl
+.endif
+
+.if !defined(SLAVE_ONLY)
. if (defined(SERVER_ONLY) && defined(WITH_ICU)) || make(makesum)
USE_AUTOTOOLS= autoconf
CONFIGURE_ARGS+=--with-icu
@@ -109,7 +107,11 @@
PATCHFILES+= pg-8311-icu-xx-2010-05-14.diff.gz:icu
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-icu4
. endif
+.endif # !SLAVE_ONLY
+
+.include <bsd.port.pre.mk>
+.if !defined(SLAVE_ONLY)
PATCH_DIST_STRIP=-p1
. if defined(WITH_PAM)
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/databases/postgresql83-server/distinfo,v
retrieving revision 1.78
diff -u -r1.78 distinfo
--- distinfo 18 Apr 2011 23:34:26 -0000 1.78
+++ distinfo 6 Oct 2011 11:34:53 -0000
@@ -1,4 +1,4 @@
-SHA256 (postgresql/postgresql-8.3.15.tar.bz2) = 433bfad5c9ccca38029be193d3c4ff47d394f4c678be41ef709063255c97cf16
-SIZE (postgresql/postgresql-8.3.15.tar.bz2) = 14344586
+SHA256 (postgresql/postgresql-8.3.16.tar.bz2) = 000590e2bdd1a00c8f2d2fa30c1f244826a61ad038a53b63179e902f876a2744
+SIZE (postgresql/postgresql-8.3.16.tar.bz2) = 14348568
SHA256 (postgresql/pg-8311-icu-xx-2010-05-14.diff.gz) = 44146bdb29a5a7d51c70911096ed6d265bdf09f74f0084ee7ad1883bea2f852a
SIZE (postgresql/pg-8311-icu-xx-2010-05-14.diff.gz) = 5064
Index: pkg-plist-server
===================================================================
RCS file: /home/pcvs/ports/databases/postgresql83-server/pkg-plist-server,v
retrieving revision 1.27
diff -u -r1.27 pkg-plist-server
--- pkg-plist-server 18 Apr 2011 23:34:26 -0000 1.27
+++ pkg-plist-server 6 Oct 2011 11:34:53 -0000
@@ -166,6 +166,7 @@
%%TZDATA%%share/postgresql/timezone/Africa/Gaborone
%%TZDATA%%share/postgresql/timezone/Africa/Harare
%%TZDATA%%share/postgresql/timezone/Africa/Johannesburg
+%%TZDATA%%share/postgresql/timezone/Africa/Juba
%%TZDATA%%share/postgresql/timezone/Africa/Kampala
%%TZDATA%%share/postgresql/timezone/Africa/Khartoum
%%TZDATA%%share/postgresql/timezone/Africa/Kigali
@@ -280,10 +281,12 @@
%%TZDATA%%share/postgresql/timezone/America/Kentucky/Louisville
%%TZDATA%%share/postgresql/timezone/America/Kentucky/Monticello
%%TZDATA%%share/postgresql/timezone/America/Knox_IN
+%%TZDATA%%share/postgresql/timezone/America/Kralendijk
%%TZDATA%%share/postgresql/timezone/America/La_Paz
%%TZDATA%%share/postgresql/timezone/America/Lima
%%TZDATA%%share/postgresql/timezone/America/Los_Angeles
%%TZDATA%%share/postgresql/timezone/America/Louisville
+%%TZDATA%%share/postgresql/timezone/America/Lower_Princes
%%TZDATA%%share/postgresql/timezone/America/Maceio
%%TZDATA%%share/postgresql/timezone/America/Managua
%%TZDATA%%share/postgresql/timezone/America/Manaus
Index: files/patch-src-plperl-plperl
===================================================================
RCS file: files/patch-src-plperl-plperl
diff -N files/patch-src-plperl-plperl
--- files/patch-src-plperl-plperl 14 Aug 2011 01:32:13 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -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
-@@ -685,7 +685,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
-@@ -43,6 +43,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
-+
- /* routines from spi_internal.c */
- int spi_DEBUG(void);
- int spi_LOG(void);
--- postgresql-server-8.3.16.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list