diff options
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | configure.ac | 18 | ||||
-rw-r--r-- | src/betab.c | 4 | ||||
-rw-r--r-- | src/varnish-mib.8 | 2 |
5 files changed, 12 insertions, 21 deletions
@@ -3,6 +3,11 @@ See the end of file for copying conditions. | |||
3 | 3 | ||
4 | Please send Varnish-mib bug reports to <gray@gnu.org> | 4 | Please send Varnish-mib bug reports to <gray@gnu.org> |
5 | 5 | ||
6 | Version 3.0, 2018-02-05 | ||
7 | |||
8 | Supports Varnish 5.2.1 only. | ||
9 | |||
10 | |||
6 | Version 2.0, 2018-02-05 | 11 | Version 2.0, 2018-02-05 |
7 | 12 | ||
8 | This version is written for Varnish 5.2.0. It will definitely not | 13 | This version is written for Varnish 5.2.0. It will definitely not |
@@ -25,8 +25,8 @@ of Varnish API version it is written for: | |||
25 | 25 | ||
26 | 1.0, 1.1 Varnish 4.0 and 4.1 | 26 | 1.0, 1.1 Varnish 4.0 and 4.1 |
27 | 1.2 Varnish 4.0, 4.1, 5.1 | 27 | 1.2 Varnish 4.0, 4.1, 5.1 |
28 | 2.0 (this release) Varnish 5.2.0 | 28 | 2.0 Varnish 5.2.0 |
29 | 3.0 Varnish 5.2.1 | 29 | 3.0 (this release) Varnish 5.2.1 |
30 | 30 | ||
31 | * Installation | 31 | * Installation |
32 | 32 | ||
diff --git a/configure.ac b/configure.ac index 917bab5..c9506a6 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -15,7 +15,7 @@ | |||
15 | # along with Varnish-mib. If not, see <http://www.gnu.org/licenses/>. | 15 | # along with Varnish-mib. If not, see <http://www.gnu.org/licenses/>. |
16 | 16 | ||
17 | AC_PREREQ(2.69) | 17 | AC_PREREQ(2.69) |
18 | AC_INIT([varnish-mib], 2.0, [gray@gnu.org]) | 18 | AC_INIT([varnish-mib], 3.0, [gray@gnu.org]) |
19 | AC_CONFIG_SRCDIR(src/varnish_mib.mib2c) | 19 | AC_CONFIG_SRCDIR(src/varnish_mib.mib2c) |
20 | AM_CONFIG_HEADER(config.h) | 20 | AM_CONFIG_HEADER(config.h) |
21 | AC_CONFIG_AUX_DIR([build-aux]) | 21 | AC_CONFIG_AUX_DIR([build-aux]) |
@@ -43,21 +43,7 @@ AC_PROG_MAKE_SET | |||
43 | PKG_PROG_PKG_CONFIG | 43 | PKG_PROG_PKG_CONFIG |
44 | 44 | ||
45 | # Checks for Varnish | 45 | # Checks for Varnish |
46 | PKG_CHECK_MODULES([VARNISHAPI], [varnishapi >= 5.0]) | 46 | PKG_CHECK_MODULES([VARNISHAPI], [varnishapi >= 5.2.1]) |
47 | |||
48 | check_minor_number() { | ||
49 | if [ "$2" -gt 1 ]; then | ||
50 | AC_MSG_ERROR([Unsupported Varnish API version; please try varnish_mib 3.0 or newer]) | ||
51 | fi | ||
52 | } | ||
53 | |||
54 | v=$($PKG_CONFIG --modversion varnishapi) | ||
55 | if test -n "$v"; then | ||
56 | save_IFS=$IFS | ||
57 | IFS='.' | ||
58 | check_minor_number $v | ||
59 | IFS=$save_IFS | ||
60 | fi | ||
61 | 47 | ||
62 | # Check for Net-SNMP | 48 | # Check for Net-SNMP |
63 | AC_PATH_PROG([NET_SNMP_CONFIG], net-snmp-config, none, $PATH) | 49 | AC_PATH_PROG([NET_SNMP_CONFIG], net-snmp-config, none, $PATH) |
diff --git a/src/betab.c b/src/betab.c index 83d77e3..768503a 100644 --- a/src/betab.c +++ b/src/betab.c | |||
@@ -15,8 +15,8 @@ | |||
15 | along with varnish-mib. If not, see <http://www.gnu.org/licenses/>. | 15 | along with varnish-mib. If not, see <http://www.gnu.org/licenses/>. |
16 | */ | 16 | */ |
17 | #include "varnish_mib.h" | 17 | #include "varnish_mib.h" |
18 | #include <varnish/vas.h> | 18 | #include <vas.h> |
19 | #include <varnish/vqueue.h> | 19 | #include <vqueue.h> |
20 | #include <sys/types.h> | 20 | #include <sys/types.h> |
21 | #include <sys/socket.h> | 21 | #include <sys/socket.h> |
22 | #include <netdb.h> | 22 | #include <netdb.h> |
diff --git a/src/varnish-mib.8 b/src/varnish-mib.8 index 71e7abc..6458321 100644 --- a/src/varnish-mib.8 +++ b/src/varnish-mib.8 | |||
@@ -28,7 +28,7 @@ loaded into | |||
28 | .BR snmpd (8) | 28 | .BR snmpd (8) |
29 | as shown above (actual path can of course differ, depending on how | 29 | as shown above (actual path can of course differ, depending on how |
30 | the package was configured). This version is written for Varnish | 30 | the package was configured). This version is written for Varnish |
31 | \fB5.2.0\fR. | 31 | \fB5.2.1\fR. |
32 | .PP | 32 | .PP |
33 | The values in the OID branches | 33 | The values in the OID branches |
34 | .BR client , | 34 | .BR client , |