Palle Girgensohn 0642ae4b77 Update PostgreSQL port to latest version.
Two security issues have been fixed in this release which affect users
of specific PostgreSQL features:

CVE-2015-5289: json or jsonb input values constructed from arbitrary
user input can crash the PostgreSQL server and cause a denial of
service.

CVE-2015-5288: The crypt( function included with the optional pgCrypto
extension could be exploited to read a few additional bytes of memory.
No working exploit for this issue has been developed.

This update will also disable SSL renegotiation by default;
previously, it was enabled by default.   SSL renegotiation will be
removed entirely in PostgreSQL versions 9.5 and later.

URL:		http://www.postgresql.org/about/news/1615/
Security:	CVE-2015-5288 CVE-2015-5289
2015-10-08 21:25:01 +00:00

46 lines
1.2 KiB
Makefile

# Created by: Palle Girgensohn <girgen@pingpong.net>
# $FreeBSD$
PORTNAME= postgresql
PKGNAMESUFFIX?= ${DISTV:S/.//}-docs
DISTV= ${DISTVERSION:R}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= The PostgreSQL documentation set
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
USES+= pgsql:${WANT_PGSQL_VER}
WANT_PGSQL_VER?=9.1
SLAVE_ONLY= YES
COMPONENT= -docs
PGDOCSREL?= ${DOCSDIR_REL}/release-${PGSQL_VER}
PGDOCSDIR?= ${PREFIX}/${PGDOCSREL}
sgmldir= ${LOCALBASE}/share/sgml
dbdir= ${sgmldir}/docbook
BUILD_DEPENDS+= onsgmls:${PORTSDIR}/textproc/opensp \
openjade:${PORTSDIR}/textproc/openjade \
${sgmldir}/iso8879/catalog:${PORTSDIR}/textproc/iso8879 \
${dbdir}/dsssl/modular/catalog:${PORTSDIR}/textproc/dsssl-docbook-modular \
docbook-sgml>0:${PORTSDIR}/textproc/docbook-sgml
do-build:
${MAKE_CMD} -C ${WRKSRC} html
do-install:
@ $(MKDIR) ${STAGEDIR}${PGDOCSDIR}
( cd ${WRKSRC}/doc/src/sgml/html && \
${COPYTREE_SHARE} . ${STAGEDIR}${PGDOCSDIR} )
post-install:
@(cd ${STAGEDIR}${PREFIX} && ${FIND} ${PGDOCSREL} -type f) >> ${TMPPLIST}
@(cd ${STAGEDIR}${PREFIX} && ${FIND} ${PGDOCSREL} -type d) | ${SORT} -r | \
${SED} 's,.*,@unexec rmdir %D/& 2>/dev/null || true,' >>${TMPPLIST}
.include "${MASTERDIR}/Makefile"