/[gentoo-x86]/net-misc/sslwrap/sslwrap-2.0.6-r1.ebuild
Gentoo

Contents of /net-misc/sslwrap/sslwrap-2.0.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Dec 2 04:46:25 2012 UTC (7 years, 10 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/sslwrap/sslwrap-2.0.6-r1.ebuild,v 1.6 2012/12/01 19:37:27 armin76 Exp $
4
5 inherit eutils
6
7 DESCRIPTION="TSL/SSL - Port Wrapper"
8 HOMEPAGE="http://quiltaholic.com/rickk/sslwrap/"
9 SRC_URI="http://quiltaholic.com/rickk/sslwrap/${PN}${PV/.0./0}.tar.gz
10 mirror://gentoo/${PN}-gentoo.tar.bz2"
11
12 LICENSE="sslwrap"
13 SLOT="0"
14 KEYWORDS="x86"
15 IUSE=""
16
17 DEPEND=">=dev-libs/openssl-0.9.6"
18 RDEPEND="${DEPEND}"
19
20 S=${WORKDIR}/${PN}${PV//.}
21
22 src_unpack () {
23 unpack ${A}
24 cd "${S}"
25 sed -i \
26 -e "s:-O2:${CFLAGS}:" \
27 -e "s:/usr/local/ssl/include:/usr/include/openssl:" \
28 Makefile
29 cp "${WORKDIR}/${PN}-gentoo/*.c" "${S}"
30 has_version '=dev-libs/openssl-0.9.7*' \
31 && epatch "${FILESDIR}/${PV}-openssl-0.9.7.patch"
32 sed -i \
33 -e "s:OPENSSL\":\"openssl\/:g" \
34 -e "s:SSL_OP_NON_EXPORT_FIRST:SSL_OP_CIPHER_SERVER_PREFERENCE:g" \
35 *.h *.c
36 }
37
38 src_install() {
39 dosbin sslwrap
40 dodoc README
41 dohtml -r ./
42 }

  ViewVC Help
Powered by ViewVC 1.1.20