summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libpcap-ringbuffer/files')
-rw-r--r--net-libs/libpcap-ringbuffer/files/digest-libpcap-ringbuffer-1.0.20050129-r11
-rw-r--r--net-libs/libpcap-ringbuffer/files/libpcap-ringbuffer-1.0.20050129-mmap-exec.patch20
2 files changed, 21 insertions, 0 deletions
diff --git a/net-libs/libpcap-ringbuffer/files/digest-libpcap-ringbuffer-1.0.20050129-r1 b/net-libs/libpcap-ringbuffer/files/digest-libpcap-ringbuffer-1.0.20050129-r1
new file mode 100644
index 000000000000..77df015e2728
--- /dev/null
+++ b/net-libs/libpcap-ringbuffer/files/digest-libpcap-ringbuffer-1.0.20050129-r1
@@ -0,0 +1 @@
+MD5 17f5d0ea2e00d5f54f23966d453a9660 libpcap-1.0.20050129.tar.gz 601748
diff --git a/net-libs/libpcap-ringbuffer/files/libpcap-ringbuffer-1.0.20050129-mmap-exec.patch b/net-libs/libpcap-ringbuffer/files/libpcap-ringbuffer-1.0.20050129-mmap-exec.patch
new file mode 100644
index 000000000000..595a181a14e3
--- /dev/null
+++ b/net-libs/libpcap-ringbuffer/files/libpcap-ringbuffer-1.0.20050129-mmap-exec.patch
@@ -0,0 +1,20 @@
+--- pcap-ring.c.orig 2005-06-03 18:27:27.000000000 +1000
++++ pcap-ring.c 2005-06-03 18:27:50.000000000 +1000
+@@ -78,7 +78,7 @@
+ }
+
+ p->rg.buf = (void*)mmap(NULL, pgs*pg_size,
+- PROT_READ|PROT_WRITE|PROT_EXEC,
++ PROT_READ|PROT_WRITE,
+ MAP_ANONYMOUS|MAP_PRIVATE, -1, 0);
+ if ((long)p->rg.buf == -1L) {
+ perror("mmap");
+@@ -185,7 +185,7 @@
+ return -2;
+ }
+
+- p->rg.buf = (void*)mmap(0, pgs*pg_size, PROT_READ|PROT_WRITE|PROT_EXEC,
++ p->rg.buf = (void*)mmap(0, pgs*pg_size, PROT_READ|PROT_WRITE,
+ MAP_SHARED, p->fd, 0);
+ if ((long)p->rg.buf == -1L) {
+ perror("Error: Could not allocate shared memory");