[arch-commits] Commit in john/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Mon Mar 20 12:35:17 UTC 2017


    Date: Monday, March 20, 2017 @ 12:35:16
  Author: jgc
Revision: 217551

upgpkg: john 1.8.0.jumbo1-5

Disable native tests again, workaround the check using a sed hack in configure

Modified:
  john/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-20 12:12:45 UTC (rev 217550)
+++ PKGBUILD	2017-03-20 12:35:16 UTC (rev 217551)
@@ -9,7 +9,7 @@
 _jumbover=1
 _johnver=1.8.0
 pkgver=${_johnver}.jumbo${_jumbover}
-pkgrel=4
+pkgrel=5
 pkgdesc='John the Ripper password cracker'
 url='http://www.openwall.com/john'
 arch=('i686' 'x86_64')
@@ -42,6 +42,7 @@
   patch -Rp1 < "${srcdir}/fix-i686-openmp.patch"
   sed 's|env python|env python2|' -i run/*.py
   sed 's|/usr/bin/python|/usr/bin/python2|' -i run/*.py
+  sed 's|"x$enable_native_tests" = xyes -a "x$PKG_CONFIG"|"x$PKG_CONFIG"|' -i src/configure
 }
 
 build() {
@@ -53,7 +54,7 @@
   local JOHN_SYSTEMWIDE_FLAGS="-DJOHN_SYSTEMWIDE_EXEC='\"/usr/lib/john\"' -DJOHN_SYSTEMWIDE_HOME='\"/usr/share/john\"'"
   local JOHN_FLAGS="-DJOHN_SYSTEMWIDE=1 ${JOHN_SYSTEMWIDE_FLAGS} -DCPU_FALLBACK ${JOHN_CFG_FULL_NAME}"
   local CFLAGS="${CFLAGS} ${JOHN_FLAGS}"
-  local CONFIGURE_FLAGS="--prefix=/usr --enable-native-tests --enable-openmp --enable-mpi"
+  local CONFIGURE_FLAGS="--prefix=/usr --disable-native-tests --enable-openmp --enable-mpi"
   CONFIGURE_FLAGS+=" --enable-opencl --enable-pkg-config --enable-pcap"
 
   if [[ "${CARCH}" == "x86_64" ]]; then


More information about the arch-commits mailing list