File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,20 +11,27 @@ license=('BSD')
1111depends=(' botan' ' sqlite3' ' openssl' ' p11-kit' )
1212checkdepends=(' cppunit' )
1313backup=(" etc/softhsm2.conf" )
14- options=(! libtool)
14+ options=(! libtool ! lto) # LTO breaks check
1515source=(" 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" )
1718sha256sums=(' 61249473054bcd1811519ef9a989a880a7bdcc36d317c9c25457fc614df475f2'
1819 ' SKIP'
20+ ' d97f51e8d41e8bf0ef2ee3959be746d0349e8e1c0130ddaf3d905c23f8e43230'
1921 ' 163338a73ab1bcc475e07b96f054d3c8f67ac9d2637b8f74ddaa97aa6b4171e1' )
2022validpgpkeys=(' 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 \
You can’t perform that action at this time.
0 commit comments