/[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.1 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.1 2004/02/20 03:18:05 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"
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 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
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 \
37 ZINC=-I/usr/include \ 24 ZINC=-I/usr/include \
43 30
44src_install() { 31src_install() {
45 make \ 32 make \
46 ROOTDIR=${D}/usr \ 33 ROOTDIR=${D}/usr \
47 MANDIR=${D}/usr/share/man/man1 \ 34 MANDIR=${D}/usr/share/man/man1 \
35 ZBDDIR=${D}/etc/zebedee \
48 OS=linux \ 36 OS=linux \
49 install || die 37 install || die
50 38
51 rm -f ${D}/usr/lib/zebedee/*.{txt,html} 39 rm -f ${D}/etc/zebedee/*.{txt,html}
52 40
53 dodoc *.txt 41 dodoc *.txt
54 dohtml *.html 42 dohtml *.html
55 43
56 exeinto /etc/init.d 44 exeinto /etc/init.d
57 doexe ${FILESDIR}/zebedee 45 doexe ${FILESDIR}/zebedee
58
59 insinto /etc/zebedee
60 doins server.zbd vncviewer.zbd vncserver.zbd
61 newins server.id server.id.example
62
63 insopts -m 600
64 newins server.key server.key.example
65 newins client1.key client1.key.example
66 newins client2.key client2.key.example
67 newins clients.id clients.id.example
68} 46}
69 47
70pkg_postinst() { 48pkg_postinst() {
71 echo 49 echo
72 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.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20