40 lines
1.6 KiB
Plaintext
40 lines
1.6 KiB
Plaintext
|
#!/bin/sh
|
||
|
name="openssl"
|
||
|
short_desc="TLSv1.3 capable SSL and crypto library"
|
||
|
desc="The OpenSSL Project is a collaborative effort to develop a robust,
|
||
|
commercial-grade, full-featured, and Open Source toolkit implementing
|
||
|
the Secure Sockets Layer (SSL v3) and Transport Layer Security (TLS v1,
|
||
|
v1.1, v1.2, v1.3) protocols with full-strength cryptography world-wide.
|
||
|
The project is managed by a worldwide community of volunteers that use
|
||
|
the Internet to communicate, plan, and develop the OpenSSL tookit
|
||
|
and its related documentation.
|
||
|
|
||
|
OpenSSL is based on the excellent SSLeay library developed by Eric
|
||
|
A. Young and Tim J. Hudson. The OpenSSL toolkit is licensed under
|
||
|
an Apache-style licence, which basically means that you are free
|
||
|
to get and use it for commercial and non-commercial purposes subject
|
||
|
to some simple license conditions."
|
||
|
category="security"
|
||
|
version="3.2.0"
|
||
|
maintainer="ffqq@danwin1210.de"
|
||
|
www="https://www.openssl.org"
|
||
|
master_site="ftp://ftp.fi.muni.cz/pub/openssl/source"
|
||
|
source_name="$name-$version.tar.gz"
|
||
|
license_logic="single" # accepted values: single, and, or
|
||
|
licenses=("APACHE20")
|
||
|
|
||
|
build_dependencies=("lang/gcc" "devel/gmake" "archivers/zlib")
|
||
|
run_dependencies=("system/glibc" "archivers/zlib")
|
||
|
|
||
|
build_process() {
|
||
|
cd $name-$version || exit 1
|
||
|
./config --prefix=/usr \
|
||
|
--openssldir=/etc/ssl \
|
||
|
--libdir=lib \
|
||
|
shared \
|
||
|
zlib-dynamic || exit 1
|
||
|
make -j$(nproc) depend
|
||
|
make -j$(nproc)
|
||
|
make DESTDIR="$TAMANDUA_STAGE_DIR" install_sw install_ssldirs install_man_docs
|
||
|
rm -r $TAMANDUA_STAGE_DIR/etc/ssl/certs
|
||
|
}
|