Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355865 - net-analyzer/snort-2.9.0.4 Version Bump
Summary: net-analyzer/snort-2.9.0.4 Version Bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 16:48 UTC by Jason Wallace
Modified: 2011-02-24 17:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
snort-2.9.0.4.ebuild (snort-2.9.0.4.ebuild,10.14 KB, text/plain)
2011-02-21 16:51 UTC, Jason Wallace
Details
disabledynamic.patch (disabledynamic.patch,4.20 KB, patch)
2011-02-21 16:52 UTC, Jason Wallace
Details | Diff
metadata.xml (metadata.xml,5.05 KB, application/xml)
2011-02-21 16:53 UTC, Jason Wallace
Details
snort-2.9.0.4.ebuild (snort-2.9.0.4.ebuild,10.02 KB, text/plain)
2011-02-24 14:49 UTC, Jason Wallace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Wallace 2011-02-21 16:48:12 UTC
This is a version bump to bring snort from 2.9.0.3 to 2.9.0.4.

Upstream Changes
-----------------
Minor bug fixes

Ebuild Changes
-----------------
+ General ebuild clean up
- removed --disable-dlcolse from econf
+ added $(use_enable !debug dlclose) to handle dlclose. 
  dlclose should be enabled by default and disabled for debugging.
+ Added sed to disabled the preproc rules by default
+ Added logic to disable the normalizer config options if the 
  normalizer USE flag is not set. Resolves Bug 352515 comment #1
+ added patch from upstream to resolve build failures when dynamicplugins 
  USE flag is not set. Resolves Bug 354595
- Removed perl RDEPEND. Snort does not need perl
+ Added --disable-rzb-saac (This option is not ready for inclusion in the ebuild yet)
+ added dodoc to install config.log and build.log in a "support" 
  directory in the documentation directory. These files are needed by
  Sourcefire to provide support to end users.
+ Added doins for sensitive-data.rules. Resolves Bug 352515 comment #2
+ Changed IUSE ipv6 to +ipv6. --enable-ipv6 will be hard codded into 
  econf in the next version/revision of this ebuild.
+ Updated the date of the SO rule warning with this release point 

Reproducible: Always

Steps to Reproduce:
Comment 1 Jason Wallace 2011-02-21 16:51:03 UTC
Created attachment 263325 [details]
snort-2.9.0.4.ebuild



Updated ebuild.
Comment 2 Jason Wallace 2011-02-21 16:52:01 UTC
Created attachment 263327 [details, diff]
disabledynamic.patch



Patch to resolve Bug 354595
Comment 3 Jason Wallace 2011-02-21 16:53:02 UTC
Created attachment 263329 [details]
metadata.xml



Updated metadata.xml file to include upstream info.
Comment 4 Patrick Lauer gentoo-dev 2011-02-23 22:16:25 UTC
chown: cannot access `/chroot/local/portage/net-analyzer/snort-2.9.0.4/image//etc/snort/*': No such file or directory
fowners failed
 * ERROR: net-analyzer/snort-2.9.0.4 failed (install phase):
 *   Failed to set ownership of dirs

That looks really funky and kinda fails epically.

Not sure why the * is not expanded, and the double / might also be not-quite-right.
Comment 5 Jason Wallace 2011-02-24 14:49:46 UTC
Created attachment 263691 [details]
snort-2.9.0.4.ebuild


This new ebuild should resolve that issue.

I found an old bug post about fowners and wildcards. Apparently they do not work together. Since there is not a recursive option for fowners I have changed this to chown -R. I also removed all the trailing slashes to clean up that weirdness.
Comment 6 Patrick Lauer gentoo-dev 2011-02-24 16:30:34 UTC
Oh crummy, why do you add MS-DOS lineendings to the whole thing?! :)
Makes me dos2unix the whole thing every time ...
Comment 7 Jason Wallace 2011-02-24 16:38:36 UTC
That's odd. I'm not using windows to edit it. I edit in vim on my Gentoo dev box. I do sftp it to a windows box to upload to bugzilla, but I do not edit in windows.
Comment 8 Patrick Lauer gentoo-dev 2011-02-24 17:31:43 UTC
+  24 Feb 2011; Patrick Lauer <patrick@gentoo.org> +snort-2.9.0.4.ebuild,
+  +files/disabledynamic.patch, metadata.xml:
+  Bump for #355865, thanks to Jason Wallace