aboutsummaryrefslogtreecommitdiffstats
path: root/community/john/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-10-07 15:54:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-10 12:04:39 +0000
commit0b2b1d5fdd21c776baa90db06c339f01a78a4f1c (patch)
tree39d9a9779a932cb13ff83320f6ee299342ec32f2 /community/john/APKBUILD
parenta6dcf8ff7c28dc751e630641dcb2f39d583564d6 (diff)
downloadaports-0b2b1d5fdd21c776baa90db06c339f01a78a4f1c.tar.bz2
aports-0b2b1d5fdd21c776baa90db06c339f01a78a4f1c.tar.xz
community/john: rebuild against libressl
Diffstat (limited to 'community/john/APKBUILD')
-rw-r--r--community/john/APKBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/community/john/APKBUILD b/community/john/APKBUILD
index f4df547fae..3423dd4d28 100644
--- a/community/john/APKBUILD
+++ b/community/john/APKBUILD
@@ -3,14 +3,14 @@
pkgname=john
pkgver=1.8.0
_pkgrel=jumbo-1
-pkgrel=3
+pkgrel=4
pkgdesc="John the Ripper password cracker"
url="http://www.openwall.com/john"
arch="x86_64 armhf"
license="GPL2"
depends="nss"
options="!strip"
-makedepends="libpcap-dev openssl-dev gmp-dev yasm-dev"
+makedepends="libpcap-dev libressl-dev gmp-dev yasm-dev"
install=""
subpackages="$pkgname-doc \
$pkgname-scripts-py:py \
@@ -22,11 +22,14 @@ subpackages="$pkgname-doc \
source="$pkgname-$pkgver.tar.gz::https://github.com/magnumripper/JohnTheRipper/archive/$pkgver-$_pkgrel.tar.gz
truecrypt_fmt_plug.patch
params-h.patch
- gcc5-support.patch"
+ gcc5-support.patch
+ libressl.patch
+ "
builddir="$srcdir/JohnTheRipper-$pkgver-$_pkgrel"
build() {
cd "$builddir"/src
sed -i -e "s/ac_default_prefix.*/ac_default_prefix=\/usr/g" configure
+ export OPENSSL_LIBS="-lssl -lcrypto"
./configure \
--disable-openmp
make || return 1
@@ -172,12 +175,15 @@ zshcomp() {
md5sums="2e80ec877e78d0c6ce72febb8844e0e2 john-1.8.0.tar.gz
e6e158d946783b14e1109bd96d54bb64 truecrypt_fmt_plug.patch
d6ab104062b9ce84b172ad7ecdd08226 params-h.patch
-b1f6ab678caabf4d3adb253735f46def gcc5-support.patch"
+b1f6ab678caabf4d3adb253735f46def gcc5-support.patch
+b20aa081f750286be0c9664f5853dbfc libressl.patch"
sha256sums="95bbd3ecfbe51c6263317b3009bede98f20689a26c7aee191458ed9b26d5c9f6 john-1.8.0.tar.gz
91731241b644dc8cf64d55260801277b168dcd38c5585c10120c75393f0c35fa truecrypt_fmt_plug.patch
2b2396bf9e344bb28fcf91088d5dc12b0c91de3da74a4241d32c44496a291851 params-h.patch
-7abd8b061055f7c81de8cadc021050ac113f0f71a0bcfb83680f10d8ca6e04df gcc5-support.patch"
+7abd8b061055f7c81de8cadc021050ac113f0f71a0bcfb83680f10d8ca6e04df gcc5-support.patch
+d02ce505b7f01f3b415aa7d42b73da289bf73277c1d1e0e4933ea266c10ae777 libressl.patch"
sha512sums="8b7fad7a6330b5ff1afc306218ba698aaa27776b566f82c2e76102d5ceb10aeafa69d71fa6fff67c81996ea2c6a04384bab4696ed192306c6d074873562e7089 john-1.8.0.tar.gz
80be6cc1b1b35c6a85392008638b2f8b6d8a518ee35f59405e2f5682e025e4b8beecf964148311e6f62d76b59153f04427024fa81aaf56ee2062ac2dbf0a9bcb truecrypt_fmt_plug.patch
a5c22feb8bf11509c306a2f236f2bd4891fdfc3b01882f07d85015e0895d82f28df0dff78ba8d3a3862d8d95877a88a9eb8138e6c407b40881fa1455079b98fc params-h.patch
-4ebe8b41b1d0c3839348dcf5348332f9d7ce25919077fa054db64b7106150f299c6b177d117f7c18c1db672a494a6de6be8b5afe502f5ca3639602ba3aef6866 gcc5-support.patch"
+4ebe8b41b1d0c3839348dcf5348332f9d7ce25919077fa054db64b7106150f299c6b177d117f7c18c1db672a494a6de6be8b5afe502f5ca3639602ba3aef6866 gcc5-support.patch
+fb46431fe3e42e36c72361c13460e8ac626d2f146fa84c8f6e17e5407e69530a84ceb1de6bc9910c1a03a6e907fc113f7000a2cbc3936ae0860103d3e2d489b0 libressl.patch"