lots of stuff

This commit is contained in:
Ella Stanforth 2021-12-26 12:40:14 +00:00
parent 32d66a7f56
commit b859e777d0
91 changed files with 2156 additions and 532 deletions

View file

@ -21,20 +21,14 @@ build() {
no-seed no-weak-ssl-ciphers \
-Wa,--noexecstack
make
make CC=cc
}
package() {
cd $pkgname-$pkgver
make install_sw DESTDIR=$pkgdir
rm -rf $pkgdir/usr/lib/pkgconf
rm -rf $pkgdir/usr/include
}
package_dev() {
cd $pkgname-$pkgver
make install_sw DESTDIR=$pkgdir
rm -rf $pkgdir/usr/bin
make install_sw install_ssldir DESTDIR=$pkgdir
install -d $pkgdir/usr/sbin
install -Dm755 ../../update-ca.sh $pkgdir/usr/sbin/update-ca
}
license() {

4
base/openssl/update-ca.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
cd /etc/ssl && {
curl -LO https://curl.haxx.se/ca/cacert.pem -o /etc/ssl/certs/ca-certificates.crt
}