"Fossies" - the Fresh Open Source Software Archive

Member "snort-2.9.17/rpm/snort.spec" (30 Oct 2020, 26328 Bytes) of package /linux/misc/snort-2.9.17.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) RPM Spec source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "snort.spec": 2.9.16.1_vs_2.9.17.

    1 # $Id$
    2 # Snort.org's SPEC file for Snort
    3 
    4 ################################################################
    5 # rpmbuild Package Options
    6 # ========================
    7 #
    8 # See README.build_rpms for more details.
    9 #
   10 #   --without openappid
   11 #       exclude openAppId preprocessor
   12 # See pg 399 of _Red_Hat_RPM_Guide_ for rpmbuild --with and --without options.
   13 ################################################################
   14 
   15 # Other useful bits
   16 %define SnortRulesDir %{_sysconfdir}/snort/rules
   17 %define noShell /bin/false
   18 
   19 # Handle the options noted above.
   20 # Default with openAppId, but '--without openappid' will disable it
   21 %define openappid 1
   22 %{?_without_openappid:%define openappid 0}
   23 
   24 %define vendor Snort.org
   25 %define for_distro RPMs
   26 %define release 1
   27 %define realname snort
   28 
   29 # Look for a directory to see if we're building under cAos 
   30 # Exit status is usually 0 if the dir exists, 1 if not, so
   31 # we reverse that with the '!'
   32 %define caos %([ ! -d /usr/lib/rpm/caos ]; echo $?)
   33 
   34 %if %{caos}
   35   # We are building for cAos (www.caosity.org) and the autobuilder doesn't
   36   # have command line options so we have to fake the options for whatever
   37   # packages we actually want here, in addition to tweaking the package
   38   # info.
   39   %define vendor cAos Linux 
   40   %define for_distro RPMs for cAos Linux
   41   %define release 1.caos
   42 %endif
   43 
   44 %if !%{openappid}
   45   %define DisableOpenAppId --disable-open-appid
   46 %endif
   47 
   48 %if %{openappid}
   49 Name: %{realname}-openappid
   50 #FIXME: instead of pulling version here, add it in via the rpmbuild command. This will require documentation updates.
   51 Version: 2.9.17
   52 Summary: An open source Network Intrusion Detection System (NIDS) with open AppId support
   53 Conflicts: %{realname}
   54 %else
   55 Name: %{realname}
   56 #FIXME: instead of pulling version here, add it in via the rpmbuild command. This will require documentation updates.
   57 Version: 2.9.17
   58 Summary: An open source Network Intrusion Detection System (NIDS)
   59 Conflicts: %{realname}-openappid
   60 %endif
   61 Epoch: 1
   62 Release: %{release}
   63 Group: Applications/Internet
   64 License: GPL
   65 Url: http://www.snort.org/
   66 Source0: https://www.snort.org/downloads/snort/%{realname}-%{version}.tar.gz
   67 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
   68 
   69 Packager: Official Snort.org %{for_distro}
   70 Vendor: %{vendor}
   71 BuildRequires: autoconf, automake, pcre-devel, libpcap-devel
   72 
   73 %description
   74 Snort is an open source network intrusion detection system, capable of
   75 performing real-time traffic analysis and packet logging on IP networks.
   76 It can perform protocol analysis, content searching/matching and can be
   77 used to detect a variety of attacks and probes, such as buffer overflows,
   78 stealth port scans, CGI attacks, SMB probes, OS fingerprinting attempts,
   79 and much more.
   80 
   81 Snort has three primary uses. It can be used as a straight packet sniffer
   82 like tcpdump(1), a packet logger (useful for network traffic debugging,
   83 etc), or as a full blown network intrusion detection system. 
   84 
   85 You MUST edit /etc/snort/snort.conf to configure snort before it will work!
   86 
   87 Please see the documentation in %{_docdir}/%{realname}-%{version} for more
   88 information on snort features and configuration.
   89 
   90 
   91 %prep
   92 %setup -q -n %{realname}-%{version}
   93 
   94 # When building from a Snort.org CVS snapshot tarball, you have to run
   95 # autojunk before you can build.
   96 if [ \( ! -s configure \) -a \( -x autojunk.sh \) ]; then
   97     ./autojunk.sh
   98 fi
   99 
  100 # Make sure it worked, or die with a useful error message.
  101 if [ ! -s configure ]; then
  102     echo "Can't find ./configure.  ./autojunk.sh not present or not executable?"
  103     exit 2
  104 fi
  105 
  106 
  107 %build
  108 
  109 BuildSnort() {
  110    %__mkdir "$1"
  111    cd "$1"
  112    %__ln_s ../configure ./configure
  113 
  114    if [ "$1" = "plain" ] ; then
  115        ./configure $SNORT_BASE_CONFIG \
  116        %{?DisableOpenAppId}
  117    fi
  118 
  119    if [ "$1" = "openappid" ] ; then
  120        ./configure $SNORT_BASE_CONFIG
  121    fi
  122 
  123    %__make
  124    %__mv src/snort ../%{realname}-"$1"
  125    cd ..
  126 }
  127 
  128 
  129 CFLAGS="$RPM_OPT_FLAGS"
  130 export AM_CFLAGS="-g -O2"
  131 SNORT_BASE_CONFIG="--prefix=%{_prefix} \
  132                    --bindir=%{_sbindir} \
  133                    --sysconfdir=%{_sysconfdir}/snort \
  134                    --with-libpcap-includes=%{_includedir} \
  135                    --enable-targetbased \
  136                    --enable-control-socket"
  137 
  138 %if %{openappid}
  139   BuildSnort openappid
  140 %else
  141   BuildSnort plain
  142 %endif
  143 
  144 %install
  145 
  146 # Remove leftover CVS files in the tarball, if any...
  147 find . -type 'd' -name "CVS" -print | xargs %{__rm} -rf
  148 
  149 InstallSnort() {
  150    if [ "$1" = "plain" ] || [ "$1" = "openappid" ]; then
  151     %__rm -rf $RPM_BUILD_ROOT
  152     %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{_sbindir}
  153     %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{_bindir}
  154     %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{SnortRulesDir}
  155     %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/snort
  156     %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
  157     %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
  158     %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{_var}/log/snort
  159     %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{_initrddir}
  160     %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{_mandir}/man8
  161     %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{_docdir}/%{realname}-%{version}
  162     %__install -p -m 0755 %{realname}-"$1" $RPM_BUILD_ROOT%{_sbindir}/%{realname}-"$1"
  163     %__install -p -m 0755 "$1"/tools/control/snort_control $RPM_BUILD_ROOT%{_bindir}/snort_control
  164     %__install -p -m 0755 "$1"/tools/u2spewfoo/u2spewfoo $RPM_BUILD_ROOT%{_bindir}/u2spewfoo
  165     %__install -p -m 0755 "$1"/tools/u2boat/u2boat $RPM_BUILD_ROOT%{_bindir}/u2boat
  166     %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{_libdir}/%{realname}-%{version}_dynamicengine
  167     %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{_libdir}/%{realname}-%{version}_dynamicpreprocessor
  168     %__install -p -m 0755 "$1"/src/dynamic-plugins/sf_engine/.libs/libsf_engine.so.0 $RPM_BUILD_ROOT%{_libdir}/%{realname}-%{version}_dynamicengine
  169     %__ln_s -f %{_libdir}/%{realname}-%{version}_dynamicengine/libsf_engine.so.0 $RPM_BUILD_ROOT%{_libdir}/%{realname}-%{version}_dynamicengine/libsf_engine.so
  170     %__install -p -m 0755 "$1"/src/dynamic-preprocessors/build%{_prefix}/lib/snort_dynamicpreprocessor/*.so* $RPM_BUILD_ROOT%{_libdir}/%{realname}-%{version}_dynamicpreprocessor
  171     
  172     for file in $RPM_BUILD_ROOT%{_libdir}/%{realname}-%{version}_dynamicpreprocessor/*.so;  do  
  173           preprocessor=`basename $file`
  174           %__ln_s -f %{_libdir}/%{realname}-%{version}_dynamicpreprocessor/$preprocessor.0 $file     
  175     done   
  176     
  177     %__install -p -m 0644 snort.8 $RPM_BUILD_ROOT%{_mandir}/man8
  178 
  179     %__rm -rf $RPM_BUILD_ROOT%{_mandir}/man8/snort.8.gz
  180     %__gzip $RPM_BUILD_ROOT%{_mandir}/man8/snort.8
  181     %__install -p -m 0755 rpm/snortd $RPM_BUILD_ROOT%{_initrddir}
  182     %__install -p -m 0644 rpm/snort.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{realname}
  183     %__install -p -m 0644 rpm/snort.logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/snort
  184     %__install -p -m 0644 etc/reference.config etc/classification.config \
  185         etc/unicode.map etc/gen-msg.map \
  186         etc/threshold.conf etc/snort.conf \
  187         $RPM_BUILD_ROOT%{_sysconfdir}/snort
  188     find doc -maxdepth 1 -type f -not -name 'Makefile*' -exec %__install -p -m 0644 {} $RPM_BUILD_ROOT%{_docdir}/%{realname}-%{version} \;
  189 
  190     %__rm -f $RPM_BUILD_ROOT%{_docdir}/%{realname}-%{version}/Makefile.*
  191    fi
  192    if [ "$1" = "openappid" ]; then
  193     %__install -p -m 0755 "$1"/tools/u2openappid/u2openappid $RPM_BUILD_ROOT%{_bindir}/u2openappid
  194     # This isn't built, it has to be copied from the source tree
  195     %__install -p -m 0755 tools/appid_detector_builder.sh $RPM_BUILD_ROOT%{_bindir}/appid_detector_builder.sh
  196    fi
  197 }
  198 
  199 # Fix the RULE_PATH
  200 %__sed -e 's;var RULE_PATH ../rules;var RULE_PATH %{SnortRulesDir};' \
  201     < etc/snort.conf > etc/snort.conf.new
  202 %__rm -f etc/snort.conf
  203 %__mv etc/snort.conf.new etc/snort.conf
  204 
  205 # Fix dynamic-preproc paths
  206 %__sed -e 's;dynamicpreprocessor directory \/usr\/local/lib\/snort_dynamicpreprocessor;dynamicpreprocessor directory %{_libdir}\/%{realname}-%{version}_dynamicpreprocessor;' < etc/snort.conf > etc/snort.conf.new
  207 %__rm -f etc/snort.conf
  208 %__mv etc/snort.conf.new etc/snort.conf
  209 
  210 # Fix dynamic-engine paths
  211 %__sed -e 's;dynamicengine \/usr\/local/lib\/snort_dynamicengine;dynamicengine %{_libdir}\/%{realname}-%{version}_dynamicengine;' < etc/snort.conf > etc/snort.conf.new
  212 %__rm -f etc/snort.conf
  213 %__mv etc/snort.conf.new etc/snort.conf
  214 
  215 
  216 
  217 %if %{openappid}
  218   InstallSnort openappid
  219 %else
  220   InstallSnort plain
  221 %endif
  222 
  223 %clean
  224 %__rm -rf $RPM_BUILD_ROOT
  225 
  226 
  227 %pre
  228 # Don't do all this stuff if we are upgrading
  229 if [ $1 = 1 ] ; then
  230     /usr/sbin/groupadd snort 2> /dev/null || true
  231     /usr/sbin/useradd -M -d %{_var}/log/snort -s %{noShell} -c "Snort" -g snort snort 2>/dev/null || true
  232 fi
  233 
  234 %post
  235 # Make a symlink if there is no link for snort-plain
  236 %if %{openappid}
  237   if [ -L %{_sbindir}/snort ] || [ ! -e %{_sbindir}/snort ] ; then \
  238     %__rm -f %{_sbindir}/snort; %__ln_s %{_sbindir}/%{name} %{_sbindir}/snort; fi
  239 %else
  240   if [ -L %{_sbindir}/snort ] || [ ! -e %{_sbindir}/snort ] ; then \
  241     %__rm -f %{_sbindir}/snort; %__ln_s %{_sbindir}/%{name}-plain %{_sbindir}/snort; fi
  242 %endif
  243 
  244 # We should restart it to activate the new binary if it was upgraded
  245 %{_initrddir}/snortd condrestart 1>/dev/null 2>/dev/null
  246 
  247 # Don't do all this stuff if we are upgrading
  248 if [ $1 = 1 ] ; then
  249     %__chown -R snort.snort %{_var}/log/snort
  250     /sbin/chkconfig --add snortd
  251 fi
  252 
  253 
  254 %preun
  255 if [ $1 = 0 ] ; then
  256     # We get errors about not running, but we don't care
  257     %{_initrddir}/snortd stop 2>/dev/null 1>/dev/null
  258     /sbin/chkconfig --del snortd
  259 fi
  260 
  261 %postun
  262 # Try and restart, but don't bail if it fails
  263 if [ $1 -ge 1 ] ; then
  264     %{_initrddir}/snortd condrestart  1>/dev/null 2>/dev/null || :
  265 fi
  266 
  267 # Only do this if we are actually removing snort
  268 if [ $1 = 0 ] ; then
  269     if [ -L %{_sbindir}/snort ]; then
  270         %__rm -f %{_sbindir}/snort
  271     fi
  272 
  273     /usr/sbin/userdel snort 2>/dev/null
  274 fi
  275 
  276 %files
  277 %defattr(-,root,root)
  278 %if %{openappid}
  279 %attr(0755,root,root) %{_sbindir}/%{name}
  280 %attr(0755,root,root) %{_bindir}/u2openappid
  281 %attr(0755,root,root) %{_bindir}/appid_detector_builder.sh
  282 %else
  283 %attr(0755,root,root) %{_sbindir}/%{name}-plain
  284 %endif
  285 %attr(0755,root,root) %{_bindir}/snort_control
  286 %attr(0755,root,root) %{_bindir}/u2spewfoo
  287 %attr(0755,root,root) %{_bindir}/u2boat
  288 %attr(0644,root,root) %{_mandir}/man8/snort.8.*
  289 %attr(0755,root,root) %dir %{SnortRulesDir}
  290 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/snort/classification.config
  291 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/snort/reference.config
  292 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/snort/threshold.conf
  293 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/snort/*.map
  294 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/logrotate.d/snort
  295 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/snort/snort.conf
  296 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/snort
  297 %attr(0755,root,root) %config(noreplace) %{_initrddir}/snortd
  298 %attr(0755,snort,snort) %dir %{_var}/log/snort
  299 %attr(0755,root,root) %dir %{_sysconfdir}/snort
  300 %attr(0644,root,root) %{_docdir}/%{realname}-%{version}/*
  301 %attr(0755,root,root) %dir %{_libdir}/%{realname}-%{version}_dynamicengine
  302 %attr(0755,root,root) %{_libdir}/%{realname}-%{version}_dynamicengine/libsf_engine.*
  303 %attr(0755,root,root) %dir %{_libdir}/%{realname}-%{version}_dynamicpreprocessor
  304 %attr(0755,root,root) %{_libdir}/%{realname}-%{version}_dynamicpreprocessor/libsf_*_preproc.*
  305 
  306 %dir %{_docdir}/%{realname}-%{version}
  307 %docdir %{_docdir}/%{realname}-%{version}
  308 
  309 ################################################################
  310 # Thanks to the following for contributions to the Snort.org SPEC file:
  311 #   Henri Gomez <gomez@slib.fr>
  312 #   Chris Green <cmg@sourcefire.com>
  313 #   Karsten Hopp <karsten@redhat.de>
  314 #   Tim Powers <timp@redhat.com>
  315 #   William Stearns <wstearns@pobox.com>
  316 #   Hugo van der Kooij <hugo@vanderkooij.org>
  317 #   Wim Vandersmissen <wim@bofh.be>
  318 #   Dave Wreski <dave@linuxsecurity.com>
  319 #   JP Vossen <jp@jpsdomain.org>
  320 #   Daniel Wittenberg <daniel-wittenberg@starken.com>
  321 #   Jeremy Hewlett <jh@sourcefire.com>
  322 #   Vlatko Kosturjak <kost@linux.hr>
  323 
  324 %changelog
  325 * Thu Jul 03 2014 Dilbagh Chahal <dchahal@cisco.com> 2.9.7
  326 - added --with openappid command line option
  327 
  328 * Wed May 09 2012 Todd Wease <twease@sourcefire.com> 2.9.3
  329 - Removed --enable-decoder-preprocessor-rules since this is now the default
  330 -   behavior and not configurable.
  331 
  332 * Fri Apr 27 2012 Russ Combs <rcombs@sourcefire.com> 2.9.3
  333 - Removed schemas related foo.
  334 
  335 * Wed Mar 30 2012 Steve Sturges <ssturges@sourcefire.com> 2.9.3
  336 - Removed --with flexresp, --with inline, database output specific builds.
  337 
  338 * Wed Apr 02 2008 Steve Sturges <ssturges@sourcefire.com> 2.8.3
  339 - Added --enable-targetbased --enable-decoder-preprocessor-rules by default.
  340 
  341 * Wed Apr 02 2008 Steve Sturges <ssturges@sourcefire.com> 2.8.1
  342 - Added ssl
  343 
  344 * Fri Aug 03 2007 Russ Combs <rcombs@sourcefire.com> 2.8.0
  345 - Removed README.build_rpms from description
  346 - Removed 2nd "doc/" component from doc install path
  347 - Changed doc file attributes to mode 0644
  348 - Moved schemas from doc to data dir
  349 - Added installation of schemas/create_*
  350 - Removed redundant '/'s from mkdir path specs
  351 - Eliminated find warning by moving -maxdepth ahead of -type
  352 - Fixed "warning: File listed twice: ..." for libsf so files
  353 
  354 * Wed Feb 28 2007 Steve Sturges <ssturges@sourcefire.com> 2.7.0
  355 - Removed smp flags to make command
  356 
  357 * Wed Jan 17 2007 Steve Sturges <ssturges@sourcefire.com> 2.7.0
  358 - Updated version to 2.7.0
  359 
  360 * Tue Nov 07 2006 Steve Sturges <ssturges@sourcefire.com> 2.6.0
  361 - Updated version to 2.6.1 
  362 
  363 * Thu Aug 31 2006 Steve Sturges <ssturges@sourcefire.com> 2.6.0
  364 - Added dynamic DNS preprocessor
  365 
  366 * Wed May 24 2006 Steve Sturges <ssturges@sourcefire.com> 2.6.0
  367 - Updated to version 2.6.0
  368 
  369 * Fri Apr 14 2006 Justin Heath <justin.heath@sourcefire.com> 2.6.0RC1
  370 - Added conf fix for dynamic engine paths
  371 - Added conf fix for dynamic preprocessors paths
  372 - Added dynamic attributes in file list
  373 - Added epoch to Requires for postgres, oracle and unixodbc
  374 - Removed rule/signature references as these are not distributed with this tarball
  375 
  376 * Thu Apr 13 2006 Steve Sturges <ssturges@sourcefire.com> 2.6.0RC1
  377 - Updated to 2.6.0RC1
  378 - Added targets for dynamic engine
  379 - Added targets for dynamic preprocessors
  380 
  381 * Sun Dec 11 2005 Vlatko Kosturjak <kost@linux.hr> 2.6.0RC1
  382 - Added unixODBC support
  383 
  384 * Sun Oct 16 2005 Marc Norton <mnorton@sourcefire.com> 2.4.3
  385 - Fixed buffer overflow in bo preprocessor
  386 - Added alert for potential buffer overflow attack against snort
  387 - Added noalert and drop options for all bo preprocessor events
  388 
  389 * Fri Jul 22 2005 Martin Roesch <roesch@sourcefire.com> 2.4.0
  390 - Modified to reflect rules not being distributed with Snort distros
  391 
  392 * Tue May 03 2005 Daniel Wittenberg <daniel-wittenberg@starken.com> 2.4.0RC1
  393 - Removed more Fedora-specific options 
  394 - Renamed spec from snort.org.spec to snort.spec
  395 - Removed CHANGES.rpms file since we have a changelog here no sense
  396 -   in maintaining two of them
  397 - Replaced a ton of program names with macros to make more portable
  398 - Removed all references to rpms@snort.org since it just gets used
  399 -   for spam so the address is being nuked
  400 - Updates to inline support for 2.4.0 Release and fedora changes
  401 - Replaced initDir with system-provided _initdir macro for more portability
  402 - Added Epoch back in so that way upgrades will work correctly.  It will be
  403 -   removed at some point breaking upgrades for that version
  404 
  405 * Tue Mar 29 2005 Jeremy Hewlett <jh@sourcefire.com>
  406 - Added Inline capability to RPMs. Thanks Matt Brannigan
  407 -        for helping with the RPM foo.
  408 
  409 * Fri Mar 25 2005 Jeremy Hewlett <jh@sourcefire.com>
  410 - Add schemas to rpm distro
  411 - Add sharedscripts to logrotate
  412 - Remove installing unnecessary contrib remnants
  413 
  414 * Sun Mar 13 2005 Daniel Wittenberg <daniel-wittenberg@starken.com>
  415 - Updates to conform to new Fedora Packageing guidelines
  416 
  417 * Wed Dec 1 2004 Jeff Ball <zeffie@zeffie.com>
  418 - Added initDir and noShell for more building compatibility.
  419 
  420 * Thu Nov 17 2004 Brian Caswell <bmc@snort.org> 2.3.0RC1
  421 - handle the moving of RPM and the axing of contrib
  422 
  423 * Sat Jun 03 2004 JP Vossen <jp@jpsdomain.org>
  424 - Bugfix for 'snortd condrestart' redirect to /dev/null in %postun
  425 
  426 * Wed May 12 2004 JP Vossen <jp@jpsdomain.org>
  427 - Added code for cAos autobuilder
  428 - Added buildrequires and requires for libpcap
  429 
  430 * Thu May 06 2004 Daniel Wittenberg <daniel-wittenberg@starken.com>
  431 - Added JP's stats option to the standard rc script
  432 
  433 * Sat Mar 06 2004 JP Vossen <jp@jpsdomain.org>
  434 - Added gen-msg.map and sid-msg.map to /etc/snort
  435 
  436 * Sat Feb 07 2004 Daniel Wittenberg <daniel-wittenberg@starken.com>
  437 - Applied postun/snortd patches from Nick Urbanik <nicku@vtc.edu.hk
  438 
  439 * Mon Dec 22 2003 Daniel Wittenberg <daniel-wittenberg@starken.com>
  440 - Added threshold.conf, unicode.map and generators to /etc/snort thanks
  441 -   to notes from Nick Urbanik <nicku@vtc.edu.hk>
  442 
  443 * Sat Dec 20 2003 Daniel Wittenberg <daniel-wittenberg@starken.com> 2.1.0-2
  444 - Added condrestart option to rc script from patch by
  445 -       Nick Urbanik <nicku@vtc.edu.hk>
  446 - Fixed condrestart bug for installs
  447 - Fixed gzip bug that happens on some builds
  448 
  449 * Tue Dec 10 2003 JP Vossen <jp@jpsdomain.org>
  450 - Removed flexresp from plain rpm package description
  451 - Added a line about pcre to the package description
  452 - Trivial tweaks to package description
  453 
  454 * Sat Nov 29 2003 Daniel Wittenberg <daniel-wittenberg@starken.com> 2.1.0-1
  455 - Applied some updates from rh0212ms@arcor.de
  456 - Applied some updates from Torsten Schuetze <torsten.schuetze@siemens.com>
  457 - Applied some updates from Nick Urbanik <nicku@vtc.edu.hk>
  458 - Fixed ALERTMODE rc script error reported by DFarino@Stamps.com
  459 - Fixed CONF rc script error reported by ??
  460 - Gzip signature files to save some space
  461 - Added BuildRequires pcre-devel and Requires pcre
  462 - Re-did %post <package> sections so the links are added and removed
  463 -   correctly when you add/remove various packages 
  464 
  465 * Fri Nov 07 2003 Daniel WIttenberg <daniel-wittenberg@starken.com> 
  466 - Updated snort.logrotate
  467 
  468 * Thu Nov 06 2003 Daniel Wittenberg <daniel-wittenberg@starken.com> 2.0.4
  469 - Minor updates for 2.0.4
  470 
  471 * Tue Nov 04 2003 Daniel Wittenberg <daniel-wittenberg@starken.com> 2.0.3
  472 - Updated for 2.0.3
  473 - Removed 2.0.2 patch
  474 - Remove flexresp2 as it caused too many build problems and doesn't work
  475 -       cleanly with 2.0.3 anyway
  476 - Minor documentation updated for 2.0.3
  477 
  478 * Mon Oct 20 2003 Daniel Wittenberg <daniel-wittenberg@starken.com> 2.0.2-6
  479 - New release version
  480 - Changed /etc/rc.d/init.d to /etc/init.d for more compatibility
  481 
  482 * Fri Oct 17 2003 Daniel Wittenberg <daniel-wittenberg@starken.com>
  483 - Changed as many hard-coded references to programs and paths to use
  484 -   standard defined macros
  485 
  486 * Fri Oct 10 2003 Daniel Wittenberg <daniel-wittenberg@starken.com>
  487 - Include SnortRulesDir in %%files section
  488 - Added classification.config and reference.config in %%files section
  489 - Minor cleanup of the for_fedora macro
  490 
  491 * Sat Oct 04 2003 Dainel Wittenberg <daniel-wittenberg@starken.com> 
  492 - Nuked post-install message as it caused too many problems
  493 - Changed default ruledir to /etc/snort/rules
  494 - Fixed problem with non-snort-plain symlinks getting created
  495 
  496 * Fri Oct 03 2003 Dainel Wittenberg <daniel-wittenberg@starken.com> 
  497 - Somehow the snort.logrotate cvs file got copied into the build tree
  498 -   and the wrong file got pushed out
  499 - snort.logrotate wasn't included in the %%files section, so added
  500 -   it as a config(noreplace) file
  501 
  502 * Thu Oct 02 2003 Dainel Wittenberg <daniel-wittenberg@starken.com> 2.0.2-5
  503 - Added --with fedora for building Fedora RPM's
  504 - Removed references to old snort config patch
  505 - Added noreplace option to /etc/rc.d/init.d/snortd just in case
  506 - Gzip the man page to save (a small tiny) amount of space and make it
  507 -   more "standard"
  508 - Added version number to changelog entries to denote when packages were
  509 -       released
  510 
  511 * Wed Oct 01 2003 Dainel Wittenberg <daniel-wittenberg@starken.com>
  512 - Fixed permission problem with /etc/snort being 644
  513 - Added noreplace option to /etc/sysconfig/snort
  514 
  515 * Fri Sep 26 2003 Daniel Wittenberg <daniel-wittenberg@starken.com>
  516 - Fixed incorrect Version string in cvs version of the spec
  517 - Added snort logrotate file
  518 - Removed |more from output as it confuses some package managers
  519 
  520 * Fri Sep 23 2003 Daniel Wittenberg <daniel-wittenberg@starken.com> 2.0.2-4
  521 - Released 2.0.2-3 and then 2.0.2-4
  522 
  523 * Sat Sep 20 2003 Daniel Wittenberg <daniel-wittenberg@starken.com>
  524 - Added --with flexresp2 build option
  525 
  526 * Fri Sep 19 2003 Daniel Wittenberg <daniel-wittenberg@starken.com> 2.0.2-2
  527 - Gave into JP and changed version back to stable :)
  528 
  529 * Fri Sep 19 2003 Daniel Wittenberg <daniel-wittenberg@starken.com>
  530 - Fixed problems in snortd with "ALL" interfaces working correctly
  531 - Removed history from individual files as they will get too big
  532 -   and unreadable quickly
  533 
  534 * Thu Sep 18 2003 Daniel Wittenberg <daniel-wittenberg@starken.com> 2.0.2-1
  535 - Updated for 2.0.2 and release 2.0.2-1 
  536 
  537 * Tue Aug 26 2003 JP Vossen <jp@jpsdomain.org>
  538 - Added code to run autojunk.sh for CVS tarball builds
  539 
  540 * Mon Aug 25 2003 JP Vossen <jp@jpsdomain.org>
  541 - Added missing comments to changelog
  542 
  543 * Sun Aug 20 2003 Daniel Wittenberg <daniel-wittenberg@starken.com>
  544 - Moved snortd and snortd.sysconfig to contrib/rpm
  545 - Changed contrib install to a cp -a so the build stops complaining
  546 
  547 * Mon Aug 11 2003 JP Vossen <jp@jpsdomain.org>
  548 - Removed the commented patch clutter and a TO DO note
  549 - Fussed with white space
  550 
  551 * Sun Aug 10 2003 Daniel Wittenberg <daniel-wittenberg@starken.com>
  552 - Fixed a couple minor install complaints
  553 - userdel/groupdel added back into %%postun
  554 - useradd/groupadd added to %%pre
  555 
  556 * Sat Aug  9 2003 JP Vossen <jp@jpsdomain.org>
  557 - Doubled all percent signs in this changelog due to crazy RH9 RPM bug.
  558 -     http://www.fedora.us/pipermail/fedora-devel/2003-June/001561.html
  559 -     http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=88620
  560 - Turn off rpm debug due to RH9 RPM issue
  561 -     http://www.cs.helsinki.fi/linux/linux-kernel/2003-15/0763.html
  562 - Removed unnecessary SourceX: since they will be in the tarball
  563 
  564 * Thu Aug  7 2003 JP Vossen <jp@jpsdomain.org>
  565 - Changed perms from 755 to 644 for %%{_mandir}/man8/snort.8*
  566 
  567 * Sun Aug  3 2003 JP Vossen <jp@jpsdomain.org>
  568 - Removed the conf patch (again) as we moved the funcationality
  569 - Added sed to buildrequires and sed it to fix RULE_PATH
  570 - Removed Dan's SPEC code that made a default sysconfig/snort file.
  571 
  572 * Sun Aug  3 2003 JP Vossen <jp@jpsdomain.org>
  573 - Trivial changes and additions to documentation and references
  574 - Added --with flexresp option
  575 - Changed libnet buildrequires per Chris
  576 - Added docs and contrib back in, and moved sig docs out of doc.
  577 - Moved CSV and signature 'fixes' into %%install where they should have
  578 -     been. Also fixed them.
  579 - Added Dan's new snortd and snort.sysconfig
  580 - Commented out alternate method of creating /etc/sysconfig/snort
  581 - Created %%{OracleHome}
  582 - Added BuildRequires: findutils
  583 - Uncommented the patch and added the patch file
  584 
  585 * Fri Jul 26 2003 Daniel Wittenberg <daniel-wittenberg@starken.com>
  586 - commented out the patch for now since it doesn't exist
  587 - if doing a new install echo "INTERFACE=eth0" > /etc/sysconfig/snort
  588 - changed --with-libpcap-includes=/usr/include/pcap to /usr/include since
  589 -     that is where the libpcap-snort rpm Chris sent puts things
  590 - added missing " at the end of the SNORT_BASE_CONFIG
  591 - minor change to the ./configure for plain so it actually works
  592 - during an rpm -e of snort do a rm -f to make it a little more quiet in
  593 -     case of problems
  594 - massive re-write of multi-package build system
  595 - initial support for compiling with Oracle
  596 
  597 * Sun Jul 20 2003 JP Vossen <jp@jpsdomain.org>
  598 - Took over maintenance of Snort.org RPM releases just before v2.0.1
  599 - Various cleanup of SPEC file and changes to support building from tarball
  600 - Removed some old packages (like SNMP and Bloat), per Chris
  601 - First attempt at using --with option for multi-package build system
  602 - Added a patch to snort.conf for $RULE_PATH and default output plugins
  603 
  604 * Wed Sep 25 2002 Chris Green <cmg@sourcefire.com>
  605 - updated to 1.9.0
  606 
  607 * Tue Nov  6 2001 Chris Green <cmg@uab.edu>
  608 - merged in Hugo's changes
  609 - updated to 1.8.3
  610 - fixing symlinks on upgrades
  611 
  612 * Tue Nov  6 2001 Hugo van der Kooij <hugo@vanderkooij.org>
  613 - added libpcap to the list as configure couldn't find it on RedHat 7.2
  614 - added several packages to the build requirements
  615 
  616 * Fri Nov  2 2001 Chris Green <cmg@uab.edu>
  617 - updated to 1.8.2-RELEASE
  618 - adding SQL defines
  619 - created tons of packages so that all popular snort configs are accounted for
  620 
  621 * Sat Aug 18 2001 Chris Green <cmg@uab.edu>
  622 - 1.8.1-RELEASE
  623 - cleaned up enough to release to general public
  624 
  625 * Tue May  8 2001 Chris Green <cmg@uab.edu>
  626 - moved to 1.8cvs
  627 - changed rules files
  628 - removed initial configuration
  629 
  630 * Mon Nov 27 2000 Chris Green <cmg@uab.edu>
  631 - removed strip
  632 - upgrade to cvs version
  633 - moved /var/snort/dev/null creation to install time
  634 
  635 * Tue Nov 21 2000 Chris Green <cmg@uab.edu>
  636 - changed to %%{SnortPrefix}
  637 - upgrade to patch2
  638 
  639 * Mon Jul 31 2000 Wim Vandersmissen <wim@bofh.st>
  640 - Integrated the -t (chroot) option and build a /home/snort chroot jail
  641 - Installs a statically linked/stripped snort
  642 - Updated /etc/rc.d/init.d/snortd to work with the chroot option
  643 
  644 * Tue Jul 25 2000 Wim Vandersmissen <wim@bofh.st>
  645 - Added some checks to find out if we're upgrading or removing the package
  646 
  647 * Sat Jul 22 2000 Wim Vandersmissen <wim@bofh.st>
  648 - Updated to version 1.6.3
  649 - Fixed the user/group stuff (moved to %%post)
  650 - Added userdel/groupdel to %%postun
  651 - Automagically adds the right IP, nameservers to /etc/snort/rules.base
  652 
  653 * Sat Jul 08 2000 Dave Wreski <dave@linuxsecurity.com>
  654 - Updated to version 1.6.2
  655 - Removed references to xntpd
  656 - Fixed minor problems with snortd init script
  657 
  658 * Fri Jul 07 2000 Dave Wreski <dave@linuxsecurity.com>
  659 - Updated to version 1.6.1
  660 - Added user/group snort
  661 
  662 * Sat Jun 10 2000 Dave Wreski <dave@linuxsecurity.com>
  663 - Added snort init.d script (snortd)
  664 - Added Dave Dittrich's snort rules header file (ruiles.base)
  665 - Added Dave Dittrich's wget rules fetch script (check-snort)
  666 - Fixed permissions on /var/log/snort
  667 - Created /var/log/snort/archive for archival of snort logs
  668 - Added post/preun to add/remove snortd to/from rc?.d directories
  669 - Defined configuration files as %%config
  670 
  671 * Tue Mar 28 2000 William Stearns <wstearns@pobox.com>
  672 - Quick update to 1.6.
  673 - Sanity checks before doing rm-rf in install and clean
  674 
  675 * Fri Dec 10 1999 Henri Gomez <gomez@slib.fr>
  676 - 1.5-0 Initial RPM release
  677