Added crypto/openssl

This commit is contained in:
2025-09-27 02:01:19 +01:00
parent 3b8302fb14
commit 7dc2a42654
2 changed files with 33 additions and 0 deletions

23
crypto/openssl/PKGCONF Normal file
View 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}"
}

View 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',
},