Added crypto/openssl
This commit is contained in:
23
crypto/openssl/PKGCONF
Normal file
23
crypto/openssl/PKGCONF
Normal file
@@ -0,0 +1,23 @@
|
||||
VERSION=3.5.3
|
||||
PACKAGE=openssl
|
||||
SRC=${PACKAGE}-${VERSION}.tar.xz
|
||||
URL=git://github.com/${PACKAGE}/${PACKAGE}@${PACKAGE}-${VERSION}
|
||||
CATEGORY=crypto
|
||||
|
||||
configure() {
|
||||
echo "Configuring $PACKAGE"
|
||||
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
|
||||
./Configure solaris-sparcv8-gcc --prefix=/usr/local/ssl --openssldir=/usr/local/ssl
|
||||
}
|
||||
|
||||
build() {
|
||||
echo "Building $PACKAGE"
|
||||
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
|
||||
make -j ${NCPU}
|
||||
}
|
||||
|
||||
install() {
|
||||
echo "Installing $PACKAGE to ${DESTDIR}"
|
||||
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
|
||||
make install DESTDIR="${DESTDIR}"
|
||||
}
|
||||
10
crypto/openssl/patches/01-add-rt.patch
Normal file
10
crypto/openssl/patches/01-add-rt.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- openssl-3.5.3.orig/Configurations/10-main.conf Sat Sep 27 00:00:15 2025
|
||||
+++ openssl-3.5.3/Configurations/10-main.conf Sat Sep 27 00:01:25 2025
|
||||
@@ -319,6 +319,7 @@
|
||||
"solaris-sparcv8-gcc" => {
|
||||
inherit_from => [ "solaris-sparcv7-gcc" ],
|
||||
cflags => add_before("-mcpu=v8"),
|
||||
+ ex_libs => add("-lrt", "-latomic"),
|
||||
asm_arch => 'sparcv8',
|
||||
perlasm_scheme => 'void',
|
||||
},
|
||||
Reference in New Issue
Block a user