rpms/snort/devel snort.spec,1.3,1.4

Matthias Saou (thias) fedora-extras-commits at redhat.com
Sat Mar 5 19:28:30 UTC 2005


Author: thias

Update of /cvs/extras/rpms/snort/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6950/snort/devel

Modified Files:
	snort.spec 
Log Message:
Mass letter "s" update, one or more apply :
- Drop epoch: 0
- Remove %{epoch} requirements in sub-packages
- Remove trailing white spaces
- Keep consistent between spaces and tabs



Index: snort.spec
===================================================================
RCS file: /cvs/extras/rpms/snort/devel/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	5 Mar 2005 19:28:28 -0000	1.4
@@ -1,8 +1,7 @@
-Summary:        An intrusion detection system
+Summary:        Intrusion detection system
 Name:           snort
 Version:        2.0.0
-Release:        0.fdr.1.rh90
-Epoch:          0
+Release:        1
 License:        GPL
 Group:          Applications/Internet
 Source0:        http://www.snort.org/dl/snort-2.0.0.tar.gz
@@ -10,8 +9,8 @@
 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
 
 %package        plain+flexresp
@@ -25,7 +24,7 @@
 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
@@ -33,13 +32,13 @@
 Requires:       %{name} = %{version}-%{release}
 Requires:       libnet
 BuildRequires:  libnet
-BuildRequires:  mysql-devel 
+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
@@ -47,14 +46,14 @@
 Requires:       %{name} = %{version}-%{release}
 Requires:       libnet
 BuildRequires:  libnet
-BuildRequires:  postgresql-devel 
+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
@@ -62,8 +61,8 @@
 Requires:       %{name} = %{version}-%{release}
 Requires:       libnet
 BuildRequires:  libnet
-BuildRequires:  net-snmp-devel 
-BuildRequires:  openssl-devel 
+BuildRequires:  net-snmp-devel
+BuildRequires:  openssl-devel
 
 %package        bloat
 Summary:        Snort with Flexible Response
@@ -71,21 +70,20 @@
 Requires:       %{name} = %{version}-%{release}
 Requires:       libnet
 BuildRequires:  libnet
-BuildRequires:  net-snmp-devel 
-BuildRequires:  postgresql-devel 
-BuildRequires:  mysql-devel 
-BuildRequires:  openssl-devel 
+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 +120,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,7 +141,6 @@
 Snort compiled with snmp+flexresp+mysql+postgresql support.
 Requires libnet rpm.
 
-#---------------------------------------------------------------------
 
 %prep
 echo "
@@ -152,9 +149,8 @@
 Has not been rebuilt or updated since rh9.
 --------------------------------------------------------------" > /dev/null
 exit 1
-%setup -q 
+%setup -q
 
-#---------------------------------------------------------------------
 
 %build
 
@@ -166,12 +162,12 @@
 export AM_CFLAGS="-g -O2"
 SNORT_BASE_CONFIG="--prefix=%{_prefix} \
                    --sysconfdir=%{_sysconfdir} \
-		   --with-libpcap-includes=/usr/include/pcap"
+                   --with-libpcap-includes=/usr/include/pcap"
 
 # there are some strange configure errors
 # when not doing a distclean between major builds.
 
-# plain 
+# plain
 {
 mkdir plain
 cd plain
@@ -181,7 +177,7 @@
                                    --with-odbc=no
 make -j3
 mv src/snort ../snort-plain
-# make distclean 
+# make distclean
 cd ..
 }
 
@@ -196,7 +192,7 @@
                                    --enable-flexresp
 make -j3
 mv src/snort ../snort-plain+flexresp
-# make distclean 
+# make distclean
 
 cd ..
 }
@@ -212,7 +208,7 @@
                                    --enable-flexresp
 make -j3
 mv src/snort ../snort-mysql+flexresp
-# make distclean 
+# make distclean
 cd ..
 }
 
@@ -223,10 +219,10 @@
 ../../configure $SNORT_BASE_CONFIG --with-mysql=yes \
                                    --with-postgresql=no \
                                    --with-oracle=no \
-                                   --with-odbc=no 
+                                   --with-odbc=no
 make -j3
 mv src/snort ../snort-mysql
-# make distclean 
+# make distclean
 
 cd ..
 }
@@ -244,7 +240,7 @@
                                    --enable-flexresp
 make -j3
 mv src/snort ../snort-postgresql+flexresp
-# make distclean 
+# make distclean
 cd ..
 }
 
@@ -255,10 +251,10 @@
 ../../configure $SNORT_BASE_CONFIG --with-mysql=no \
                                    --with-postgresql=yes \
                                    --with-oracle=no \
-                                   --with-odbc=no 
+                                   --with-odbc=no
 make -j3
 mv src/snort ../snort-postgresql
-# make distclean 
+# make distclean
 cd ..
 }
 
@@ -275,7 +271,7 @@
 
 make -j3
 mv src/snort ../snort-snmp
-# make distclean 
+# make distclean
 cd ..
 }
 
@@ -293,7 +289,7 @@
                                    --with-openssl
 make -j3
 mv src/snort ../snort-snmp+flexresp
-# make distclean 
+# make distclean
 cd ..
 }
 
@@ -314,7 +310,6 @@
 cd ..
 }
 
-#---------------------------------------------------------------------
 
 %install
 if [ -d %{buildroot} ]; then
@@ -347,21 +342,18 @@
 
 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,47 +362,38 @@
    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)
@@ -447,7 +430,6 @@
 %files bloat
 %attr(755,root,root) %{_sbindir}/snort-bloat
 
-#---------------------------------------------------------------------
 
 %changelog
 * Tue Apr 01 2003 Phillip Compton <pcompton AT proteinmedia.com> 0:2.0.0-0.fdr.0.1.rc4




More information about the scm-commits mailing list