summaryrefslogtreecommitdiff
path: root/net-mgmt/ruby-snmp/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/ruby-snmp/files')
-rw-r--r--net-mgmt/ruby-snmp/files/patch-aa45
-rw-r--r--net-mgmt/ruby-snmp/files/patch-mib.c9
-rw-r--r--net-mgmt/ruby-snmp/files/patch-snmp.c9
3 files changed, 0 insertions, 63 deletions
diff --git a/net-mgmt/ruby-snmp/files/patch-aa b/net-mgmt/ruby-snmp/files/patch-aa
deleted file mode 100644
index 8e10fe8dbe29..000000000000
--- a/net-mgmt/ruby-snmp/files/patch-aa
+++ /dev/null
@@ -1,45 +0,0 @@
---- extconf.rb.orig Mon Jul 10 19:18:51 2000
-+++ extconf.rb Fri Sep 1 01:53:44 2000
-@@ -1,15 +1,11 @@
--require './mkmf.rb'
-+require 'mkmf.rb'
-
- def crash(str)
- printf " extconf failure:%s\n", str
- exit 1
- end
-
--if /linux/ =~ RUBY_PLATFORM
-- $LDFLAGS = "-L/usr/lib"
--else
-- $LDFLAGS = "-L/usr/local/lib"
--end
-+dir_config('snmp')
-
- # Headers
- ruby_h = have_header("ruby.h")
-@@ -35,8 +31,10 @@
- EOF
-
- # Libraies
-+have_library("crypto") if test(?e, "/usr/lib/libcrypto.so");
-+
- snmpsessinit = have_library("snmp", "snmp_sess_init")
--unless snmpsessinit or snmpsessopen or snmpsessclose or snmpsessread or snmpsesssend
-+unless snmpsessinit # or snmpsessopen or snmpsessclose or snmpsessread or snmpsesssend
- crash "This module require snmp_sess_(init|open|close|read|send) functions."
- end
-
-@@ -51,10 +49,10 @@
- $CFLAGS = "-DNO_SNMP_FREE " + $CFLAGS
- end
-
--unless try_link(header+<<EOF, "-lsnmp")
-+if try_link(header+<<EOF, "-lsnmp")
-
- void main() {
-- init_snmp("snmpapp");
-+ init_snmp();
- }
- EOF
- $CFLAGS = "-DVOID_INIT_SNMP " + $CFLAGS
diff --git a/net-mgmt/ruby-snmp/files/patch-mib.c b/net-mgmt/ruby-snmp/files/patch-mib.c
deleted file mode 100644
index 48eea59ab40d..000000000000
--- a/net-mgmt/ruby-snmp/files/patch-mib.c
+++ /dev/null
@@ -1,9 +0,0 @@
---- mib.c.orig Mon Jul 10 19:18:51 2000
-+++ mib.c Sat Mar 30 19:15:41 2002
-@@ -1,4 +1,6 @@
- #include <sys/types.h>
-+#include <netinet/in.h>
-+
- #ifdef HAVE_UCD_SNMP_TOOLS_H
- #include <ucd-snmp/tools.h>
- #endif
diff --git a/net-mgmt/ruby-snmp/files/patch-snmp.c b/net-mgmt/ruby-snmp/files/patch-snmp.c
deleted file mode 100644
index 248dc2a04db5..000000000000
--- a/net-mgmt/ruby-snmp/files/patch-snmp.c
+++ /dev/null
@@ -1,9 +0,0 @@
---- snmp.c.orig Mon Jul 10 19:18:51 2000
-+++ snmp.c Sat Mar 30 19:15:26 2002
-@@ -1,5 +1,6 @@
- #include <errno.h>
- #include <sys/types.h>
-+#include <netinet/in.h>
-
- #ifdef HAVE_UCD_SNMP_TOOLS_H
- #include <ucd-snmp/tools.h>