FreeBSD Bugzilla – Attachment 114745 Details for
Bug 156454
[NEW PORT] emulators/dynamips-community: Cisco 1700/2600/3600/3700/7200 Simulator
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
dynamips-community-0.2.8.shar
dynamips-community-0.2.8.shar (text/plain), 7.15 KB, created by
Pavel I Volkov
on 2011-04-17 14:30:07 UTC
(
hide
)
Description:
dynamips-community-0.2.8.shar
Filename:
MIME Type:
Creator:
Pavel I Volkov
Created:
2011-04-17 14:30:07 UTC
Size:
7.15 KB
patch
obsolete
># 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: ># ># dynamips-community ># dynamips-community/files ># dynamips-community/files/patch-nvram_export.1 ># dynamips-community/files/patch-common-gen_eth.c ># dynamips-community/files/patch-stable-Makefile ># dynamips-community/files/patch-unstable-Makefile ># dynamips-community/Makefile ># dynamips-community/distinfo ># dynamips-community/pkg-descr ># >echo c - dynamips-community >mkdir -p dynamips-community > /dev/null 2>&1 >echo c - dynamips-community/files >mkdir -p dynamips-community/files > /dev/null 2>&1 >echo x - dynamips-community/files/patch-nvram_export.1 >sed 's/^X//' >dynamips-community/files/patch-nvram_export.1 << '4cf7a13ddaa9b10bf4abed0c00c7baed' >X--- nvram_export.1.orig Thu May 3 12:46:51 2007 >X+++ nvram_export.1 Thu May 3 12:47:10 2007 >X@@ -13,7 +13,7 @@ >X Please send bug reports to http://www.ipflow.utc.fr/bts/ >X .SH SEE ALSO >X .br >X-\fBdynmips\fP(1), \fBhypervisor_mode\fP(7) >X+\fBdynamips\fP(1), \fBhypervisor_mode\fP(7) >X .br >X .UR >X http://www.ipflow.utc.fr/index.php/ >4cf7a13ddaa9b10bf4abed0c00c7baed >echo x - dynamips-community/files/patch-common-gen_eth.c >sed 's/^X//' >dynamips-community/files/patch-common-gen_eth.c << '86dedd612b6049295f54e6721b23694e' >X--- common/gen_eth.c.orig 2011-04-17 11:32:08.000000000 +0400 >X+++ common/gen_eth.c 2011-04-17 11:36:47.000000000 +0400 >X@@ -22,6 +22,7 @@ >X #include <sys/types.h> >X #include <sys/socket.h> >X #include <sys/wait.h> >X+#include <sys/ioctl.h> >X #include <netinet/in.h> >X #include <arpa/inet.h> >X #include <pthread.h> >X@@ -45,8 +46,13 @@ >X if (!(p = pcap_open_live(device,2048,TRUE,10,pcap_errbuf))) >X goto pcap_error; >X >X- /* Accept only incoming packets */ >X- pcap_setdirection(p,PCAP_D_IN); >X+ pcap_setdirection(p,PCAP_D_INOUT); >X+#ifdef BIOCFEEDBACK >X+ { >X+ int on = 1; >X+ ioctl(pcap_fileno(p), BIOCFEEDBACK, &on); >X+ } >X+#endif >X #else >X p = pcap_open(device,2048, >X PCAP_OPENFLAG_PROMISCUOUS | >86dedd612b6049295f54e6721b23694e >echo x - dynamips-community/files/patch-stable-Makefile >sed 's/^X//' >dynamips-community/files/patch-stable-Makefile << '281f4447c0519740341d142eba63234c' >X--- stable/Makefile.orig 2011-04-17 11:08:00.000000000 +0400 >X+++ stable/Makefile 2011-04-17 11:11:30.000000000 +0400 >X@@ -61,7 +61,7 @@ >X -DHAS_POSIX_MEMALIGN=$(HAS_POSIX_MEMALIGN) >X >X #PCAP_LIB=/usr/local/lib/libpcap.a >X-PCAP_LIB=-lpcap >X+PCAP_LIB?=-lpcap >X >X ifeq ($(shell uname), FreeBSD) >X PTHREAD_LIBS?=-pthread >X@@ -69,7 +69,7 @@ >X OSNAME=FreeBSD >X CFLAGS+=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/libelf \ >X $(PTHREAD_CFLAGS) -D_FILE_OFFSET_BITS=64 >X- LIBS=-L$(LOCALBASE)/lib -L. -ldl -lelf $(PTHREAD_LIBS) $(LDFLAGS) >X+ LIBS=-L$(LOCALBASE)/lib -L. -lelf $(PTHREAD_LIBS) $(LDFLAGS) >X else >X ifeq ($(shell uname), Linux) >X PTHREAD_LIBS?=-lpthread >281f4447c0519740341d142eba63234c >echo x - dynamips-community/files/patch-unstable-Makefile >sed 's/^X//' >dynamips-community/files/patch-unstable-Makefile << '820698afde834ddc1116c92edd1c76ed' >X--- unstable/Makefile.orig 2011-04-17 11:26:40.000000000 +0400 >X+++ unstable/Makefile 2011-04-17 11:27:29.000000000 +0400 >X@@ -61,7 +61,7 @@ >X -DUSE_UNSTABLE >X >X #PCAP_LIB=/usr/local/lib/libpcap.a >X-PCAP_LIB=-lpcap >X+PCAP_LIB?=-lpcap >X >X ifeq ($(shell uname), FreeBSD) >X PTHREAD_LIBS?=-pthread >X@@ -69,7 +69,7 @@ >X OSNAME=FreeBSD >X CFLAGS+=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/libelf \ >X $(PTHREAD_CFLAGS) -D_FILE_OFFSET_BITS=64 >X- LIBS=-L$(LOCALBASE)/lib -L. -ldl -lelf $(PTHREAD_LIBS) $(LDFLAGS) >X+ LIBS=-L$(LOCALBASE)/lib -L. -lelf $(PTHREAD_LIBS) $(LDFLAGS) >X else >X ifeq ($(shell uname), Linux) >X PTHREAD_LIBS?=-lpthread >820698afde834ddc1116c92edd1c76ed >echo x - dynamips-community/Makefile >sed 's/^X//' >dynamips-community/Makefile << 'c28d697b8bb55fb7f13a3bc9e50cbb86' >X# New ports collection makefile for: dynamips >X# Date created: 17 Apr 2011 >X# Whom: Pavel I Volkov <pavelivolkov@googlemail.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= dynamips >XPORTVERSION= 0.2.8 >XCATEGORIES= emulators >XMASTER_SITES= SF/gns-3/Dynamips/${PORTVERSION}-RC3${PKGNAMESUFFIX} >XPKGNAMESUFFIX= -community >XDISTNAME= ${PORTNAME}-${PORTVERSION}-RC3${PKGNAMESUFFIX} >X >XMAINTAINER= pavelivolkov@googlemail.com >XCOMMENT= Cisco 1700/2600/3600/3700/7200 Simulator >X >XLIB_DEPENDS= elf.0:${PORTSDIR}/devel/libelf \ >X uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid >X >XLICENSE= GPLv2 >X >XCONFLICTS= dynamips-[0-9]* dynamips-devel-[0-9]* >X >XUSE_GMAKE= yes >XMAKE_JOBS_UNSAFE= yes >X >XOPTIONS= UNSTABLE "development code (x64 Mac)" off >X >XLDFLAGS+= -luuid >XMAKE_ENV= \ >X DYNAMIPS_CODE=${DYNAMIPS_CODE} \ >X DYNAMIPS_ARCH=${DYNAMIPS_ARCH} \ >X PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \ >X PTHREAD_LIBS=${PTHREAD_LIBS} \ >X LDFLAGS="${LDFLAGS}" >X >X.include <bsd.port.pre.mk> >X >XPLIST_FILES= bin/${PORTNAME} bin/nvram_export >XPORTDOCS= * >X.if !defined(NO_INSTALL_MANPAGES) >XMAN1= ${PORTNAME}.1 nvram_export.1 >XMAN7= hypervisor_mode.7 >X.endif >X >X.if defined(WITH_UNSTABLE) >XDYNAMIPS_CODE= "unstable" >X.else >XDYNAMIPS_CODE= "stable" >X.endif >X >X.if ${ARCH} == "i386" >XDYNAMIPS_ARCH= "x86" >X.elif ${ARCH} == "amd64" >XDYNAMIPS_ARCH= "amd64" >X.elif ${ARCH} == "sparc64" >XBROKEN= Does not compile >X.elif ${ARCH} == "powerpc" >XDYNAMIPS_ARCH= "ppc32" >X.else >XDYNAMIPS_ARCH= "nojit" >X.endif >X >X# It required libpcap version 0.9.4 or is higher. >X.if ${OSVERSION} < 602100 || (${OSVERSION} >= 700000 && ${OSVERSION} < 700021) >XBUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap >XMAKE_ENV+= PCAP_LIB=${LOCALBASE}/lib/libpcap.a >X#.warning Do not overlook, make libpcap with LIBPCAP_OVERWRITE_BASE parameter, for use with shared library. >X#LIB_DEPENDS+= pcap.\(0.9.\)?[2-9]:${PORTSDIR}/net/libpcap >X#MAKE_ENV+= PCAP_LIB=-lpcap.2 >X.endif >X >X.if ${OSVERSION} < 700013 >XMAKE_ENV+= HAS_POSIX_MEMALIGN=0 >X.endif >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.${DYNAMIPS_CODE} ${PREFIX}/bin/${PORTNAME} >X ${INSTALL_PROGRAM} ${WRKSRC}/${DYNAMIPS_CODE}/nvram_export ${PREFIX}/bin >X.if !defined(NOPORTDOCS) >X ${MKDIR} ${DOCSDIR} >X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} >X ${INSTALL_DATA} ${WRKSRC}/README.community ${DOCSDIR} >X ${INSTALL_DATA} ${WRKSRC}/README.hypervisor ${DOCSDIR} >X.endif >X.if !defined(NO_INSTALL_MANPAGES) >X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1 >X ${INSTALL_MAN} ${WRKSRC}/nvram_export.1 ${PREFIX}/man/man1 >X ${INSTALL_MAN} ${WRKSRC}/hypervisor_mode.7 ${PREFIX}/man/man7 >X.endif >X >X.include <bsd.port.post.mk> >c28d697b8bb55fb7f13a3bc9e50cbb86 >echo x - dynamips-community/distinfo >sed 's/^X//' >dynamips-community/distinfo << '927a73b178a36e9157706e3a25537ed9' >XSHA256 (dynamips-0.2.8-RC3-community.tar.gz) = e808a50b6b9d24a90604885f90699f46b26a49e6ce9cf542aa288f135b2508ac >XSIZE (dynamips-0.2.8-RC3-community.tar.gz) = 818199 >927a73b178a36e9157706e3a25537ed9 >echo x - dynamips-community/pkg-descr >sed 's/^X//' >dynamips-community/pkg-descr << 'cb8f25d5ef4eedbbcb60b7fbe589d00a' >XCisco 1700/2600/3600/3700/7200 simulator. >X >XWWW: http://www.gns3.net/content/dynamips-028-rc3-community-version-released >cb8f25d5ef4eedbbcb60b7fbe589d00a >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 156454
: 114745