ports/51086: New port: security/vida
Michael L.Hostbaek
mich at freebsdcluster.org
Thu Apr 17 09:50:09 UTC 2003
>Number: 51086
>Category: ports
>Synopsis: New port: security/vida
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 17 02:50:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Michael L. Hostbaek
>Release: FreeBSD 4.8-PRERELEASE i386
>Organization:
FreeBSDCluster.org
>Environment:
System: FreeBSD mich2.itxmarket.com 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #0: Wed Feb 26 15:09:07 CET 2003 root at mich2.itxmarket.com:/usr/obj/usr/src/sys/MICH2 i386
>Description:
- New port.
- Vida is a multi-datapipe handler, written in C with ncurses library,
for unix and unix-like OS.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# vida
# vida/Makefile
# vida/pkg-plist
# vida/pkg-descr
# vida/distinfo
# vida/files
# vida/files/patch-aa
#
echo c - vida
mkdir -p vida > /dev/null 2>&1
echo x - vida/Makefile
sed 's/^X//' >vida/Makefile << 'END-of-vida/Makefile'
X# New ports collection makefile for: vida
X# Date created: Thu Apr 17 11:22:35 GMT 2003
X# Whom: mich at freebsdcluster.org
X#
X# $FreeBSD$
X#
X
XPORTNAME= vida
XPORTVERSION= 0.7.1
XCATEGORIES= security
XMASTER_SITES= http://vidatapipe.sourceforge.net/
X
XMAINTAINER= mich at freebsdcluster.org
XCOMMENT= Vida is a multi-datapipe handler
X
XBUILD_DEPENDS= ${LOCALBASE}/include/libnet.h:${PORTSDIR}/net/libnet
X
XLDFLAGS+= -pthread -lncurses -lpcap -lnet
X
XWRKSRC= ${WRKDIR}/${PORTNAME}
X
Xdo-build:
X cd ${WRKSRC} && \
X ${CC} -I${LOCALBASE}/include -L${LOCALBASE}/lib ${CFLAGS} vida.c funz.c dnshijacking.c \
X ${LDFLAGS} `libnet-config --defines` -o ${PORTNAME}
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X ${INSTALL_MAN} ${WRKSRC}/vida.1.gz ${PREFIX}/man/man1/
X
XMAN1= vida.1
XMANCOMPRESSED= yes
X.include <bsd.port.mk>
END-of-vida/Makefile
echo x - vida/pkg-plist
sed 's/^X//' >vida/pkg-plist << 'END-of-vida/pkg-plist'
Xbin/vida
END-of-vida/pkg-plist
echo x - vida/pkg-descr
sed 's/^X//' >vida/pkg-descr << 'END-of-vida/pkg-descr'
XVida is a multi-datapipe handler, written in C with ncurses library,
Xfor unix and unix-like OS.
X
XFeatures:
X- visual interface built with ncurses library
X- multiple datapipes
X- multiple connections for each datapipe
X- password authentication over datapipes
X- computes the total of sent and received bytes
X- sniffing a routed connection (monodirectional, bidirectional and to
X colors, packages matching a string)
X- simple hijacking of a routed connection (in both directions)
X- dns-hijacking of a dns-spoofed connection over switched LAN (todo)
X- logging to text fil
X
XWWW: http://vidatapipe.sourceforge.net/
XAUTHOR: <embyte at madlab.it>
X
X - Michael L. Hostbaek
X <mich at freebsdcluster.org>
END-of-vida/pkg-descr
echo x - vida/distinfo
sed 's/^X//' >vida/distinfo << 'END-of-vida/distinfo'
XMD5 (vida-0.7.1.tar.gz) = 032049c11eb018c27047b7be98b2919f
END-of-vida/distinfo
echo c - vida/files
mkdir -p vida/files > /dev/null 2>&1
echo x - vida/files/patch-aa
sed 's/^X//' >vida/files/patch-aa << 'END-of-vida/files/patch-aa'
X--- include.h.orig Thu Apr 17 11:36:06 2003
X+++ include.h Thu Apr 17 11:36:19 2003
X@@ -24,13 +24,13 @@
X * *
X \*____________________________________________*/
X
X-#include <sys/socket.h>
X #include <sys/types.h>
X+#include <sys/socket.h>
X #include <sys/wait.h>
X #include <netinet/in.h>
X #include <netdb.h>
X #include <string.h>
X-#include <malloc.h>
X+#include <stdlib.h>
X #include <errno.h>
X #include <unistd.h>
X #include <sys/types.h>
END-of-vida/files/patch-aa
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list