ports/146657: [Patch]databases/postgresql84-server:add option of support gssapi
Wen Heping
wen at FreeBSD.org
Mon May 17 09:00:09 UTC 2010
>Number: 146657
>Category: ports
>Synopsis: [Patch]databases/postgresql84-server:add option of support gssapi
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon May 17 09:00:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Wen Heping
>Release: FreeBSD 9.0
>Organization:
FreeBSD
>Environment:
>Description:
Add a option for support of GSSAPI
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- Makefile.orig 2010-05-14 10:40:01.000000000 +0800
+++ Makefile 2010-05-17 15:15:20.000000000 +0800
@@ -7,7 +7,7 @@
PORTNAME?= postgresql
DISTVERSION?= 8.4.3
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${DISTVERSION}
@@ -91,6 +91,7 @@
OPTIONS+= XML "Build with XML data type (server)" on
OPTIONS+= TZDATA "Use internal timezone database (server)" on
OPTIONS+= DEBUG "Builds with debugging symbols" off
+OPTIONS+= GSSAPI "BUild with GSSAPI support" on
# See http://people.freebsd.org/~girgen/postgresql-icu/README.html for more info
OPTIONS+= ICU "Use ICU 3.x for unicode collation (server)" off
@@ -164,6 +165,10 @@
INSTALL_TARGET= install-strip
. endif
+.if (${OSVERSION} >= 700000) && !defined(WITHOUT_GSSAPI)
+CONFIGURE_ARGS+=--with-gssapi
+.endif
+
. if defined(WITH_MIT_KRB5)
. if exists(/usr/lib/libkrb5.so) || exists(/usr/bin/krb5-config)
BROKEN= "You must remove heimdal's /usr/bin/krb5-config and /usr/lib/libkrb5.so*, and set NO_KERBEROS=true in /etc/make.conf to build successfully with MIT-KRB"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list