[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

current snort port broken ?



Hi there,

I am running an openbsd 3.0-stable (last build made yesterday) & syncing
the server to the current ports collection. I tried to install snort
1.8.3 with mysql & flexresp but it fails with an error message stating
that the lib mysqlclient.10 is missing though I have the
mysql-client-3.23.42 package installed. 

After fiddling a bit w/ the different options, I think I found an error
in line 39 of the Makefile (v 1.21, up-to-date cvs version). the line
reads:
LIB_DEPENDS+= mysqlclient.10:mysql-client-3.23.*:databases/mysql
while it should read:
LIB_DEPENDS+= \
lib/mysql/mysqlclient.10:mysql-client-3.23.*:databases/mysql

Quickie patch:
--- Makefile    Thu Dec 13 14:48:54 2001
+++ Makefile.new        Thu Dec 13 14:45:03 2001
@@ -36,7 +36,7 @@
 .endif
 
 .if ${FLAVOR:L:Mmysql}
-LIB_DEPENDS+=  mysqlclient.10:mysql-client-3.23.*:databases/mysql
+LIB_DEPENDS+= 
lib/mysql/mysqlclient.10:mysql-client-3.23.*:databases/mysql
 CONFIGURE_ARGS+= --with-mysql="${LOCALBASE}"
 .else
 CONFIGURE_ARGS+= --without-mysql

After applying the above patch, the installation went with no error. 

Regards 

-- 
/saad
[put your signature here]
self-customize-sig(tm). another dumb patent...
nodisclaimer