[Midnightbsd-cvs] mports: databases/postgresql81-server: Update to 8.1.11.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Mar 25 20:27:21 EDT 2008


Log Message:
-----------
Update to 8.1.11.

Modified Files:
--------------
    mports/databases/postgresql81-server:
        Makefile (r1.5 -> r1.6)
        distinfo (r1.3 -> r1.4)
        pkg-plist-client (r1.2 -> r1.3)
        pkg-plist-server (r1.3 -> r1.4)

Added Files:
-----------
    mports/databases/postgresql81-server/files:
        patch-doc-Makefile (r1.1)

Removed Files:
-------------
    mports/databases/postgresql81-server/files:
        pgsql.sh.tmpl

-------------- next part --------------
Index: pkg-plist-server
===================================================================
RCS file: /home/cvs/mports/databases/postgresql81-server/pkg-plist-server,v
retrieving revision 1.3
retrieving revision 1.4
diff -L databases/postgresql81-server/pkg-plist-server -L databases/postgresql81-server/pkg-plist-server -u -r1.3 -r1.4
--- databases/postgresql81-server/pkg-plist-server
+++ databases/postgresql81-server/pkg-plist-server
@@ -132,24 +132,11 @@
 %%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/pg_ctl.mo
 %%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/pg_resetxlog.mo
 %%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/postgres.mo
-%%GETTEXT%%@dirrmtry share/locale/cs/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/cs
-%%GETTEXT%%@dirrmtry share/locale/ko/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/ko
-%%GETTEXT%%@dirrmtry share/locale/sk/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/sk
-%%GETTEXT%%@dirrmtry share/locale/ro/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/ro
-%%GETTEXT%%@dirrmtry share/locale/sl/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/sl
-%%GETTEXT%%@dirrmtry share/locale/zh_CN/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/zh_CN
-%%GETTEXT%%@dirrmtry share/locale/zh_TW/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/zh_TW
 share/postgresql/timezone/Africa/Abidjan
 share/postgresql/timezone/Africa/Accra
 share/postgresql/timezone/Africa/Addis_Ababa
 share/postgresql/timezone/Africa/Algiers
+share/postgresql/timezone/Africa/Asmara
 share/postgresql/timezone/Africa/Asmera
 share/postgresql/timezone/Africa/Bamako
 share/postgresql/timezone/Africa/Bangui
@@ -269,8 +256,10 @@
 share/postgresql/timezone/America/Indiana/Knox
 share/postgresql/timezone/America/Indiana/Marengo
 share/postgresql/timezone/America/Indiana/Petersburg
+share/postgresql/timezone/America/Indiana/Tell_City
 share/postgresql/timezone/America/Indiana/Vevay
 share/postgresql/timezone/America/Indiana/Vincennes
+share/postgresql/timezone/America/Indiana/Winamac
 share/postgresql/timezone/America/Indianapolis
 share/postgresql/timezone/America/Inuvik
 share/postgresql/timezone/America/Iqaluit
@@ -287,6 +276,7 @@
 share/postgresql/timezone/America/Maceio
 share/postgresql/timezone/America/Managua
 share/postgresql/timezone/America/Manaus
+share/postgresql/timezone/America/Marigot
 share/postgresql/timezone/America/Martinique
 share/postgresql/timezone/America/Mazatlan
 share/postgresql/timezone/America/Mendoza
@@ -318,6 +308,7 @@
 share/postgresql/timezone/America/Rainy_River
 share/postgresql/timezone/America/Rankin_Inlet
 share/postgresql/timezone/America/Recife
+share/postgresql/timezone/America/Resolute
 share/postgresql/timezone/America/Regina
 share/postgresql/timezone/America/Rio_Branco
 share/postgresql/timezone/America/Rosario
@@ -326,6 +317,7 @@
 share/postgresql/timezone/America/Sao_Paulo
 share/postgresql/timezone/America/Scoresbysund
 share/postgresql/timezone/America/Shiprock
+share/postgresql/timezone/America/St_Barthelemy
 share/postgresql/timezone/America/St_Johns
 share/postgresql/timezone/America/St_Kitts
 share/postgresql/timezone/America/St_Lucia
@@ -447,6 +439,7 @@
 share/postgresql/timezone/Atlantic/Canary
 share/postgresql/timezone/Atlantic/Cape_Verde
 share/postgresql/timezone/Atlantic/Faeroe
+share/postgresql/timezone/Atlantic/Faroe
 share/postgresql/timezone/Atlantic/Jan_Mayen
 share/postgresql/timezone/Atlantic/Madeira
 share/postgresql/timezone/Atlantic/Reykjavik
