summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Efros <powerman-asdf@yandex.ru>2019-02-28 20:02:37 +0200
committerStefan Strogin <steils@gentoo.org>2019-05-21 03:27:20 +0300
commit71b29a42b07e8af16132a8a59f306727c197960f (patch)
treeea94e0d0841e8c243b7879f6fa0b1060e14c936c /sys-apps
parentapp-emulation/libvirt: remove stable version SRC_URI (diff)
downloadgentoo-71b29a42b07e8af16132a8a59f306727c197960f.tar.gz
gentoo-71b29a42b07e8af16132a8a59f306727c197960f.tar.bz2
gentoo-71b29a42b07e8af16132a8a59f306727c197960f.zip
sys-apps/ucspi-ssl: Version bump to 0.99e
Add USE=libressl; EAPI=7. Closes: https://bugs.gentoo.org/678930 Closes: https://bugs.gentoo.org/645252 Closes: https://bugs.gentoo.org/625574 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Aleksandr Efros <powerman-asdf@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/11177 Signed-off-by: Stefan Strogin <steils@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/ucspi-ssl/Manifest1
-rw-r--r--sys-apps/ucspi-ssl/metadata.xml3
-rw-r--r--sys-apps/ucspi-ssl/ucspi-ssl-0.99e.ebuild62
3 files changed, 66 insertions, 0 deletions
diff --git a/sys-apps/ucspi-ssl/Manifest b/sys-apps/ucspi-ssl/Manifest
index 016aa746d920..5269429dd6b4 100644
--- a/sys-apps/ucspi-ssl/Manifest
+++ b/sys-apps/ucspi-ssl/Manifest
@@ -2,3 +2,4 @@ DIST ucspi-ssl-0.94.tgz 112640 BLAKE2B c85c75664e7da4486fbc1b7e0ba3c8e2c57b47194
DIST ucspi-ssl-0.97.tgz 112640 BLAKE2B ead9a3d720e9aee8855039ce3873f30d9766ad78dcd7eece41e52bbf670945248ae0f8e0b9391c3abe390eef9174e0a31880be605af3378422356f170ab86eaa SHA512 2cafa091f700e0b06b6e0ab23ac02b9459003d747c1ee0e8e95cf0922d94f8f32bde5c956307e333b193ce4514cf99078383a3cc7ffee45aadbd303e2eb454c7
DIST ucspi-ssl-0.98b.tgz 112640 BLAKE2B 3b970525f8c3f9511daadfc2fda3840566e679b885acd3c17b0d1b2a775d837b59e9ccbbf5543614440366bedd8c24ba5f8f1c4d6b94877c7ef92d3859fdf652 SHA512 c9f6749048059f870b5221296ecb01d4b5c57c1d8c8b3574c67926b60569bce983f257afacfc3383b1b9a60d55b470a5a1548d2c19b0a505b953171a83cee12b
DIST ucspi-ssl-0.99.tgz 112640 BLAKE2B da1974f59d2fece5877f645f5843311eadd509bfb715576a56b59bc79f6f9954eca9bad88bb36b055aa939d533a8b95b4fb3d3ae9ebde1081bcd6a51b60af5b4 SHA512 2fd29d0f6b31b54f2b53206c6ccd0cf35c759834f34aab26d2a883319d33ff2257163150fc85a2e450c7bd81ce7bbed7b59c4013d71a35a9b3446a6338cb406e
+DIST ucspi-ssl-0.99e.tgz 112640 BLAKE2B 6db975f412723da1c6c76ff1040c27001c2d5b2b0c8bb3199f37226c31cf1e48f629aa1f8234319c844f2ccf8001d6d9ffd7700da2ae57b6cb22177cfc1e56f8 SHA512 231ef75eedc4f52f46c1f7d6f44feac54069d859da206f9ea874d3a8082dead1be310cc4b7da1148564847b5b452b691718b7ba8076a03145e2002e9250182aa
diff --git a/sys-apps/ucspi-ssl/metadata.xml b/sys-apps/ucspi-ssl/metadata.xml
index 37052d6e36cd..32a4fcc2cbce 100644
--- a/sys-apps/ucspi-ssl/metadata.xml
+++ b/sys-apps/ucspi-ssl/metadata.xml
@@ -17,4 +17,7 @@
building SSL client-server applications. They conform to the UNIX
Client-Server Program Interface, UCSPI.
</longdescription>
+ <use>
+ <flag name="bindist">Disable EC/RC5 algorithms in OpenSSL for patent reasons.</flag>
+ </use>
</pkgmetadata>
diff --git a/sys-apps/ucspi-ssl/ucspi-ssl-0.99e.ebuild b/sys-apps/ucspi-ssl/ucspi-ssl-0.99e.ebuild
new file mode 100644
index 000000000000..7325e21a7b02
--- /dev/null
+++ b/sys-apps/ucspi-ssl/ucspi-ssl-0.99e.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 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 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="bindist perl libressl"
+
+DEPEND="libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0=[bindist=] )
+ perl? ( dev-lang/perl:= )"
+RDEPEND="${DEPEND}
+ sys-apps/ucspi-tcp"
+
+S="${WORKDIR}"/host/superscript.com/net/${P}
+
+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
+ if use bindist; then
+ echo > conf-ecdh || die
+ fi
+
+ eapply_user
+}
+
+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)
+}