diff options
Diffstat (limited to 'sys-apps/ucspi-ssl')
-rw-r--r-- | sys-apps/ucspi-ssl/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/ucspi-ssl/metadata.xml | 3 | ||||
-rw-r--r-- | sys-apps/ucspi-ssl/ucspi-ssl-0.99e.ebuild | 62 |
3 files changed, 68 insertions, 1 deletions
diff --git a/sys-apps/ucspi-ssl/Manifest b/sys-apps/ucspi-ssl/Manifest index e22ccee9d681..81a2637623dd 100644 --- a/sys-apps/ucspi-ssl/Manifest +++ b/sys-apps/ucspi-ssl/Manifest @@ -2,8 +2,10 @@ 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 EBUILD ucspi-ssl-0.94-r1.ebuild 1235 BLAKE2B 37260b380a2b8b6576b0ff0b8a37fbfb4b46fd0b239c30cdc40b492d23a2aa010854c47b636afeb863ac337da741776e3165472ad3b9b7eefad488e7cd5e04be SHA512 8ee5369d142b93d9f69374b13b3198c379019cff283fba7fe47f01b1f7cc65e8da7e178514921842bae6ed6e807c4f278357294026ba86344d24dbdb39936f7d EBUILD ucspi-ssl-0.97.ebuild 1305 BLAKE2B 2999b3b930b64d1c33283ecf354a6eef4e5e3386942e941c85b53f17c127f6eded3f4fa1c74008f5c7c5ebb727c44e42dc20d0597166774b2c02c8b7778534fe SHA512 8bba0c5ab8162cda29bbe4c6b108638189bc4f93756be2c72191e9fa4c802fc0322bafefbd561653cd63cc9cdbc4e3167b5034a64d2409d22a12b2f2c61f4e45 EBUILD ucspi-ssl-0.98b.ebuild 1275 BLAKE2B e3d7f5202d5db765612bc600c6e837d7e68eecf0d96e2095bb44b4baee32ed72e7e26dbaa2aa0d96337e0a55e25bb75907e29b57be5280d7b791281aff6c39f7 SHA512 918b19b10d219c230f1429da48a8c2ecd5a6f5a9b73d78a3aa999f5b36771017bf7244806e57fd29fd22ed1ad1319ebc55223e106118cb075f44588b4cedd456 EBUILD ucspi-ssl-0.99.ebuild 1268 BLAKE2B e81513430e2c5f4b38fad648e6aec4db87c3e643629ae620e64a71ad10d532c30d47dc7c7014a815f6f2d3af7e149b6ae2d1b984ff1d28ca5da5d89d0b688245 SHA512 59c6a61739f5dd6f1542246f05e007696be068c79dbc4d3d74fcf5dcbe867cdf1094c3a920e083102e9a3cf31e077036284b941e1937a19c1dc1ac24c3893343 -MISC metadata.xml 647 BLAKE2B b1126954520abbf20741b167d4536506ed0a44c7ee4e0c6e8caa67b5151eeb9042d88c0c05141a2188ef755e919b833765117f98e1a6841d366145bf0dfe9271 SHA512 c4d025d04de18b02d5741b8b3fd7299163198094b4d78dbf78cf82887defef03b6830a3a0ed009075c0e472db220c439a024c014f137d5b3558ddc18fead361b +EBUILD ucspi-ssl-0.99e.ebuild 1571 BLAKE2B b06f2049a8383d8dd6428ed63c347a12b9217d9349d231a9ceb5ec9470ffcba2fd56cab818cf1f7c4552688a68840f44228f4466af4d0888611b6beaa4b26af7 SHA512 5ac6da5ee5fe9758cbfc0aa8c9c12fa4658f1d6e6ef91f44a6a0d0c94a38b4d2058c206fa0221308d364a30a2e55ca186e5e3ec7023228514d199a95dc035ed9 +MISC metadata.xml 749 BLAKE2B 3b6d6b29627fdd626bffc49b35d559c21436b0e31fb0ea037f872a5f3bcd114902ef91eb2c4be5d78100b16622c8b8cabd745fd82cb41570085b70ae6c4f9c8d SHA512 3e9e1026800839e5ca908831406d77e5aca076edfaa62588c9b966767d690ff6ed1c396ee3cb2457259c26b10e5160a10ac38f70a0be1cad0bf262adfd661366 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) +} |