aboutsummaryrefslogtreecommitdiff
path: root/net/net-snmp/patches
diff options
context:
space:
mode:
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>2021-02-20 16:02:15 -0800
committerIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>2021-02-20 16:02:15 -0800
commit5d8d4fbbcb5c5de9370711c19bb3510210989a98 (patch)
treed0754921833f413b7eb93fb6bb1b1c8a22fb0498 /net/net-snmp/patches
parentd651082447b4392399a40ea1ae11d0bce4bfe83a (diff)
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Diffstat (limited to 'net/net-snmp/patches')
-rw-r--r--net/net-snmp/patches/110-debian-makefiles.patch21
-rw-r--r--net/net-snmp/patches/170-ldflags.patch2
-rw-r--r--net/net-snmp/patches/910-signal.patch8
3 files changed, 12 insertions, 19 deletions
diff --git a/net/net-snmp/patches/110-debian-makefiles.patch b/net/net-snmp/patches/110-debian-makefiles.patch
index 7b71ed087..2cb2715aa 100644
--- a/net/net-snmp/patches/110-debian-makefiles.patch
+++ b/net/net-snmp/patches/110-debian-makefiles.patch
@@ -1,7 +1,6 @@
-diff -uNr a/local/Makefile.in b/local/Makefile.in
---- a/local/Makefile.in 2014-02-20 08:36:42.000000000 +0800
-+++ b/local/Makefile.in 2014-05-27 13:21:34.245223503 +0800
-@@ -101,7 +101,7 @@
+--- a/local/Makefile.in
++++ b/local/Makefile.in
+@@ -101,7 +101,7 @@ tkmib.made: $(srcdir)/tkmib
mib2c.made: $(srcdir)/mib2c
if test "x$(PERL)" != "x" ; then \
@@ -10,10 +9,9 @@ diff -uNr a/local/Makefile.in b/local/Makefile.in
else \
touch mib2c.made; \
fi
-diff -uNr a/Makefile.top b/Makefile.top
---- a/Makefile.top 2014-02-20 08:36:42.000000000 +0800
-+++ b/Makefile.top 2014-05-27 13:26:53.023737120 +0800
-@@ -28,6 +28,7 @@
+--- a/Makefile.top
++++ b/Makefile.top
+@@ -28,6 +28,7 @@ man8dir = $(mandir)/man8
snmplibdir = $(datadir)/snmp
mibdir = $(snmplibdir)/mibs
persistentdir = @PERSISTENT_DIRECTORY@
@@ -21,10 +19,9 @@ diff -uNr a/Makefile.top b/Makefile.top
DESTDIR = @INSTALL_PREFIX@
INSTALL_PREFIX = $(DESTDIR)
-diff -uNr a/mibs/Makefile.in b/mibs/Makefile.in
---- a/mibs/Makefile.in 2014-02-20 08:36:42.000000000 +0800
-+++ b/mibs/Makefile.in 2014-05-27 13:25:07.151988585 +0800
-@@ -47,11 +47,15 @@
+--- a/mibs/Makefile.in
++++ b/mibs/Makefile.in
+@@ -47,11 +47,15 @@ NETSNMPMIBS = NET-SNMP-TC.txt NET-SNMP-M
UCDMIBS = UCD-SNMP-MIB.txt UCD-DEMO-MIB.txt UCD-IPFWACC-MIB.txt \
UCD-DLMOD-MIB.txt UCD-DISKIO-MIB.txt
diff --git a/net/net-snmp/patches/170-ldflags.patch b/net/net-snmp/patches/170-ldflags.patch
index 656fdede4..dd1b9fe25 100644
--- a/net/net-snmp/patches/170-ldflags.patch
+++ b/net/net-snmp/patches/170-ldflags.patch
@@ -1,6 +1,6 @@
--- a/Makefile.top
+++ b/Makefile.top
-@@ -87,7 +87,7 @@ LIBCURRENT = 30
+@@ -87,7 +87,7 @@ LIBCURRENT = 35
LIBAGE = 0
LIBREVISION = 0
diff --git a/net/net-snmp/patches/910-signal.patch b/net/net-snmp/patches/910-signal.patch
index a70d42f7e..45cd1fac2 100644
--- a/net/net-snmp/patches/910-signal.patch
+++ b/net/net-snmp/patches/910-signal.patch
@@ -10,13 +10,9 @@ https://github.com/net-snmp/net-snmp/pull/162.
1 file changed, 28 insertions(+), 83 deletions(-)
mode change 100644 => 100755 apps/snmpnetstat/if.c
-diff --git a/apps/snmpnetstat/if.c b/apps/snmpnetstat/if.c
-old mode 100644
-new mode 100755
-index 16768151d..84b87b531
--- a/apps/snmpnetstat/if.c
+++ b/apps/snmpnetstat/if.c
-@@ -64,8 +64,6 @@
+@@ -64,8 +64,6 @@ static char *rcsid = "$OpenBSD: if.c,v 1
#define NO 0
static void sidewaysintpr(u_int);
@@ -60,7 +56,7 @@ index 16768151d..84b87b531
/*
* Retrieve the interface addressing information
* XXX - This could also be extended to handle non-IP interfaces
-@@ -845,84 +871,3 @@ sidewaysintpr(unsigned int interval)
+@@ -845,84 +871,3 @@ loop:
goto loop;
/*NOTREACHED*/
}