From owner-freebsd-ports Wed Mar 14 6:10: 7 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3AC1C37B719 for ; Wed, 14 Mar 2001 06:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2EEA2r10380; Wed, 14 Mar 2001 06:10:02 -0800 (PST) (envelope-from gnats) Received: from celine.comm.eng.osaka-u.ac.jp (celine.comm.eng.osaka-u.ac.jp [133.1.44.177]) by hub.freebsd.org (Postfix) with ESMTP id C443337B719 for ; Wed, 14 Mar 2001 06:04:48 -0800 (PST) (envelope-from teramoto@celine.comm.eng.osaka-u.ac.jp) Received: (from teramoto@localhost) by celine.comm.eng.osaka-u.ac.jp (8.11.3/8.11.3) id f2EE4oP47614; Wed, 14 Mar 2001 23:04:50 +0900 (JST) (envelope-from teramoto) Message-Id: <200103141404.f2EE4oP47614@celine.comm.eng.osaka-u.ac.jp> Date: Wed, 14 Mar 2001 23:04:50 +0900 (JST) From: teramoto@comm.eng.osaka-u.ac.jp Reply-To: teramoto@comm.eng.osaka-u.ac.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/25803: security/snort compiled without MySQL, PostgreSQL support Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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