summaryrefslogtreecommitdiff
path: root/net-mgmt/p5-SNMP/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/p5-SNMP/files')
-rw-r--r--net-mgmt/p5-SNMP/files/patch-aa24
-rw-r--r--net-mgmt/p5-SNMP/files/patch-ac29
2 files changed, 0 insertions, 53 deletions
diff --git a/net-mgmt/p5-SNMP/files/patch-aa b/net-mgmt/p5-SNMP/files/patch-aa
deleted file mode 100644
index 92d2fff56acf..000000000000
--- a/net-mgmt/p5-SNMP/files/patch-aa
+++ /dev/null
@@ -1,24 +0,0 @@
---- Makefile.PL.ORIG Wed Oct 21 11:12:12 1998
-+++ Makefile.PL Wed Oct 21 11:24:10 1998
-@@ -26,6 +26,10 @@
- $snmp_lib = 'libsnmp.dll';
- $snmp_llib = 'libsnmp';
- $sep = '\\';
-+} elsif ($Config{'osname'} eq 'freebsd') {
-+ $snmp_lib = 'libsnmp.so';
-+ $snmp_llib = 'snmp';
-+ $sep = '/';
- } else {
- $snmp_lib = 'libsnmp.a';
- $snmp_llib = 'snmp';
-@@ -79,8 +83,8 @@
- }
- $host ||= 'localhost';
- $comm ||= 'private';
-- my $resp = prompt("Enter host and community for SNMP tests: ",
-- "$host $comm");
-+ $resp = "$host $comm";
-+ # my $resp = prompt("Enter host and community for SNMP tests: ", "$host $comm");
- open(H, ">host") || die "Error: could not open file 'host' ($!)";
- print H "$resp\n";
- close H;
diff --git a/net-mgmt/p5-SNMP/files/patch-ac b/net-mgmt/p5-SNMP/files/patch-ac
deleted file mode 100644
index 06054d198a6d..000000000000
--- a/net-mgmt/p5-SNMP/files/patch-ac
+++ /dev/null
@@ -1,29 +0,0 @@
---- SNMP.xs.orig Mon Jun 7 18:02:57 1999
-+++ SNMP.xs Sat Aug 28 01:06:54 1999
-@@ -1778,6 +1778,7 @@
- struct variable_list *vars;
- struct variable_list *last_vars;
- struct tree *tp;
-+ struct sockaddr_in *pduIp;
- oid *oid_arr;
- int oid_arr_len = MAX_OID_LEN;
- SV *tmp_sv;
-@@ -1861,14 +1862,15 @@
- &pdu->enterprise_length) != SUCCESS) {
- if (verbose) warn("invalid enterprise id: %s", enterprise);
- }
-+ pduIp = (struct sockaddr_in *)&(pdu->agent_addr);
- if (agent && strlen(agent)) {
-- pdu->agent_addr.sin_addr.s_addr = __parse_address(agent);
-- if (pdu->agent_addr.sin_addr.s_addr == -1 && verbose) {
-+ pduIp->sin_addr.s_addr = __parse_address(agent);
-+ if (pduIp->sin_addr.s_addr == -1 && verbose) {
- warn("invalid agent address: %s", agent);
- goto err;
- }
- } else {
-- pdu->agent_addr.sin_addr.s_addr = get_myaddr();
-+ pduIp->sin_addr.s_addr = get_myaddr();
- }
- pdu->trap_type = generic;
- pdu->specific_type = specific;