summaryrefslogtreecommitdiff
path: root/sys-apps/ucspi-ssl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /sys-apps/ucspi-ssl
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'sys-apps/ucspi-ssl')
-rw-r--r--sys-apps/ucspi-ssl/Manifest1
-rw-r--r--sys-apps/ucspi-ssl/ucspi-ssl-0.99e-r2.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/sys-apps/ucspi-ssl/Manifest b/sys-apps/ucspi-ssl/Manifest
index 01eda92723f1..00738d1647b6 100644
--- a/sys-apps/ucspi-ssl/Manifest
+++ b/sys-apps/ucspi-ssl/Manifest
@@ -1,4 +1,5 @@
AUX ucspi-ssl-0.99e-fno-common.patch 1255 BLAKE2B 0a278c0340f2c8f7663afe25bc9478e5798e7fb51195a52fcf4a2ac887fd4d809ef4a617131f146a89095748208ecaea753746b6d4075cd528aad0ddac081a5a SHA512 87b0f8d955f4e9a0c3168d1ff7e29dd8844d34086b0aa77c2cc9b2bdbb1858a2e22e07178a18e04175e325e1e6fb4e4bacec89bdc3571dd973731344664012cc
DIST ucspi-ssl-0.99e.tgz 112640 BLAKE2B 6db975f412723da1c6c76ff1040c27001c2d5b2b0c8bb3199f37226c31cf1e48f629aa1f8234319c844f2ccf8001d6d9ffd7700da2ae57b6cb22177cfc1e56f8 SHA512 231ef75eedc4f52f46c1f7d6f44feac54069d859da206f9ea874d3a8082dead1be310cc4b7da1148564847b5b452b691718b7ba8076a03145e2002e9250182aa
EBUILD ucspi-ssl-0.99e-r1.ebuild 1547 BLAKE2B b0d1f523aafe6c1f3a9c8ad659c51398143371d994f0ae9dcad61cf957b1b7b1d053b2295b2ef663eef90948a2d99159f27f1c02d0c07e6f0a26e9d34bdc9a74 SHA512 6e3ec443d1bf876c5b009971c1a16c8393e21da4d6ae7687ed2404df1a4c516c4bb2c01140597d689e866d293c5b59a276d1c0d8f4cfc4184c245f23cc2e5e69
+EBUILD ucspi-ssl-0.99e-r2.ebuild 1489 BLAKE2B 68f7b6482cad27e26f0810b750a278d244d2e49142faf2a1423e390b1efe5b5c0c0a7b329f514f45976134ef98906579fe3bab0130febf2f7a76c90d6662b6eb SHA512 1c78223f3c98c1cb63663b147158a348175af80bbb9a23e0ba7978a4d71dbe60ef4c90b78a2ce4855a74afffa448a2ab36c6b4c05af1dfdccf77d03ed060c41d
MISC metadata.xml 551 BLAKE2B 722aca8c638d9295469fff01028266cf48f77e8f81c88c103d9e8644f3336e86e4f9ab6a4faa8b6484d2e22478c5f1445dc4c6b233f0bf50117407a31d240ca4 SHA512 c63db8b7aeb9b543444cf0caa96152ed45896b7aa90b318b9f1225d6629a8b59365445ccfcec0a7afe0e520982cd668b0c1315b069b95baa81cf93cc766c6b68
diff --git a/sys-apps/ucspi-ssl/ucspi-ssl-0.99e-r2.ebuild b/sys-apps/ucspi-ssl/ucspi-ssl-0.99e-r2.ebuild
new file mode 100644
index 000000000000..af9a8b306679
--- /dev/null
+++ b/sys-apps/ucspi-ssl/ucspi-ssl-0.99e-r2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit fixheadtails qmail
+
+DESCRIPTION="Command-line tools for building SSL client-server applications"
+HOMEPAGE="https://www.fehcom.de/ipnet/ucspi-ssl.html"
+SRC_URI="https://www.fehcom.de/ipnet/ucspi-ssl/${P}.tgz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="bindist perl"
+
+DEPEND="
+ dev-libs/openssl:=
+ perl? ( dev-lang/perl:= )"
+RDEPEND="${DEPEND}
+ sys-apps/ucspi-tcp"
+
+S="${WORKDIR}"/host/superscript.com/net/${P}
+
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
+
+src_prepare() {
+ ht_fix_all
+
+ sed -i -e 's:auto:gcc:' conf-cc || die
+ sed -i -e 's:-m64::' conf-ld || die
+ qmail_set_cc
+
+ echo "/usr/bin" > conf-tcpbin || die
+ echo "/usr/share/ca-certificates/" > conf-cadir || die
+ echo "${QMAIL_HOME}/control/dh1024.pem" > conf-dhfile || die
+ echo "/usr/" > src/home || die
+ sed -i -e 's:HOME/command:/usr/bin:' \
+ src/sslcat.sh src/sslconnect.sh src/https\@.sh || die
+
+ # workaround: SSL_TXT_ECDH is always set in openssl/ssl.h, even with openssl[bindist]
+ #sed -i -e 's:SSL_TXT_ECDH:ENABLE_SSL_TXT_ECDH:' src/ucspissl.h src/ssl_params.c conf-ecdh || die
+
+ default
+}
+
+src_compile() {
+ cd src || die
+ emake sysdeps
+ emake uint32.h
+ emake
+}
+
+src_install() {
+ dodoc -r doc/.
+ doman man/*
+
+ cd src || die
+ dobin $(<../package/commands-base)
+ use perl && dobin $(<../package/commands-sslperl)
+}