apply the jumbo patch from openwall
OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
8dab2ea84b
commit
8d2ed6ca35
@@ -50,9 +50,7 @@ Authors:
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
# apply the jumbo patch
|
||||
pushd %{name}-%{version}
|
||||
gzip -dc %{SOURCE4} | patch -p1
|
||||
popd
|
||||
# adapt the configs
|
||||
perl -pi -e "s#Wordlist = (.*)#Wordlist = %{johndir}/password.lst#g" $RPM_BUILD_DIR/%{name}-%{version}/run/john.conf
|
||||
perl -pi -e 's#^(\#define JOHN_SYSTEMWIDE_EXEC)\s.+$#$1\t\"%{johndir}\"#g' $RPM_BUILD_DIR/%{name}-%{version}/src/params.h
|
||||
|
Reference in New Issue
Block a user