diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2008-04-06 17:04:54 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2008-04-06 17:04:54 +0000 |
commit | 5530293972865def02cf9f1340f1779ebc709c6f (patch) | |
tree | 69c456ee1f2f9c11f4ce88e4c65990af298523b7 /sys-apps/ucspi-ssl/ucspi-ssl-0.70-r1.ebuild | |
parent | Stable on ppc64; bug #215735 (diff) | |
download | gentoo-2-5530293972865def02cf9f1340f1779ebc709c6f.tar.gz gentoo-2-5530293972865def02cf9f1340f1779ebc709c6f.tar.bz2 gentoo-2-5530293972865def02cf9f1340f1779ebc709c6f.zip |
use new qmail.eclass; ebuild cleanup
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-apps/ucspi-ssl/ucspi-ssl-0.70-r1.ebuild')
-rw-r--r-- | sys-apps/ucspi-ssl/ucspi-ssl-0.70-r1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sys-apps/ucspi-ssl/ucspi-ssl-0.70-r1.ebuild b/sys-apps/ucspi-ssl/ucspi-ssl-0.70-r1.ebuild new file mode 100644 index 000000000000..5a285d345539 --- /dev/null +++ b/sys-apps/ucspi-ssl/ucspi-ssl-0.70-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-ssl/ucspi-ssl-0.70-r1.ebuild,v 1.1 2008/04/06 17:04:54 hollow Exp $ + +inherit eutils fixheadtails qmail + +DESCRIPTION="Command-line tools for building SSL client-server applications." +HOMEPAGE="http://www.superscript.com/ucspi-ssl/intro.html" +SRC_URI="http://www.superscript.com/ucspi-ssl/${P}.tar.gz + http://www.suspectclass.com/~sgifford/ucspi-tls/files/ucspi-ssl-0.70-ucspitls-0.1.patch" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="perl tls" + +DEPEND=">=dev-libs/openssl-0.9.6g + sys-apps/ucspi-tcp" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/host/superscript.com/net/${P}/src + +src_unpack() { + unpack ${A} + cd "${S}" + + use tls && epatch "${DISTDIR}"/ucspi-ssl-0.70-ucspitls-0.1.patch + + ht_fix_all + sed -i -e 's:HOME/command:/usr/bin:' sslcat.sh sslconnect.sh https\@.sh + sed -i -e 's:auto:gcc:' conf-cc conf-ld + + qmail_set_cc + + echo "/usr/bin" > conf-tcpbin + echo "/usr/" > home + echo "/usr/share/ca-certificates/" > conf-cadir + echo "${QMAIL_HOME}/control/dh1024.pem" > conf-dhfile +} + +src_compile() { + make || die "make failed" +} + +src_install() { + dodoc CHANGES TODO UCSPI-SSL + dobin sslserver sslclient sslcat sslconnect https\@ || die + use perl && dobin sslperl +} |