update to all current versions of the PostgreSQL database system, including versions 9.2.4, 9.1.9, 9.0.13, and 8.4.17. This update fixes a high-exposure security vulnerability in versions 9.0 and later. All users of the affected versions are strongly urged to apply the update *immediately*. A major security issue (for versions 9.x only) fixed in this release, [CVE-2013-1899](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1899), makes it possible for a connection request containing a database name that begins with "-" to be crafted that can damage or destroy files within a server's data directory. Anyone with access to the port the PostgreSQL server listens on can initiate this request. This issue was discovered by Mitsumasa Kondo and Kyotaro Horiguchi of NTT Open Source Software Center. Two lesser security fixes are also included in this release: [CVE-2013-1900](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1900), wherein random numbers generated by contrib/pgcrypto functions may be easy for another database user to guess (all versions), and [CVE-2013-1901](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1901), which mistakenly allows an unprivileged user to run commands that could interfere with in-progress backups (for versions 9.x only). Approved by: portmgr (bdrewery) URL: http://www.postgresql.org/about/news/1456/ Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1899 Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1900 Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1901
52 lines
1.5 KiB
Makefile
52 lines
1.5 KiB
Makefile
# New ports collection makefile for: PostgreSQL
|
|
# Date created: November 13, 1998
|
|
# Whom: Marc G. Fournier <scrappy@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTVERSION?= 8.3.23
|
|
PORTREVISION?= 1
|
|
PKGNAMESUFFIX?= -server
|
|
|
|
MAINTAINER?= pgsql@FreeBSD.org
|
|
|
|
CONFIGURE_ARGS+=--with-docdir=${DOCSDIR}
|
|
|
|
DEPRECATED= End-of-life is coming up
|
|
EXPIRATION_DATE=2013-03-01
|
|
|
|
ICU_PATCHFILE= pg-8311-icu-xx-2010-05-14.diff.gz
|
|
BUILD_DIRS?= src/port src/timezone src/backend \
|
|
src/backend/utils/mb/conversion_procs src/backend/snowball \
|
|
src/bin/initdb src/bin/ipcclean src/bin/pg_ctl \
|
|
src/bin/pg_controldata src/bin/pg_resetxlog src/pl
|
|
|
|
.if defined(CLIENT_ONLY)
|
|
MAN1= ipcclean.1
|
|
MAN7= alter_operator_family.7 alter_text_search_configuration.7 \
|
|
alter_text_search_dictionary.7 alter_text_search_parser.7 \
|
|
alter_text_search_template.7 alter_view.7 \
|
|
create_operator_family.7 discard.7 drop_operator_family.7 \
|
|
create_text_search_configuration.7 \
|
|
create_text_search_dictionary.7 \
|
|
create_text_search_parser.7 \
|
|
create_text_search_template.7 \
|
|
drop_text_search_configuration.7 \
|
|
drop_text_search_dictionary.7 \
|
|
drop_text_search_parser.7 \
|
|
drop_text_search_template.7
|
|
.endif
|
|
|
|
.if !defined(NO_BUILD)
|
|
pre-build:
|
|
. if defined(SERVER_ONLY)
|
|
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
|
|
. endif
|
|
@ cd ${WRKSRC}/src/backend ;\
|
|
${GMAKE} ../../src/include/parser/parse.h \
|
|
../../src/include/utils/fmgroids.h
|
|
.endif
|
|
|
|
.include "${.CURDIR}/../postgresql84-server/Makefile"
|