Subject: snort-mysql
To: None <tech-pkg@netbsd.org>
From: Tracy J. Di Marco White <gendalia@iastate.edu>
List: tech-pkg
Date: 05/17/2002 16:46:25
I've emulated the snort-pgsql Makefile to try to create a mysql happy
snort. However, I get an error where it doesn't find the libmysql.so
files when I run snort unless I set LD_LIBRARY_PATH to /usr/pkg/lib/mysql.
I thought buildlink magically took care of this, but I've not spent
time looking at buildlink every yet. help, please?
# cat Makefile
#
.include "../snort/Makefile.common"
PKGNAME= ${DISTNAME:S/-/-mysql-/}
COMMENT= Libpcap-based packet sniffer/logger using a MySQL database
CONFLICTS+= snort-[0-9]*
CONFLICTS+= snort-pgsql-[0-9]*
CONFIGURE_ARGS+=--with-mysql=${BUILDLINK_DIR}
PKGDIR= ${.CURDIR}/../snort
PATCHDIR= ${PKGDIR}/patches
DISTINFO_FILE= ${PKGDIR}/distinfo
.include "../../databases/mysql-client/buildlink.mk"
.include "../../net/libpcap/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
Tracy J. Di Marco White
Project Vincent Systems Manager
gendalia@iastate.edu