diff options
author | girgen <girgen@FreeBSD.org> | 2017-09-25 02:58:59 +0800 |
---|---|---|
committer | girgen <girgen@FreeBSD.org> | 2017-09-25 02:58:59 +0800 |
commit | e9a1e86e0a1107b1626fb3105357ebacdf1ab4e3 (patch) | |
tree | 7042d6d334ff7425b0c0eaef96b18ea94b6ce283 | |
parent | 8395ceee4d9b08c7a73a4170307d32dd9de691e9 (diff) | |
download | freebsd-ports-gnome-e9a1e86e0a1107b1626fb3105357ebacdf1ab4e3.tar.gz freebsd-ports-gnome-e9a1e86e0a1107b1626fb3105357ebacdf1ab4e3.tar.zst freebsd-ports-gnome-e9a1e86e0a1107b1626fb3105357ebacdf1ab4e3.zip |
Correct default data directory for postgresql 10
...and make sure not to bump portrevision more than necessary.
POINTED OUT BY: Peter Laursen
-rw-r--r-- | databases/postgresql10-server/Makefile | 1 | ||||
-rw-r--r-- | databases/postgresql10-server/files/postgresql.in | 4 | ||||
-rw-r--r-- | databases/postgresql95-plperl/Makefile | 2 | ||||
-rw-r--r-- | databases/postgresql95-plpython/Makefile | 1 | ||||
-rw-r--r-- | databases/postgresql96-docs/Makefile | 5 | ||||
-rw-r--r-- | databases/postgresql96-pltcl/Makefile | 1 |
6 files changed, 9 insertions, 5 deletions
diff --git a/databases/postgresql10-server/Makefile b/databases/postgresql10-server/Makefile index f75fe0d955f6..6ebff5406cf7 100644 --- a/databases/postgresql10-server/Makefile +++ b/databases/postgresql10-server/Makefile @@ -3,6 +3,7 @@ DISTVERSION?= 10rc1 PKGNAMESUFFIX?= ${PORTVERSION:R}${COMPONENT} +PORTREVISION?= 1 MAINTAINER?= pgsql@FreeBSD.org diff --git a/databases/postgresql10-server/files/postgresql.in b/databases/postgresql10-server/files/postgresql.in index 6aec93149077..408d933ec4c1 100644 --- a/databases/postgresql10-server/files/postgresql.in +++ b/databases/postgresql10-server/files/postgresql.in @@ -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"} diff --git a/databases/postgresql95-plperl/Makefile b/databases/postgresql95-plperl/Makefile index d4aa85d93c75..c70eefbd69cf 100644 --- a/databases/postgresql95-plperl/Makefile +++ b/databases/postgresql95-plperl/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= postgresql -PORTREVIOSION= 0 +PORTREVISION= 0 CATEGORIES= databases perl5 PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT} diff --git a/databases/postgresql95-plpython/Makefile b/databases/postgresql95-plpython/Makefile index e3ff0e2eb64e..b7ee58be7576 100644 --- a/databases/postgresql95-plpython/Makefile +++ b/databases/postgresql95-plpython/Makefile @@ -2,6 +2,7 @@ PORTNAME= postgresql CATEGORIES= databases python +PORTREVISION= 0 PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT} MAINTAINER= pgsql@FreeBSD.org diff --git a/databases/postgresql96-docs/Makefile b/databases/postgresql96-docs/Makefile index 0aaca684f5ad..ebfdfdc82250 100644 --- a/databases/postgresql96-docs/Makefile +++ b/databases/postgresql96-docs/Makefile @@ -2,8 +2,8 @@ # $FreeBSD$ PORTNAME= postgresql +PORTREVISION= 0 PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S,.,,}-docs -DISTV= ${DISTVERSION:R} MAINTAINER= pgsql@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 @@ -41,5 +43,4 @@ post-install: @(cd ${STAGEDIR}${PREFIX} && ${FIND} ${PGDOCSREL} -type d) | ${SORT} -r | \ ${SED} 's,.*,@unexec rmdir %D/& 2>/dev/null || true,' >>${TMPPLIST} - .include "${MASTERDIR}/Makefile" diff --git a/databases/postgresql96-pltcl/Makefile b/databases/postgresql96-pltcl/Makefile index 97d3f4a17060..4ded6de77ded 100644 --- a/databases/postgresql96-pltcl/Makefile +++ b/databases/postgresql96-pltcl/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PORTNAME= postgresql +PORTREVISION= 0 CATEGORIES= databases tcl PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT} |