/[gentoo-x86]/net-misc/zebedee/zebedee-2.5.2.ebuild
Gentoo

Diff of /net-misc/zebedee/zebedee-2.5.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2004 Gentoo Technologies, Inc. 1# Copyright 1999-2004 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/zebedee/Attic/zebedee-2.5.2.ebuild,v 1.2 2004/02/20 22:53:46 seemant Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/zebedee/Attic/zebedee-2.5.2.ebuild,v 1.3 2004/02/20 23:00:17 seemant Exp $
4 4
5S=${WORKDIR}/${P} 5S=${WORKDIR}/${P}
6DESCRIPTION="A simple, free, secure TCP and UDP tunnel program" 6DESCRIPTION="A simple, free, secure TCP and UDP tunnel program"
7HOMEPAGE="http://www.winton.org.uk/zebedee/" 7HOMEPAGE="http://www.winton.org.uk/zebedee/"
8SRC_URI="mirror://sourceforge/zebedee/${P}.tar.gz" 8SRC_URI="mirror://sourceforge/zebedee/${P}.tar.gz"
14 14
15DEPEND="dev-lang/perl 15DEPEND="dev-lang/perl
16 dev-libs/openssl 16 dev-libs/openssl
17 sys-libs/zlib 17 sys-libs/zlib
18 app-arch/bzip2" 18 app-arch/bzip2"
19
20
21#src_unpack() {
22# unpack ${P}.tar.gz
23# cd ${S}
24#
25# cp Makefile Makefile.orig
26# patch -p0 < ${FILESDIR}/${P}-Makefile.patch || die
27# mv zebedee.c zebedee.c.orig
28# cat zebedee.c.orig | \
29# sed "s/^#include \"blowfish\.h\"$/#include \"openssl\/blowfish\.h\"/g" \
30# > zebedee.c
31#}
32 19
33src_compile() { 20src_compile() {
34 emake \ 21 emake \
35 BFINC=-I/usr/include/openssl \ 22 BFINC=-I/usr/include/openssl \
36 BFLIB=-lcrypto \ 23 BFLIB=-lcrypto \
54 dodoc *.txt 41 dodoc *.txt
55 dohtml *.html 42 dohtml *.html
56 43
57 exeinto /etc/init.d 44 exeinto /etc/init.d
58 doexe ${FILESDIR}/zebedee 45 doexe ${FILESDIR}/zebedee
59
60# insinto /etc/zebedee
61# doins server.zbd vncviewer.zbd vncserver.zbd
62# newins server.id server.id.example
63#
64# insopts -m 600
65# newins server.key server.key.example
66# newins client1.key client1.key.example
67# newins client2.key client2.key.example
68# newins clients.id clients.id.example
69} 46}
70 47
71pkg_postinst() { 48pkg_postinst() {
72 echo 49 echo
73 einfo "Before you use the Zebedee rc script (/etc/init.d/zebedee), it is" 50 einfo "Before you use the Zebedee rc script (/etc/init.d/zebedee), it is"

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20