summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Efros <powerman@powerman.name>2016-12-16 19:57:23 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-12-21 14:56:00 +0100
commit9a44ab4af6c8348889ab0bd9a86f57dc87bd6a22 (patch)
treec317861370c36b13cfd4a15bdb52310f2f436432 /sys-apps/ucspi-ssl
parentdev-python/jupyter_core: version bump to 4.2.1. (diff)
downloadgentoo-9a44ab4af6c8348889ab0bd9a86f57dc87bd6a22.tar.gz
gentoo-9a44ab4af6c8348889ab0bd9a86f57dc87bd6a22.tar.bz2
gentoo-9a44ab4af6c8348889ab0bd9a86f57dc87bd6a22.zip
sys-apps/ucspi-ssl: version bump to 0.97.
Gentoo-Bug: https://bugs.gentoo.org/602780 Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/3133
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.97.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-apps/ucspi-ssl/Manifest b/sys-apps/ucspi-ssl/Manifest
index f169828b2b8a..021fd26b1e79 100644
--- a/sys-apps/ucspi-ssl/Manifest
+++ b/sys-apps/ucspi-ssl/Manifest
@@ -1 +1,2 @@
DIST ucspi-ssl-0.94.tgz 112640 SHA256 343c0281269d88650823eb053fe80bf34b81f52c12b895f27534706b983a23b4 SHA512 a2b7fcea0da4c99a02cd0cf9402d59e55309a65031232e8afc9f29134be268c2e385840f5616c2046649a3f421563f1abcb707a8a8e93c7d29e7aef4a368b604 WHIRLPOOL 1ef3f5b447810eab97532b7fabaf94c56ddd0818a51f1149ec31ad2265c8899e90c3cf5c497a1c3570fc83918576abca2103132db3a494181ea2a872590fadb2
+DIST ucspi-ssl-0.97.tgz 112640 SHA256 cb90cd56fdb1ab51dafa2b228dd6595b61da21816fefcae646f02f41864cbe5b SHA512 2cafa091f700e0b06b6e0ab23ac02b9459003d747c1ee0e8e95cf0922d94f8f32bde5c956307e333b193ce4514cf99078383a3cc7ffee45aadbd303e2eb454c7 WHIRLPOOL d4e69029a2945b92957c4bdd3e17d19802d3e11c9a4f4916366f89b3b4e3a8b854712295a49828cc10808a106cbd1f200d1b5ff64a124119da35cb2d5fcd76d5
diff --git a/sys-apps/ucspi-ssl/ucspi-ssl-0.97.ebuild b/sys-apps/ucspi-ssl/ucspi-ssl-0.97.ebuild
new file mode 100644
index 000000000000..561432e89d17
--- /dev/null
+++ b/sys-apps/ucspi-ssl/ucspi-ssl-0.97.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils fixheadtails qmail
+
+DESCRIPTION="Command-line tools for building SSL client-server applications"
+HOMEPAGE="http://www.fehcom.de/ipnet/ucspi-ssl.html"
+SRC_URI="http://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="perl"
+
+DEPEND="
+ >=dev-libs/openssl-0.9.8z_p8:=
+ 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
+
+ cd src
+ echo "/usr/" > home || die
+ sed -i -e 's:HOME/command:/usr/bin:' sslcat.sh sslconnect.sh https\@.sh || die
+}
+
+src_compile() {
+ # build fails without setting to j1
+ emake -j1 -C src
+}
+
+src_install() {
+ dodoc doc/*
+ doman man/*.*
+ dobin src/https\@ src/sslcat src/sslclient src/sslconnect src/sslprint src/sslserver || die
+ use perl && dobin src/sslperl
+}