aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-10-07 21:49:53 +0800
committermnag <mnag@FreeBSD.org>2005-10-07 21:49:53 +0800
commitee8ff0557b1dabed300e29bbba8cb7039b5d9121 (patch)
treee69dc5c729473a57d60af8021bfb37810256ed43 /net-mgmt
parent8ca516a48f3c26912d70036b7a85e5c8688be470 (diff)
downloadfreebsd-ports-gnome-ee8ff0557b1dabed300e29bbba8cb7039b5d9121.tar.gz
freebsd-ports-gnome-ee8ff0557b1dabed300e29bbba8cb7039b5d9121.tar.zst
freebsd-ports-gnome-ee8ff0557b1dabed300e29bbba8cb7039b5d9121.zip
Update to 1.11a
PR: 87039 Submitted by: Andrey V. Elsukov <bu7cher@yandex.ru> (maintainer)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/bsnmpd/Makefile3
-rw-r--r--net-mgmt/bsnmpd/distinfo4
-rw-r--r--net-mgmt/bsnmpd/files/patch-snmp_mibII__mibII.c (renamed from net-mgmt/bsnmpd/files/patch-snmp_mibII__mibII.h)19
-rw-r--r--net-mgmt/bsnmpd/files/patch-snmp_mibII__mibII_route.c11
4 files changed, 17 insertions, 20 deletions
diff --git a/net-mgmt/bsnmpd/Makefile b/net-mgmt/bsnmpd/Makefile
index 4745926e4029..9a712fcc3d58 100644
--- a/net-mgmt/bsnmpd/Makefile
+++ b/net-mgmt/bsnmpd/Makefile
@@ -7,9 +7,10 @@
PORTNAME= bsnmpd
PORTVERSION= 1.11
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://people.freebsd.org/~harti/bsnmp/
-DISTNAME= bsnmp-${PORTVERSION}
+DISTNAME= bsnmp-${PORTVERSION}a
MAINTAINER= bu7cher@yandex.ru
COMMENT= A mini-SNMP daemon
diff --git a/net-mgmt/bsnmpd/distinfo b/net-mgmt/bsnmpd/distinfo
index 91c3ef81ea3d..6b38e6702fd3 100644
--- a/net-mgmt/bsnmpd/distinfo
+++ b/net-mgmt/bsnmpd/distinfo
@@ -1,2 +1,2 @@
-MD5 (bsnmp-1.11.tar.gz) = 67e04891d97346bec1e0b7c4f8520f62
-SIZE (bsnmp-1.11.tar.gz) = 407985
+MD5 (bsnmp-1.11a.tar.gz) = 98edaf75d7da5c12705328216129778e
+SIZE (bsnmp-1.11a.tar.gz) = 408165
diff --git a/net-mgmt/bsnmpd/files/patch-snmp_mibII__mibII.h b/net-mgmt/bsnmpd/files/patch-snmp_mibII__mibII.c
index fe25a711370a..138fa2c89e25 100644
--- a/net-mgmt/bsnmpd/files/patch-snmp_mibII__mibII.h
+++ b/net-mgmt/bsnmpd/files/patch-snmp_mibII__mibII.c
@@ -1,16 +1,15 @@
---- snmp_mibII/mibII.h Wed Oct 5 11:56:04 2005
-+++ snmp_mibII/mibII.h Wed Oct 5 11:56:57 2005
-@@ -57,6 +57,13 @@
- #include "mibII_tree.h"
-
-
+--- snmp_mibII/mibII.c.orig Thu Jun 9 16:36:52 2005
++++ snmp_mibII/mibII.c Fri Oct 7 14:21:53 2005
+@@ -34,6 +34,12 @@
+ #include "mibII_oid.h"
+ #include <net/if_types.h>
+
+#ifndef SA_SIZE
+#define SA_SIZE(sa) \
+ ( (!(sa) || ((struct sockaddr *)(sa))->sa_len == 0) ? \
+ sizeof(long) : \
+ 1 + ( (((struct sockaddr *)(sa))->sa_len - 1) | (sizeof(long) - 1) ) )
+#endif
-+
- /*
- * Interface list and flags.
- */
+
+ /*****************************/
+
diff --git a/net-mgmt/bsnmpd/files/patch-snmp_mibII__mibII_route.c b/net-mgmt/bsnmpd/files/patch-snmp_mibII__mibII_route.c
index a47a29b556bb..da673fe9cad1 100644
--- a/net-mgmt/bsnmpd/files/patch-snmp_mibII__mibII_route.c
+++ b/net-mgmt/bsnmpd/files/patch-snmp_mibII__mibII_route.c
@@ -1,14 +1,11 @@
---- snmp_mibII/mibII_route.c.orig Wed Oct 5 14:18:53 2005
-+++ snmp_mibII/mibII_route.c Wed Oct 5 14:18:16 2005
-@@ -30,7 +30,11 @@
+--- snmp_mibII/mibII_route.c.orig Fri Oct 7 14:23:49 2005
++++ snmp_mibII/mibII_route.c Fri Oct 7 14:24:05 2005
+@@ -30,7 +30,7 @@
*
* Routing table
*/
-+#ifdef HAVE_SYSTREE_H
- #include <sys/tree.h>
-+#else
+-#include <sys/tree.h>
+#include "tree.h"
-+#endif
#include "mibII.h"
#include "mibII_oid.h"