]> git.pld-linux.org Git - packages/net-snmp.git/commitdiff
- orphaned, outdated
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 21 Apr 2006 23:41:18 +0000 (23:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    net-snmp-fix-insecure-fixproc.patch -> 1.2
    net-snmp-nomemshared.patch -> 1.2

net-snmp-fix-insecure-fixproc.patch [deleted file]
net-snmp-nomemshared.patch [deleted file]

diff --git a/net-snmp-fix-insecure-fixproc.patch b/net-snmp-fix-insecure-fixproc.patch
deleted file mode 100644 (file)
index cad6792..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
---- local/fixproc.orig 2005-05-18 09:57:16.000000000 -0400
-+++ local/fixproc      2005-05-18 11:00:38.000000000 -0400
-@@ -129,6 +129,9 @@
- #
- # Timothy Kong                3/1995
-+require File::Temp;
-+use File::Temp();
-+
- $database_file = '/local/etc/fixproc.conf';
- $debug = 0;                   # specify debug level using -dN
-@@ -196,7 +199,6 @@
-   printf (stderr "create_sh_script\n") if ($debug > 0);
-   $! = $fixproc_error;
--  open (file, ">"."$file") || die "$0: cannot open $file\n";
-   while ( $shell_lines[$i] ne $shell_end_marker )
-     {
-       printf (file "%s", $shell_lines[$i]);
-@@ -231,13 +233,13 @@
-     {
-       # it must be "shell", so execute the shell script defined in database
--      local ($tmpfile) = "/tmp/fix_$$";
-+      local ($tmpfile) = new File::Temp(TEMPLATE => 'fix_XXXXX',
-+                                      DIR => '/tmp');
-       &create_sh_script ($fix{$proc}, $tmpfile);
-               # return code is number divided by 256
-       $error_code = (system "$tmpfile") / 256;
--      system "rm $tmpfile";
-       return ($fix_failed_error) if ($error_code != 0);
-         # sleep needed here?
-       return &do_exist ($proc);
-@@ -262,13 +264,13 @@
-       # if not "exist", then it must be "shell", so execute the shell script
-       # defined in database
--      local ($tmpfile) = "/tmp/check_$$";
-+      local ($tmpfile) = new File::Temp(TEMPLATE => 'check_XXXXXX',
-+                                      DIR => '/tmp');
-       &create_sh_script ($check{$proc}, $tmpfile);
-               # return code is number divided by 256
-       $error_code = (system "$tmpfile") / 256;
--      system "rm $tmpfile";
-       return ($check_failed_error) if ($error_code != 0);
-       # check passed, continue
diff --git a/net-snmp-nomemshared.patch b/net-snmp-nomemshared.patch
deleted file mode 100644 (file)
index 09d9bab..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- net-snmp-5.1.1/agent/mibgroup/ucd-snmp/memory.c.old        2004-03-26 13:25:41.048612988 +0200
-+++ net-snmp-5.1.1/agent/mibgroup/ucd-snmp/memory.c    2004-03-26 13:26:43.672575121 +0200
-@@ -290,7 +290,7 @@
-         if (b)
-             sscanf(b, "MemShared: %lu", memshared);
-         else {
--            snmp_log(LOG_ERR, "No MemShared line in /proc/meminfo\n");
-+            /* snmp_log(LOG_ERR, "No MemShared line in /proc/meminfo\n"); */
-             *memshared = 0;
-         }
-         b = strstr(buff, "Buffers: ");
This page took 0.150341 seconds and 4 git commands to generate.