@@ -460,6 +453,7 @@
 share/postgresql/timezone/Australia/Canberra
 share/postgresql/timezone/Australia/Currie
 share/postgresql/timezone/Australia/Darwin
+share/postgresql/timezone/Australia/Eucla
 share/postgresql/timezone/Australia/Hobart
 share/postgresql/timezone/Australia/LHI
 share/postgresql/timezone/Australia/Lindeman
@@ -698,6 +692,7 @@
 share/postgresql/timezone/W-SU
 share/postgresql/timezone/WET
 share/postgresql/timezone/Zulu
+share/postgresql/timezone/posixrules
 @dirrm share/postgresql/timezone/Africa
 @dirrm share/postgresql/timezone/America/Argentina
 @dirrm share/postgresql/timezone/America/Indiana
Index: pkg-plist-client
===================================================================
RCS file: /home/cvs/mports/databases/postgresql81-server/pkg-plist-client,v
retrieving revision 1.2
retrieving revision 1.3
diff -L databases/postgresql81-server/pkg-plist-client -L databases/postgresql81-server/pkg-plist-client -u -r1.2 -r1.3
--- databases/postgresql81-server/pkg-plist-client
+++ databases/postgresql81-server/pkg-plist-client
@@ -527,19 +527,3 @@
 %%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/pg_dump.mo
 %%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/pgscripts.mo
 %%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/psql.mo
-%%GETTEXT%%@dirrmtry share/locale/cs/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/cs
-%%GETTEXT%%@dirrmtry share/locale/ko/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/ko
-%%GETTEXT%%@dirrmtry share/locale/pl/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/pl
-%%GETTEXT%%@dirrmtry share/locale/ro/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/ro
-%%GETTEXT%%@dirrmtry share/locale/sk/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/sk
-%%GETTEXT%%@dirrmtry share/locale/sl/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/sl
-%%GETTEXT%%@dirrmtry share/locale/zh_CN/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/zh_CN
-%%GETTEXT%%@dirrmtry share/locale/zh_TW/LC_MESSAGES
-%%GETTEXT%%@dirrmtry share/locale/zh_TW
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/databases/postgresql81-server/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -L databases/postgresql81-server/Makefile -L databases/postgresql81-server/Makefile -u -r1.5 -r1.6
--- databases/postgresql81-server/Makefile
+++ databases/postgresql81-server/Makefile
@@ -1,20 +1,19 @@
 # New ports collection makefile for:	PostgreSQL
 # Date created:		November 13, 1998
 # Whom:			Marc G. Fournier <scrappy at FreeBSD.org>
-# 
+#
 # $MidnightBSD$
-# $FreeBSD: ports/databases/postgresql81-server/Makefile,v 1.163 2007/02/07 09:51:47 girgen Exp $
+# $FreeBSD: ports/databases/postgresql81-server/Makefile,v 1.175 2008/03/20 09:37:16 pav Exp $
 #
 
 PORTNAME?=	postgresql
-PORTVERSION?=	8.1.8
+PORTVERSION?=	8.1.11
 PORTREVISION?=	0
 CATEGORIES?=	databases
 MASTER_SITES=	${MASTER_SITE_PGSQL}
 MASTER_SITE_SUBDIR=	source/v${PORTVERSION}
 PKGNAMESUFFIX?=	-server
-DISTFILES?=	postgresql-base-${PORTVERSION}${EXTRACT_SUFX} \
-		postgresql-opt-${PORTVERSION}${EXTRACT_SUFX}
+DISTFILES?=	postgresql-${PORTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER?=	ports at MidnightBSD.org
 COMMENT?=	The most advanced open-source database available anywhere
@@ -42,7 +41,9 @@
 CONFIGURE_ARGS+=--with-libraries=${LOCALBASE}/lib \
 		--with-includes=${LOCALBASE}/include \
 		--with-docdir=${DOCSDIR}
-CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS}" \
+		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+		PTHREAD_LIBS="${PTHREAD_LIBS}"
 
 PLIST=		${PKGDIR}/pkg-plist${PKGNAMESUFFIX}
 
@@ -98,23 +99,23 @@
 OPTIONS+=	INTDATE "Builds with 64-bit date/time type (server)" off
 
 .  if (defined(SERVER_ONLY) && defined(WITH_HIER)) || make(makesum)
-PATCH_SITES+=	http://gppl.moonbone.ru/:hier812055
+PATCH_SITES+=	http://people.freebsd.org/~girgen/postgresql-hier/:hier812055
 PATCHFILES+=	hier-Pg8.1.2-0.5.5.diff.gz:hier812055
-USE_BISON=	yes
+USE_BISON=	build
 .  endif
 
 .  if (defined(SERVER_ONLY) && defined(WITH_ICU)) || make(makesum)
