View | Details | Raw Unified | Return to bug 154521 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/ports/emulators/dynamips-devel/Makefile 2011-02-07 16:59:04.000000000 +0300 (-2 / +4 lines)
Lines 7-13 Link Here
7
PORTNAME=      dynamips
7
PORTNAME=      dynamips
8
DISTVERSION=   0.2.8-RC2
8
DISTVERSION=   0.2.8-RC2
9
PORTREVISION=  2
9
PORTREVISION=  3
10
CATEGORIES=    emulators
10
CATEGORIES=    emulators
11
MASTER_SITES=  http://www.ipflow.utc.fr/dynamips/
11
MASTER_SITES=  http://www.ipflow.utc.fr/dynamips/
12
PKGNAMESUFFIX= -devel
12
PKGNAMESUFFIX= -devel
Lines 19-24 Link Here
19
CONFLICTS=     dynamips-[0-9]*
19
CONFLICTS=     dynamips-[0-9]*
20
LICENSE=       GPLv2
21
20
USE_GMAKE=     yes
22
USE_GMAKE=     yes
21
ALL_TARGET=    ${PORTNAME} nvram_export
23
ALL_TARGET=    ${PORTNAME} nvram_export
22
MAKE_ENV=      DYNAMIPS_ARCH=${DYNAMIPS_ARCH}\
24
MAKE_ENV=      DYNAMIPS_ARCH=${DYNAMIPS_ARCH}\
Lines 29-35 Link Here
29
PLIST_FILES=   bin/${PORTNAME} bin/nvram_export
31
PLIST_FILES=   bin/${PORTNAME} bin/nvram_export
30
.if !defined(NOPORTDOCS)
32
.if !defined(NOPORTDOCS)
31
PORTDOCS=      README README.hypervisor
33
PORTDOCS=      *
32
.endif
34
.endif
33
.if !defined(NO_INSTALL_MANPAGES)
35
.if !defined(NO_INSTALL_MANPAGES)
34
MAN1=          ${PORTNAME}.1 nvram_export.1
36
MAN1=          ${PORTNAME}.1 nvram_export.1
(-)/usr/ports/emulators/dynamips-devel/distinfo 2011-02-07 16:40:13.000000000 +0300 (-1 lines)
Lines 1-3 Link Here
1
MD5 (dynamips-0.2.8-RC2.tar.gz) = 8d12d28684d164fe3312a3fe43c84d2e
2
SHA256 (dynamips-0.2.8-RC2.tar.gz) = a8b377ce631119e285c401fdb7cb4d0bcc600a15508bdffcf337546957e252de
1
SHA256 (dynamips-0.2.8-RC2.tar.gz) = a8b377ce631119e285c401fdb7cb4d0bcc600a15508bdffcf337546957e252de
3
SIZE (dynamips-0.2.8-RC2.tar.gz) = 578935
2
SIZE (dynamips-0.2.8-RC2.tar.gz) = 578935
(-)/usr/ports/emulators/dynamips-devel/files/patch-gen_eth.c 2011-02-07 10:36:14.000000000 +0300 (+26 lines)
Line 0 Link Here
1
--- gen_eth.c.orig     2011-02-07 10:33:47.000000000 +0300
2
+++ gen_eth.c  2011-02-07 10:34:10.000000000 +0300
3
@@ -22,6 +22,7 @@
4
 #include <sys/types.h>
5
 #include <sys/socket.h>
6
 #include <sys/wait.h>
7
+#include <sys/ioctl.h>
8
 #include <netinet/in.h>
9
 #include <arpa/inet.h>
10
 #include <pthread.h>
11
@@ -45,8 +46,13 @@
12
    if (!(p = pcap_open_live(device,2048,TRUE,10,pcap_errbuf)))
13
       goto pcap_error;
14
15
-   /* Accept only incoming packets */
16
-   pcap_setdirection(p,PCAP_D_IN);
17
+   pcap_setdirection(p,PCAP_D_INOUT);
18
+#ifdef BIOCFEEDBACK
19
+   {
20
+     int on = 1;
21
+     ioctl(pcap_fileno(p), BIOCFEEDBACK, &on);
22
+   }
23
+#endif
24
 #else
25
    p = pcap_open(device,2048,
26
                  PCAP_OPENFLAG_PROMISCUOUS |

Return to bug 154521