Skip to content

Commit 5b71816

Browse files
committed
OpenSSL 3.0.Y compatibility fix.
softhsm/SoftHSMv2#633
1 parent 3d64151 commit 5b71816

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

trunk/PKGBUILD

+8-1
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,25 @@ checkdepends=('cppunit')
1313
backup=("etc/softhsm2.conf")
1414
options=(!libtool !lto debug)
1515
source=("https://dist.opendnssec.org/source/$pkgname-$pkgver.tar.gz"{,.sig}
16+
"https://src.fedoraproject.org/rpms/softhsm/raw/rawhide/f/softhsm-openssl3-tests.patch"
1617
"softhsm-2.6.1-rh1831086-exit.patch")
1718
sha256sums=('61249473054bcd1811519ef9a989a880a7bdcc36d317c9c25457fc614df475f2'
1819
'SKIP'
20+
'd97f51e8d41e8bf0ef2ee3959be746d0349e8e1c0130ddaf3d905c23f8e43230'
1921
'163338a73ab1bcc475e07b96f054d3c8f67ac9d2637b8f74ddaa97aa6b4171e1')
2022
validpgpkeys=('4D0388CE86BB398B387B663041F623BE4FCB0B94')
2123

22-
build() {
24+
prepare() {
2325
cd "$srcdir/$pkgname-$pkgver"
26+
patch -p1 -i "$srcdir/softhsm-openssl3-tests.patch"
2427
patch -p1 -i "$srcdir/softhsm-2.6.1-rh1831086-exit.patch"
2528
sed -i 's:^full_libdir=":#full_libdir=":g' configure.ac
2629
sed -i "s:libdir)/@PACKAGE@:libdir):" Makefile.in
2730
autoreconf -vfi
31+
}
32+
33+
build() {
34+
cd "$srcdir/$pkgname-$pkgver"
2835
./configure \
2936
--prefix=/usr \
3037
--libdir=/usr/lib/pkcs11 \

0 commit comments

Comments
 (0)