mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
core/openssl-cryptodev fixes
This commit is contained in:
parent
351bb234d1
commit
0665b2f2c3
1 changed files with 6 additions and 4 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - use linux-armv4 target for our architectures
|
||||
# - cryptodev-enabled version
|
||||
|
||||
plugrel=1
|
||||
noautobuild=1
|
||||
|
@ -17,7 +18,8 @@ pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Se
|
|||
arch=('i686' 'x86_64')
|
||||
url='https://www.openssl.org'
|
||||
license=('custom:BSD')
|
||||
depends=('perl')
|
||||
depends=('perl' 'cryptodev_friendly')
|
||||
makedepends=('linux-headers')
|
||||
optdepends=('ca-certificates')
|
||||
options=('!makeflags')
|
||||
backup=('etc/ssl/openssl.cnf')
|
||||
|
@ -57,14 +59,14 @@ build() {
|
|||
patch -p0 -i $srcdir/no-rpath.patch
|
||||
# set ca dir to /etc/ssl by default
|
||||
patch -p0 -i $srcdir/ca-dir.patch
|
||||
# fix cryptodev digest support
|
||||
patch -p0 -i $srcdir/openssl-digests.patch
|
||||
# fix cryptodev digest support
|
||||
patch -p0 -i $srcdir/openssl-digests.patch
|
||||
# mark stack as non-executable: http://bugs.archlinux.org/task/12434
|
||||
./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib \
|
||||
-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -DHASH_MAX_LEN=64 \
|
||||
shared threads zlib enable-md2 \
|
||||
"${openssltarget}" \
|
||||
-Wa,--noexecstack "${CFLAGS}"
|
||||
-Wa,--noexecstack "${CFLAGS} -I/usr/src/linux-`uname -r`"
|
||||
|
||||
make depend
|
||||
make
|
||||
|
|
Loading…
Reference in a new issue