-USE_AUTOTOOLS=	autoconf:259
+USE_AUTOTOOLS=	autoconf:261
 CONFIGURE_ARGS+=--with-icu
 LIB_DEPENDS=	icudata:${PORTSDIR}/devel/icu
 PATCH_SITES+=	http://people.freebsd.org/~girgen/postgresql-icu/:icu
-PATCHFILES+=	pg-814-icu-xx-2006-09-25.diff.gz:icu
+PATCHFILES+=	pg-8111-icu-xx-2008-02-19.diff.gz:icu
 .  endif
 
 PATCH_DIST_STRIP=-p1
 
 .  ifmake makesum
-DISTFILES+=	postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
+DISTFILES+=     postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
 .  endif
 
 .  if defined(SERVER_ONLY) && defined(WITH_PAM)
@@ -125,10 +126,6 @@
 CONFIGURE_ARGS+=--enable-integer-datetimes
 .  endif
 
-. if !defined(WITHOUT_GNUGETOPT) || exists(${LOCALBASE}/include/getopt.h)
-USE_GETOPT_LONG=yes
-.  endif
-
 .  if !(defined(WITHOUT_GETTEXT) || defined(WITHOUT_NLS))
 CONFIGURE_ARGS+=--enable-nls
 PLIST_SUB+=	GETTEXT=""
@@ -170,13 +167,12 @@
 # Postgresql apps will not link properly when libpq is linked with base heimdal in /usr,
 # so we always use the heimdal port. See
 # http://lists.freebsd.org/pipermail/freebsd-stable/2005-October/018809.html
-LIB_DEPENDS+=	krb5.21:${PORTSDIR}/security/heimdal
+LIB_DEPENDS+=	krb5.23:${PORTSDIR}/security/heimdal
 CONFIGURE_ARGS+=--with-krb5
 .    endif
 .  endif
 
 .  if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || make(makesum)
-DISTFILES+=	postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
 EXTRA_PATCHES=	${FILESDIR}/regresspatch-src-test-regress-pgregress-sh
 .  endif
 
@@ -190,6 +186,10 @@
 .  endif
 .endif # !SLAVE_ONLY
 
+.if ${ARCH} == sparc64
+USE_GCC=	4.2+
+.endif
+
 .if defined(CLIENT_ONLY)
 MAN1=		clusterdb.1 createdb.1 createlang.1 createuser.1   \
 		dropdb.1 droplang.1 dropuser.1 ecpg.1 initdb.1	   \
@@ -284,7 +284,7 @@
 do-install:
 	@for dir in ${INSTALL_DIRS}; do \
 	    cd ${WRKSRC}/$${dir} && \
-		${SETENV} ${MAKE_ENV} ${GMAKE} ${FAKE_MAKEARGS} ${INSTALL_TARGET}; \
+		${SETENV} ${MAKE_ENV} ${GMAKE}  ${FAKE_MAKEARGS} ${INSTALL_TARGET}; \
 	done
 .  if defined(SERVER_ONLY)
 	@ ${MKDIR} ${PREFIX}/share/postgresql
@@ -301,7 +301,7 @@
 			${PREFIX}/etc/periodic/daily
 .  endif # SERVER_ONLY
 .  if defined(CLIENT_ONLY)
