Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362417 - Version bump: net-analyzer/snort Update patch for snort-2.9.0.5
Summary: Version bump: net-analyzer/snort Update patch for snort-2.9.0.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-07 09:24 UTC by Han Boetes
Modified: 2011-04-18 06:36 UTC (History)
3 users (show)

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


Attachments
snort-2.9.0.5.ebuild (snort-2.9.0.5.ebuild,9.92 KB, text/plain)
2011-04-07 15:08 UTC, Jason Wallace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Han Boetes 2011-04-07 09:24:34 UTC
To prevent work duplication: This is the update for the ebuild to build the latest version of snort: 2.9.0.5

# diff -upw snort-2.9.0.4-r1.ebuild snort-2.9.0.5.ebuild 
--- snort-2.9.0.4-r1.ebuild     2011-03-17 12:01:19.000000000 +0100
+++ snort-2.9.0.5.ebuild        2011-04-07 12:22:32.099704662 +0200
@@ -45,10 +45,8 @@ pkg_setup() {
 }
 
 src_prepare() {
-
-       # Fix to ensure that the package builds if USE flag -dynamicplugin is used.
-       epatch "${FILESDIR}/disabledynamic.patch"
-
+       einfo "Fix workdir name"
+        ( cd $WORKDIR; mv * $P )
        #Multilib fix for the sf_engine
        einfo "Applying multilib fix."
        sed -i -e 's:${exec_prefix}/lib:${exec_prefix}/'$(get_libdir)':g' \
@@ -68,6 +66,7 @@ src_prepare() {
                        || die "sed     for perlude failed"
        fi
 
+       cd $WORKDIR/$P
        AT_M4DIR=m4 eautoreconf
 }
 


Reproducible: Always
Comment 1 Jason Wallace 2011-04-07 15:08:52 UTC
Created attachment 268861 [details]
snort-2.9.0.5.ebuild
Comment 2 Jason Wallace 2011-04-07 15:15:35 UTC
No new snort functionality. This was a bug fix release.

In the ebuild I removed the disabledynamic.patch as it is no longer needed. I also added a elog box that is displayed if the user has the 'debug' USE flag set.

@Han Boetes 

Thanks for the help, but I do not think those modifications are required. You might have run into that issue by forgetting to remove the "-r1" from the destination file name in SRC_URI.
Comment 3 Patrick Lauer gentoo-dev 2011-04-13 11:35:40 UTC
+  13 Apr 2011; Patrick Lauer <patrick@gentoo.org> +snort-2.9.0.5.ebuild:
+  Bump for #362417
Comment 4 Han Boetes 2011-04-18 06:36:22 UTC
New version works fine indeed.