File tree Expand file tree Collapse file tree 4 files changed +28
-3
lines changed
Expand file tree Collapse file tree 4 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 66! /configure
77! /configure.ac
88! /install-sh
9+ ! /Makefile.am
910! /Makefile.in
1011! /snmp_bulkget.c
1112! /snmp_bulkget.h
1213! /utils.c
1314! /utils.h
15+ ! /check_interfaces.c
16+ ! /AUTHORS
17+ ! /NEWS
18+ ! /COPYING
19+ ! /config.guess
20+ ! /config.sub
21+ ! /missing
22+ ! /compile
23+ ! /ChangeLog
24+ ! /INSTALL
25+ ! /depcomp
26+ ! /README.md
Original file line number Diff line number Diff line change @@ -7,17 +7,20 @@ ONBUILD ENV DEBIAN_FRONTEND=noninteractive
77RUN apt-get update \
88 && apt-get install -y \
99 build-essential \
10+ autoconf \
1011 libsnmp-dev \
1112 && rm -rf /var/lib/apt/lists/*
1213COPY . .
13- RUN ./configure --libexecdir=/src \
14+ COPY ./README.md ./README
15+ RUN ls -R \
16+ && ./configure --libexecdir=/src \
1417 && make $target
1518
1619FROM debian:stable-slim
1720ONBUILD ENV DEBIAN_FRONTEND=noninteractive
1821RUN apt-get update \
1922 && apt-get install -y \
20- libsnmp30 \
23+ libsnmp40 \
2124 && rm -rf /var/lib/apt/lists/*
2225COPY --from=0 /src/check_interfaces /check_interfaces
2326
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ am__define_uniq_tagged_files = \
161161 done | $( am__uniquify_input) `
162162AM_RECURSIVE_TARGETS = cscope
163163am__DIST_COMMON = $(srcdir ) /Makefile.in AUTHORS COPYING ChangeLog \
164- INSTALL NEWS README.md compile config.guess config.sub depcomp \
164+ INSTALL NEWS README compile config.guess config.sub depcomp \
165165 install-sh missing
166166DISTFILES = $(DIST_COMMON ) $(DIST_SOURCES ) $(TEXINFOS ) $(EXTRA_DIST )
167167distdir = $(PACKAGE ) -$(VERSION )
Original file line number Diff line number Diff line change 1+
2+
3+ // This one is needed on FreeBSD and it has to be before the others or at least some of them
4+ #include <getopt.h>
5+
6+
17#include "snmp_bulkget.h"
28#include "utils.h"
39#include <net-snmp/net-snmp-config.h>
410#include <stdbool.h>
511#include <sys/time.h>
612#include <unistd.h>
13+ #include <sys/types.h>
14+ #include <sys/socket.h>
15+ #include <netdb.h>
716
817/*
918 * text strings to output in the perfdata
You can’t perform that action at this time.
0 commit comments