-	@ cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} ${FAKE_MAKEARGS} install-local
+	@ cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE}  ${FAKE_MAKEARGS}  install-local
 .  endif
 	@ if [ -r ${PKGMESSAGE} ]; then \
 		${MKDIR} ${DOCSDIR} ;\
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/databases/postgresql81-server/distinfo,v
retrieving revision 1.3
retrieving revision 1.4
diff -L databases/postgresql81-server/distinfo -L databases/postgresql81-server/distinfo -u -r1.3 -r1.4
--- databases/postgresql81-server/distinfo
+++ databases/postgresql81-server/distinfo
@@ -1,18 +1,9 @@
-MD5 (postgresql/postgresql-base-8.1.8.tar.bz2) = 5da7d5bf67e01ddc1fbd92a072ccd3f3
-SHA256 (postgresql/postgresql-base-8.1.8.tar.bz2) = 7a7fdab1993af6de06aa3264cdb3df3618e4a6216b574833c352b50efd5454af
-SIZE (postgresql/postgresql-base-8.1.8.tar.bz2) = 8094972
-MD5 (postgresql/postgresql-opt-8.1.8.tar.bz2) = 58b437f38a1214cff80b7076cbbc967c
-SHA256 (postgresql/postgresql-opt-8.1.8.tar.bz2) = ffcc9519a7a697b370630ab1afb1280d3d9e62a25a7904291153d0de6fca6750
-SIZE (postgresql/postgresql-opt-8.1.8.tar.bz2) = 144643
-MD5 (postgresql/postgresql-docs-8.1.8.tar.bz2) = 7d552916141e2686682f2e01f0a88c9d
-SHA256 (postgresql/postgresql-docs-8.1.8.tar.bz2) = b5f0e095f8e1533ba69cdb1d599d7e2bfa07549a6a75bb6be899991339d30859
-SIZE (postgresql/postgresql-docs-8.1.8.tar.bz2) = 2499550
-MD5 (postgresql/postgresql-test-8.1.8.tar.bz2) = a953a4b1f5eddaea326242ce9571cb3f
-SHA256 (postgresql/postgresql-test-8.1.8.tar.bz2) = 3dd46fea627951cf85cd6b5f0318cc4f1f04ed19814fdaf0f919868699f656dc
-SIZE (postgresql/postgresql-test-8.1.8.tar.bz2) = 946918
+MD5 (postgresql/postgresql-8.1.11.tar.bz2) = 48922512bcf683d5ea22a99df5eaaecd
+SHA256 (postgresql/postgresql-8.1.11.tar.bz2) = 3e91cdfc1353fa9c6416d9fc8ae9d6ab3171565f00aeb6c882214c2f08a03e2e
+SIZE (postgresql/postgresql-8.1.11.tar.bz2) = 11735420
 MD5 (postgresql/hier-Pg8.1.2-0.5.5.diff.gz) = 15916bf13b99702599ce70b6475f7d86
 SHA256 (postgresql/hier-Pg8.1.2-0.5.5.diff.gz) = 14ecc3809ce69f47c3460efee3fc7fce78f68802936650fc4e1132adffd41d1e
 SIZE (postgresql/hier-Pg8.1.2-0.5.5.diff.gz) = 31203
-MD5 (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 2eb31538f3ee367767aeacd95b11d623
-SHA256 (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 8dea05bdbc2b78426b159f628b693f69da17b930fe4882e166d5e8a3e698b7d9
-SIZE (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 3987
+MD5 (postgresql/pg-8111-icu-xx-2008-02-19.diff.gz) = f7feae5b29a560e3d0c47287d57a3edf
+SHA256 (postgresql/pg-8111-icu-xx-2008-02-19.diff.gz) = efde913bb698fbdeeeba045a018675c24bd3ddc0027aa0b3ffa97479237c31d0
+SIZE (postgresql/pg-8111-icu-xx-2008-02-19.diff.gz) 4213
--- databases/postgresql81-server/files/pgsql.sh.tmpl
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD: ports/databases/postgresql81-server/files/pgsql.sh.tmpl,v 1.22 2006/05/23 21:18:58 girgen Exp $
-#
-# PROVIDE: postgresql
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-#
-# Add the following line to /etc/rc.conf to enable PostgreSQL:
-#
-#  postgresql_enable="YES"
-#  # optional
-#  postgresql_data="%%PREFIX%%/pgsql/data"
-#  postgresql_flags="-w -s -m fast"
-#
-# This scripts takes one of the following commands:
-#
-#   start stop restart reload status initdb
-#
-# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
-
-prefix=%%PREFIX%%
-command=${prefix}/bin/pg_ctl
-
-. %%RC_SUBR%%
-
-load_rc_config postgresql
-
-# set defaults
-postgresql_enable=${postgresql_enable:-"NO"}
-postgresql_flags=${postgresql_flags:-"-w -s -m fast"}
-postgresql_user=pgsql
-eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data"}
-postgresql_class=${postgresql_class:-"default"}
-
-name=postgresql
-rcvar=`set_rcvar`
-command_args="-D ${postgresql_data} ${postgresql_flags}"
-extra_commands="reload initdb"
-
-start_cmd="postgresql_command start"
-stop_cmd="postgresql_command stop"
-restart_cmd="postgresql_command restart"
-reload_cmd="postgresql_command reload"
-status_cmd="postgresql_command status"
-
-initdb_cmd="postgresql_initdb"
-
-postgresql_command()
-{
-    su -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
-}
-    
-postgresql_initdb()
-{
-    su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb -D ${postgresql_data}"
-}
-
-run_rc_command "$1"
--- /dev/null
+++ databases/postgresql81-server/files/patch-doc-Makefile
@@ -0,0 +1,11 @@
+--- doc/Makefile~	2003-11-29 20:51:36.000000000 +0100
++++ doc/Makefile	2008-01-07 11:59:15.000000000 +0100
+@@ -27,7 +27,7 @@
+ 
+ ifneq ($(wildcard $(srcdir)/postgres.tar.gz),)
+ ifneq (,$(docdir))
+-found_html := yes
++#found_html := yes
+ endif
+ endif
+ 


More information about the Midnightbsd-cvs mailing list