From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- libs_security/openssl/openssl-1.0.1g-ca.patch.xz | Bin 0 -> 388 bytes .../openssl/openssl-1.0.1g-cadir.patch.xz | Bin 0 -> 580 bytes .../openssl/openssl-1.0.1g-certwatch.patch.xz | Bin 0 -> 1908 bytes .../openssl/openssl-1.0.1g-crehashcrt.patch.xz | Bin 0 -> 628 bytes .../openssl/openssl-1.0.1g-crehashdoc.patch.xz | Bin 0 -> 1352 bytes .../openssl/openssl-1.0.1g-defaultbits.patch.xz | Bin 0 -> 248 bytes .../openssl-1.0.1g-dontlinkmanpages.patch.xz | Bin 0 -> 328 bytes .../openssl/openssl-1.0.1g-enginespath.patch.xz | Bin 0 -> 980 bytes .../openssl/openssl-1.0.1g-fixmanpages.patch.xz | Bin 0 -> 12300 bytes .../openssl/openssl-1.0.1g-norpath.patch.xz | Bin 0 -> 448 bytes .../openssl/openssl-1.0.1g-notests.patch.xz | Bin 0 -> 252 bytes .../openssl/openssl-1.0.1g-optflags.patch.xz | Bin 0 -> 772 bytes .../openssl/openssl-1.0.1g-perl518.patch.xz | Bin 0 -> 1844 bytes .../openssl/openssl-1.0.1g-soname.patch.xz | Bin 0 -> 324 bytes libs_security/openssl/openssl-1.0.1g-x509.patch.xz | Bin 0 -> 420 bytes libs_security/openssl/openssl.build | 107 +++++++++++++++++++++ 16 files changed, 107 insertions(+) create mode 100644 libs_security/openssl/openssl-1.0.1g-ca.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-cadir.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-certwatch.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-crehashcrt.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-crehashdoc.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-defaultbits.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-dontlinkmanpages.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-enginespath.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-fixmanpages.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-norpath.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-notests.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-optflags.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-perl518.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-soname.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-x509.patch.xz create mode 100755 libs_security/openssl/openssl.build (limited to 'libs_security/openssl') diff --git a/libs_security/openssl/openssl-1.0.1g-ca.patch.xz b/libs_security/openssl/openssl-1.0.1g-ca.patch.xz new file mode 100644 index 0000000..efbe085 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-ca.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-cadir.patch.xz b/libs_security/openssl/openssl-1.0.1g-cadir.patch.xz new file mode 100644 index 0000000..dea3beb Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-cadir.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-certwatch.patch.xz b/libs_security/openssl/openssl-1.0.1g-certwatch.patch.xz new file mode 100644 index 0000000..6dfaff3 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-certwatch.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-crehashcrt.patch.xz b/libs_security/openssl/openssl-1.0.1g-crehashcrt.patch.xz new file mode 100644 index 0000000..94b456f Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-crehashcrt.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-crehashdoc.patch.xz b/libs_security/openssl/openssl-1.0.1g-crehashdoc.patch.xz new file mode 100644 index 0000000..8ad0411 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-crehashdoc.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-defaultbits.patch.xz b/libs_security/openssl/openssl-1.0.1g-defaultbits.patch.xz new file mode 100644 index 0000000..96f8d4f Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-defaultbits.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-dontlinkmanpages.patch.xz b/libs_security/openssl/openssl-1.0.1g-dontlinkmanpages.patch.xz new file mode 100644 index 0000000..b9c9eed Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-dontlinkmanpages.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-enginespath.patch.xz b/libs_security/openssl/openssl-1.0.1g-enginespath.patch.xz new file mode 100644 index 0000000..28cdb3d Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-enginespath.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-fixmanpages.patch.xz b/libs_security/openssl/openssl-1.0.1g-fixmanpages.patch.xz new file mode 100644 index 0000000..2cb5af9 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-fixmanpages.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-norpath.patch.xz b/libs_security/openssl/openssl-1.0.1g-norpath.patch.xz new file mode 100644 index 0000000..24e9f03 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-norpath.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-notests.patch.xz b/libs_security/openssl/openssl-1.0.1g-notests.patch.xz new file mode 100644 index 0000000..a533026 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-notests.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-optflags.patch.xz b/libs_security/openssl/openssl-1.0.1g-optflags.patch.xz new file mode 100644 index 0000000..0a154a8 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-optflags.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-perl518.patch.xz b/libs_security/openssl/openssl-1.0.1g-perl518.patch.xz new file mode 100644 index 0000000..ece4ce5 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-perl518.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-soname.patch.xz b/libs_security/openssl/openssl-1.0.1g-soname.patch.xz new file mode 100644 index 0000000..9230847 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-soname.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-x509.patch.xz b/libs_security/openssl/openssl-1.0.1g-x509.patch.xz new file mode 100644 index 0000000..18db25d Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-x509.patch.xz differ diff --git a/libs_security/openssl/openssl.build b/libs_security/openssl/openssl.build new file mode 100755 index 0000000..a25420d --- /dev/null +++ b/libs_security/openssl/openssl.build @@ -0,0 +1,107 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=openssl +VERSION=1.0.1g +BUILD=1 + +# These are the known patent issues with OpenSSL: +# name # expires +# RC5: 5,724,428 2015-03-03, not included. + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null 2> /dev/null +fi +EOF + +# $(uname -m) here is a kludge because we should take care of the arch stuff +# before we get to this point. I.e. ${ARCH} should work here. +case "$(uname -m)" in + x86) + OPENSSLTARGET="linux-elf" + OPTIONS="" + ;; + x86_64) + OPENSSLTARGET="linux-x86_64" + OPTIONS="enable-ec_nistp_64_gcc_128" + ;; +esac + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.openssl.org/source/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz + +build0() +{ +sed -i 's|$(LIBDIR)/pkgconfig|$(PREFIX)/share/pkgconfig|g' Makefile.org +sed -i "s|@OPTFLAGS@|${FLAGS}|g" Configure +./Configure \ + --prefix="${SYS_DIR[usr]}" \ + --openssldir="${SYS_DIR[etc]}/ssl" \ + --libdir=lib \ + shared zlib-dynamic \ + no-rc5 no-mdc2 no-ec no-ec2m no-ecdh no-ecdsa no-srp no-sse2 \ + enable-md2 enable-tlsext enable-cms enable-rfc3779 ${OPTIONS} \ + "${OPENSSLTARGET}" +# ${JOBS} +make depend +make +make install INSTALL_PREFIX="${PKG}" MANDIR="${SYS_DIR[man]}" +doc ACKNOWLEDGMENTS FAQ +changelog NEWS +license LICENSE +install.dir ${PKG}${SYS_DIR[etc]}/cron.daily +install.bin certwatch ${PKG}${SYS_DIR[etc]}/cron.daily/certwatch.new +( cd ${PKG}${SYS_DIR[lib]} ; ldconfig -l lib*.so* ) +config ${PKG}${SYS_DIR[etc]}/ssl/openssl.cnf +} -- cgit v1.2.3-70-g09d2