rpms/snort/devel snort.spec,1.26,1.27
Dennis Gilmore (ausil)
fedora-extras-commits at redhat.com
Sat Sep 1 03:51:02 UTC 2007
- Previous message (by thread): rpms/eclipse/devel eclipse.spec,1.477,1.478
- Next message (by thread): rpms/latexmk/F-7 .cvsignore, 1.2, 1.3 latexmk-README.fedora, 1.1, 1.2 latexmk-conf.patch, 1.1, 1.2 latexmk-perl.patch, 1.1, 1.2 latexmk.conf, 1.1, 1.2 latexmk.spec, 1.3, 1.4 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ausil
Update of /cvs/extras/rpms/snort/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18805
Modified Files:
snort.spec
Log Message:
fix detection of libnet10 and mysql (on 64 bit platforms)
Index: snort.spec
===================================================================
RCS file: /cvs/extras/rpms/snort/devel/snort.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- snort.spec 28 Aug 2007 03:59:10 -0000 1.26
+++ snort.spec 1 Sep 2007 03:50:29 -0000 1.27
@@ -1,7 +1,7 @@
Summary: Intrusion detection system
Name: snort
Version: 2.7.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2
Group: Applications/Internet
Source0: http://www.snort.org/dl/current/snort-%{version}.tar.gz
@@ -13,12 +13,13 @@
BuildRequires: libpcap-devel >= 0.4
BuildRequires: perl
BuildRequires: pcre-devel
+BuildRequires: sed
%package plain+flexresp
Summary: Snort with Flexible Response
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
-BuildRequires: libnet10-devel
+BuildRequires: libnet10
%package mysql
Summary: Snort with Flexible Response
@@ -142,6 +143,8 @@
%prep
%setup -q
cp %{SOURCE2} doc/
+sed -i -e 's|libnet-config|libnet-config-1.0|g' configure
+sed -i -e 's|\-lnet|\-lnet-1.0|g' configure
%build
@@ -179,6 +182,7 @@
# mysql+flexresp
{
%configure $SNORT_BASE_CONFIG --with-mysql=yes \
+ --with-mysql-libraries=%{_libdir}/mysql \
--with-postgresql=no \
--with-oracle=no \
--with-odbc=no \
@@ -191,6 +195,7 @@
# mysql
{
%configure $SNORT_BASE_CONFIG --with-mysql=yes \
+ --with-mysql-libraries=%{_libdir}/mysql \
--with-postgresql=no \
--with-oracle=no \
--with-odbc=no
@@ -256,6 +261,7 @@
# bloat
{
%configure $SNORT_BASE_CONFIG --with-mysql=yes \
+ --with-mysql-libraries=%{_libdir}/mysql \
--with-postgresql=yes \
--with-oracle=no \
--with-odbc=no \
@@ -471,6 +477,9 @@
%changelog
+* Fri Aug 31 2007 Dennis Gilmore <dennis at ausil.us> - 2.7.0.1-2
+- fix detection of mysql and libnet10
+
* Mon Aug 27 2007 Dennis Gilmore <dennis at ausil.us> - 2.7.0.1-1
- update to 2.7.0.1
- Previous message (by thread): rpms/eclipse/devel eclipse.spec,1.477,1.478
- Next message (by thread): rpms/latexmk/F-7 .cvsignore, 1.2, 1.3 latexmk-README.fedora, 1.1, 1.2 latexmk-conf.patch, 1.1, 1.2 latexmk-perl.patch, 1.1, 1.2 latexmk.conf, 1.1, 1.2 latexmk.spec, 1.3, 1.4 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list