bye bye libressl
This commit is contained in:
parent
879ade0254
commit
4f387bcb0b
47 changed files with 963 additions and 37 deletions
35
base/openssl/build.sh
Normal file
35
base/openssl/build.sh
Normal file
|
@ -0,0 +1,35 @@
|
|||
pkgname=openssl
|
||||
pkgver=1.1.1k
|
||||
|
||||
fetch() {
|
||||
curl "https://www.openssl.org/source/openssl-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./Configure \
|
||||
--prefix=/usr \
|
||||
--openssldir=/etc/ssl \
|
||||
--libdir=lib \
|
||||
linux-$(uname -m) \
|
||||
shared no-zlib no-async \
|
||||
no-comp no-idea no-mdc2 \
|
||||
no-rc5 no-ec2m no-sm2 \
|
||||
no-sm4 -no-ssl2 no-ssl3 \
|
||||
no-seed no-weak-ssl-ciphers \
|
||||
-Wa,--noexecstack
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install_sw DESTDIR=$pkgdir
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue