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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Feb 20 03:18:05 2004 UTC (16 years ago) by seemant
Branch: MAIN
version bump, for our own infrastructure team

1 seemant 1.1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /home/cvsroot/gentoo-x86/net-misc/zebedee/zebedee-2.4.1.ebuild,v 1.4 2003/11/14 20:08:57 seemant Exp $
4    
5     S=${WORKDIR}/${P}
6     DESCRIPTION="A simple, free, secure TCP and UDP tunnel program"
7     HOMEPAGE="http://www.winton.org.uk/zebedee/"
8     SRC_URI="mirror://sourceforge/zebedee/${P}.tar.gz"
9    
10     LICENSE="GPL-2"
11     SLOT="0"
12     KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~ia64 ~amd64 ~ppc64"
13    
14    
15     DEPEND="dev-lang/perl
16     dev-libs/openssl
17     sys-libs/zlib
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    
33     src_compile() {
34     emake \
35     BFINC=-I/usr/include/openssl \
36     BFLIB=-lcrypto \
37     ZINC=-I/usr/include \
38     ZLIB=-lz \
39     BZINC=-I/usr/include \
40     BZLIB=-lbz2 \
41     OS=linux || die
42     }
43    
44     src_install() {
45     make \
46     ROOTDIR=${D}/usr \
47     MANDIR=${D}/usr/share/man/man1 \
48     OS=linux \
49     install || die
50    
51     rm -f ${D}/usr/lib/zebedee/*.{txt,html}
52    
53     dodoc *.txt
54     dohtml *.html
55    
56     exeinto /etc/init.d
57     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     }
69    
70     pkg_postinst() {
71     echo
72     einfo "Before you use the Zebedee rc script (/etc/init.d/zebedee), it is"
73     einfo "recommended that you edit the server config file: "
74     einfo "(/etc/zebedee/server.zbd)."
75     einfo "the \"detached\" directive should remain set to false;"
76     einfo "the rc script takes care of backgrounding automatically."
77     echo
78     }

  ViewVC Help
Powered by ViewVC 1.1.20