Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2001 23:04:50 +0900 (JST)
From:      teramoto@comm.eng.osaka-u.ac.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/25803: security/snort compiled without MySQL, PostgreSQL support
Message-ID:  <200103141404.f2EE4oP47614@celine.comm.eng.osaka-u.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         25803
>Category:       ports
>Synopsis:       security/snort is compiled without MySQL, PostgreSQL support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 14 06:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     TERAMOTO Masahiro
>Release:        FreeBSD 4.3-BETA i386
>Organization:
Department of Communications Engineering, Osaka University
>Environment:
System: FreeBSD celine 4.3-BETA FreeBSD 4.3-BETA #0: Tue Mar 13 08:26:10 JST 2001 root@celine:/usr/src/sys/compile/CELINE i386

ports/Mk/bsd.port.mk,v 1.362 2001/02/17 00:46:26

>Description:
	security/snort is configured with "--with-mysql=no --with-odbc=no
	--with-postgresql=no", so even if I do "make WITH_POSTGRESQL=yes"
	snort is compiled without PostgreSQL support.
>How-To-Repeat:
	cd /usr/ports/security/snort ; make WITH_POSTGRES=yes
>Fix:
	Please apply this patch. configure script automatically find library
	and header if PostgreSQL or MySQL installed.

diff -urN snort.orig/Makefile snort/Makefile
--- snort.orig/Makefile Sat Jan 27 16:55:06 2001
+++ snort/Makefile      Wed Mar 14 22:08:10 2001
@@ -14,7 +14,6 @@
 MAINTAINER=    dirk@FreeBSD.org
 
 GNU_CONFIGURE= yes
-CONFIGURE_ARGS=	--with-mysql=no --with-odbc=no --with-postgresql=no
 MAN8=          snort.8
 
 .if defined(WITH_FLEXRESP)
@@ -38,7 +37,7 @@
 .endif
 
 .if defined(WITH_POSTGRES)
-LIB_DEPENDS+=  pq.2:${PORTSDIR}/databases/postgresql
+LIB_DEPENDS+=  pq.2:${PORTSDIR}/databases/postgresql7
 CONFIGURE_ARGS+=--with-libpq-includes=${LOCALBASE}/pgsql/include \
		--with-libpq-libraries=${LOCALBASE}/pgsql/lib
 .if exists(/usr/lib/libssl.a) && exists(/usr/lib/libcrypto.a)

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103141404.f2EE4oP47614>