2004-12-27 08:28:33 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2004/12/27 13:28:36 alek Exp $
|
2001-10-31 13:04:54 -05:00
|
|
|
|
|
|
|
COMMENT= "portable, encrypted, compressed tunnel"
|
|
|
|
|
2003-01-30 17:39:58 -05:00
|
|
|
VERSION= 2.4.1
|
|
|
|
DISTNAME= zebedee-${VERSION}
|
2001-10-31 13:04:54 -05:00
|
|
|
CATEGORIES= security net
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.winton.org.uk/zebedee/
|
|
|
|
|
2003-01-30 17:39:58 -05:00
|
|
|
MAINTAINER= Jon Leonard <oiler@unseenedge.net>
|
|
|
|
|
|
|
|
# GPL
|
2001-10-31 13:04:54 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-27 08:28:33 -05:00
|
|
|
WANTLIB= c pthread
|
2001-10-31 13:04:54 -05:00
|
|
|
|
2003-01-30 17:39:58 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zebedee/} \
|
|
|
|
http://www.winton.org.uk/zebedee/
|
2001-10-31 13:04:54 -05:00
|
|
|
|
2003-01-30 17:39:58 -05:00
|
|
|
FLAVORS= udp_spoof
|
|
|
|
FLAVOR?=
|
2001-10-31 13:04:54 -05:00
|
|
|
|
|
|
|
LIB_DEPENDS= bz2::archivers/bzip2
|
2003-01-30 17:39:58 -05:00
|
|
|
DEFINES_openbsd= -DHAVE_PTHREADS -DBUGGY_FORK_WITH_THREADS
|
|
|
|
OSLIBS_openbsd= -pthread
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mudp_spoof}
|
|
|
|
LIB_DEPENDS+= net::net/libnet
|
|
|
|
LIBNET_DEFS= `libnet-config --defines`
|
|
|
|
DEFINES_openbsd+= -DUSE_UDP_SPOOFING ${LIBNET_DEFS}
|
|
|
|
LIBNET_LIBS= `libnet-config --libs`
|
|
|
|
OSLIBS_openbsd+= ${LIBNET_LIBS}
|
|
|
|
.endif
|
|
|
|
|
2001-10-31 13:06:32 -05:00
|
|
|
NO_REGRESS= Yes
|
2001-10-31 13:04:54 -05:00
|
|
|
|
2003-01-30 17:39:58 -05:00
|
|
|
MAKE_FLAGS+= CC="${CC}" CFLAGS="${CFLAGS}" OS=openbsd \
|
|
|
|
DEFINES_openbsd="${DEFINES_openbsd}" \
|
|
|
|
OSLIBS_openbsd="${OSLIBS_openbsd}"
|
2001-10-31 13:04:54 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/zebedee ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ftpgw.tcl ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/zebedee.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ftpgw.tcl.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/zebedee
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/server.zbd ${PREFIX}/share/examples/zebedee
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/vncviewer.zbd ${PREFIX}/share/examples/zebedee
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/vncserver.zbd ${PREFIX}/share/examples/zebedee
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/server.key ${PREFIX}/share/examples/zebedee
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/server.id ${PREFIX}/share/examples/zebedee
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/client1.key ${PREFIX}/share/examples/zebedee
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/client2.key ${PREFIX}/share/examples/zebedee
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/clients.id ${PREFIX}/share/examples/zebedee
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/zebedee
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/zebedee
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${PREFIX}/share/doc/zebedee
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/CHANGES.txt ${PREFIX}/share/doc/zebedee
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/zebedee.html ${PREFIX}/share/doc/zebedee
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ftpgw.tcl.html ${PREFIX}/share/doc/zebedee
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|