svn commit: r450532 - in head/databases: postgresql10-server postgresql10-server/files postgresql95-plperl postgresql95-plpython postgresql96-docs postgresql96-pltcl

Palle Girgensohn girgen at FreeBSD.org
Sun Sep 24 18:59:01 UTC 2017


Author: girgen
Date: Sun Sep 24 18:58:59 2017
New Revision: 450532
URL: https://svnweb.freebsd.org/changeset/ports/450532

Log:
  Correct default data directory for postgresql 10
  
  ...and make sure not to bump portrevision more than necessary.
  
  POINTED OUT BY: Peter Laursen

Modified:
  head/databases/postgresql10-server/Makefile
  head/databases/postgresql10-server/files/postgresql.in
  head/databases/postgresql95-plperl/Makefile
  head/databases/postgresql95-plpython/Makefile
  head/databases/postgresql96-docs/Makefile
  head/databases/postgresql96-pltcl/Makefile

Modified: head/databases/postgresql10-server/Makefile
==============================================================================
--- head/databases/postgresql10-server/Makefile	Sun Sep 24 18:51:08 2017	(r450531)
+++ head/databases/postgresql10-server/Makefile	Sun Sep 24 18:58:59 2017	(r450532)
@@ -3,6 +3,7 @@
 
 DISTVERSION?=	10rc1
 PKGNAMESUFFIX?= ${PORTVERSION:R}${COMPONENT}
+PORTREVISION?=	1
 
 MAINTAINER?=	pgsql at FreeBSD.org
 

Modified: head/databases/postgresql10-server/files/postgresql.in
==============================================================================
--- head/databases/postgresql10-server/files/postgresql.in	Sun Sep 24 18:51:08 2017	(r450531)
+++ head/databases/postgresql10-server/files/postgresql.in	Sun Sep 24 18:58:59 2017	(r450532)
@@ -10,7 +10,7 @@
 #
 #  postgresql_enable="YES"
 #  # optional
-#  postgresql_data="/var/db/%%PG_USER%%/data96"
+#  postgresql_data="/var/db/%%PG_USER%%/data10"
 #  postgresql_flags="-w -s -m fast"
 #  postgresql_initdb_flags="--encoding=utf-8 --lc-collate=C"
 #  postgresql_class="default"
@@ -34,7 +34,7 @@ load_rc_config postgresql
 postgresql_enable=${postgresql_enable:-"NO"}
 postgresql_flags=${postgresql_flags:-"-w -s -m fast"}
 postgresql_user=${postgresql_user:-"%%PG_USER%%"}
-eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data96"}
+eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data10"}
 postgresql_class=${postgresql_class:-"default"}
 postgresql_initdb_flags=${postgresql_initdb_flags:-"--encoding=utf-8 --lc-collate=C"}
 

Modified: head/databases/postgresql95-plperl/Makefile
==============================================================================
--- head/databases/postgresql95-plperl/Makefile	Sun Sep 24 18:51:08 2017	(r450531)
+++ head/databases/postgresql95-plperl/Makefile	Sun Sep 24 18:58:59 2017	(r450532)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	postgresql
-PORTREVIOSION=	0
+PORTREVISION=	0
 CATEGORIES=	databases perl5
 PKGNAMESUFFIX?=	${WANT_PGSQL_VER:S/.//}${COMPONENT}
 

Modified: head/databases/postgresql95-plpython/Makefile
==============================================================================
--- head/databases/postgresql95-plpython/Makefile	Sun Sep 24 18:51:08 2017	(r450531)
+++ head/databases/postgresql95-plpython/Makefile	Sun Sep 24 18:58:59 2017	(r450532)
@@ -2,6 +2,7 @@
 
 PORTNAME=	postgresql
 CATEGORIES=	databases python
+PORTREVISION=	0
 PKGNAMESUFFIX?=	${WANT_PGSQL_VER:S/.//}${COMPONENT}
 
 MAINTAINER=	pgsql at FreeBSD.org

Modified: head/databases/postgresql96-docs/Makefile
==============================================================================
--- head/databases/postgresql96-docs/Makefile	Sun Sep 24 18:51:08 2017	(r450531)
+++ head/databases/postgresql96-docs/Makefile	Sun Sep 24 18:58:59 2017	(r450532)
@@ -2,8 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	postgresql
+PORTREVISION=   0
 PKGNAMESUFFIX?=	${WANT_PGSQL_VER:S,.,,}-docs
-DISTV=	${DISTVERSION:R}
 
 MAINTAINER=	pgsql at FreeBSD.org
 COMMENT=	The PostgreSQL documentation set
@@ -11,6 +11,8 @@ COMMENT=	The PostgreSQL documentation set
 MASTERDIR=	${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
 WANT_PGSQL_VER?=9.6
 
+DISTV=		${DISTVERSION:R}
+
 SLAVE_ONLY=	YES
 COMPONENT=	-docs
 
@@ -40,6 +42,5 @@ post-install:
 	@(cd ${STAGEDIR}${PREFIX} && ${FIND} ${PGDOCSREL} -type f) >> ${TMPPLIST}
 	@(cd ${STAGEDIR}${PREFIX} && ${FIND} ${PGDOCSREL} -type d) | ${SORT} -r | \
 	     ${SED} 's,.*, at unexec rmdir %D/& 2>/dev/null || true,' >>${TMPPLIST}
-
 
 .include "${MASTERDIR}/Makefile"

Modified: head/databases/postgresql96-pltcl/Makefile
==============================================================================
--- head/databases/postgresql96-pltcl/Makefile	Sun Sep 24 18:51:08 2017	(r450531)
+++ head/databases/postgresql96-pltcl/Makefile	Sun Sep 24 18:58:59 2017	(r450532)
@@ -2,6 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	postgresql
+PORTREVISION=	0
 CATEGORIES=	databases tcl
 PKGNAMESUFFIX?=	${WANT_PGSQL_VER:S/.//}${COMPONENT}
 


More information about the svn-ports-all mailing list