[medusa/f15] https://bugzilla.redhat.com/show_bug.cgi?id=745249 - fix the module path

rebus rebus at fedoraproject.org
Fri Jan 20 09:06:30 UTC 2012


commit 0d74696b3e0cfd7530f9ac620e44a9a46780b110
Author: Michal Ambroz <rebus at seznam.cz>
Date:   Fri Jan 20 10:05:53 2012 +0100

    https://bugzilla.redhat.com/show_bug.cgi?id=745249 - fix the module path

 medusa.spec |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/medusa.spec b/medusa.spec
index c77e589..4968446 100644
--- a/medusa.spec
+++ b/medusa.spec
@@ -4,7 +4,7 @@
 Summary: Parallel brute forcing password cracker
 Name: medusa
 Version: 1.5
-Release: 12%{?dist}
+Release: 13%{?dist}
 License: GPLv2
 Group: Applications/System
 URL: http://www.foofus.net/jmk/medusa/medusa.html
@@ -51,7 +51,13 @@ automake --add-missing
 autoconf
 # required type off64_t is not available under all environments, ugly hack for ugly system heasders
 export CPPFLAGS="-Doff64_t=__off64_t %{optflags}" ; export CFLAGS="-Doff64_t=__off64_t %{optflags}"
-%{configure} --enable-module-afp=%{_afp_module}
+%{configure} \
+%ifarch x86_64
+        --with-default-mod-path=/usr/lib64/medusa/modules \
+%endif
+        --enable-module-afp=%{_afp_module}
+
+
 make %{?_smp_mflags}
 
 %install
@@ -70,6 +76,11 @@ rm -rf %{buildroot}
 %{_libdir}/medusa/*
 
 %changelog
+* Fri Jan 20 2012 Michal Ambroz <rebus at, seznam.cz> - 1.5-13
+- fix the module path in the configuration as suggested by Athmane Madjoudj in 
+  bug report https://bugzilla.redhat.com/show_bug.cgi?id=745249
+  Code is taked from f16
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list