rpms/snort/FC-3 snort-2.4.3-configure64.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 snort.spec, 1.3, 1.4 sources, 1.2, 1.3
Dennis Gilmore (ausil)
fedora-extras-commits at redhat.com
Fri Feb 17 02:18:37 UTC 2006
- Previous message: rpms/snort/FC-4 snort-2.4.3-configure64.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 snort.spec, 1.4, 1.5 sources, 1.2, 1.3
- Next message: owners owners.list,1.645,1.646
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ausil
Update of /cvs/extras/rpms/snort/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4572
Modified Files:
.cvsignore snort.spec sources
Added Files:
snort-2.4.3-configure64.patch
Log Message:
update to 2.4.3
snort-2.4.3-configure64.patch:
--- NEW FILE snort-2.4.3-configure64.patch ---
--- snort-2.4.3-orig/configure 2005-10-17 08:50:23.000000000 -0500
+++ snort-2.4.3/configure 2006-02-16 13:05:52.000000000 -0600
@@ -6854,7 +6854,7 @@
fi
else
- for i in lib lib/mysql; do
+ for i in lib lib/mysql lib64 lib64/mysql; do
str="$MYSQL_DIR/$i/libmysqlclient.*"
for j in `echo $str`; do
if test -r $j; then
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/snort/FC-3/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 8 Nov 2004 05:21:56 -0000 1.2
+++ .cvsignore 17 Feb 2006 02:18:37 -0000 1.3
@@ -1 +1 @@
-snort-2.0.0.tar.gz
+snort-2.4.3.tar.gz
Index: snort.spec
===================================================================
RCS file: /cvs/extras/rpms/snort/FC-3/snort.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- snort.spec 2 Dec 2004 01:37:21 -0000 1.3
+++ snort.spec 17 Feb 2006 02:18:37 -0000 1.4
@@ -1,91 +1,91 @@
-Summary: An intrusion detection system
+Summary: Intrusion detection system
Name: snort
-Version: 2.0.0
-Release: 0.fdr.1.rh90
-Epoch: 0
+Version: 2.4.3
+Release: 1%{?dist}
License: GPL
Group: Applications/Internet
-Source0: http://www.snort.org/dl/snort-2.0.0.tar.gz
+Source0: http://www.snort.org/dl/current/snort-%{version}.tar.gz
Source1: snortd
+Patch: snort-2.4.3-configure64.patch
Url: http://www.snort.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Prefix: /usr
-Requires: libpcap >= 0:0.4
-BuildRequires: libpcap >= 0.4
+Requires: libpcap >= 0.4
+BuildRequires: libpcap >= 0.4
BuildRequires: perl
+BuildRequires: pcre-devel
%package plain+flexresp
Summary: Snort with Flexible Response
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
-Requires: libnet
-BuildRequires: libnet
+Requires: libnet10
+BuildRequires: libnet10
%package mysql
Summary: Snort with Flexible Response
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
-BuildRequires: mysql-devel
+BuildRequires: mysql-devel
%package mysql+flexresp
Summary: Snort with Flexible Response
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
-Requires: libnet
-BuildRequires: libnet
-BuildRequires: mysql-devel
+Requires: libnet10
+BuildRequires: libnet10
+BuildRequires: mysql-devel
%package postgresql
Summary: Snort with Flexible Response
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
-BuildRequires: postgresql-devel
+BuildRequires: postgresql-devel
%package postgresql+flexresp
Summary: Snort with Flexible Response
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
-Requires: libnet
-BuildRequires: libnet
-BuildRequires: postgresql-devel
+Requires: libnet10
+BuildRequires: libnet10
+BuildRequires: postgresql-devel
%package snmp
Summary: Snort with Flexible Response
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
-BuildRequires: net-snmp-devel
-BuildRequires: openssl-devel
+BuildRequires: net-snmp-devel
+BuildRequires: openssl-devel
%package snmp+flexresp
Summary: Snort with Flexible Response
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
-Requires: libnet
-BuildRequires: libnet
-BuildRequires: net-snmp-devel
-BuildRequires: openssl-devel
+Requires: libnet10
+BuildRequires: libnet10
+BuildRequires: net-snmp-devel
+BuildRequires: openssl-devel
%package bloat
Summary: Snort with Flexible Response
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
-Requires: libnet
-BuildRequires: libnet
-BuildRequires: net-snmp-devel
-BuildRequires: postgresql-devel
-BuildRequires: mysql-devel
-BuildRequires: openssl-devel
+Requires: libnet10
+BuildRequires: libnet10
+BuildRequires: net-snmp-devel
+BuildRequires: postgresql-devel
+BuildRequires: mysql-devel
+BuildRequires: openssl-devel
-#---------------------------------------------------------------------
%description
-Snort is a libpcap-based packet sniffer/logger which
-can be used as a lightweight network intrusion detection system.
-It features rules based logging and can perform protocol analysis,
-content searching/matching and can be used to detect a variety of
-attacks and probes, such as buffer overflows, stealth port scans,
-CGI attacks, SMB probes, OS fingerprinting attempts, and much more.
-Snort has a real-time alerting capabilty, with alerts being sent to syslog,
+Snort is a libpcap-based packet sniffer/logger which
+can be used as a lightweight network intrusion detection system.
+It features rules based logging and can perform protocol analysis,
+content searching/matching and can be used to detect a variety of
+attacks and probes, such as buffer overflows, stealth port scans,
+CGI attacks, SMB probes, OS fingerprinting attempts, and much more.
+Snort has a real-time alerting capabilty, with alerts being sent to syslog,
a seperate "alert" file, or as a WinPopup message via Samba's smbclient
This version is compiled without database support. Edit the spec file
@@ -122,7 +122,7 @@
Snort compiled with mysql+flexresp support. Requires libnet rpm.
%description postgresql
-Snort compiled with postgresql support.
+Snort compiled with postgresql support.
%description postgresql+flexresp
Snort compiled with postgresql+flexresp support. Requires snort rpm.
@@ -143,178 +143,144 @@
Snort compiled with snmp+flexresp+mysql+postgresql support.
Requires libnet rpm.
-#---------------------------------------------------------------------
%prep
-echo "
---------------------------------------------------------------
-Unmaintained since rh9.
-Has not been rebuilt or updated since rh9.
---------------------------------------------------------------" > /dev/null
-exit 1
-%setup -q
-
-#---------------------------------------------------------------------
+%setup -q
+%patch0 -p1 -b .config
%build
-touch -r . *
-aclocal
-automake
-rm -rf building && mkdir -p building && cd building
+#touch -r . *
+#aclocal
+#automake
+#rm -rf building && mkdir -p building && cd building
-export AM_CFLAGS="-g -O2"
+#export AM_CFLAGS="-g -O2"
SNORT_BASE_CONFIG="--prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
- --with-libpcap-includes=/usr/include/pcap"
-
+ --with-libpcap-includes=/usr/include/pcap"
+export LDFLAGS=-L/usr/lib64/mysql
# there are some strange configure errors
# when not doing a distclean between major builds.
-# plain
+# plain
{
-mkdir plain
-cd plain
-../../configure $SNORT_BASE_CONFIG --with-mysql=no \
+#mkdir plain
+#cd plain
+%configure $SNORT_BASE_CONFIG --with-mysql=no \
--with-postgresql=no \
--with-oracle=no \
- --with-odbc=no
-make -j3
-mv src/snort ../snort-plain
-# make distclean
-cd ..
+ --with-odbc=no
+make %{?_smp_mflags}
+mv src/snort snort-plain
+
+# make distclean
+#cd ..
}
# plain+flexresp
{
-mkdir plain+flexresp
-cd plain+flexresp
-../../configure $SNORT_BASE_CONFIG --with-mysql=no \
+%configure $SNORT_BASE_CONFIG --with-mysql=no \
--with-postgresql=no \
--with-oracle=no \
--with-odbc=no \
--enable-flexresp
-make -j3
-mv src/snort ../snort-plain+flexresp
-# make distclean
-
-cd ..
+make %{?_smp_mflags}
+mv src/snort snort-plain+flexresp
+# make distclean
}
# mysql+flexresp
{
-mkdir mysql+flexresp
-cd mysql+flexresp
-../../configure $SNORT_BASE_CONFIG --with-mysql=yes \
+%configure $SNORT_BASE_CONFIG --with-mysql=yes \
--with-postgresql=no \
--with-oracle=no \
--with-odbc=no \
--enable-flexresp
-make -j3
-mv src/snort ../snort-mysql+flexresp
-# make distclean
-cd ..
+make %{?_smp_mflags}
+mv src/snort snort-mysql+flexresp
+# make distclean
}
# mysql
{
-mkdir mysql
-cd mysql
-../../configure $SNORT_BASE_CONFIG --with-mysql=yes \
- --with-postgresql=no \
- --with-oracle=no \
- --with-odbc=no
-make -j3
-mv src/snort ../snort-mysql
-# make distclean
-
-cd ..
+%configure $SNORT_BASE_CONFIG --with-mysql=yes \
+ --with-postgresql=no \
+ --with-oracle=no \
+ --with-odbc=no
+make %{?_smp_mflags}
+mv src/snort snort-mysql
+# make distclean
}
# postgresql+flexresp
{
-mkdir postgresql+flexresp
-cd postgresql+flexresp
-../../configure $SNORT_BASE_CONFIG --with-mysql=no \
+%configure $SNORT_BASE_CONFIG --with-mysql=no \
--with-postgresql=yes \
--with-oracle=no \
--with-odbc=no \
--enable-flexresp
-make -j3
-mv src/snort ../snort-postgresql+flexresp
-# make distclean
-cd ..
+make %{?_smp_mflags}
+mv src/snort snort-postgresql+flexresp
+# make distclean
}
# postgresql
{
-mkdir postgresql
-cd postgresql
-../../configure $SNORT_BASE_CONFIG --with-mysql=no \
+%configure $SNORT_BASE_CONFIG --with-mysql=no \
--with-postgresql=yes \
--with-oracle=no \
- --with-odbc=no
-make -j3
-mv src/snort ../snort-postgresql
-# make distclean
-cd ..
+ --with-odbc=no
+make %{?_smp_mflags}
+mv src/snort snort-postgresql
+# make distclean
}
# snmp
{
-mkdir snmp
-cd snmp
-../../configure $SNORT_BASE_CONFIG --with-mysql=no \
+%configure $SNORT_BASE_CONFIG --with-mysql=no \
--with-postgresql=no \
--with-oracle=no \
--with-odbc=no \
--with-snmp=/usr \
--with-openssl
-make -j3
-mv src/snort ../snort-snmp
-# make distclean
-cd ..
+make %{?_smp_mflags}
+mv src/snort snort-snmp
+# make distclean
}
# snmp+flexresp
{
-mkdir snmp+flexresp
-cd snmp+flexresp
-../../configure $SNORT_BASE_CONFIG --with-mysql=no \
+%configure $SNORT_BASE_CONFIG --with-mysql=no \
--with-postgresql=no \
--with-oracle=no \
--with-odbc=no \
--with-snmp \
--enable-flexresp \
--with-openssl
-make -j3
-mv src/snort ../snort-snmp+flexresp
-# make distclean
-cd ..
+make %{?_smp_mflags}
+mv src/snort snort-snmp+flexresp
+# make distclean
}
# bloat
{
-mkdir bloat
-cd bloat
-../../configure $SNORT_BASE_CONFIG --with-mysql=yes \
+%configure $SNORT_BASE_CONFIG --with-mysql=yes \
--with-postgresql=yes \
--with-oracle=no \
--with-odbc=no \
--with-snmp \
--enable-flexresp \
--with-openssl
-make -j3
-mv src/snort ../snort-bloat
+make %{?_smp_mflags}
+mv src/snort snort-bloat
# make distclean
-cd ..
}
-#---------------------------------------------------------------------
%install
if [ -d %{buildroot} ]; then
@@ -328,7 +294,6 @@
mkdir -p %{buildroot}%{_mandir}/man8
{
-pushd building
install snort-plain %{buildroot}%{_sbindir}/snort-plain
install snort-plain+flexresp %{buildroot}%{_sbindir}/snort-plain+flexresp
install snort-mysql %{buildroot}%{_sbindir}/snort-mysql
@@ -338,30 +303,26 @@
install snort-snmp %{buildroot}%{_sbindir}/snort-snmp
install snort-snmp+flexresp %{buildroot}%{_sbindir}/snort-snmp+flexresp
install snort-bloat %{buildroot}%{_sbindir}/snort-bloat
-popd
}
install snort.8 %{buildroot}%{_mandir}/man8
-install etc/reference.config etc/classification.config etc/snort.conf rules/*.rules %{buildroot}%{_sysconfdir}
+install etc/reference.config etc/classification.config etc/snort.conf %{buildroot}%{_sysconfdir}
install %{SOURCE1} %{buildroot}/etc/rc.d/init.d
perl -pi -e 's!var RULE_PATH ../rules!var RULE_PATH %{_sysconfdir}!' %{buildroot}%{_sysconfdir}/snort.conf
-#---------------------------------------------------------------------
%clean
if [ -d %{buildroot} ]; then
rm -rf %{buildroot}
fi
-#---------------------------------------------------------------------
-
+
%post
# make a symlink if there is no link
ln -sf %{_sbindir}/snort-plain %{_sbindir}/snort
/sbin/chkconfig --add snortd
-#---------------------------------------------------------------------
%preun
/etc/rc.d/init.d/snortd stop
@@ -370,51 +331,42 @@
if [ -L %{_sbindir}/snort ]; then rm %{_sbindir}/snort; fi
fi
-#---------------------------------------------------------------------
%post plain+flexresp
if [ -L %{_sbindir}/snort ] || [ ! -e %{_sbindir}/snort ] ; then ln -sf %{_sbindir}/snort-plain+flexresp %{_sbindir}/snort; fi
-#---------------------------------------------------------------------
%post mysql
if [ -L %{_sbindir}/snort ] || [ ! -e %{_sbindir}/snort ] ; then ln -sf %{_sbindir}/snort-mysql %{_sbindir}/snort; fi
-#---------------------------------------------------------------------
%post mysql+flexresp
if [ -L %{_sbindir}/snort ] || [ ! -e %{_sbindir}/snort ] ; then ln -sf %{_sbindir}/snort-mysql+flexresp %{_sbindir}/snort; fi
-#---------------------------------------------------------------------
%post postgresql
if [ -L %{_sbindir}/snort ] || [ ! -e %{_sbindir}/snort ] ; then ln -sf %{_sbindir}/snort-postgresql %{_sbindir}/snort; fi
-#---------------------------------------------------------------------
%post postgresql+flexresp
if [ -L %{_sbindir}/snort ] || [ ! -e %{_sbindir}/snort ] ; then ln -sf %{_sbindir}/snort-postgresql+flexresp %{_sbindir}/snort; fi
-#---------------------------------------------------------------------
%post snmp
if [ -L %{_sbindir}/snort ] || [ ! -e %{_sbindir}/snort ] ; then ln -sf %{_sbindir}/snort-snmp %{_sbindir}/snort; fi
-#---------------------------------------------------------------------
%post snmp+flexresp
if [ -L %{_sbindir}/snort ] || [ ! -e %{_sbindir}/snort ] ; then ln -sf %{_sbindir}/snort-sfnmp+flexresp %{_sbindir}/snort; fi
-#---------------------------------------------------------------------
%post bloat
if [ -L %{_sbindir}/snort ] || [ ! -e %{_sbindir}/snort ] ; then ln -sf %{_sbindir}/snort-bloat %{_sbindir}/snort; fi
-#---------------------------------------------------------------------
%files
%defattr(-,root,root)
-%doc doc/AUTHORS doc/BUGS doc/FAQ doc/README* doc/RULES.todo doc/SnortUsersManual.pdf doc/TODO doc/USAGE
+%doc doc/*
%attr(755,root,root) %{_sbindir}/snort-plain
# handle compressed man pages.
@@ -447,9 +399,11 @@
%files bloat
%attr(755,root,root) %{_sbindir}/snort-bloat
-#---------------------------------------------------------------------
%changelog
+* Thu Feb 16 2006 Dennis Gilmore <dennis at ausil.us> - 2.4.3-1
+- Updated to 2.4.3
+
* Tue Apr 01 2003 Phillip Compton <pcompton AT proteinmedia.com> 0:2.0.0-0.fdr.0.1.rc4
- Updated to 2.0.0rc4
- Fedorafied spec
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/snort/FC-3/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 8 Nov 2004 05:21:56 -0000 1.2
+++ sources 17 Feb 2006 02:18:37 -0000 1.3
@@ -1 +1 @@
-b7d374655c4390c07b2e38a2d381c2bd snort-2.0.0.tar.gz
+5c3c8c69f2459bbe0c1f2057966c88a7 snort-2.4.3.tar.gz
- Previous message: rpms/snort/FC-4 snort-2.4.3-configure64.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 snort.spec, 1.4, 1.5 sources, 1.2, 1.3
- Next message: owners owners.list,1.645,1.646
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list