ports/108593: New Port: net/vde2, repocopy net/vde -> net/vde2

Philip M. Gollucci pgollucci at p6m7g8.com
Wed Jan 31 09:10:18 UTC 2007


>Number:         108593
>Category:       ports
>Synopsis:       New Port: net/vde2, repocopy net/vde -> net/vde2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 31 09:10:17 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD piccollo.p6m7g8.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Mon Sep 25 02:11:28 EDT 2006 pgollucci at piccollo.p6m7g8.net:/usr/obj/usr/src/sys/PICCOLLO i386
>Description:
>How-To-Repeat:
>Fix:
1) repo copy
2) delete all files in the files/ dir except the news in the vde2.shar

should be portlint clean

I'm not sure if you want to make net/vde and net/vde2 I'm fine either way.

There are some new commandline options in 2.x and not all of them are back compat.

--- vde2.shar begins here ---
# 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:
#
#	vde2
#	vde2/CVS
#	vde2/CVS/Root
#	vde2/CVS/Repository
#	vde2/CVS/Entries
#	vde2/files
#	vde2/files/patch-configure
#	vde2/files/patch-vde_cryptcab-crc32.c
#	vde2/files/patch-doc-Makefile.am
#	vde2/pkg-plist
#	vde2/distinfo
#	vde2/Makefile
#	vde2/pkg-descr
#
echo c - vde2
mkdir -p vde2 > /dev/null 2>&1
echo c - vde2/CVS
mkdir -p vde2/CVS > /dev/null 2>&1
echo x - vde2/CVS/Root
sed 's/^X//' >vde2/CVS/Root << 'END-of-vde2/CVS/Root'
Xfreebsdanoncvs at anoncvs.FreeBSD.org:/home/ncvs
END-of-vde2/CVS/Root
echo x - vde2/CVS/Repository
sed 's/^X//' >vde2/CVS/Repository << 'END-of-vde2/CVS/Repository'
Xports/net/vde
END-of-vde2/CVS/Repository
echo x - vde2/CVS/Entries
sed 's/^X//' >vde2/CVS/Entries << 'END-of-vde2/CVS/Entries'
X/Makefile/1.2/Wed Apr  6 21:16:43 2005//
X/distinfo/1.2/Sun Jan 22 21:23:59 2006//
X/pkg-descr/1.1/Fri Mar 11 13:51:32 2005//
X/pkg-plist/1.1/Fri Mar 11 13:51:32 2005//
XD/files////
END-of-vde2/CVS/Entries
echo c - vde2/files
mkdir -p vde2/files > /dev/null 2>&1
echo x - vde2/files/patch-configure
sed 's/^X//' >vde2/files/patch-configure << 'END-of-vde2/files/patch-configure'
X--- configure.orig	Thu Dec 21 08:01:27 2006
X+++ configure	Sat Jan 20 19:52:27 2007
X@@ -25746,7 +25746,7 @@
X _ACEOF
X 
X 		;;
X-	darwin*)
X+	freebsd*)
X 
X cat >>confdefs.h <<\_ACEOF
X #define VDE_DARWIN 1
END-of-vde2/files/patch-configure
echo x - vde2/files/patch-vde_cryptcab-crc32.c
sed 's/^X//' >vde2/files/patch-vde_cryptcab-crc32.c << 'END-of-vde2/files/patch-vde_cryptcab-crc32.c'
X--- vde_cryptcab/crc32.c.orig	Fri Jul  7 07:54:39 2006
X+++ vde_cryptcab/crc32.c	Sat Jan 20 19:52:41 2007
X@@ -15,12 +15,13 @@
X 
X #include <stdio.h>
X #include <stdlib.h>
X+#include <sys/types.h>
X 
X /* crc_tab[] -- this crcTable is being build by chksum_crc32GenTab().
X  *		so make sure, you call it before using the other
X  *		functions!
X  */
X-u_int32_t crc_tab[256];
X+uint32_t crc_tab[256];
X 
X /* chksum_crc() -- to a given block, this one calculates the
X  *				crc32-checksum until the length is
END-of-vde2/files/patch-vde_cryptcab-crc32.c
echo x - vde2/files/patch-doc-Makefile.am
sed 's/^X//' >vde2/files/patch-doc-Makefile.am << 'END-of-vde2/files/patch-doc-Makefile.am'
X--- doc/Makefile.am.orig	Sat Jan 20 20:14:23 2007
X+++ doc/Makefile.am	Sat Jan 20 20:14:38 2007
X@@ -6,8 +6,6 @@
X 	sed 's/%LIBEXECDIR%/$(subst /,\/,$(libexecdir))/g' $< > $@
X 
X install-data-hook:
X-	rm -f $(DESTDIR)$(mandir)/man1/vdeqemu.1
X-	(cd $(DESTDIR)$(mandir)/man1 && $(LN_S) vdeq.1 vdeqemu.1)
X 
X uninstall-local:
X 	rm -f $(DESTDIR)$(mandir)/man1/vdeqemu.1
END-of-vde2/files/patch-doc-Makefile.am
echo x - vde2/pkg-plist
sed 's/^X//' >vde2/pkg-plist << 'END-of-vde2/pkg-plist'
Xbin/dpipe
Xbin/slirpvde
Xbin/unixterm
Xbin/vde_cryptcab
Xbin/vde_plug
Xbin/vde_plug2tap
Xbin/vde_switch
Xbin/vdeq
Xbin/vdeqemu
Xbin/wirefilter
Xinclude/libvdeplug.h
Xlib/libvdeplug.a
Xlib/libvdeplug.la
Xlib/libvdeplug.so
Xlib/libvdeplug.so.%%SHLIB_MAJOR%%
END-of-vde2/pkg-plist
echo x - vde2/distinfo
sed 's/^X//' >vde2/distinfo << 'END-of-vde2/distinfo'
XMD5 (vde2-2.1.6.tar.gz) = 15a13ac5c109d088eb302a4e9d81d65e
XSHA256 (vde2-2.1.6.tar.gz) = c5c1ba6c7b89cf36a01a7955c0da89c68d6601accaa45e054eac5b9f9e4ae49e
XSIZE (vde2-2.1.6.tar.gz) = 536666
END-of-vde2/distinfo
echo x - vde2/Makefile
sed 's/^X//' >vde2/Makefile << 'END-of-vde2/Makefile'
X# New ports collection makefile for:   vde2
X# Date created:        20 January 2007
X# Whom:                Philip M. Gollucci <pgollucci at p6m7g8.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	vde2
XPORTVERSION=	2.1.6
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	vde
XPKGNAMESUFFIX=	2
X
XMAINTAINER=	pgollucci at p6m7g8.com
XCOMMENT=	User-mode virtual ethernet infrastructure
X
XUSE_GMAKE=	yes
XUSE_GETOPT_LONG=yes
XUSE_LDCONFIG=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS+=	--datarootdir=${PREFIX}
X
XSHLIB_MAJOR=	2
XPLIST_SUB=	SHLIB_MAJOR="${SHLIB_MAJOR}"
X
X.include <bsd.port.pre.mk>
X
XCFLAGS+=	${CPPFLAGS} -fPIC
XMAKE_ENV+=	LDFLAGS="${LDFLAGS}"
X
XMAN1=		dpipe.1 slirpvde.1 unixterm.1 \
X			vde_cryptcab.1 vde_plug.1 vde_plug2tap.1 \
X			vde_switch.1 vdeq.1 vdetaplib.1 \
X			wirefilter.1
X
X.include <bsd.port.post.mk>
END-of-vde2/Makefile
echo x - vde2/pkg-descr
sed 's/^X//' >vde2/pkg-descr << 'END-of-vde2/pkg-descr'
XVirtual Distributed Ethernet is a user-mode virtual network (layer
X2) infrastructure.  It can be used for network simulations, joining
Xmultiple qemu instances together in a shared virtual network, or
Xtunneling over the Internet.  Physical hosts can be joined to the
Xvirtual network by means of the tap(4) driver.
X
XWWW: http://vde.sourceforge.net/
END-of-vde2/pkg-descr
exit
--- vde2.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list