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
Created attachment 268861 [details] snort-2.9.0.5.ebuild
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.
+ 13 Apr 2011; Patrick Lauer <patrick@gentoo.org> +snort-2.9.0.5.ebuild: + Bump for #362417
New version works fine indeed.