This commit is contained in:
root
2025-11-07 11:31:06 +00:00
commit 2859f93882
407 changed files with 99769 additions and 0 deletions

7829
CHANGES Normal file

File diff suppressed because it is too large Load Diff

9
CONTRIBUTORS Normal file
View File

@@ -0,0 +1,9 @@
Contributors
============
* Tobias Oetiker <tobi@oetiker.ch> => Main Author
* Niko Tyni <ntyni@iki.fi> => Many Patches
* Simon Leinen <leinen@switch.ch> => SNMP_Session.pm
* David Schweikert <dws@ee.ethz.ch> => Config::Grammar
* Jack Cummings <jack@mudshark.org> => Proper graphs with pings > 10s.

22
COPYRIGHT Normal file
View File

@@ -0,0 +1,22 @@
SmokePing - a ICMP latency logging and graphing
system. It consists of a daemon process which
organizes the latency measurements and a CGI which
presents the graphs.
Copyright (c) 2001 Tobias Oetiker <tobi@oetiker.ch>
All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

339
LICENSE Normal file
View File

@@ -0,0 +1,339 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

801
Makefile Normal file
View File

@@ -0,0 +1,801 @@
# Makefile.in generated by automake 1.17 from Makefile.am.
# Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994-2024 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
# Copyright (C) 2011 Tobias Oetiker
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
false; \
elif test -n '$(MAKE_HOST)'; then \
true; \
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
true; \
else \
false; \
fi; \
}
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
am__rm_f = rm -f $(am__rm_f_notfound)
am__rm_rf = rm -rf $(am__rm_f_notfound)
pkgdatadir = $(datadir)/smokeping
pkgincludedir = $(includedir)/smokeping
pkglibdir = $(libdir)/smokeping
pkglibexecdir = $(libexecdir)/smokeping
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
$(am__configure_deps) $(am__DIST_COMMON)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_$(V))
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_$(V))
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
am__v_at_0 = @
am__v_at_1 =
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
ctags-recursive dvi-recursive html-recursive info-recursive \
install-data-recursive install-dvi-recursive \
install-exec-recursive install-html-recursive \
install-info-recursive install-pdf-recursive \
install-ps-recursive install-recursive installcheck-recursive \
installdirs-recursive pdf-recursive ps-recursive \
tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
am__recursive_targets = \
$(RECURSIVE_TARGETS) \
$(RECURSIVE_CLEAN_TARGETS) \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir distdir-am dist dist-all distcheck
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
BEGIN { nonempty = 0; } \
{ items[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique. This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
list='$(am__tagged_files)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in \
$(top_srcdir)/conftools/install-sh \
$(top_srcdir)/conftools/missing README.md TODO \
conftools/install-sh conftools/missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
if test -d "$(distdir)"; then \
find "$(distdir)" -type d ! -perm -700 -exec chmod u+rwx {} ';' \
; rm -rf "$(distdir)" \
|| { sleep 5 && rm -rf "$(distdir)"; }; \
else :; fi
am__post_remove_distdir = $(am__remove_distdir)
am__relativize = \
dir0=`pwd`; \
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
sed_rest='s,^[^/]*/*,,'; \
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
sed_butlast='s,/*[^/]*$$,,'; \
while test -n "$$dir1"; do \
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
if test "$$first" != "."; then \
if test "$$first" = ".."; then \
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
else \
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
if test "$$first2" = "$$first"; then \
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
else \
dir2="../$$dir2"; \
fi; \
dir0="$$dir0"/"$$first"; \
fi; \
fi; \
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
done; \
reldir="$$dir2"
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = -9
DIST_TARGETS = dist-gzip
# Exists only to be overridden by the user if desired.
AM_DISTCHECK_DVI_TARGET = dvi
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
distcleancheck_listfiles = \
find . \( -type f -a \! \
\( -name .nfs* -o -name .smb* -o -name .__afs* \) \) -print
ACLOCAL = ${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' aclocal-1.17
AMTAR = $${TAR-tar}
AM_DEFAULT_VERBOSITY = 1
AUTOCONF = ${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' autoconf
AUTOHEADER = ${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' autoheader
AUTOMAKE = ${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' automake-1.17
AWK = mawk
CP = /usr/bin/cp
CSCOPE = cscope
CTAGS = ctags
CURL = /usr/bin/curl
CYGPATH_W = echo
DEFS = -DPACKAGE_NAME=\"smokeping\" -DPACKAGE_TARNAME=\"smokeping\" -DPACKAGE_VERSION=\"2.9.0\" -DPACKAGE_STRING=\"smokeping\ 2.9.0\" -DPACKAGE_BUGREPORT=\"tobi@oetiker.ch\" -DPACKAGE_URL=\"\" -DPACKAGE=\"smokeping\" -DVERSION=\"2.9.0\"
ECHO = /usr/bin/echo
ECHO_C =
ECHO_N = -n
ECHO_T =
ETAGS = etags
FIND = /usr/bin/find
GMAKE = /usr/bin/gmake
GREP = /usr/bin/grep
HTDOCSDIR = /usr/share/smokeping/www
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
LIBOBJS =
LIBS =
LN = /usr/bin/ln
LTLIBOBJS =
MAKEINFO = ${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' makeinfo
MKDIR = /usr/bin/mkdir
MKDIR_P = /usr/bin/mkdir -p
NROFF = /usr/bin/nroff
PACKAGE = smokeping
PACKAGE_BUGREPORT = tobi@oetiker.ch
PACKAGE_NAME = smokeping
PACKAGE_STRING = smokeping 2.9.0
PACKAGE_TARNAME = smokeping
PACKAGE_URL =
PACKAGE_VERSION = 2.9.0
PATH_SEPARATOR = :
PERL = /usr/bin/perl
PERL5LIB =
RM = /usr/bin/rm
RMDIR = /usr/bin/rmdir
SED = /usr/bin/sed
SENDMAIL = /usr/sbin/sendmail
SET_MAKE =
SHELL = /bin/bash
STRIP =
URL_CAT = /usr/bin/curl --location
VERSION = 2.9.0
WGET = /usr/bin/wget
abs_builddir = /root/smoke/smokeping-2.9.0
abs_srcdir = /root/smoke/smokeping-2.9.0
abs_top_builddir = /root/smoke/smokeping-2.9.0
abs_top_srcdir = /root/smoke/smokeping-2.9.0
am__leading_dot = .
am__rm_f_notfound =
am__tar = tar --format=ustar -chf - "$$tardir"
am__untar = tar -xf -
am__xargs_n = xargs -n
bindir = /usr/sbin
build_alias = x86_64-linux-gnu
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
enable_pkgonly =
exec_prefix = ${prefix}
host_alias =
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${prefix}/share/info
install_sh = ${SHELL} /root/smoke/smokeping-2.9.0/conftools/install-sh
libdir = /usr/share/perl5
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = /var
mandir = ${prefix}/share/man
mkdir_p = $(MKDIR_P)
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /usr
program_transform_name = s,x,x,
psdir = ${docdir}
runstatedir = /run
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = .
sysconfdir = /usr/share/doc/smokeping
target_alias =
top_build_prefix =
top_builddir = .
top_srcdir = .
AUTOMAKE_OPTIONS = foreign
SUBDIRS = lib thirdparty bin doc etc htdocs
EXTRA_DIST = COPYRIGHT CHANGES CONTRIBUTORS LICENSE cpanfile VERSION README.md
all: all-recursive
.SUFFIXES:
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(top_srcdir)/configure: $(am__configure_deps)
$(am__cd) $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):
# This directory's subdirectories are mostly independent; you can cd
# into them and run 'make' without going through this Makefile.
# To change the values of 'make' variables: instead of editing Makefiles,
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
$(am__recursive_targets):
@fail=; \
if $(am__make_keepgoing); then \
failcom='fail=yes'; \
else \
failcom='exit 1'; \
fi; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-recursive
TAGS: tags
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
empty_fix=.; \
else \
include_option=--include; \
empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test ! -f $$subdir/TAGS || \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
$(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: ctags-recursive
CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
$(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
clean-cscope:
-rm -f cscope.files
cscope.files: clean-cscope cscopelist
cscopelist: cscopelist-recursive
cscopelist-am: $(am__tagged_files)
list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
esac; \
for i in $$list; do \
if test -f "$$i"; then \
echo "$(subdir)/$$i"; \
else \
echo "$$sdir/$$i"; \
fi; \
done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am
distdir-am: $(DISTFILES)
$(am__remove_distdir)
$(AM_V_at)$(MKDIR_P) "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
$(am__make_dryrun) \
|| test -d "$(distdir)/$$subdir" \
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|| exit 1; \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
$(am__relativize); \
new_distdir=$$reldir; \
dir1=$$subdir; dir2="$(top_distdir)"; \
$(am__relativize); \
new_top_distdir=$$reldir; \
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
($(am__cd) $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$$new_top_distdir" \
distdir="$$new_distdir" \
am__remove_distdir=: \
am__skip_length_check=: \
am__skip_mode_fix=: \
distdir) \
|| exit 1; \
fi; \
done
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$(top_distdir)" distdir="$(distdir)" \
dist-hook
-test -n "$(am__skip_mode_fix)" \
|| find "$(distdir)" -type d ! -perm -755 \
-exec chmod u+rwx,go+rx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
$(am__post_remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
$(am__post_remove_distdir)
dist-lzip: distdir
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
$(am__post_remove_distdir)
dist-xz: distdir
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
$(am__post_remove_distdir)
dist-zstd: distdir
tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
$(am__post_remove_distdir)
dist-tarZ: distdir
@echo WARNING: "Support for distribution archives compressed with" \
"legacy program 'compress' is deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__post_remove_distdir)
dist-shar: distdir
@echo WARNING: "Support for shar distribution archives is" \
"deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
$(am__post_remove_distdir)
dist-zip: distdir
-rm -f $(distdir).zip
zip -rq $(distdir).zip $(distdir)
$(am__post_remove_distdir)
dist dist-all:
$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
$(am__post_remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
eval GZIP= gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
*.tar.xz*) \
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
eval GZIP= gzip -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
*.tar.zst*) \
zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
esac
chmod -R a-w $(distdir)
chmod u+w $(distdir)
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
chmod a-w $(distdir)
test -d $(distdir)/_build || exit 0; \
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& am__cwd=`pwd` \
&& $(am__cd) $(distdir)/_build/sub \
&& ../../configure \
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
$(DISTCHECK_CONFIGURE_FLAGS) \
--srcdir=../.. --prefix="$$dc_install_base" \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
} || { rm -rf "$$dc_destdir"; exit 1; }) \
&& rm -rf "$$dc_destdir" \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& rm -rf $(DIST_ARCHIVES) \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
&& cd "$$am__cwd" \
|| exit 1
$(am__post_remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
@test -n '$(distuninstallcheck_dir)' || { \
echo 'ERROR: trying to run $@ with an empty' \
'$$(distuninstallcheck_dir)' >&2; \
exit 1; \
}; \
$(am__cd) '$(distuninstallcheck_dir)' || { \
echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
exit 1; \
}; \
test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left after uninstall:" ; \
if test -n "$(DESTDIR)"; then \
echo " (check DESTDIR support)"; \
fi ; \
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
distcleancheck: distclean
@if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
exit 1 ; \
fi
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
check: check-recursive
all-am: Makefile
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
distclean-generic:
-$(am__rm_f) $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic mostlyclean-am
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-tags
dvi: dvi-recursive
dvi-am:
html: html-recursive
html-am:
info: info-recursive
info-am:
install-data-am:
install-dvi: install-dvi-recursive
install-dvi-am:
install-exec-am:
install-html: install-html-recursive
install-html-am:
install-info: install-info-recursive
install-info-am:
install-man:
install-pdf: install-pdf-recursive
install-pdf-am:
install-ps: install-ps-recursive
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic
pdf: pdf-recursive
pdf-am:
ps: ps-recursive
ps-am:
uninstall-am:
.MAKE: $(am__recursive_targets) install-am install-strip
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
am--refresh check check-am clean clean-cscope clean-generic \
cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
dist-zip dist-zstd distcheck distclean distclean-generic \
distclean-tags distcleancheck distdir distuninstallcheck dvi \
dvi-am html html-am info info-am install install-am \
install-data install-data-am install-dvi install-dvi-am \
install-exec install-exec-am install-html install-html-am \
install-info install-info-am install-man install-pdf \
install-pdf-am install-ps install-ps-am install-strip \
installcheck installcheck-am installdirs installdirs-am \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
uninstall-am
.PRECIOUS: Makefile
dist-hook:
$(PERL) -i -p -e '"$(PACKAGE_VERSION)" =~ /(\d+)\.(\d+)\.(\d+)/ and $$v = sprintf("%d.%03d%03d",$$1,$$2,$$3) and s/^\$$VERSION\s*=\s*".*?"/\$$VERSION = "$$v"/' $(distdir)/lib/Smokeping.pm
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
# Tell GNU make to disable its built-in pattern rules.
%:: %,v
%:: RCS/%,v
%:: RCS/%
%:: s.%
%:: SCCS/s.%

24
Makefile.am Normal file
View File

@@ -0,0 +1,24 @@
# Copyright (C) 2011 Tobias Oetiker
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
AUTOMAKE_OPTIONS = foreign
SUBDIRS = lib thirdparty bin doc etc htdocs
EXTRA_DIST = COPYRIGHT CHANGES CONTRIBUTORS LICENSE cpanfile VERSION README.md
dist-hook:
$(PERL) -i -p -e '"$(PACKAGE_VERSION)" =~ /(\d+)\.(\d+)\.(\d+)/ and $$v = sprintf("%d.%03d%03d",$$1,$$2,$$3) and s/^\$$VERSION\s*=\s*".*?"/\$$VERSION = "$$v"/' $(distdir)/lib/Smokeping.pm

801
Makefile.in Normal file
View File

@@ -0,0 +1,801 @@
# Makefile.in generated by automake 1.17 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2024 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
# Copyright (C) 2011 Tobias Oetiker
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
VPATH = @srcdir@
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
false; \
elif test -n '$(MAKE_HOST)'; then \
true; \
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
true; \
else \
false; \
fi; \
}
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
am__rm_f = rm -f $(am__rm_f_notfound)
am__rm_rf = rm -rf $(am__rm_f_notfound)
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
$(am__configure_deps) $(am__DIST_COMMON)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 =
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
ctags-recursive dvi-recursive html-recursive info-recursive \
install-data-recursive install-dvi-recursive \
install-exec-recursive install-html-recursive \
install-info-recursive install-pdf-recursive \
install-ps-recursive install-recursive installcheck-recursive \
installdirs-recursive pdf-recursive ps-recursive \
tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
am__recursive_targets = \
$(RECURSIVE_TARGETS) \
$(RECURSIVE_CLEAN_TARGETS) \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir distdir-am dist dist-all distcheck
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
BEGIN { nonempty = 0; } \
{ items[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique. This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
list='$(am__tagged_files)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in \
$(top_srcdir)/conftools/install-sh \
$(top_srcdir)/conftools/missing README.md TODO \
conftools/install-sh conftools/missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
if test -d "$(distdir)"; then \
find "$(distdir)" -type d ! -perm -700 -exec chmod u+rwx {} ';' \
; rm -rf "$(distdir)" \
|| { sleep 5 && rm -rf "$(distdir)"; }; \
else :; fi
am__post_remove_distdir = $(am__remove_distdir)
am__relativize = \
dir0=`pwd`; \
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
sed_rest='s,^[^/]*/*,,'; \
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
sed_butlast='s,/*[^/]*$$,,'; \
while test -n "$$dir1"; do \
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
if test "$$first" != "."; then \
if test "$$first" = ".."; then \
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
else \
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
if test "$$first2" = "$$first"; then \
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
else \
dir2="../$$dir2"; \
fi; \
dir0="$$dir0"/"$$first"; \
fi; \
fi; \
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
done; \
reldir="$$dir2"
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = -9
DIST_TARGETS = dist-gzip
# Exists only to be overridden by the user if desired.
AM_DISTCHECK_DVI_TARGET = dvi
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
distcleancheck_listfiles = \
find . \( -type f -a \! \
\( -name .nfs* -o -name .smb* -o -name .__afs* \) \) -print
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CP = @CP@
CSCOPE = @CSCOPE@
CTAGS = @CTAGS@
CURL = @CURL@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
ECHO = @ECHO@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
ETAGS = @ETAGS@
FIND = @FIND@
GMAKE = @GMAKE@
GREP = @GREP@
HTDOCSDIR = @HTDOCSDIR@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LN = @LN@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR = @MKDIR@
MKDIR_P = @MKDIR_P@
NROFF = @NROFF@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PERL = @PERL@
PERL5LIB = @PERL5LIB@
RM = @RM@
RMDIR = @RMDIR@
SED = @SED@
SENDMAIL = @SENDMAIL@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
URL_CAT = @URL_CAT@
VERSION = @VERSION@
WGET = @WGET@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
am__leading_dot = @am__leading_dot@
am__rm_f_notfound = @am__rm_f_notfound@
am__tar = @am__tar@
am__untar = @am__untar@
am__xargs_n = @am__xargs_n@
bindir = @bindir@
build_alias = @build_alias@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enable_pkgonly = @enable_pkgonly@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = lib thirdparty bin doc etc htdocs
EXTRA_DIST = COPYRIGHT CHANGES CONTRIBUTORS LICENSE cpanfile VERSION README.md
all: all-recursive
.SUFFIXES:
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(top_srcdir)/configure: $(am__configure_deps)
$(am__cd) $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):
# This directory's subdirectories are mostly independent; you can cd
# into them and run 'make' without going through this Makefile.
# To change the values of 'make' variables: instead of editing Makefiles,
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
$(am__recursive_targets):
@fail=; \
if $(am__make_keepgoing); then \
failcom='fail=yes'; \
else \
failcom='exit 1'; \
fi; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-recursive
TAGS: tags
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
empty_fix=.; \
else \
include_option=--include; \
empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test ! -f $$subdir/TAGS || \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
$(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: ctags-recursive
CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
$(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
clean-cscope:
-rm -f cscope.files
cscope.files: clean-cscope cscopelist
cscopelist: cscopelist-recursive
cscopelist-am: $(am__tagged_files)
list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
esac; \
for i in $$list; do \
if test -f "$$i"; then \
echo "$(subdir)/$$i"; \
else \
echo "$$sdir/$$i"; \
fi; \
done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am
distdir-am: $(DISTFILES)
$(am__remove_distdir)
$(AM_V_at)$(MKDIR_P) "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
$(am__make_dryrun) \
|| test -d "$(distdir)/$$subdir" \
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|| exit 1; \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
$(am__relativize); \
new_distdir=$$reldir; \
dir1=$$subdir; dir2="$(top_distdir)"; \
$(am__relativize); \
new_top_distdir=$$reldir; \
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
($(am__cd) $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$$new_top_distdir" \
distdir="$$new_distdir" \
am__remove_distdir=: \
am__skip_length_check=: \
am__skip_mode_fix=: \
distdir) \
|| exit 1; \
fi; \
done
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$(top_distdir)" distdir="$(distdir)" \
dist-hook
-test -n "$(am__skip_mode_fix)" \
|| find "$(distdir)" -type d ! -perm -755 \
-exec chmod u+rwx,go+rx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
$(am__post_remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
$(am__post_remove_distdir)
dist-lzip: distdir
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
$(am__post_remove_distdir)
dist-xz: distdir
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
$(am__post_remove_distdir)
dist-zstd: distdir
tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
$(am__post_remove_distdir)
dist-tarZ: distdir
@echo WARNING: "Support for distribution archives compressed with" \
"legacy program 'compress' is deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__post_remove_distdir)
dist-shar: distdir
@echo WARNING: "Support for shar distribution archives is" \
"deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
$(am__post_remove_distdir)
dist-zip: distdir
-rm -f $(distdir).zip
zip -rq $(distdir).zip $(distdir)
$(am__post_remove_distdir)
dist dist-all:
$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
$(am__post_remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
eval GZIP= gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
*.tar.xz*) \
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
eval GZIP= gzip -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
*.tar.zst*) \
zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
esac
chmod -R a-w $(distdir)
chmod u+w $(distdir)
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
chmod a-w $(distdir)
test -d $(distdir)/_build || exit 0; \
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& am__cwd=`pwd` \
&& $(am__cd) $(distdir)/_build/sub \
&& ../../configure \
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
$(DISTCHECK_CONFIGURE_FLAGS) \
--srcdir=../.. --prefix="$$dc_install_base" \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
} || { rm -rf "$$dc_destdir"; exit 1; }) \
&& rm -rf "$$dc_destdir" \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& rm -rf $(DIST_ARCHIVES) \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
&& cd "$$am__cwd" \
|| exit 1
$(am__post_remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
@test -n '$(distuninstallcheck_dir)' || { \
echo 'ERROR: trying to run $@ with an empty' \
'$$(distuninstallcheck_dir)' >&2; \
exit 1; \
}; \
$(am__cd) '$(distuninstallcheck_dir)' || { \
echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
exit 1; \
}; \
test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left after uninstall:" ; \
if test -n "$(DESTDIR)"; then \
echo " (check DESTDIR support)"; \
fi ; \
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
distcleancheck: distclean
@if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
exit 1 ; \
fi
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
check: check-recursive
all-am: Makefile
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
distclean-generic:
-$(am__rm_f) $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic mostlyclean-am
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-tags
dvi: dvi-recursive
dvi-am:
html: html-recursive
html-am:
info: info-recursive
info-am:
install-data-am:
install-dvi: install-dvi-recursive
install-dvi-am:
install-exec-am:
install-html: install-html-recursive
install-html-am:
install-info: install-info-recursive
install-info-am:
install-man:
install-pdf: install-pdf-recursive
install-pdf-am:
install-ps: install-ps-recursive
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic
pdf: pdf-recursive
pdf-am:
ps: ps-recursive
ps-am:
uninstall-am:
.MAKE: $(am__recursive_targets) install-am install-strip
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
am--refresh check check-am clean clean-cscope clean-generic \
cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
dist-zip dist-zstd distcheck distclean distclean-generic \
distclean-tags distcleancheck distdir distuninstallcheck dvi \
dvi-am html html-am info info-am install install-am \
install-data install-data-am install-dvi install-dvi-am \
install-exec install-exec-am install-html install-html-am \
install-info install-info-am install-man install-pdf \
install-pdf-am install-ps install-ps-am install-strip \
installcheck installcheck-am installdirs installdirs-am \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
uninstall-am
.PRECIOUS: Makefile
dist-hook:
$(PERL) -i -p -e '"$(PACKAGE_VERSION)" =~ /(\d+)\.(\d+)\.(\d+)/ and $$v = sprintf("%d.%03d%03d",$$1,$$2,$$3) and s/^\$$VERSION\s*=\s*".*?"/\$$VERSION = "$$v"/' $(distdir)/lib/Smokeping.pm
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
# Tell GNU make to disable its built-in pattern rules.
%:: %,v
%:: RCS/%,v
%:: RCS/%
%:: s.%
%:: SCCS/s.%

36
README.md Normal file
View File

@@ -0,0 +1,36 @@
```
____ _ ____ _
/ ___| _ __ ___ ___ | | _____| _ \(_)_ __ __ _
\___ \| '_ ` _ \ / _ \| |/ / _ \ |_) | | '_ \ / _` |
___) | | | | | | (_) | < __/ __/| | | | | (_| |
|____/|_| |_| |_|\___/|_|\_\___|_| |_|_| |_|\__, |
|___/
```
Original Authors: Tobias Oetiker <tobi of oetiker.ch> and Niko Tyni <ntyni with iki.fi>
[![Build Test](https://github.com/oetiker/SmokePing/actions/workflows/build-test.yaml/badge.svg)](https://github.com/oetiker/SmokePing/actions/workflows/build-test.yaml)
SmokePing is a latency logging and graphing and
alerting system. It consists of a daemon process which
organizes the latency measurements and a CGI which
presents the graphs.
SmokePing is ...
================
* extensible through plug-in modules
* easy to customize through a webtemplate and an extensive
configuration file.
* written in perl and should readily port to any unix system
* an RRDtool frontend
* able to deal with DYNAMIC IP addresses as used with
Cable and ADSL internet.
cheers
tobi

54
TODO Normal file
View File

@@ -0,0 +1,54 @@
* ALERTS based on input from multiple targets
Wouter Prins <wouter * null0.nl>
* ASSIGN BLAME - HALFWAY PING
- A method for pinging the host in the middle between here and host B
(use traceroute for figuring out which one it should be)
This graph combined with the graph for here-B could show in which half of the link the problem lies ...
Russell Stuart <russell-debian * stuart.id.au>
* TOP10
- show a list of the top 10 (most whatever graphs)
gmourani * privalodc.com
< they are willing to pay for this feature - tobi >
* UPTIME
- define update via snmp pointer per device
- possibility to call an external script
-> generic uptime plugin?
* ATTENTION
allow to define a threshold rule by looking at
two average medians and take action when threshold triped
* ALIASES
allow to have atarget which points to a different target
only targets with host are considered
* ALERTS
make 'active alerts' (whatever that means, have to think
this through) visible (eg. different colour) in the CGI menu
- suggested by Cornel Badea <cornel *sbhost.ro>
Targets/alertee: syntax to remove an address from the Alerts/to list
(maybe 'alertee = -user@somewhere'? This breaks real addresses
starting with '-'...require quoting for those?)
- from James Bouressa, <http://lists.ee.ethz.ch/smokeping-users/msg01667.html>
* REMOTE EXECUTION
generic remote probe
- a possibility for basefork-derived probes to reuse the same
SSH connection with shell for() loops for all the pings to a given
target
* GENERIC EXEC PROBE
- almost every probe has a different way of calling system(), exec()
or similar. This should be in an inheritable module.
- the module should also support extra commandline arguments
* RRD
configurable RRD parameters per target?
- suggested by Leos Bitto,
<http://lists.ee.ethz.ch/smokeping-users/msg01632.html>

1
VERSION Normal file
View File

@@ -0,0 +1 @@
2.9.0

927
aclocal.m4 vendored Normal file
View File

@@ -0,0 +1,927 @@
# generated automatically by aclocal 1.17 -*- Autoconf -*-
# Copyright (C) 1996-2024 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.72],,
[m4_warning([this file was generated for autoconf 2.72.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
# Copyright (C) 2002-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_AUTOMAKE_VERSION(VERSION)
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.17'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
m4_if([$1], [1.17], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
# _AM_AUTOCONF_VERSION(VERSION)
# -----------------------------
# aclocal traces this macro to find the Autoconf version.
# This is a private macro too. Using m4_define simplifies
# the logic in aclocal, which can simply ignore this definition.
m4_define([_AM_AUTOCONF_VERSION], [])
# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.17])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
# Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
#
# Of course, Automake must honor this variable whenever it calls a
# tool from the auxiliary directory. The problem is that $srcdir (and
# therefore $ac_aux_dir as well) can be either absolute or relative,
# depending on how configure is run. This is pretty annoying, since
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
# source directory, any form will work fine, but in subdirectories a
# relative path needs to be adjusted first.
#
# $ac_aux_dir/missing
# fails when called from a subdirectory if $ac_aux_dir is relative
# $top_srcdir/$ac_aux_dir/missing
# fails if $ac_aux_dir is absolute,
# fails when called from a subdirectory in a VPATH build with
# a relative $ac_aux_dir
#
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
# are both prefixed by $srcdir. In an in-source build this is usually
# harmless because $srcdir is '.', but things will broke when you
# start a VPATH build or use an absolute $srcdir.
#
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
# and then we would define $MISSING as
# MISSING="\${SHELL} $am_aux_dir/missing"
# This will work as long as MISSING is not called from configure, because
# unfortunately $(top_srcdir) has no meaning in configure.
# However there are other variables, like CC, which are often used in
# configure, and could therefore not use this "fixed" $ac_aux_dir.
#
# Another solution, used here, is to always expand $ac_aux_dir to an
# absolute PATH. The drawback is that using absolute paths prevent a
# configured tree to be moved without reconfiguration.
AC_DEFUN([AM_AUX_DIR_EXPAND],
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
# Expand $ac_aux_dir to an absolute path.
am_aux_dir=`cd "$ac_aux_dir" && pwd`
])
# Do all the work for Automake. -*- Autoconf -*-
# Copyright (C) 1996-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This macro actually does too much. Some checks are only needed if
# your package does certain things. But this isn't really a big deal.
dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
m4_define([AC_PROG_CC],
m4_defn([AC_PROG_CC])
[_AM_PROG_CC_C_O
])
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
# AM_INIT_AUTOMAKE([OPTIONS])
# -----------------------------------------------
# The call with PACKAGE and VERSION arguments is the old style
# call (pre autoconf-2.50), which is being phased out. PACKAGE
# and VERSION should now be passed to AC_INIT and removed from
# the call to AM_INIT_AUTOMAKE.
# We support both call styles for the transition. After
# the next Automake release, Autoconf can make the AC_INIT
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
[AC_PREREQ([2.65])dnl
m4_ifdef([_$0_ALREADY_INIT],
[m4_fatal([$0 expanded multiple times
]m4_defn([_$0_ALREADY_INIT]))],
[m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
if test "`cd $srcdir && pwd`" != "`pwd`"; then
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
# is not polluted with repeated "-I."
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
# test to see if srcdir already configured
if test -f $srcdir/config.status; then
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
fi
fi
# test whether we have cygpath
if test -z "$CYGPATH_W"; then
if (cygpath --version) >/dev/null 2>/dev/null; then
CYGPATH_W='cygpath -w'
else
CYGPATH_W=echo
fi
fi
AC_SUBST([CYGPATH_W])
# Define the identity of the package.
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
[$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
[_AM_SET_OPTIONS([$1])dnl
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
m4_if(
m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
[ok:ok],,
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
_AM_IF_OPTION([no-define],,
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
# Some tools Automake needs.
AC_REQUIRE([AM_SANITY_CHECK])dnl
AC_REQUIRE([AC_ARG_PROGRAM])dnl
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
AM_MISSING_PROG([AUTOCONF], [autoconf])
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
AM_MISSING_PROG([AUTOHEADER], [autoheader])
AM_MISSING_PROG([MAKEINFO], [makeinfo])
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
# For better backward compatibility. To be removed once Automake 1.9.x
# dies out for good. For more background, see:
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
# We need awk for the "check" target (and possibly the TAP driver). The
# system "awk" is bad on some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
[_AM_PROG_TAR([v7])])])
_AM_IF_OPTION([no-dependencies],,
[AC_PROVIDE_IFELSE([AC_PROG_CC],
[_AM_DEPENDENCIES([CC])],
[m4_define([AC_PROG_CC],
m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
AC_PROVIDE_IFELSE([AC_PROG_CXX],
[_AM_DEPENDENCIES([CXX])],
[m4_define([AC_PROG_CXX],
m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
# Variables for tags utilities; see am/tags.am
if test -z "$CTAGS"; then
CTAGS=ctags
fi
AC_SUBST([CTAGS])
if test -z "$ETAGS"; then
ETAGS=etags
fi
AC_SUBST([ETAGS])
if test -z "$CSCOPE"; then
CSCOPE=cscope
fi
AC_SUBST([CSCOPE])
AC_REQUIRE([_AM_SILENT_RULES])dnl
dnl The testsuite driver may need to know about EXEEXT, so add the
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
AC_REQUIRE([_AM_PROG_RM_F])
AC_REQUIRE([_AM_PROG_XARGS_N])
dnl The trailing newline in this macro's definition is deliberate, for
dnl backward compatibility and to allow trailing 'dnl'-style comments
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
])
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
dnl mangled by Autoconf and run in a shell conditional statement.
m4_define([_AC_COMPILER_EXEEXT],
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
# When config.status generates a header, we must update the stamp-h file.
# This file resides in the same directory as the config header
# that is generated. The stamp files are numbered to have different names.
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
# loop where config.status creates the headers, so we can generate
# our stamp files there.
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
[# Compute $1's index in $config_headers.
_am_arg=$1
_am_stamp_count=1
for _am_header in $config_headers :; do
case $_am_header in
$_am_arg | $_am_arg:* )
break ;;
* )
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
esac
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
# Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_INSTALL_SH
# ------------------
# Define $install_sh.
AC_DEFUN([AM_PROG_INSTALL_SH],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
if test x"${install_sh+set}" != xset; then
case $am_aux_dir in
*\ * | *\ *)
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
*)
install_sh="\${SHELL} $am_aux_dir/install-sh"
esac
fi
AC_SUBST([install_sh])])
# Copyright (C) 2003-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# Check whether the underlying file-system supports filenames
# with a leading dot. For instance MS-DOS doesn't.
AC_DEFUN([AM_SET_LEADING_DOT],
[rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
am__leading_dot=.
else
am__leading_dot=_
fi
rmdir .tst 2>/dev/null
AC_SUBST([am__leading_dot])])
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
# Copyright (C) 1997-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_MISSING_PROG(NAME, PROGRAM)
# ------------------------------
AC_DEFUN([AM_MISSING_PROG],
[AC_REQUIRE([AM_MISSING_HAS_RUN])
$1=${$1-"${am_missing_run}$2"}
AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
# Define MISSING if not defined so far and test if it is modern enough.
# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
if test x"${MISSING+set}" != xset; then
MISSING="\${SHELL} '$am_aux_dir/missing'"
fi
# Use eval to expand $SHELL
if eval "$MISSING --is-lightweight"; then
am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
fi
])
# Helper functions for option handling. -*- Autoconf -*-
# Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# _AM_MANGLE_OPTION(NAME)
# -----------------------
AC_DEFUN([_AM_MANGLE_OPTION],
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
# _AM_SET_OPTION(NAME)
# --------------------
# Set option NAME. Presently that only means defining a flag for this option.
AC_DEFUN([_AM_SET_OPTION],
[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
# _AM_SET_OPTIONS(OPTIONS)
# ------------------------
# OPTIONS is a space-separated list of Automake options.
AC_DEFUN([_AM_SET_OPTIONS],
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
# -------------------------------------------
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
# Copyright (C) 2022-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# _AM_PROG_RM_F
# ---------------
# Check whether 'rm -f' without any arguments works.
# https://bugs.gnu.org/10828
AC_DEFUN([_AM_PROG_RM_F],
[am__rm_f_notfound=
AS_IF([(rm -f && rm -fr && rm -rf) 2>/dev/null], [], [am__rm_f_notfound='""'])
AC_SUBST(am__rm_f_notfound)
])
# Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_RUN_LOG(COMMAND)
# -------------------
# Run COMMAND, save the exit status in ac_status, and log it.
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
AC_DEFUN([AM_RUN_LOG],
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
(exit $ac_status); }])
# Check to make sure that the build environment is sane. -*- Autoconf -*-
# Copyright (C) 1996-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# _AM_SLEEP_FRACTIONAL_SECONDS
# ----------------------------
AC_DEFUN([_AM_SLEEP_FRACTIONAL_SECONDS], [dnl
AC_CACHE_CHECK([whether sleep supports fractional seconds],
am_cv_sleep_fractional_seconds, [dnl
AS_IF([sleep 0.001 2>/dev/null], [am_cv_sleep_fractional_seconds=yes],
[am_cv_sleep_fractional_seconds=no])
])])
# _AM_FILESYSTEM_TIMESTAMP_RESOLUTION
# -----------------------------------
# Determine the filesystem's resolution for file modification
# timestamps. The coarsest we know of is FAT, with a resolution
# of only two seconds, even with the most recent "exFAT" extensions.
# The finest (e.g. ext4 with large inodes, XFS, ZFS) is one
# nanosecond, matching clock_gettime. However, it is probably not
# possible to delay execution of a shell script for less than one
# millisecond, due to process creation overhead and scheduling
# granularity, so we don't check for anything finer than that. (See below.)
AC_DEFUN([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION], [dnl
AC_REQUIRE([_AM_SLEEP_FRACTIONAL_SECONDS])
AC_CACHE_CHECK([filesystem timestamp resolution],
am_cv_filesystem_timestamp_resolution, [dnl
# Default to the worst case.
am_cv_filesystem_timestamp_resolution=2
# Only try to go finer than 1 sec if sleep can do it.
# Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
# - 1 sec is not much of a win compared to 2 sec, and
# - it takes 2 seconds to perform the test whether 1 sec works.
#
# Instead, just use the default 2s on platforms that have 1s resolution,
# accept the extra 1s delay when using $sleep in the Automake tests, in
# exchange for not incurring the 2s delay for running the test for all
# packages.
#
am_try_resolutions=
if test "$am_cv_sleep_fractional_seconds" = yes; then
# Even a millisecond often causes a bunch of false positives,
# so just try a hundredth of a second. The time saved between .001 and
# .01 is not terribly consequential.
am_try_resolutions="0.01 0.1 $am_try_resolutions"
fi
# In order to catch current-generation FAT out, we must *modify* files
# that already exist; the *creation* timestamp is finer. Use names
# that make ls -t sort them differently when they have equal
# timestamps than when they have distinct timestamps, keeping
# in mind that ls -t prints the *newest* file first.
rm -f conftest.ts?
: > conftest.ts1
: > conftest.ts2
: > conftest.ts3
# Make sure ls -t actually works. Do 'set' in a subshell so we don't
# clobber the current shell's arguments. (Outer-level square brackets
# are removed by m4; they're present so that m4 does not expand
# <dollar><star>; be careful, easy to get confused.)
if (
set X `[ls -t conftest.ts[12]]` &&
{
test "$[]*" != "X conftest.ts1 conftest.ts2" ||
test "$[]*" != "X conftest.ts2 conftest.ts1";
}
); then :; else
# If neither matched, then we have a broken ls. This can happen
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
_AS_ECHO_UNQUOTED(
["Bad output from ls -t: \"`[ls -t conftest.ts[12]]`\""],
[AS_MESSAGE_LOG_FD])
AC_MSG_FAILURE([ls -t produces unexpected output.
Make sure there is not a broken ls alias in your environment.])
fi
for am_try_res in $am_try_resolutions; do
# Any one fine-grained sleep might happen to cross the boundary
# between two values of a coarser actual resolution, but if we do
# two fine-grained sleeps in a row, at least one of them will fall
# entirely within a coarse interval.
echo alpha > conftest.ts1
sleep $am_try_res
echo beta > conftest.ts2
sleep $am_try_res
echo gamma > conftest.ts3
# We assume that 'ls -t' will make use of high-resolution
# timestamps if the operating system supports them at all.
if (set X `ls -t conftest.ts?` &&
test "$[]2" = conftest.ts3 &&
test "$[]3" = conftest.ts2 &&
test "$[]4" = conftest.ts1); then
#
# Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
# because we don't need to test make.
make_ok=true
if test $am_try_res != 1; then
# But if we've succeeded so far with a subsecond resolution, we
# have one more thing to check: make. It can happen that
# everything else supports the subsecond mtimes, but make doesn't;
# notably on macOS, which ships make 3.81 from 2006 (the last one
# released under GPLv2). https://bugs.gnu.org/68808
#
# We test $MAKE if it is defined in the environment, else "make".
# It might get overridden later, but our hope is that in practice
# it does not matter: it is the system "make" which is (by far)
# the most likely to be broken, whereas if the user overrides it,
# probably they did so with a better, or at least not worse, make.
# https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
#
# Create a Makefile (real tab character here):
rm -f conftest.mk
echo 'conftest.ts1: conftest.ts2' >conftest.mk
echo ' touch conftest.ts2' >>conftest.mk
#
# Now, running
# touch conftest.ts1; touch conftest.ts2; make
# should touch ts1 because ts2 is newer. This could happen by luck,
# but most often, it will fail if make's support is insufficient. So
# test for several consecutive successes.
#
# (We reuse conftest.ts[12] because we still want to modify existing
# files, not create new ones, per above.)
n=0
make=${MAKE-make}
until test $n -eq 3; do
echo one > conftest.ts1
sleep $am_try_res
echo two > conftest.ts2 # ts2 should now be newer than ts1
if $make -f conftest.mk | grep 'up to date' >/dev/null; then
make_ok=false
break # out of $n loop
fi
n=`expr $n + 1`
done
fi
#
if $make_ok; then
# Everything we know to check worked out, so call this resolution good.
am_cv_filesystem_timestamp_resolution=$am_try_res
break # out of $am_try_res loop
fi
# Otherwise, we'll go on to check the next resolution.
fi
done
rm -f conftest.ts?
# (end _am_filesystem_timestamp_resolution)
])])
# AM_SANITY_CHECK
# ---------------
AC_DEFUN([AM_SANITY_CHECK],
[AC_REQUIRE([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION])
# This check should not be cached, as it may vary across builds of
# different projects.
AC_MSG_CHECKING([whether build environment is sane])
# Reject unsafe characters in $srcdir or the absolute working directory
# name. Accept space and tab only in the latter.
am_lf='
'
case `pwd` in
*[[\\\"\#\$\&\'\`$am_lf]]*)
AC_MSG_ERROR([unsafe absolute working directory name]);;
esac
case $srcdir in
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
esac
# Do 'set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
am_build_env_is_sane=no
am_has_slept=no
rm -f conftest.file
for am_try in 1 2; do
echo "timestamp, slept: $am_has_slept" > conftest.file
if (
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
if test "$[]*" = "X"; then
# -L didn't work.
set X `ls -t "$srcdir/configure" conftest.file`
fi
test "$[]2" = conftest.file
); then
am_build_env_is_sane=yes
break
fi
# Just in case.
sleep "$am_cv_filesystem_timestamp_resolution"
am_has_slept=yes
done
AC_MSG_RESULT([$am_build_env_is_sane])
if test "$am_build_env_is_sane" = no; then
AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
# If we didn't sleep, we still need to ensure time stamps of config.status and
# generated files are strictly newer.
am_sleep_pid=
AS_IF([test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1],, [dnl
( sleep "$am_cv_filesystem_timestamp_resolution" ) &
am_sleep_pid=$!
])
AC_CONFIG_COMMANDS_PRE(
[AC_MSG_CHECKING([that generated files are newer than configure])
if test -n "$am_sleep_pid"; then
# Hide warnings about reused PIDs.
wait $am_sleep_pid 2>/dev/null
fi
AC_MSG_RESULT([done])])
rm -f conftest.file
])
# Copyright (C) 2009-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# _AM_SILENT_RULES
# ----------------
# Enable less verbose build rules support.
AC_DEFUN([_AM_SILENT_RULES],
[AM_DEFAULT_VERBOSITY=1
AC_ARG_ENABLE([silent-rules], [dnl
AS_HELP_STRING(
[--enable-silent-rules],
[less verbose build output (undo: "make V=1")])
AS_HELP_STRING(
[--disable-silent-rules],
[verbose build output (undo: "make V=0")])dnl
])
dnl
dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
dnl do not support nested variable expansions.
dnl See automake bug#9928 and bug#10237.
am_make=${MAKE-make}
AC_CACHE_CHECK([whether $am_make supports nested variables],
[am_cv_make_support_nested_variables],
[if AS_ECHO([['TRUE=$(BAR$(V))
BAR0=false
BAR1=true
V=1
am__doit:
@$(TRUE)
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
am_cv_make_support_nested_variables=yes
else
am_cv_make_support_nested_variables=no
fi])
AC_SUBST([AM_V])dnl
AM_SUBST_NOTMAKE([AM_V])dnl
AC_SUBST([AM_DEFAULT_V])dnl
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
AM_BACKSLASH='\'
AC_SUBST([AM_BACKSLASH])dnl
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
dnl Delay evaluation of AM_DEFAULT_VERBOSITY to the end to allow multiple calls
dnl to AM_SILENT_RULES to change the default value.
AC_CONFIG_COMMANDS_PRE([dnl
case $enable_silent_rules in @%:@ (((
yes) AM_DEFAULT_VERBOSITY=0;;
no) AM_DEFAULT_VERBOSITY=1;;
esac
if test $am_cv_make_support_nested_variables = yes; then
dnl Using '$V' instead of '$(V)' breaks IRIX make.
AM_V='$(V)'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
else
AM_V=$AM_DEFAULT_VERBOSITY
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
fi
])dnl
])
# AM_SILENT_RULES([DEFAULT])
# --------------------------
# Set the default verbosity level to DEFAULT ("yes" being less verbose, "no" or
# empty being verbose).
AC_DEFUN([AM_SILENT_RULES],
[AC_REQUIRE([_AM_SILENT_RULES])
AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1])])
# Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_INSTALL_STRIP
# ---------------------
# One issue with vendor 'install' (even GNU) is that you can't
# specify the program used to strip binaries. This is especially
# annoying in cross-compiling environments, where the build's strip
# is unlikely to handle the host's binaries.
# Fortunately install-sh will honor a STRIPPROG variable, so we
# always use install-sh in "make install-strip", and initialize
# STRIPPROG with the value of the STRIP variable (set by the user).
AC_DEFUN([AM_PROG_INSTALL_STRIP],
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
# Installed binaries are usually stripped using 'strip' when the user
# run "make install-strip". However 'strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
# will honor the 'STRIP' environment variable to overrule this program.
dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
if test "$cross_compiling" != no; then
AC_CHECK_TOOL([STRIP], [strip], :)
fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
# Copyright (C) 2006-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
# This macro is traced by Automake.
AC_DEFUN([_AM_SUBST_NOTMAKE])
# AM_SUBST_NOTMAKE(VARIABLE)
# --------------------------
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
# Check how to create a tarball. -*- Autoconf -*-
# Copyright (C) 2004-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# _AM_PROG_TAR(FORMAT)
# --------------------
# Check how to create a tarball in format FORMAT.
# FORMAT should be one of 'v7', 'ustar', or 'pax'.
#
# Substitute a variable $(am__tar) that is a command
# writing to stdout a FORMAT-tarball containing the directory
# $tardir.
# tardir=directory && $(am__tar) > result.tar
#
# Substitute a variable $(am__untar) that extract such
# a tarball read from stdin.
# $(am__untar) < result.tar
#
AC_DEFUN([_AM_PROG_TAR],
[# Always define AMTAR for backward compatibility. Yes, it's still used
# in the wild :-( We should find a proper way to deprecate it ...
AC_SUBST([AMTAR], ['$${TAR-tar}'])
# We'll loop over all known methods to create a tar archive until one works.
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
m4_if([$1], [v7],
[am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
[m4_case([$1],
[ustar],
[# The POSIX 1988 'ustar' format is defined with fixed-size fields.
# There is notably a 21 bits limit for the UID and the GID. In fact,
# the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
# and bug#13588).
am_max_uid=2097151 # 2^21 - 1
am_max_gid=$am_max_uid
# The $UID and $GID variables are not portable, so we need to resort
# to the POSIX-mandated id(1) utility. Errors in the 'id' calls
# below are definitely unexpected, so allow the users to see them
# (that is, avoid stderr redirection).
am_uid=`id -u || echo unknown`
am_gid=`id -g || echo unknown`
AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
if test x$am_uid = xunknown; then
AC_MSG_WARN([ancient id detected; assuming current UID is ok, but dist-ustar might not work])
elif test $am_uid -le $am_max_uid; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
_am_tools=none
fi
AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
if test x$gm_gid = xunknown; then
AC_MSG_WARN([ancient id detected; assuming current GID is ok, but dist-ustar might not work])
elif test $am_gid -le $am_max_gid; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
_am_tools=none
fi],
[pax],
[],
[m4_fatal([Unknown tar format])])
AC_MSG_CHECKING([how to create a $1 tar archive])
# Go ahead even if we have the value already cached. We do so because we
# need to set the values for the 'am__tar' and 'am__untar' variables.
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
for _am_tool in $_am_tools; do
case $_am_tool in
gnutar)
for _am_tar in tar gnutar gtar; do
AM_RUN_LOG([$_am_tar --version]) && break
done
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
am__untar="$_am_tar -xf -"
;;
plaintar)
# Must skip GNU tar: if it does not support --format= it doesn't create
# ustar tarball either.
(tar --version) >/dev/null 2>&1 && continue
am__tar='tar chf - "$$tardir"'
am__tar_='tar chf - "$tardir"'
am__untar='tar xf -'
;;
pax)
am__tar='pax -L -x $1 -w "$$tardir"'
am__tar_='pax -L -x $1 -w "$tardir"'
am__untar='pax -r'
;;
cpio)
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
am__untar='cpio -i -H $1 -d'
;;
none)
am__tar=false
am__tar_=false
am__untar=false
;;
esac
# If the value was cached, stop now. We just wanted to have am__tar
# and am__untar set.
test -n "${am_cv_prog_tar_$1}" && break
# tar/untar a dummy directory, and stop if the command works.
rm -rf conftest.dir
mkdir conftest.dir
echo GrepMe > conftest.dir/file
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
rm -rf conftest.dir
if test -s conftest.tar; then
AM_RUN_LOG([$am__untar <conftest.tar])
AM_RUN_LOG([cat conftest.dir/file])
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
fi
done
rm -rf conftest.dir
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
AC_SUBST([am__tar])
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
# Copyright (C) 2022-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# _AM_PROG_XARGS_N
# ----------------
# Check whether 'xargs -n' works. It should work everywhere, so the fallback
# is not optimized at all as we never expect to use it.
AC_DEFUN([_AM_PROG_XARGS_N],
[AC_CACHE_CHECK([xargs -n works], am_cv_xargs_n_works, [dnl
AS_IF([test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
3"], [am_cv_xargs_n_works=yes], [am_cv_xargs_n_works=no])])
AS_IF([test "$am_cv_xargs_n_works" = yes], [am__xargs_n='xargs -n'], [dnl
am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "$@" "$am__xargs_n_arg"; done; }'
])dnl
AC_SUBST(am__xargs_n)
])

4837
autom4te.cache/output.0 Normal file

File diff suppressed because it is too large Load Diff

4836
autom4te.cache/output.1 Normal file

File diff suppressed because it is too large Load Diff

4837
autom4te.cache/output.2 Normal file

File diff suppressed because it is too large Load Diff

242
autom4te.cache/requests Normal file
View File

@@ -0,0 +1,242 @@
# This file was generated by Autom4te 2.72.
# It contains the lists of macros which have been traced.
# It can be safely removed.
@request = (
bless( [
'0',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'/usr/share/aclocal-1.17/internal/ac-config-macro-dirs.m4',
'/usr/share/aclocal-1.17/amversion.m4',
'/usr/share/aclocal-1.17/auxdir.m4',
'/usr/share/aclocal-1.17/cond.m4',
'/usr/share/aclocal-1.17/depend.m4',
'/usr/share/aclocal-1.17/depout.m4',
'/usr/share/aclocal-1.17/init.m4',
'/usr/share/aclocal-1.17/install-sh.m4',
'/usr/share/aclocal-1.17/lead-dot.m4',
'/usr/share/aclocal-1.17/make.m4',
'/usr/share/aclocal-1.17/missing.m4',
'/usr/share/aclocal-1.17/options.m4',
'/usr/share/aclocal-1.17/prog-cc-c-o.m4',
'/usr/share/aclocal-1.17/rmf.m4',
'/usr/share/aclocal-1.17/runlog.m4',
'/usr/share/aclocal-1.17/sanity.m4',
'/usr/share/aclocal-1.17/silent.m4',
'/usr/share/aclocal-1.17/strip.m4',
'/usr/share/aclocal-1.17/substnot.m4',
'/usr/share/aclocal-1.17/tar.m4',
'/usr/share/aclocal-1.17/xargsn.m4',
'configure.ac'
],
{
'AC_CONFIG_MACRO_DIR' => 1,
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
'AC_DEFUN' => 1,
'AC_DEFUN_ONCE' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AM_AUX_DIR_EXPAND' => 1,
'AM_CONDITIONAL' => 1,
'AM_DEP_TRACK' => 1,
'AM_INIT_AUTOMAKE' => 1,
'AM_MAKE_INCLUDE' => 1,
'AM_MISSING_HAS_RUN' => 1,
'AM_MISSING_PROG' => 1,
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
'AM_PROG_CC_C_O' => 1,
'AM_PROG_INSTALL_SH' => 1,
'AM_PROG_INSTALL_STRIP' => 1,
'AM_RUN_LOG' => 1,
'AM_SANITY_CHECK' => 1,
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
'AM_SET_DEPDIR' => 1,
'AM_SET_LEADING_DOT' => 1,
'AM_SILENT_RULES' => 1,
'AM_SUBST_NOTMAKE' => 1,
'AU_DEFUN' => 1,
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
'_AM_AUTOCONF_VERSION' => 1,
'_AM_CONFIG_MACRO_DIRS' => 1,
'_AM_DEPENDENCIES' => 1,
'_AM_FILESYSTEM_TIMESTAMP_RESOLUTION' => 1,
'_AM_IF_OPTION' => 1,
'_AM_MANGLE_OPTION' => 1,
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
'_AM_PROG_CC_C_O' => 1,
'_AM_PROG_RM_F' => 1,
'_AM_PROG_TAR' => 1,
'_AM_PROG_XARGS_N' => 1,
'_AM_SET_OPTION' => 1,
'_AM_SET_OPTIONS' => 1,
'_AM_SILENT_RULES' => 1,
'_AM_SLEEP_FRACTIONAL_SECONDS' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'_m4_warn' => 1,
'include' => 1,
'm4_include' => 1,
'm4_pattern_allow' => 1,
'm4_pattern_forbid' => 1
}
], 'Autom4te::Request' ),
bless( [
'1',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'aclocal.m4',
'configure.ac'
],
{
'AC_CANONICAL_BUILD' => 1,
'AC_CANONICAL_HOST' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'AC_CANONICAL_TARGET' => 1,
'AC_CONFIG_AUX_DIR' => 1,
'AC_CONFIG_FILES' => 1,
'AC_CONFIG_HEADERS' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_CONFIG_LINKS' => 1,
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
'AC_CONFIG_SUBDIRS' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1,
'AC_FC_FREEFORM' => 1,
'AC_FC_PP_DEFINE' => 1,
'AC_FC_PP_SRCEXT' => 1,
'AC_FC_SRCEXT' => 1,
'AC_INIT' => 1,
'AC_LIBSOURCE' => 1,
'AC_PROG_LIBTOOL' => 1,
'AC_REQUIRE_AUX_FILE' => 1,
'AC_SUBST' => 1,
'AC_SUBST_TRACE' => 1,
'AH_OUTPUT' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AM_CONDITIONAL' => 1,
'AM_ENABLE_MULTILIB' => 1,
'AM_EXTRA_RECURSIVE_TARGETS' => 1,
'AM_GNU_GETTEXT' => 1,
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
'AM_INIT_AUTOMAKE' => 1,
'AM_MAINTAINER_MODE' => 1,
'AM_MAKEFILE_INCLUDE' => 1,
'AM_NLS' => 1,
'AM_PATH_GUILE' => 1,
'AM_POT_TOOLS' => 1,
'AM_PROG_AR' => 1,
'AM_PROG_CC_C_O' => 1,
'AM_PROG_CXX_C_O' => 1,
'AM_PROG_F77_C_O' => 1,
'AM_PROG_FC_C_O' => 1,
'AM_PROG_LIBTOOL' => 1,
'AM_PROG_MKDIR_P' => 1,
'AM_PROG_MOC' => 1,
'AM_SILENT_RULES' => 1,
'AM_XGETTEXT_OPTION' => 1,
'GTK_DOC_CHECK' => 1,
'IT_PROG_INTLTOOL' => 1,
'LT_CONFIG_LTDL_DIR' => 1,
'LT_INIT' => 1,
'LT_SUPPORTED_TAG' => 1,
'_AM_COND_ELSE' => 1,
'_AM_COND_ENDIF' => 1,
'_AM_COND_IF' => 1,
'_AM_MAKEFILE_INCLUDE' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'_LT_AC_TAGCONFIG' => 1,
'_m4_warn' => 1,
'include' => 1,
'm4_include' => 1,
'm4_pattern_allow' => 1,
'm4_pattern_forbid' => 1,
'm4_sinclude' => 1,
'sinclude' => 1
}
], 'Autom4te::Request' ),
bless( [
'2',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'aclocal.m4',
'/usr/share/autoconf/autoconf/trailer.m4',
'configure.ac'
],
{
'AC_CANONICAL_BUILD' => 1,
'AC_CANONICAL_HOST' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'AC_CANONICAL_TARGET' => 1,
'AC_CONFIG_AUX_DIR' => 1,
'AC_CONFIG_FILES' => 1,
'AC_CONFIG_HEADERS' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_CONFIG_LINKS' => 1,
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
'AC_CONFIG_SUBDIRS' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1,
'AC_FC_FREEFORM' => 1,
'AC_FC_PP_DEFINE' => 1,
'AC_FC_PP_SRCEXT' => 1,
'AC_FC_SRCEXT' => 1,
'AC_INIT' => 1,
'AC_LIBSOURCE' => 1,
'AC_PROG_LIBTOOL' => 1,
'AC_REQUIRE_AUX_FILE' => 1,
'AC_SUBST' => 1,
'AC_SUBST_TRACE' => 1,
'AH_OUTPUT' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AM_CONDITIONAL' => 1,
'AM_ENABLE_MULTILIB' => 1,
'AM_EXTRA_RECURSIVE_TARGETS' => 1,
'AM_GNU_GETTEXT' => 1,
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
'AM_INIT_AUTOMAKE' => 1,
'AM_MAINTAINER_MODE' => 1,
'AM_MAKEFILE_INCLUDE' => 1,
'AM_NLS' => 1,
'AM_PATH_GUILE' => 1,
'AM_POT_TOOLS' => 1,
'AM_PROG_AR' => 1,
'AM_PROG_CC_C_O' => 1,
'AM_PROG_CXX_C_O' => 1,
'AM_PROG_F77_C_O' => 1,
'AM_PROG_FC_C_O' => 1,
'AM_PROG_LIBTOOL' => 1,
'AM_PROG_MKDIR_P' => 1,
'AM_PROG_MOC' => 1,
'AM_SILENT_RULES' => 1,
'AM_XGETTEXT_OPTION' => 1,
'GTK_DOC_CHECK' => 1,
'IT_PROG_INTLTOOL' => 1,
'LT_CONFIG_LTDL_DIR' => 1,
'LT_INIT' => 1,
'LT_SUPPORTED_TAG' => 1,
'_AM_COND_ELSE' => 1,
'_AM_COND_ENDIF' => 1,
'_AM_COND_IF' => 1,
'_AM_MAKEFILE_INCLUDE' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'_LT_AC_TAGCONFIG' => 1,
'_m4_warn' => 1,
'include' => 1,
'm4_include' => 1,
'm4_pattern_allow' => 1,
'm4_pattern_forbid' => 1,
'm4_sinclude' => 1,
'sinclude' => 1
}
], 'Autom4te::Request' )
);

1038
autom4te.cache/traces.0 Normal file

File diff suppressed because it is too large Load Diff

353
autom4te.cache/traces.1 Normal file
View File

@@ -0,0 +1,353 @@
m4trace:configure.ac:20: -1- AC_INIT([smokeping], [2.9.0], [tobi@oetiker.ch])
m4trace:configure.ac:20: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.ac:20: -1- m4_pattern_forbid([_AC_])
m4trace:configure.ac:20: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section 'AC_LIBOBJ vs LIBOBJS'])
m4trace:configure.ac:20: -1- m4_pattern_allow([^AS_FLAGS$])
m4trace:configure.ac:20: -1- m4_pattern_forbid([^_?m4_])
m4trace:configure.ac:20: -1- m4_pattern_forbid([^dnl$])
m4trace:configure.ac:20: -1- m4_pattern_forbid([^_?AS_])
m4trace:configure.ac:20: -1- AC_SUBST([SHELL])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([SHELL])
m4trace:configure.ac:20: -1- m4_pattern_allow([^SHELL$])
m4trace:configure.ac:20: -1- AC_SUBST([PATH_SEPARATOR])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PATH_SEPARATOR$])
m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_NAME])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_STRING])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_URL])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.ac:20: -1- AC_SUBST([exec_prefix], [NONE])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([exec_prefix])
m4trace:configure.ac:20: -1- m4_pattern_allow([^exec_prefix$])
m4trace:configure.ac:20: -1- AC_SUBST([prefix], [NONE])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([prefix])
m4trace:configure.ac:20: -1- m4_pattern_allow([^prefix$])
m4trace:configure.ac:20: -1- AC_SUBST([program_transform_name], [s,x,x,])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([program_transform_name])
m4trace:configure.ac:20: -1- m4_pattern_allow([^program_transform_name$])
m4trace:configure.ac:20: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([bindir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^bindir$])
m4trace:configure.ac:20: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([sbindir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^sbindir$])
m4trace:configure.ac:20: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([libexecdir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^libexecdir$])
m4trace:configure.ac:20: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([datarootdir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^datarootdir$])
m4trace:configure.ac:20: -1- AC_SUBST([datadir], ['${datarootdir}'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([datadir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^datadir$])
m4trace:configure.ac:20: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([sysconfdir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^sysconfdir$])
m4trace:configure.ac:20: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([sharedstatedir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^sharedstatedir$])
m4trace:configure.ac:20: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([localstatedir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^localstatedir$])
m4trace:configure.ac:20: -1- AC_SUBST([runstatedir], ['${localstatedir}/run'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([runstatedir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^runstatedir$])
m4trace:configure.ac:20: -1- AC_SUBST([includedir], ['${prefix}/include'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([includedir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^includedir$])
m4trace:configure.ac:20: -1- AC_SUBST([oldincludedir], ['/usr/include'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([oldincludedir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^oldincludedir$])
m4trace:configure.ac:20: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
['${datarootdir}/doc/${PACKAGE}'])])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([docdir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^docdir$])
m4trace:configure.ac:20: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([infodir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^infodir$])
m4trace:configure.ac:20: -1- AC_SUBST([htmldir], ['${docdir}'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([htmldir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^htmldir$])
m4trace:configure.ac:20: -1- AC_SUBST([dvidir], ['${docdir}'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([dvidir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^dvidir$])
m4trace:configure.ac:20: -1- AC_SUBST([pdfdir], ['${docdir}'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([pdfdir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^pdfdir$])
m4trace:configure.ac:20: -1- AC_SUBST([psdir], ['${docdir}'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([psdir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^psdir$])
m4trace:configure.ac:20: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([libdir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^libdir$])
m4trace:configure.ac:20: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([localedir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^localedir$])
m4trace:configure.ac:20: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([mandir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^mandir$])
m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
@%:@undef PACKAGE_NAME])
m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
@%:@undef PACKAGE_TARNAME])
m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
@%:@undef PACKAGE_VERSION])
m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
@%:@undef PACKAGE_STRING])
m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
@%:@undef PACKAGE_BUGREPORT])
m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
@%:@undef PACKAGE_URL])
m4trace:configure.ac:20: -1- AC_SUBST([DEFS])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([DEFS])
m4trace:configure.ac:20: -1- m4_pattern_allow([^DEFS$])
m4trace:configure.ac:20: -1- AC_SUBST([ECHO_C])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([ECHO_C])
m4trace:configure.ac:20: -1- m4_pattern_allow([^ECHO_C$])
m4trace:configure.ac:20: -1- AC_SUBST([ECHO_N])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([ECHO_N])
m4trace:configure.ac:20: -1- m4_pattern_allow([^ECHO_N$])
m4trace:configure.ac:20: -1- AC_SUBST([ECHO_T])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([ECHO_T])
m4trace:configure.ac:20: -1- m4_pattern_allow([^ECHO_T$])
m4trace:configure.ac:20: -1- AC_SUBST([LIBS])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([LIBS])
m4trace:configure.ac:20: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.ac:20: -1- AC_SUBST([build_alias])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([build_alias])
m4trace:configure.ac:20: -1- m4_pattern_allow([^build_alias$])
m4trace:configure.ac:20: -1- AC_SUBST([host_alias])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([host_alias])
m4trace:configure.ac:20: -1- m4_pattern_allow([^host_alias$])
m4trace:configure.ac:20: -1- AC_SUBST([target_alias])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([target_alias])
m4trace:configure.ac:20: -1- m4_pattern_allow([^target_alias$])
m4trace:configure.ac:22: -1- AC_CONFIG_AUX_DIR([conftools])
m4trace:configure.ac:25: -1- AM_INIT_AUTOMAKE([1.9 tar-ustar foreign])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
m4trace:configure.ac:25: -1- AM_AUTOMAKE_VERSION([1.17])
m4trace:configure.ac:25: -1- AC_REQUIRE_AUX_FILE([install-sh])
m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_PROGRAM])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_SCRIPT])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_DATA])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_DATA])
m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_DATA$])
m4trace:configure.ac:25: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__isrc])
m4trace:configure.ac:25: -1- m4_pattern_allow([^am__isrc$])
m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([am__isrc])
m4trace:configure.ac:25: -1- AC_SUBST([CYGPATH_W])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([CYGPATH_W])
m4trace:configure.ac:25: -1- m4_pattern_allow([^CYGPATH_W$])
m4trace:configure.ac:25: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([PACKAGE])
m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE$])
m4trace:configure.ac:25: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([VERSION])
m4trace:configure.ac:25: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.ac:25: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE$])
m4trace:configure.ac:25: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
@%:@undef PACKAGE])
m4trace:configure.ac:25: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
m4trace:configure.ac:25: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.ac:25: -1- AH_OUTPUT([VERSION], [/* Version number of package */
@%:@undef VERSION])
m4trace:configure.ac:25: -1- AC_REQUIRE_AUX_FILE([missing])
m4trace:configure.ac:25: -1- AC_SUBST([ACLOCAL])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([ACLOCAL])
m4trace:configure.ac:25: -1- m4_pattern_allow([^ACLOCAL$])
m4trace:configure.ac:25: -1- AC_SUBST([AUTOCONF])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AUTOCONF])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOCONF$])
m4trace:configure.ac:25: -1- AC_SUBST([AUTOMAKE])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AUTOMAKE])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOMAKE$])
m4trace:configure.ac:25: -1- AC_SUBST([AUTOHEADER])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AUTOHEADER])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOHEADER$])
m4trace:configure.ac:25: -1- AC_SUBST([MAKEINFO])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([MAKEINFO])
m4trace:configure.ac:25: -1- m4_pattern_allow([^MAKEINFO$])
m4trace:configure.ac:25: -1- AC_SUBST([install_sh])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([install_sh])
m4trace:configure.ac:25: -1- m4_pattern_allow([^install_sh$])
m4trace:configure.ac:25: -1- AC_SUBST([STRIP])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([STRIP])
m4trace:configure.ac:25: -1- m4_pattern_allow([^STRIP$])
m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
m4trace:configure.ac:25: -1- AC_REQUIRE_AUX_FILE([install-sh])
m4trace:configure.ac:25: -1- AC_SUBST([MKDIR_P])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([MKDIR_P])
m4trace:configure.ac:25: -1- m4_pattern_allow([^MKDIR_P$])
m4trace:configure.ac:25: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([mkdir_p])
m4trace:configure.ac:25: -1- m4_pattern_allow([^mkdir_p$])
m4trace:configure.ac:25: -1- AC_SUBST([AWK])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AWK])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AWK$])
m4trace:configure.ac:25: -1- AC_SUBST([SET_MAKE])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([SET_MAKE])
m4trace:configure.ac:25: -1- m4_pattern_allow([^SET_MAKE$])
m4trace:configure.ac:25: -1- AC_SUBST([am__leading_dot])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__leading_dot])
m4trace:configure.ac:25: -1- m4_pattern_allow([^am__leading_dot$])
m4trace:configure.ac:25: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AMTAR])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AMTAR$])
m4trace:configure.ac:25: -1- AC_SUBST([am__tar])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__tar])
m4trace:configure.ac:25: -1- m4_pattern_allow([^am__tar$])
m4trace:configure.ac:25: -1- AC_SUBST([am__untar])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__untar])
m4trace:configure.ac:25: -1- m4_pattern_allow([^am__untar$])
m4trace:configure.ac:25: -1- AC_SUBST([CTAGS])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([CTAGS])
m4trace:configure.ac:25: -1- m4_pattern_allow([^CTAGS$])
m4trace:configure.ac:25: -1- AC_SUBST([ETAGS])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([ETAGS])
m4trace:configure.ac:25: -1- m4_pattern_allow([^ETAGS$])
m4trace:configure.ac:25: -1- AC_SUBST([CSCOPE])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([CSCOPE])
m4trace:configure.ac:25: -1- m4_pattern_allow([^CSCOPE$])
m4trace:configure.ac:25: -1- AC_SUBST([AM_V])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_V])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_V$])
m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_V])
m4trace:configure.ac:25: -1- AC_SUBST([AM_DEFAULT_V])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_DEFAULT_V])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_DEFAULT_V$])
m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
m4trace:configure.ac:25: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
m4trace:configure.ac:25: -1- AC_SUBST([AM_BACKSLASH])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_BACKSLASH])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_BACKSLASH$])
m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
m4trace:configure.ac:25: -1- AC_SUBST([am__rm_f_notfound])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__rm_f_notfound])
m4trace:configure.ac:25: -1- m4_pattern_allow([^am__rm_f_notfound$])
m4trace:configure.ac:25: -1- AC_SUBST([am__xargs_n])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__xargs_n])
m4trace:configure.ac:25: -1- m4_pattern_allow([^am__xargs_n$])
m4trace:configure.ac:29: -1- AC_SUBST([PERL])
m4trace:configure.ac:29: -1- AC_SUBST_TRACE([PERL])
m4trace:configure.ac:29: -1- m4_pattern_allow([^PERL$])
m4trace:configure.ac:30: -1- AC_SUBST([PERL])
m4trace:configure.ac:30: -1- AC_SUBST_TRACE([PERL])
m4trace:configure.ac:30: -1- m4_pattern_allow([^PERL$])
m4trace:configure.ac:31: -1- AC_SUBST([CURL])
m4trace:configure.ac:31: -1- AC_SUBST_TRACE([CURL])
m4trace:configure.ac:31: -1- m4_pattern_allow([^CURL$])
m4trace:configure.ac:32: -1- AC_SUBST([WGET])
m4trace:configure.ac:32: -1- AC_SUBST_TRACE([WGET])
m4trace:configure.ac:32: -1- m4_pattern_allow([^WGET$])
m4trace:configure.ac:44: -1- AC_SUBST([URL_CAT])
m4trace:configure.ac:44: -1- AC_SUBST_TRACE([URL_CAT])
m4trace:configure.ac:44: -1- m4_pattern_allow([^URL_CAT$])
m4trace:configure.ac:62: -1- AC_SUBST([SED])
m4trace:configure.ac:62: -1- AC_SUBST_TRACE([SED])
m4trace:configure.ac:62: -1- m4_pattern_allow([^SED$])
m4trace:configure.ac:63: -1- AC_SUBST([GREP])
m4trace:configure.ac:63: -1- AC_SUBST_TRACE([GREP])
m4trace:configure.ac:63: -1- m4_pattern_allow([^GREP$])
m4trace:configure.ac:64: -1- AC_SUBST([ECHO])
m4trace:configure.ac:64: -1- AC_SUBST_TRACE([ECHO])
m4trace:configure.ac:64: -1- m4_pattern_allow([^ECHO$])
m4trace:configure.ac:65: -1- AC_SUBST([LN])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([LN])
m4trace:configure.ac:65: -1- m4_pattern_allow([^LN$])
m4trace:configure.ac:66: -1- AC_SUBST([CP])
m4trace:configure.ac:66: -1- AC_SUBST_TRACE([CP])
m4trace:configure.ac:66: -1- m4_pattern_allow([^CP$])
m4trace:configure.ac:67: -1- AC_SUBST([RM])
m4trace:configure.ac:67: -1- AC_SUBST_TRACE([RM])
m4trace:configure.ac:67: -1- m4_pattern_allow([^RM$])
m4trace:configure.ac:68: -1- AC_SUBST([RMDIR])
m4trace:configure.ac:68: -1- AC_SUBST_TRACE([RMDIR])
m4trace:configure.ac:68: -1- m4_pattern_allow([^RMDIR$])
m4trace:configure.ac:69: -1- AC_SUBST([MKDIR])
m4trace:configure.ac:69: -1- AC_SUBST_TRACE([MKDIR])
m4trace:configure.ac:69: -1- m4_pattern_allow([^MKDIR$])
m4trace:configure.ac:70: -1- AC_SUBST([FIND])
m4trace:configure.ac:70: -1- AC_SUBST_TRACE([FIND])
m4trace:configure.ac:70: -1- m4_pattern_allow([^FIND$])
m4trace:configure.ac:71: -1- AC_SUBST([SENDMAIL])
m4trace:configure.ac:71: -1- AC_SUBST_TRACE([SENDMAIL])
m4trace:configure.ac:71: -1- m4_pattern_allow([^SENDMAIL$])
m4trace:configure.ac:72: -1- AC_SUBST([NROFF])
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([NROFF])
m4trace:configure.ac:72: -1- m4_pattern_allow([^NROFF$])
m4trace:configure.ac:74: -1- AC_SUBST([GMAKE])
m4trace:configure.ac:74: -1- AC_SUBST_TRACE([GMAKE])
m4trace:configure.ac:74: -1- m4_pattern_allow([^GMAKE$])
m4trace:configure.ac:75: -1- AC_SUBST([GMAKE])
m4trace:configure.ac:75: -1- AC_SUBST_TRACE([GMAKE])
m4trace:configure.ac:75: -1- m4_pattern_allow([^GMAKE$])
m4trace:configure.ac:86: -1- AC_SUBST([enable_pkgonly])
m4trace:configure.ac:86: -1- AC_SUBST_TRACE([enable_pkgonly])
m4trace:configure.ac:86: -1- m4_pattern_allow([^enable_pkgonly$])
m4trace:configure.ac:99: -1- AC_SUBST([HTDOCSDIR])
m4trace:configure.ac:99: -1- AC_SUBST_TRACE([HTDOCSDIR])
m4trace:configure.ac:99: -1- m4_pattern_allow([^HTDOCSDIR$])
m4trace:configure.ac:101: -1- AC_SUBST([PERL5LIB])
m4trace:configure.ac:101: -1- AC_SUBST_TRACE([PERL5LIB])
m4trace:configure.ac:101: -1- m4_pattern_allow([^PERL5LIB$])
m4trace:configure.ac:103: -1- AC_SUBST([PERL5LIB])
m4trace:configure.ac:103: -1- AC_SUBST_TRACE([PERL5LIB])
m4trace:configure.ac:103: -1- m4_pattern_allow([^PERL5LIB$])
m4trace:configure.ac:142: -1- AC_CONFIG_FILES([Makefile bin/Makefile doc/Makefile htdocs/Makefile etc/Makefile lib/Makefile thirdparty/Makefile etc/config.dist])
m4trace:configure.ac:144: -1- AC_SUBST([VERSION])
m4trace:configure.ac:144: -1- AC_SUBST_TRACE([VERSION])
m4trace:configure.ac:144: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.ac:146: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
m4trace:configure.ac:146: -1- m4_pattern_allow([^LIB@&t@OBJS$])
m4trace:configure.ac:146: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([LTLIBOBJS])
m4trace:configure.ac:146: -1- m4_pattern_allow([^LTLIBOBJS$])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([top_builddir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([top_build_prefix])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([srcdir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([abs_srcdir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([top_srcdir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([abs_top_srcdir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([builddir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([abs_builddir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([abs_top_builddir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([INSTALL])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([MKDIR_P])

353
autom4te.cache/traces.2 Normal file
View File

@@ -0,0 +1,353 @@
m4trace:configure.ac:20: -1- AC_INIT([smokeping], [2.9.0], [tobi@oetiker.ch])
m4trace:configure.ac:20: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.ac:20: -1- m4_pattern_forbid([_AC_])
m4trace:configure.ac:20: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section 'AC_LIBOBJ vs LIBOBJS'])
m4trace:configure.ac:20: -1- m4_pattern_allow([^AS_FLAGS$])
m4trace:configure.ac:20: -1- m4_pattern_forbid([^_?m4_])
m4trace:configure.ac:20: -1- m4_pattern_forbid([^dnl$])
m4trace:configure.ac:20: -1- m4_pattern_forbid([^_?AS_])
m4trace:configure.ac:20: -1- AC_SUBST([SHELL])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([SHELL])
m4trace:configure.ac:20: -1- m4_pattern_allow([^SHELL$])
m4trace:configure.ac:20: -1- AC_SUBST([PATH_SEPARATOR])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PATH_SEPARATOR$])
m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_NAME])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_STRING])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_URL])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.ac:20: -1- AC_SUBST([exec_prefix], [NONE])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([exec_prefix])
m4trace:configure.ac:20: -1- m4_pattern_allow([^exec_prefix$])
m4trace:configure.ac:20: -1- AC_SUBST([prefix], [NONE])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([prefix])
m4trace:configure.ac:20: -1- m4_pattern_allow([^prefix$])
m4trace:configure.ac:20: -1- AC_SUBST([program_transform_name], [s,x,x,])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([program_transform_name])
m4trace:configure.ac:20: -1- m4_pattern_allow([^program_transform_name$])
m4trace:configure.ac:20: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([bindir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^bindir$])
m4trace:configure.ac:20: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([sbindir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^sbindir$])
m4trace:configure.ac:20: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([libexecdir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^libexecdir$])
m4trace:configure.ac:20: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([datarootdir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^datarootdir$])
m4trace:configure.ac:20: -1- AC_SUBST([datadir], ['${datarootdir}'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([datadir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^datadir$])
m4trace:configure.ac:20: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([sysconfdir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^sysconfdir$])
m4trace:configure.ac:20: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([sharedstatedir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^sharedstatedir$])
m4trace:configure.ac:20: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([localstatedir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^localstatedir$])
m4trace:configure.ac:20: -1- AC_SUBST([runstatedir], ['${localstatedir}/run'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([runstatedir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^runstatedir$])
m4trace:configure.ac:20: -1- AC_SUBST([includedir], ['${prefix}/include'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([includedir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^includedir$])
m4trace:configure.ac:20: -1- AC_SUBST([oldincludedir], ['/usr/include'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([oldincludedir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^oldincludedir$])
m4trace:configure.ac:20: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
['${datarootdir}/doc/${PACKAGE}'])])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([docdir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^docdir$])
m4trace:configure.ac:20: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([infodir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^infodir$])
m4trace:configure.ac:20: -1- AC_SUBST([htmldir], ['${docdir}'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([htmldir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^htmldir$])
m4trace:configure.ac:20: -1- AC_SUBST([dvidir], ['${docdir}'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([dvidir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^dvidir$])
m4trace:configure.ac:20: -1- AC_SUBST([pdfdir], ['${docdir}'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([pdfdir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^pdfdir$])
m4trace:configure.ac:20: -1- AC_SUBST([psdir], ['${docdir}'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([psdir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^psdir$])
m4trace:configure.ac:20: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([libdir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^libdir$])
m4trace:configure.ac:20: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([localedir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^localedir$])
m4trace:configure.ac:20: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([mandir])
m4trace:configure.ac:20: -1- m4_pattern_allow([^mandir$])
m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
@%:@undef PACKAGE_NAME])
m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
@%:@undef PACKAGE_TARNAME])
m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
@%:@undef PACKAGE_VERSION])
m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
@%:@undef PACKAGE_STRING])
m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
@%:@undef PACKAGE_BUGREPORT])
m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
@%:@undef PACKAGE_URL])
m4trace:configure.ac:20: -1- AC_SUBST([DEFS])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([DEFS])
m4trace:configure.ac:20: -1- m4_pattern_allow([^DEFS$])
m4trace:configure.ac:20: -1- AC_SUBST([ECHO_C])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([ECHO_C])
m4trace:configure.ac:20: -1- m4_pattern_allow([^ECHO_C$])
m4trace:configure.ac:20: -1- AC_SUBST([ECHO_N])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([ECHO_N])
m4trace:configure.ac:20: -1- m4_pattern_allow([^ECHO_N$])
m4trace:configure.ac:20: -1- AC_SUBST([ECHO_T])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([ECHO_T])
m4trace:configure.ac:20: -1- m4_pattern_allow([^ECHO_T$])
m4trace:configure.ac:20: -1- AC_SUBST([LIBS])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([LIBS])
m4trace:configure.ac:20: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.ac:20: -1- AC_SUBST([build_alias])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([build_alias])
m4trace:configure.ac:20: -1- m4_pattern_allow([^build_alias$])
m4trace:configure.ac:20: -1- AC_SUBST([host_alias])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([host_alias])
m4trace:configure.ac:20: -1- m4_pattern_allow([^host_alias$])
m4trace:configure.ac:20: -1- AC_SUBST([target_alias])
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([target_alias])
m4trace:configure.ac:20: -1- m4_pattern_allow([^target_alias$])
m4trace:configure.ac:22: -1- AC_CONFIG_AUX_DIR([conftools])
m4trace:configure.ac:25: -1- AM_INIT_AUTOMAKE([1.9 tar-ustar foreign])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
m4trace:configure.ac:25: -1- AM_AUTOMAKE_VERSION([1.17])
m4trace:configure.ac:25: -1- AC_REQUIRE_AUX_FILE([install-sh])
m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_PROGRAM])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_SCRIPT])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_DATA])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_DATA])
m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_DATA$])
m4trace:configure.ac:25: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__isrc])
m4trace:configure.ac:25: -1- m4_pattern_allow([^am__isrc$])
m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([am__isrc])
m4trace:configure.ac:25: -1- AC_SUBST([CYGPATH_W])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([CYGPATH_W])
m4trace:configure.ac:25: -1- m4_pattern_allow([^CYGPATH_W$])
m4trace:configure.ac:25: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([PACKAGE])
m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE$])
m4trace:configure.ac:25: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([VERSION])
m4trace:configure.ac:25: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.ac:25: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE$])
m4trace:configure.ac:25: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
@%:@undef PACKAGE])
m4trace:configure.ac:25: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
m4trace:configure.ac:25: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.ac:25: -1- AH_OUTPUT([VERSION], [/* Version number of package */
@%:@undef VERSION])
m4trace:configure.ac:25: -1- AC_REQUIRE_AUX_FILE([missing])
m4trace:configure.ac:25: -1- AC_SUBST([ACLOCAL])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([ACLOCAL])
m4trace:configure.ac:25: -1- m4_pattern_allow([^ACLOCAL$])
m4trace:configure.ac:25: -1- AC_SUBST([AUTOCONF])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AUTOCONF])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOCONF$])
m4trace:configure.ac:25: -1- AC_SUBST([AUTOMAKE])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AUTOMAKE])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOMAKE$])
m4trace:configure.ac:25: -1- AC_SUBST([AUTOHEADER])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AUTOHEADER])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOHEADER$])
m4trace:configure.ac:25: -1- AC_SUBST([MAKEINFO])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([MAKEINFO])
m4trace:configure.ac:25: -1- m4_pattern_allow([^MAKEINFO$])
m4trace:configure.ac:25: -1- AC_SUBST([install_sh])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([install_sh])
m4trace:configure.ac:25: -1- m4_pattern_allow([^install_sh$])
m4trace:configure.ac:25: -1- AC_SUBST([STRIP])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([STRIP])
m4trace:configure.ac:25: -1- m4_pattern_allow([^STRIP$])
m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
m4trace:configure.ac:25: -1- AC_REQUIRE_AUX_FILE([install-sh])
m4trace:configure.ac:25: -1- AC_SUBST([MKDIR_P])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([MKDIR_P])
m4trace:configure.ac:25: -1- m4_pattern_allow([^MKDIR_P$])
m4trace:configure.ac:25: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([mkdir_p])
m4trace:configure.ac:25: -1- m4_pattern_allow([^mkdir_p$])
m4trace:configure.ac:25: -1- AC_SUBST([AWK])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AWK])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AWK$])
m4trace:configure.ac:25: -1- AC_SUBST([SET_MAKE])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([SET_MAKE])
m4trace:configure.ac:25: -1- m4_pattern_allow([^SET_MAKE$])
m4trace:configure.ac:25: -1- AC_SUBST([am__leading_dot])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__leading_dot])
m4trace:configure.ac:25: -1- m4_pattern_allow([^am__leading_dot$])
m4trace:configure.ac:25: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AMTAR])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AMTAR$])
m4trace:configure.ac:25: -1- AC_SUBST([am__tar])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__tar])
m4trace:configure.ac:25: -1- m4_pattern_allow([^am__tar$])
m4trace:configure.ac:25: -1- AC_SUBST([am__untar])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__untar])
m4trace:configure.ac:25: -1- m4_pattern_allow([^am__untar$])
m4trace:configure.ac:25: -1- AC_SUBST([CTAGS])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([CTAGS])
m4trace:configure.ac:25: -1- m4_pattern_allow([^CTAGS$])
m4trace:configure.ac:25: -1- AC_SUBST([ETAGS])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([ETAGS])
m4trace:configure.ac:25: -1- m4_pattern_allow([^ETAGS$])
m4trace:configure.ac:25: -1- AC_SUBST([CSCOPE])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([CSCOPE])
m4trace:configure.ac:25: -1- m4_pattern_allow([^CSCOPE$])
m4trace:configure.ac:25: -1- AC_SUBST([AM_V])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_V])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_V$])
m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_V])
m4trace:configure.ac:25: -1- AC_SUBST([AM_DEFAULT_V])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_DEFAULT_V])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_DEFAULT_V$])
m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
m4trace:configure.ac:25: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
m4trace:configure.ac:25: -1- AC_SUBST([AM_BACKSLASH])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_BACKSLASH])
m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_BACKSLASH$])
m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
m4trace:configure.ac:25: -1- AC_SUBST([am__rm_f_notfound])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__rm_f_notfound])
m4trace:configure.ac:25: -1- m4_pattern_allow([^am__rm_f_notfound$])
m4trace:configure.ac:25: -1- AC_SUBST([am__xargs_n])
m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__xargs_n])
m4trace:configure.ac:25: -1- m4_pattern_allow([^am__xargs_n$])
m4trace:configure.ac:29: -1- AC_SUBST([PERL])
m4trace:configure.ac:29: -1- AC_SUBST_TRACE([PERL])
m4trace:configure.ac:29: -1- m4_pattern_allow([^PERL$])
m4trace:configure.ac:30: -1- AC_SUBST([PERL])
m4trace:configure.ac:30: -1- AC_SUBST_TRACE([PERL])
m4trace:configure.ac:30: -1- m4_pattern_allow([^PERL$])
m4trace:configure.ac:31: -1- AC_SUBST([CURL])
m4trace:configure.ac:31: -1- AC_SUBST_TRACE([CURL])
m4trace:configure.ac:31: -1- m4_pattern_allow([^CURL$])
m4trace:configure.ac:32: -1- AC_SUBST([WGET])
m4trace:configure.ac:32: -1- AC_SUBST_TRACE([WGET])
m4trace:configure.ac:32: -1- m4_pattern_allow([^WGET$])
m4trace:configure.ac:44: -1- AC_SUBST([URL_CAT])
m4trace:configure.ac:44: -1- AC_SUBST_TRACE([URL_CAT])
m4trace:configure.ac:44: -1- m4_pattern_allow([^URL_CAT$])
m4trace:configure.ac:62: -1- AC_SUBST([SED])
m4trace:configure.ac:62: -1- AC_SUBST_TRACE([SED])
m4trace:configure.ac:62: -1- m4_pattern_allow([^SED$])
m4trace:configure.ac:63: -1- AC_SUBST([GREP])
m4trace:configure.ac:63: -1- AC_SUBST_TRACE([GREP])
m4trace:configure.ac:63: -1- m4_pattern_allow([^GREP$])
m4trace:configure.ac:64: -1- AC_SUBST([ECHO])
m4trace:configure.ac:64: -1- AC_SUBST_TRACE([ECHO])
m4trace:configure.ac:64: -1- m4_pattern_allow([^ECHO$])
m4trace:configure.ac:65: -1- AC_SUBST([LN])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([LN])
m4trace:configure.ac:65: -1- m4_pattern_allow([^LN$])
m4trace:configure.ac:66: -1- AC_SUBST([CP])
m4trace:configure.ac:66: -1- AC_SUBST_TRACE([CP])
m4trace:configure.ac:66: -1- m4_pattern_allow([^CP$])
m4trace:configure.ac:67: -1- AC_SUBST([RM])
m4trace:configure.ac:67: -1- AC_SUBST_TRACE([RM])
m4trace:configure.ac:67: -1- m4_pattern_allow([^RM$])
m4trace:configure.ac:68: -1- AC_SUBST([RMDIR])
m4trace:configure.ac:68: -1- AC_SUBST_TRACE([RMDIR])
m4trace:configure.ac:68: -1- m4_pattern_allow([^RMDIR$])
m4trace:configure.ac:69: -1- AC_SUBST([MKDIR])
m4trace:configure.ac:69: -1- AC_SUBST_TRACE([MKDIR])
m4trace:configure.ac:69: -1- m4_pattern_allow([^MKDIR$])
m4trace:configure.ac:70: -1- AC_SUBST([FIND])
m4trace:configure.ac:70: -1- AC_SUBST_TRACE([FIND])
m4trace:configure.ac:70: -1- m4_pattern_allow([^FIND$])
m4trace:configure.ac:71: -1- AC_SUBST([SENDMAIL])
m4trace:configure.ac:71: -1- AC_SUBST_TRACE([SENDMAIL])
m4trace:configure.ac:71: -1- m4_pattern_allow([^SENDMAIL$])
m4trace:configure.ac:72: -1- AC_SUBST([NROFF])
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([NROFF])
m4trace:configure.ac:72: -1- m4_pattern_allow([^NROFF$])
m4trace:configure.ac:74: -1- AC_SUBST([GMAKE])
m4trace:configure.ac:74: -1- AC_SUBST_TRACE([GMAKE])
m4trace:configure.ac:74: -1- m4_pattern_allow([^GMAKE$])
m4trace:configure.ac:75: -1- AC_SUBST([GMAKE])
m4trace:configure.ac:75: -1- AC_SUBST_TRACE([GMAKE])
m4trace:configure.ac:75: -1- m4_pattern_allow([^GMAKE$])
m4trace:configure.ac:86: -1- AC_SUBST([enable_pkgonly])
m4trace:configure.ac:86: -1- AC_SUBST_TRACE([enable_pkgonly])
m4trace:configure.ac:86: -1- m4_pattern_allow([^enable_pkgonly$])
m4trace:configure.ac:99: -1- AC_SUBST([HTDOCSDIR])
m4trace:configure.ac:99: -1- AC_SUBST_TRACE([HTDOCSDIR])
m4trace:configure.ac:99: -1- m4_pattern_allow([^HTDOCSDIR$])
m4trace:configure.ac:101: -1- AC_SUBST([PERL5LIB])
m4trace:configure.ac:101: -1- AC_SUBST_TRACE([PERL5LIB])
m4trace:configure.ac:101: -1- m4_pattern_allow([^PERL5LIB$])
m4trace:configure.ac:103: -1- AC_SUBST([PERL5LIB])
m4trace:configure.ac:103: -1- AC_SUBST_TRACE([PERL5LIB])
m4trace:configure.ac:103: -1- m4_pattern_allow([^PERL5LIB$])
m4trace:configure.ac:142: -1- AC_CONFIG_FILES([Makefile bin/Makefile doc/Makefile htdocs/Makefile etc/Makefile lib/Makefile thirdparty/Makefile etc/config.dist])
m4trace:configure.ac:144: -1- AC_SUBST([VERSION])
m4trace:configure.ac:144: -1- AC_SUBST_TRACE([VERSION])
m4trace:configure.ac:144: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.ac:146: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
m4trace:configure.ac:146: -1- m4_pattern_allow([^LIB@&t@OBJS$])
m4trace:configure.ac:146: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([LTLIBOBJS])
m4trace:configure.ac:146: -1- m4_pattern_allow([^LTLIBOBJS$])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([top_builddir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([top_build_prefix])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([srcdir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([abs_srcdir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([top_srcdir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([abs_top_srcdir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([builddir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([abs_builddir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([abs_top_builddir])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([INSTALL])
m4trace:configure.ac:146: -1- AC_SUBST_TRACE([MKDIR_P])

508
bin/Makefile Normal file
View File

@@ -0,0 +1,508 @@
# Makefile.in generated by automake 1.17 from Makefile.am.
# bin/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994-2024 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
# Copyright (C) 2011 Tobias Oetiker
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
false; \
elif test -n '$(MAKE_HOST)'; then \
true; \
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
true; \
else \
false; \
fi; \
}
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
am__rm_f = rm -f $(am__rm_f_notfound)
am__rm_rf = rm -rf $(am__rm_f_notfound)
pkgdatadir = $(datadir)/smokeping
pkgincludedir = $(includedir)/smokeping
pkglibdir = $(libdir)/smokeping
pkglibexecdir = $(libexecdir)/smokeping
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
subdir = bin
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(dist_bin_SCRIPTS) \
$(am__DIST_COMMON)
mkinstalldirs = $(install_sh) -d
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
{ test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && echo $$files | $(am__xargs_n) 40 $(am__rm_f); }; \
}
am__installdirs = "$(DESTDIR)$(bindir)"
SCRIPTS = $(dist_bin_SCRIPTS)
AM_V_P = $(am__v_P_$(V))
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_$(V))
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
am__v_at_0 = @
am__v_at_1 =
SOURCES =
DIST_SOURCES =
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
am__DIST_COMMON = $(srcdir)/Makefile.in
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' aclocal-1.17
AMTAR = $${TAR-tar}
AM_DEFAULT_VERBOSITY = 1
AUTOCONF = ${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' autoconf
AUTOHEADER = ${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' autoheader
AUTOMAKE = ${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' automake-1.17
AWK = mawk
CP = /usr/bin/cp
CSCOPE = cscope
CTAGS = ctags
CURL = /usr/bin/curl
CYGPATH_W = echo
DEFS = -DPACKAGE_NAME=\"smokeping\" -DPACKAGE_TARNAME=\"smokeping\" -DPACKAGE_VERSION=\"2.9.0\" -DPACKAGE_STRING=\"smokeping\ 2.9.0\" -DPACKAGE_BUGREPORT=\"tobi@oetiker.ch\" -DPACKAGE_URL=\"\" -DPACKAGE=\"smokeping\" -DVERSION=\"2.9.0\"
ECHO = /usr/bin/echo
ECHO_C =
ECHO_N = -n
ECHO_T =
ETAGS = etags
FIND = /usr/bin/find
GMAKE = /usr/bin/gmake
GREP = /usr/bin/grep
HTDOCSDIR = /usr/share/smokeping/www
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
LIBOBJS =
LIBS =
LN = /usr/bin/ln
LTLIBOBJS =
MAKEINFO = ${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' makeinfo
MKDIR = /usr/bin/mkdir
MKDIR_P = /usr/bin/mkdir -p
NROFF = /usr/bin/nroff
PACKAGE = smokeping
PACKAGE_BUGREPORT = tobi@oetiker.ch
PACKAGE_NAME = smokeping
PACKAGE_STRING = smokeping 2.9.0
PACKAGE_TARNAME = smokeping
PACKAGE_URL =
PACKAGE_VERSION = 2.9.0
PATH_SEPARATOR = :
PERL = /usr/bin/perl
PERL5LIB =
RM = /usr/bin/rm
RMDIR = /usr/bin/rmdir
SED = /usr/bin/sed
SENDMAIL = /usr/sbin/sendmail
SET_MAKE =
SHELL = /bin/bash
STRIP =
URL_CAT = /usr/bin/curl --location
VERSION = 2.9.0
WGET = /usr/bin/wget
abs_builddir = /root/smoke/smokeping-2.9.0/bin
abs_srcdir = /root/smoke/smokeping-2.9.0/bin
abs_top_builddir = /root/smoke/smokeping-2.9.0
abs_top_srcdir = /root/smoke/smokeping-2.9.0
am__leading_dot = .
am__rm_f_notfound =
am__tar = tar --format=ustar -chf - "$$tardir"
am__untar = tar -xf -
am__xargs_n = xargs -n
bindir = /usr/sbin
build_alias = x86_64-linux-gnu
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
enable_pkgonly =
exec_prefix = ${prefix}
host_alias =
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${prefix}/share/info
install_sh = ${SHELL} /root/smoke/smokeping-2.9.0/conftools/install-sh
libdir = /usr/share/perl5
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = /var
mandir = ${prefix}/share/man
mkdir_p = $(MKDIR_P)
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /usr
program_transform_name = s,x,x,
psdir = ${docdir}
runstatedir = /run
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = .
sysconfdir = /usr/share/doc/smokeping
target_alias =
top_build_prefix = ../
top_builddir = ..
top_srcdir = ..
dist_bin_SCRIPTS = smokeinfo smokeping smokeping_cgi tSmoke
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign bin/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign bin/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
install-dist_binSCRIPTS: $(dist_bin_SCRIPTS)
@$(NORMAL_INSTALL)
@list='$(dist_bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
$(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
done | \
sed -e 'p;s,.*/,,;n' \
-e 'h;s|.*|.|' \
-e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
if ($$2 == $$4) { files[d] = files[d] " " $$1; \
if (++n[d] == $(am__install_max)) { \
print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
else { print "f", d "/" $$4, $$1 } } \
END { for (d in files) print "f", d, files[d] }' | \
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
$(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
} \
; done
uninstall-dist_binSCRIPTS:
@$(NORMAL_UNINSTALL)
@list='$(dist_bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 's,.*/,,;$(transform)'`; \
dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
tags TAGS:
ctags CTAGS:
cscope cscopelist:
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am
distdir-am: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(SCRIPTS)
installdirs:
for dir in "$(DESTDIR)$(bindir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
distclean-generic:
-$(am__rm_f) $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic mostlyclean-am
distclean: distclean-am
-rm -f Makefile
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am:
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am: install-dist_binSCRIPTS
@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man:
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-dist_binSCRIPTS
.MAKE: install-am install-exec-am install-strip
.PHONY: all all-am check check-am clean clean-generic cscopelist-am \
ctags-am distclean distclean-generic distdir dvi dvi-am html \
html-am info info-am install install-am install-data \
install-data-am install-dist_binSCRIPTS install-dvi \
install-dvi-am install-exec install-exec-am install-exec-hook \
install-html install-html-am install-info install-info-am \
install-man install-pdf install-pdf-am install-ps \
install-ps-am install-strip installcheck installcheck-am \
installdirs maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
uninstall uninstall-am uninstall-dist_binSCRIPTS
.PRECIOUS: Makefile
install-exec-hook:
test "$(PERL5LIB)" = "" || cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{.*# PERL5LIB}{use lib (split /:/, q{$(PERL5LIB)}); # PERL5LIB}' $(dist_bin_SCRIPTS)
cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{.*# LIBDIR}{use lib qw($(libdir)); # LIBDIR}' $(dist_bin_SCRIPTS)
cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{^#!.*perl.*}{#!$(PERL)};' $(dist_bin_SCRIPTS)
# EOF
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
# Tell GNU make to disable its built-in pattern rules.
%:: %,v
%:: RCS/%,v
%:: RCS/%
%:: s.%
%:: SCCS/s.%

24
bin/Makefile.am Normal file
View File

@@ -0,0 +1,24 @@
# Copyright (C) 2011 Tobias Oetiker
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
dist_bin_SCRIPTS = smokeinfo smokeping smokeping_cgi tSmoke
install-exec-hook:
test "$(PERL5LIB)" = "" || cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{.*# PERL5LIB}{use lib (split /:/, q{$(PERL5LIB)}); # PERL5LIB}' $(dist_bin_SCRIPTS)
cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{.*# LIBDIR}{use lib qw($(libdir)); # LIBDIR}' $(dist_bin_SCRIPTS)
cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{^#!.*perl.*}{#!$(PERL)};' $(dist_bin_SCRIPTS)
# EOF

508
bin/Makefile.in Normal file
View File

@@ -0,0 +1,508 @@
# Makefile.in generated by automake 1.17 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2024 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
# Copyright (C) 2011 Tobias Oetiker
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
VPATH = @srcdir@
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
false; \
elif test -n '$(MAKE_HOST)'; then \
true; \
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
true; \
else \
false; \
fi; \
}
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
am__rm_f = rm -f $(am__rm_f_notfound)
am__rm_rf = rm -rf $(am__rm_f_notfound)
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
subdir = bin
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(dist_bin_SCRIPTS) \
$(am__DIST_COMMON)
mkinstalldirs = $(install_sh) -d
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
{ test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && echo $$files | $(am__xargs_n) 40 $(am__rm_f); }; \
}
am__installdirs = "$(DESTDIR)$(bindir)"
SCRIPTS = $(dist_bin_SCRIPTS)
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 =
SOURCES =
DIST_SOURCES =
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
am__DIST_COMMON = $(srcdir)/Makefile.in
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CP = @CP@
CSCOPE = @CSCOPE@
CTAGS = @CTAGS@
CURL = @CURL@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
ECHO = @ECHO@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
ETAGS = @ETAGS@
FIND = @FIND@
GMAKE = @GMAKE@
GREP = @GREP@
HTDOCSDIR = @HTDOCSDIR@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LN = @LN@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR = @MKDIR@
MKDIR_P = @MKDIR_P@
NROFF = @NROFF@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PERL = @PERL@
PERL5LIB = @PERL5LIB@
RM = @RM@
RMDIR = @RMDIR@
SED = @SED@
SENDMAIL = @SENDMAIL@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
URL_CAT = @URL_CAT@
VERSION = @VERSION@
WGET = @WGET@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
am__leading_dot = @am__leading_dot@
am__rm_f_notfound = @am__rm_f_notfound@
am__tar = @am__tar@
am__untar = @am__untar@
am__xargs_n = @am__xargs_n@
bindir = @bindir@
build_alias = @build_alias@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enable_pkgonly = @enable_pkgonly@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
dist_bin_SCRIPTS = smokeinfo smokeping smokeping_cgi tSmoke
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign bin/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign bin/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
install-dist_binSCRIPTS: $(dist_bin_SCRIPTS)
@$(NORMAL_INSTALL)
@list='$(dist_bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
$(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
done | \
sed -e 'p;s,.*/,,;n' \
-e 'h;s|.*|.|' \
-e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
if ($$2 == $$4) { files[d] = files[d] " " $$1; \
if (++n[d] == $(am__install_max)) { \
print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
else { print "f", d "/" $$4, $$1 } } \
END { for (d in files) print "f", d, files[d] }' | \
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
$(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
} \
; done
uninstall-dist_binSCRIPTS:
@$(NORMAL_UNINSTALL)
@list='$(dist_bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 's,.*/,,;$(transform)'`; \
dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
tags TAGS:
ctags CTAGS:
cscope cscopelist:
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am
distdir-am: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(SCRIPTS)
installdirs:
for dir in "$(DESTDIR)$(bindir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
distclean-generic:
-$(am__rm_f) $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic mostlyclean-am
distclean: distclean-am
-rm -f Makefile
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am:
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am: install-dist_binSCRIPTS
@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man:
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-dist_binSCRIPTS
.MAKE: install-am install-exec-am install-strip
.PHONY: all all-am check check-am clean clean-generic cscopelist-am \
ctags-am distclean distclean-generic distdir dvi dvi-am html \
html-am info info-am install install-am install-data \
install-data-am install-dist_binSCRIPTS install-dvi \
install-dvi-am install-exec install-exec-am install-exec-hook \
install-html install-html-am install-info install-info-am \
install-man install-pdf install-pdf-am install-ps \
install-ps-am install-strip installcheck installcheck-am \
installdirs maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
uninstall uninstall-am uninstall-dist_binSCRIPTS
.PRECIOUS: Makefile
install-exec-hook:
test "$(PERL5LIB)" = "" || cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{.*# PERL5LIB}{use lib (split /:/, q{$(PERL5LIB)}); # PERL5LIB}' $(dist_bin_SCRIPTS)
cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{.*# LIBDIR}{use lib qw($(libdir)); # LIBDIR}' $(dist_bin_SCRIPTS)
cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{^#!.*perl.*}{#!$(PERL)};' $(dist_bin_SCRIPTS)
# EOF
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
# Tell GNU make to disable its built-in pattern rules.
%:: %,v
%:: RCS/%,v
%:: RCS/%
%:: s.%
%:: SCCS/s.%

143
bin/smokeinfo Executable file
View File

@@ -0,0 +1,143 @@
#!/usr/bin/perl
use strict;
use warnings;
use lib (split /:/, q{}); # PERL5LIB
use FindBin;use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
use Smokeping::Info;
use Getopt::Long 2.25 qw(:config no_ignore_case);
use Pod::Usage 1.14;
'$Revision: 3879 $ ' =~ /Revision: (\S*)/;
my $Revision = $1;
sub main()
{
# parse options
my %opt = (mode=>'plain',separator=>';',format=>'%le',start=>'end-24h',end=>'now');
GetOptions(\%opt, 'help|h', 'man', 'version', 'noaction|no-action|n','no-head',
'start=s','end=s','filter=s','mode=s','separator=s','format=s') or exit(1);
if($opt{help}) { pod2usage(1) }
if($opt{man}) { pod2usage(-exitstatus => 0, -verbose => 2) }
if($opt{version}) { print "smokeinfo $Revision\n"; exit(0) }
if($opt{noaction}) { die "ERROR: don't know how to \"no-action\".\n" }
my $config = shift @ARGV;
my $si = Smokeping::Info->new($config);
my $nodes = $si->fetch_nodes(pattern=>$opt{filter},mode=>$opt{mode});
my @rows = qw(med_avg med_min med_max med_now loss_avg loss_max loss_now);
print '# ',join $opt{separator}, 'node_path',@rows if not $opt{'no-head'};
print "\n";
for my $node (@$nodes) {
my $data = $si->stat_node($node,$opt{start},$opt{end});
print join $opt{separator},$node->{path},map {defined $data->{$_} ? sprintf($opt{format},$data->{$_}) : '?'} @rows;
print "\n";
}
}
main;
__END__
=head1 NAME
smokeinfo - poll smokeping site for numeric information
=head1 SYNOPSIS
B<smokeinfo> path/to/config.cfg [I<options>]
--start x rrd graph start time. (default now-24h)
--end y rrd graph end time. (default now)
--filter pattern search pattern for node selection
--mode plain (default) how to use the pattern
- plain
- recursive
- regexp
--separator ; (default)
--format %le (default)
--no-head do not print a header
--man show man-page and exit
-h, --help display this help and exit
--version output version information and exit
=head1 DESCRIPTION
SmokeInfo is a simple frontend to the L<Smokeping::Info> module. It provides
access to numeric data stored in the rrd files.
Note that --start and --end are passed directly to rrd graph. This means
they work on the same syntax.
=head2 Examples
Get all data all nodes
smokeinfo etc/config
Only show nodes directly under /Customers
smokeinfo --filter=/Customers/ etc/config
Show all nodes under /Customers
smokeinfo --mode=recursive --filter=/Customers/ etc/config
Show all nodes with '_wlan_' in the name
smokeinfo --mode=regexp --filter=_wlan_ etc/config
=head1 SEE ALSO
L<smokeping(1)>
=head1 COPYRIGHT
Copyright (c) 2009 by OETIKER+PARTNER AG. All rights reserved.
=head1 LICENSE
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
=head1 AUTHOR
S<Tobi Oetiker E<lt>tobi@oetiker.chE<gt>>
=head1 HISTORY
2009-01-05 to Initial Version
=cut
# Emacs Configuration
#
# Local Variables:
# mode: cperl
# eval: (cperl-set-style "PerlStyle")
# mode: flyspell
# mode: flyspell-prog
# End:
#
# vi: sw=4 et

184
bin/smokeping Executable file
View File

@@ -0,0 +1,184 @@
#!/usr/bin/perl
# -*-perl-*-
use strict;
use warnings;
use FindBin;
use lib (split /:/, q{}); # PERL5LIB
use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
use Smokeping;
Smokeping::main("$FindBin::RealBin/../etc/config");
=head1 NAME
smokeping - Commandline tool for SmokePing
=head1 SYNOPSIS
B<smokeping> [ B<--email> | B<--makepod> | B<--version> | B<--restart> ]
Options:
--man[=x] Show the manpage for the program (or for probe x, if specified)
--help Help :-)
--email Send SmokePing Agents to all Targets marked DYNAMIC
--config=x Use a config file different from the default
--check Just check the config file syntax, don't start the daemon
--makepod[=x] Create POD documentation on Config file (or for probe x, if specified)
--version Show SmokePing Version
--debug Run Only once and do not Fork
--debug-daemon Start the daemon with debugging enabled
--restart Restart SmokePing
--reload Reload configuration in the running process without interrupting
any probes
--nodaemon Do no daemonize the process (no fork)
--filter=x Only measure entries which pass the filter x
--logfile=x Append warnings to logfile x.
--static[=x] Generates a static website in directory x. If x is left out,
pagedir from the config is used.
--nosleep For debugging you may want to run SmokePing without sleep interval
--gen-examples Generate the smokeping_examples document and example config files
(to be used while building inside the smokeping distribution)
With --check : check the syntax of the generated examples.
--master-url=s Run smokeping in slave mode. Attach to master for config.
--slave-name=s By default the slave will use whatever it thinks its name
is, when talking to its master. In some cases you may
probably want to override this.
--shared-secret=s File containing the shared secret for talking to the server.
--cache-dir=s Directory for temporary data storage when running in slave mode.
--pid-dir=s Directory for the PID file when running in slave mode.
(optional, defaults to --cache-dir)
=head1 DESCRIPTION
The B<smokeping> tool is the commandline part of the SmokePing system. Its
main function is to run as a daemon and send Pings to all the Targets you
have specified in the Config file. When you call B<smokeping> without
arguments it will start as a daemon and do its work.
If called with an argument, then further functions can be activated, as seen
in the Synopsis above. The B<--email> function is explained in the
documentation on the config file.
The B<--filter> option allows you to run the daemon on a big config file,
but have the config file filtered and only measure the entries that pass the
filter. This is useful for remote measurement. Run Smokeping with two
exclusive filters in two locations and rsync the rrds back to the webserver
host where you run the cgi. Filters act on the section names in the config
file. Multiple section names are concatenated with B</> like path names:
*** targets ***
+ A
....
+ B
...
++ C
This gives
/A
and
/B, /B/C
If I want to monitor /A my filter would look like this:
--filter=/A
Filters follow regular expression syntax. The are always anchored at the tip of the string.
by adding a B<!> to the front of the filter string you negate it. Matching entries will be excluded from monitoring.
Multiple B<--filter> arguments can be used to assemble complex filters:
--filter=/A --filter=/B
would include all the targets
--filter=/A --filter=/B --filter=!/B/C
would include all but /B/C.
The B<--makepod> does get used internally to produce the
L<documentation on the SmokePing configuration file|smokeping_config>.
Please refer to L<the installation document|smokeping_install> for detailed setup instructions.
=head1 SETUP
When installing SmokePing, this file has to be adjusted to fit your
local system. Three paths have to be entered.
One pointing to your B<rrdtool> installation
use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);
One pointing to the place where you have installed the SmokePing libraries
use lib qw(/home/oetiker/public_html/smokeping/lib);
The third path is the argument to the Smokeping::main command. It points to
the SmokePing configuration file.
use Smokeping;
Smokeping::main("/home/oetiker/.smokeping/config");
=head1 SEE ALSO
L<smokeping_config(5)>, L<smokeping_examples(5)>, L<smokeping_cgi(1)>,
L<tSmoke(1)>, L<smokeping_master_slave(7)>, L<smokeping_extend(7)>,
L<smokeping_install(7)>, L<smokeping_upgrade(7)>,
How to read the graphs https://oss.oetiker.ch/smokeping/doc/reading.en.html
=head1 COPYRIGHT
Copyright (c) 2002 by Tobias Oetiker. All right reserved.
=head1 LICENSE
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public
License along with this program; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
02139, USA.
=head1 AUTHOR
Tobias Oetiker E<lt>tobi@oetiker.chE<gt>
=cut

94
bin/smokeping_cgi Executable file
View File

@@ -0,0 +1,94 @@
#!/usr/bin/perl
# -*-perl-*-
use strict;
use warnings;
use FindBin;
use lib (split /:/, q{}); # PERL5LIB
use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
# don't bother with zombies
$SIG{CHLD} = 'IGNORE';
use CGI::Carp qw(fatalsToBrowser);
use Smokeping;
use CGI::Fast;
my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";
while (my $q = new CGI::Fast) {
Smokeping::cgi($cfg,$q);
}
=head1 NAME
smokeping_cgi - SmokePing webfrontend
=head1 OVERVIEW
This script acts as a 'website' for your SmokePing monitoring operation. It
presents the targets you are looking at in a tree structure and draws graphs
as they are required by people looking at the pages.
=head1 DESCRIPTION
To get B<smokeping_cgi> going, you need a webserver which allows you to run
CGI or better FastCGI scripts. The system must be setup so that the cgi
process is allowed to write to the image caching area as defined in the
config file.
This script runs fine as a normal CGI, B<BUT> it will appear to be very slow,
because it does a lot of things when starting up. So if the script has to be
started a fresh on every click, this is both slow and a tough thing for your
webserver. I therefore strongly recommend using FastCGI.
Please refer to the installation document for detailed setup instructions.
=head1 SETUP
There is a sample F<htdocs> directory in your smokeping installation root.
Copy its content to the place where your webserver expects its files. The
fcgi script shows the preferred method for running smokeping. You can also
run smokeping as a cgi. But make sure to still use the wrapper as exposing
ARGV to the webserver represents a security vulnerability you may rather not
want to deal with.
Adjust the paths in the script and you should be ready to go.
=head1 SEE ALSO
L<smokeping_config(5)>, L<smokeping(1)>, L<smokeping_install(7)>,
L<smokeping_upgrade(7)>
=head1 COPYRIGHT
Copyright (c) 2011 by Tobias Oetiker. All right reserved.
=head1 LICENSE
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public
License along with this program; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
02139, USA.
=head1 AUTHOR
Tobias Oetiker E<lt>tobi@oetiker.chE<gt>
=cut

570
bin/tSmoke Executable file
View File

@@ -0,0 +1,570 @@
#!/usr/bin/perl
#
#-----------------------------------------------
# tSmoke.pl
# Dan McGinn-Combs, Sep 2003
# tSmoke.v 0.4 2004/03 McGinn-Combs
#-----------------------------------------------
#
# Modified for Smokeping official distribution since 20050526
# Original README follows
#
# tSmoke.v04.README
# - added downtime report (--downtime)
# - a few tweaks to the calculations to ensure it's consistent
#
# tSmoke.v03.README
# - Initial Release
# - The script, started through cron, will cull through a config file and
# determine which hosts are down at a point in time (Morning report) and
# send out an smtp message to a mobile phone (for example).
#
# - It will also cull through the same config file and, using an included html
# file (small change to General section of the config file), send an html
# message which shows the availability over the past day, week, month
# and quarter.
#
# - It can also show detail data depending on the setting of
# command line option "detail".
#
# tSmoke.v02.README
# - Local testing version
#-----------------------------------------------
#
# 1) This program is run via CRON or the command line
# 2) It extracts RRD information from a smokeping config file
# 3) It pulls data from RRD files to determine if anything is offline, that is returning 0 PINGs
# 4) tSmoke reports status via an SMTP alert
# 5) tSmoke also generates an SMTP mail showing historical view of availability
#
# Many thanks to the following people for their help and guidance:
# Jim Horwath of Agere Systems Inc. for his examples and pointers to Spreadsheet::WriteExcel
# Frank Harper the author of SLAMon, a tool for tracking Service Level Agreements
# Tobias Oetiker, or course, the author of Smokeping, RRDTool and MRTG
#
use strict;
use warnings;
# We need to use
# -- Smokeping libraries
# -- RRDTool
# -- Getopt::Long
#
# Point the lib variables to your implementation
use lib (split /:/, q{}); # PERL5LIB
use FindBin;
use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
use Smokeping;
use Net::SMTP;
use Getopt::Long;
use Pod::Usage;
use RRDs;
# Point to your Smokeping config file
my $cfgfile = (shift @ARGV) || "$FindBin::Bin/../etc/config";
# global variables
my $cfg;
#this is designed to work on IPv4 only
my $havegetaddrinfo = 0;
# we want opts everywhere
my %opt;
#Hashes for the data
my (%Daily,%Weekly,%Monthly,%Quarterly); # the entries
my (%DailyC,%WeeklyC,%MonthlyC,%QuarterlyC); # a count of the entries
######################
### Moving Average ###
######################
# Just a reminder of how to do a moving average if you ever want to
# PREV,UN,<DS>,UN,1,<DS>,IF,PREV,IF,<DS>,UN,1,<DS>,IF,-,<WEIGHT>,*,A,UN,1,A,IF,+
# Change Log:
# DMC - Added Quarterly Status
# DMC - Added HTML mail reporting and consolidated functions
# DMC = Added an external HTML mail template, tMail
my $RCS_VERSION = '$id: tSmoke.v 0.4 2004/03 McGinn-Combs';
sub test_mail($) {
my $cfg = shift;
my $mail = <<"EOF";
Subject: tSmoke test
To: $cfg->{Alerts}{to}
This is a test mail with 'tSmoke --testmail'.
EOF
print "Sending a test mail to $cfg->{Alerts}{to} from $cfg->{Alerts}{from}...";
Smokeping::sendmail($cfg->{Alerts}{from}, $cfg->{Alerts}{to}, $mail);
print "done.\n";
};
sub morning_update($) {
# Send out a morning summary of devices that are down
my $cfg = shift;
my $Body = "";
my $TmpBody = "";
my $To = "";
if ( $opt{to} ) { $To = $opt{to}; } else { $To = $cfg->{Alerts}{to}; }
# Get a list of the existing RRD Files
my @rrds = split ( /\n/,list_rrds($cfg->{Targets},"","") );
my $Count = $#rrds + 1;
my $Down = 0;
foreach my $target (@rrds) {
my $Loss = 0;
my ($start,$step,$names,$data) = RRDs::fetch "$target","AVERAGE","--start","-300";
my $ERR=RRDs::error;
die "ERROR while reading $_: $ERR\n" if $ERR;
foreach my $line (@$data) {
$Loss += ( defined($$line[3]) ? $$line[3] : 0 );
}
$Down += 1 if $Loss == 0;
$target =~ s/^([a-zA-Z0-9]*\/)*//;
$target =~ s/.rrd//;
$target =~ s/\~(.*)/ from $1/ if $target =~ m/\~/;
$TmpBody .= "$target\n" if $Loss == 0;
}
$Body = <<MAIL_END;
Subject: Of $Count Hosts, $Down Down
To: $To
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-encoding: 8bit
MIME-Version: 1.0
Of $Count Hosts, $Down Down:
$TmpBody
MAIL_END
Smokeping::sendmail($cfg->{Alerts}{from},$To,$Body);
}
sub weekly_update($) {
# Send out a formatted HTML Table of the
# Previous Day, Week, Month and Quarter Availability
# Get a list of the existing RRD Files
my @rrds = split ( /\n/,list_rrds($cfg->{Targets},"","") );
my $To = "";
if ( $opt{to} ) { $To = $opt{to}; } else { $To = $cfg->{Alerts}{to}; }
my $Body ='';
# Calculations Based on the following:
# RRDs::graph "fake.png",
# '--start','-86400',
# '-end','-300',
# "DEF:loss=${rrd}:loss:AVERAGE",
# "CDEF:avail=loss,0,100,IF", or more precisely "CDEF:avail=loss,2,GE,0,100,IF"
# and adding in the check for unknown for systems just coming on line
# "CDEF:avail=loss,UN,0,loss,IF,$pings,GE,0,100,IF"
# Arbitrarily a loss of 10% of Pings means the system was down
my $pings = $cfg->{Database}{pings} * .1;
foreach my $target (@rrds) {
# Get an average Availability for each RRD file
my $ERR;
my ($DAverage,$Dxsize,$Dysize) = RRDs::graph "fake.png",
"--start","-86400",
"--end","-600",
"--step","1008",
"DEF:loss=$target:loss:AVERAGE",
"CDEF:avail=loss,UN,0,loss,IF,$pings,GE,0,100,IF",
"PRINT:avail:AVERAGE:%.2lf";
$ERR=RRDs::error;
die "ERROR while reading $_: $ERR\n" if $ERR;
my ($WAverage,$Wxsize,$Wysize) = RRDs::graph "fake.png",
"--start","-604800",
"--end","-600",
"--step","4320",
"DEF:loss=$target:loss:AVERAGE",
"CDEF:avail=loss,UN,0,loss,IF,$pings,GE,0,100,IF",
"PRINT:avail:AVERAGE:%.2lf";
$ERR=RRDs::error;
die "ERROR while reading $_: $ERR\n" if $ERR;
my ($MAverage,$Mxsize,$Mysize) = RRDs::graph "fake.png",
"--start","-2592000",
"--end","-600",
"--step","4320",
"DEF:loss=$target:loss:AVERAGE",
"CDEF:avail=loss,UN,0,loss,IF,$pings,GE,0,100,IF",
"PRINT:avail:AVERAGE:%.2lf";
$ERR=RRDs::error;
die "ERROR while reading $_: $ERR\n" if $ERR;
my ($QAverage,$Qxsize,$Qysize) = RRDs::graph "fake.png",
"--start","-7776000",
"--end","-600",
"--step","4320",
"DEF:loss=$target:loss:AVERAGE",
"CDEF:avail=loss,UN,0,loss,IF,$pings,GE,0,100,IF",
"PRINT:avail:AVERAGE:%.2lf";
$ERR=RRDs::error;
die "ERROR while reading $_: $ERR\n" if $ERR;
$target =~ s/$cfg->{General}{datadir}\///;
$target =~ s/.rrd//;
my @Path;
push @Path,split/\//,$target;
update_stats ( \@Path, @$DAverage[0], @$WAverage[0], @$MAverage[0], @$QAverage[0]);
}
# Prepare the e-mail message
$Body = <<MAIL_END;
Subject: IT System Availability
To: $To
Content-Type: text/html; charset=iso-8859-15
Content-Transfer-encoding: 8bit
MIME-Version: 1.0
MAIL_END
open tSMOKE, $cfg->{General}{tmail} or die "ERROR: can't read $cfg->{General}{tmail}\n";
while (<tSMOKE>){
my $Summary = Summary_Sheet();
s/<##SUMMARY##>/$Summary/ig;
my $Daily = DetailSheet(86400);
s/<##DAYDETAIL##>/$Daily/ig;
my $Weekly = DetailSheet(604800);
s/<##WEEKDETAIL##>/$Weekly/ig;
my $Monthly = DetailSheet(2592000);
s/<##MONTHDETAIL##>/$Monthly/ig;
my $Quarterly = DetailSheet(7776000);
s/<##QUARTERDETAIL##>/$Quarterly/ig;
$Body .= $_;
}
close tSMOKE;
Smokeping::sendmail($cfg->{Alerts}{from}, $To, $Body);
}
sub update_stats($$$$$);
sub update_stats($$$$$) {
# Update the uptime percentages in the Hash Arrays
my $Path = shift;
my $DAverage = shift;
my $WAverage = shift;
my $MAverage = shift;
my $QAverage = shift;
#Enter everything once as it exists
#Trim off the rightmost component (hostname) and reenter the code
#If there is only one component, this is the final level
#This is an average of averages
my $Ticket = join ( ".",@$Path);
$Daily { $Ticket } += $DAverage;
$Weekly { $Ticket } += $WAverage;
$Monthly { $Ticket } += $MAverage;
$Quarterly {$Ticket } += $QAverage;
$DailyC { $Ticket }++;
$WeeklyC { $Ticket }++;
$MonthlyC { $Ticket }++;
$QuarterlyC { $Ticket }++;
my $Length = @$Path;
@$Path = @$Path [ 0 .. $Length - 2 ];
update_stats(\@$Path,$DAverage,$WAverage,$MAverage,$QAverage) if $Length > 1;
}
sub Summary_Sheet() {
my $Body = '';
$Body .= "<table border='1' bordercolor=#111111>\n";
$Body .= "<tr>\n";
$Body .= "<td class ='appHeader' colspan='5'>IT Network Systems Availability Summary</td></tr>\n";
$Body .= "<tr>\n";
$Body .= "<td class ='appHeader' colspan='5'>Compiled: ". scalar(localtime) . "</td></tr>\n";
$Body .= "<tr>\n";
$Body .= "<td class = 'subhead' width='20%'>Service</td>
<td class = 'subhead' width='20%'>Past Quarter</td>
<td class = 'subhead' width='20%'>Past Month</td>
<td class = 'subhead' width='20%'>Past Week</td>
<td class = 'subhead' width='20%'>Past Day</td></tr>\n";
foreach (sort { $a cmp $b } keys %Monthly) {
next if ( $_ =~ /\./ );
# this is a major section heading
$Body .= "<tr>\n";
$Body .= "<td class = 'SubHead'>$_</td>";
$Body .= "<td class = 'Up99'>" . sprintf('%.2f',$Quarterly{$_}/$QuarterlyC{$_}) . "%</td>"
if $Quarterly{$_}/$QuarterlyC{$_} >= 99 ;
$Body .= "<td class = 'Up95'>" . sprintf('%.2f',$Quarterly{$_}/$QuarterlyC{$_}) . "%</td>"
if $Quarterly{$_}/$QuarterlyC{$_} > 95 and $Quarterly{$_}/$QuarterlyC{$_} < 99 ;
$Body .= "<td class = 'Up90'>" . sprintf('%.2f',$Quarterly{$_}/$QuarterlyC{$_}) . "%</td>"
if $Quarterly{$_}/$QuarterlyC{$_} > 90 and $Quarterly{$_}/$QuarterlyC{$_} < 95 ;
$Body .= "<td class = 'UpNo'>" . sprintf('%.2f',$Quarterly{$_}/$QuarterlyC{$_}) . "%</td>"
if $Quarterly{$_}/$QuarterlyC{$_} < 90 ;
$Body .= "<td class = 'Up99'>" . sprintf('%.2f',$Monthly{$_}/$MonthlyC{$_}) . "%</td>"
if $Monthly{$_}/$MonthlyC{$_} >= 99 ;
$Body .= "<td class = 'Up95'>" . sprintf('%.2f',$Monthly{$_}/$MonthlyC{$_}) . "%</td>"
if $Monthly{$_}/$MonthlyC{$_} > 95 and $Monthly{$_}/$MonthlyC{$_} < 99 ;
$Body .= "<td class = 'Up90'>" . sprintf('%.2f',$Monthly{$_}/$MonthlyC{$_}) . "%</td>"
if $Monthly{$_}/$MonthlyC{$_} > 90 and $Monthly{$_}/$MonthlyC{$_} < 95 ;
$Body .= "<td class = 'UpNo'>" . sprintf('%.2f',$Monthly{$_}/$MonthlyC{$_}) . "%</td>"
if $Monthly{$_}/$MonthlyC{$_} < 90 ;
$Body .= "<td class = 'Up99'>" . sprintf('%.2f',$Weekly{$_}/$WeeklyC{$_}) . "%</td>"
if $Weekly{$_}/$WeeklyC{$_} >= 99;
$Body .= "<td class = 'Up95'>" . sprintf('%.2f',$Weekly{$_}/$WeeklyC{$_}) . "%</td>"
if $Weekly{$_}/$WeeklyC{$_} > 95 and $Weekly{$_}/$WeeklyC{$_} < 99 ;
$Body .= "<td class = 'Up90'>" . sprintf('%.2f',$Weekly{$_}/$WeeklyC{$_}) . "%</td>"
if $Weekly{$_}/$WeeklyC{$_} > 90 and $Weekly{$_}/$WeeklyC{$_} < 95 ;
$Body .= "<td class = 'UpNo'>" . sprintf('%.2f',$Weekly{$_}/$WeeklyC{$_}) . "%</td>"
if $Weekly{$_}/$WeeklyC{$_} < 90 ;
$Body .= "<td class = 'Up99'>" . sprintf('%.2f',$Daily{$_}/$DailyC{$_}) . "%</td>"
if $Daily{$_}/$DailyC{$_} >= 99;
$Body .= "<td class = 'Up95'>" . sprintf('%.2f',$Daily{$_}/$DailyC{$_}) . "%</td>"
if $Daily{$_}/$DailyC{$_} > 95 and $Daily{$_}/$DailyC{$_} < 99 ;
$Body .= "<td class = 'Up90'>" . sprintf('%.2f',$Daily{$_}/$DailyC{$_}) . "%</td>"
if $Daily{$_}/$DailyC{$_} > 90 and $Daily{$_}/$DailyC{$_} < 95 ;
$Body .= "<td class = 'UpNo'>" . sprintf('%.2f',$Daily{$_}/$DailyC{$_}) . "%</td>"
if $Daily{$_}/$DailyC{$_} < 90 ;
$Body .= "</tr>\n";
}
$Body .= "</table>";
$Body .= "<P><P><P>\n";
$Body .= "<table border='1' bordercolor=#111111><tr><td class ='appHeader'>Legend:</td>\n";
$Body .= "<tr><td class = 'Up99'>if uptime > 99% then GREEN</td></tr>\n";
$Body .= "<tr><td class = 'Up95'>if uptime > 95% but < 99% then BLUE</td></tr>\n";
$Body .= "<tr><td class = 'Up90'>if uptime > 90% but < 95% then YELLOW</td></tr>\n";
$Body .= "<tr><td class = 'UpNo'>if uptime < 90% then RED</td></tr>\n";
$Body .= "</table>\n";
return $Body;
}
sub NumDots($) {
# Count the number of dots in a string
# There's probably a better way to do this
my $DNA = shift;
my $a = 0;
while($DNA =~ /\./ig){$a++}
return $a
}
sub DetailSheet($) {
# Populate the table with details depending on the value of %opts{detail}
my $Seconds = shift;
my $Body = '';
return '' unless $opt{detail};
# Monthly/Weekly/Daily
$Body .= "<table border='1' bordercolor=#111111>\n";
$Body .= "<tr>\n";
$Body .= "<td class ='appHeader' colspan='3'>IT Network Systems Availability Previous " . $Seconds/86400 . " Day(s)</td></tr>\n";
$Body .= "<tr>\n";
$Body .= "<td class ='appHeader' colspan='3'>Compiled: ". scalar(localtime) . "</td></tr>\n";
$Body .= "<tr>\n";
$Body .= "<td class = 'SubHead' width='40%'>Service</td>
<td class = 'SubHead' width='30%'>Seconds</td>
<td class = 'SubHead' width='30%'>Percent</td></tr>\n";
my %CornBeef;
my %CornBeefC;
CASE: {
%CornBeef = %Daily, %CornBeefC = %DailyC, print "Doing Daily\n", last CASE if $Seconds == 86400;
%CornBeef = %Weekly, %CornBeefC = %WeeklyC, print "Doing Weekly\n", last CASE if $Seconds == 604800;
%CornBeef = %Monthly, %CornBeefC = %MonthlyC, print "Doing Monthly\n", last CASE if $Seconds == 2592000;
%CornBeef = %Quarterly, %CornBeefC = %QuarterlyC, print "Doing Quarterly\n", last CASE if $Seconds == 7776000;
} # end of CASE block
foreach (sort { $a cmp $b } keys %CornBeef ) {
next if NumDots ($_) > $opt{detail};
if ( $_ =~ /\./ ) {
#this is a sub section
$Body .= "<tr>\n";
$Body .= "<td class = 'SubSubHead'>$_</td>\n";
$Body .= "<td class = 'SubDetail'>" . sprintf('%.0f',(100 - $CornBeef{$_} / $CornBeefC{$_}) * ($Seconds/100)) . "</td>\n";
$Body .= "<td class = 'SubDetail'>" . sprintf('%.2f',$CornBeef{$_} / $CornBeefC{$_}) . "%</td>\n";
$Body .= "</tr>\n";
} else {
# this is a non-sub section
$Body .= "<tr>\n";
$Body .= "<td class = 'SubHead'>" . $_ . "</td>\n";
$Body .= "<td class = 'SubDetail'>" . sprintf('%.0f',(100 - $CornBeef{$_} / $CornBeefC{$_}) * ($Seconds/100)) . "</td>\n";
$Body .= "<td class = 'SubDetail'>" . sprintf('%.2f',$CornBeef{$_} / $CornBeefC{$_}) . "%</td>\n";
$Body .= "</tr>";
}
}
$Body .= "</table>\n";
return $Body;
}
sub list_rrds($$$$$);
sub list_rrds($$$$$) {
# List the RRD's used by this configuration
my $tree = shift;
my $path = shift;
my $print = shift;
my $slaves = shift;
my $nomasterpoll = shift;
my $prline = '';
if ( $opt{slaves} ) {
$slaves = $tree->{slaves} if exists( $tree->{slaves} );
} else {
$slaves = '';
}
$nomasterpoll = $tree->{nomasterpoll} if exists ( $tree->{nomasterpoll} );
foreach my $rrds (keys %{$tree}) {
if (ref $tree->{$rrds} eq 'HASH'){
$prline .= list_rrds( $tree->{$rrds}, $path."/$rrds", $print, $slaves, $nomasterpoll );
}
if ($rrds eq 'host' and $tree->{$rrds} !~ m|/| ) {
if ( exists( $opt{slaves} ) && $slaves ) {
foreach( split( /\s+/, $slaves ) ) {
my $tslave = $_;
$prline .= "$cfg->{General}{datadir}$path~$tslave".".rrd\n"
if $opt{slaves} eq '' || grep( $tslave, split( ',', $opt{slaves} ) );
}
$prline .= "$cfg->{General}{datadir}$path".".rrd\n" unless $nomasterpoll;
} else {
$prline .= "$cfg->{General}{datadir}$path".".rrd\n";
}
}
}
return $prline;
}
sub load_cfg ($) {
my $cfgfile = shift;
# my $parser = get_parser;
my $parser = Smokeping::get_parser;
$cfg = Smokeping::get_config $parser, $cfgfile;
}
###########################################################################
# The Main Program
###########################################################################
sub main($);
main($cfgfile);
sub main ($) {
umask 022;
my $cfgfile = shift;
my $sendto;
GetOptions(\%opt, 'quiet','version','testmail','listrrds','to=s','detail=n','morning','weekly','help','man','slaves:s') or pod2usage(2);
if($opt{version}) { print "$RCS_VERSION\n"; exit(0) };
if($opt{help}) { pod2usage(-verbose => 1); exit 0 };
if($opt{man}) { pod2usage(-verbose => 2); exit 0 };
load_cfg $cfgfile;
print "tSmoke for network managed by $cfg->{General}{owner}\nat $cfg->{General}{contact}\n(c) 2003 Dan McGinn-Combs\n" unless $opt{quiet};
if($opt{testmail}) { test_mail($cfg) };
if($opt{listrrds}) { print "List of Round Robin Databases used by this implementation\n";
my @rrds = split ( /\n/,list_rrds($cfg->{Targets},"","","","") );
foreach (@rrds) {
print "RRD: $_\n"; };
}
if($opt{morning}) { morning_update($cfg) };
if($opt{weekly}) { weekly_update($cfg) };
exit 0;
}
=head1 NAME
tSmoke - Commandline tool for sending SmokePing information
=head1 SYNOPSIS
B<tSmoke> [ B<--testmail> | B<--morning> | B<--weekly> | B<--version> | B<--help> | B<--man> | B<--slaves> ]
Options:
--man Show the manpage
--help Help :-)
--version Show SmokePing Version
--testmail Send a test message
--listrrds List the RRDs used by this Smokeping
--morning Send a morning synopsis
--weekly Send a weekly status report
--to E-mail address to send message (i.e. '--to=xyz@company.com.invalid'
--detail How much detail to send in weekly report (i.e. '--detail=1')
--quiet Do not print welcome
--slaves Enable slave support assumes all slaves unless csv list of slaves
is added (i.e. '--slaves' or '--slaves=slave1[,slave2...]')
=head1 DESCRIPTION
The B<tSmoke> tool is a commandline tool which interfaces with the SmokePing system.
Its main function is to send a message indicating the current status of the systems
being monitored by Smokeping or an HTML mail file containing the status over the past day,
past week and past month including an overview.
Typical crontab used to invoke this are
# Quick morning alert to see what's down
0 6 * * * /usr/local/smokeping/bin/tSmoke.pl --q --to=mobilephone@att.net.invalid --morning
# Weekly report on the percent availability of network systems with no detail
0 8 * * * /usr/local/smokeping/bin/tSmoke.pl --q --to=mailbox@company.com.invalid --weekly --detail=0
=head1 SETUP
When installing tSmoke, some variables must be adjusted to fit your local system.
We need to use the following B<libraries>:
=over
=item Smokeping
=item RRDTool Perl bindings
=item Getopt::Long
=back
Set up your libraries:
use lib "/usr/local/smokeping/lib";
use lib "/usr/local/rrdtool-1.0.39/lib/perl";
Point to your Smokeping B<config> file
my $cfgfile = "/usr/local/smokeping/etc/config";
Modify the Smokeping config file to include a path for tmail in the
General section:
tmail = /usr/local/smokeping/etc/tmail
=head1 SEE ALSO
L<smokeping(1)>, L<smokeping_config(5)>
=head1 COPYRIGHT
Copyright (c) 2003 by Dan McGinn-Combs. All right reserved.
=head1 LICENSE
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public
License along with this program; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
02139, USA.
=head1 AUTHOR
Dan McGinn-Combs E<lt>d.mcginn-combs@mindspring.comE<gt>
Modified for Smokeping official distribution by Niko Tyni E<lt>ntyni@iki.fiE<gt>
=cut

324
config.log Normal file
View File

@@ -0,0 +1,324 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by smokeping configure 2.9.0, which was
generated by GNU Autoconf 2.72. Invocation command line was
$ ./configure --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --with-htdocs-dir=/usr/share/smokeping/www --bindir=/usr/sbin --sysconfdir=/usr/share/doc/smokeping/ --libdir=/usr/share/perl5
## --------- ##
## Platform. ##
## --------- ##
hostname = debian13-template
uname -m = x86_64
uname -r = 6.12.38+deb13-amd64
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC Debian 6.12.38-1 (2025-07-16)
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1743: looking for aux files: missing install-sh
configure:1756: trying ./conftools/
configure:1785: ./conftools/missing found
configure:1767: ./conftools/install-sh found
configure:1919: checking for a BSD-compatible install
configure:1993: result: /usr/bin/install -c
configure:2004: checking whether sleep supports fractional seconds
configure:2020: result: yes
configure:2023: checking filesystem timestamp resolution
configure:2158: result: 0.01
configure:2163: checking whether build environment is sane
configure:2204: result: yes
configure:2375: checking for a race-free mkdir -p
configure:2418: result: /usr/bin/mkdir -p
configure:2425: checking for gawk
configure:2461: result: no
configure:2425: checking for mawk
configure:2446: found /usr/bin/mawk
configure:2458: result: mawk
configure:2469: checking whether make sets $(MAKE)
configure:2493: result: yes
configure:2519: checking whether make supports nested variables
configure:2538: result: yes
configure:2552: checking xargs -n works
configure:2568: result: yes
configure:2653: checking whether UID '0' is supported by ustar format
configure:2659: result: yes
configure:2666: checking whether GID '0' is supported by ustar format
configure:2672: result: yes
configure:2680: checking how to create a ustar tar archive
configure:2691: tar --version
tar (GNU tar) 1.35
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
configure:2694: $? = 0
configure:2734: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:2737: $? = 0
configure:2741: tar -xf - <conftest.tar
configure:2744: $? = 0
configure:2746: cat conftest.dir/file
GrepMe
configure:2749: $? = 0
configure:2764: result: gnutar
configure:2796: checking for perl
configure:2819: found /usr/bin/perl
configure:2833: result: /usr/bin/perl
configure:2843: checking for curl
configure:2866: found /usr/bin/curl
configure:2880: result: /usr/bin/curl
configure:2890: checking for wget
configure:2913: found /usr/bin/wget
configure:2927: result: /usr/bin/wget
configure:2951: checking for perl version greater than or equal to 5.10.1
configure:2959: result: ok
configure:2969: checking for sed
configure:2992: found /usr/bin/sed
configure:3006: result: /usr/bin/sed
configure:3016: checking for grep
configure:3039: found /usr/bin/grep
configure:3053: result: /usr/bin/grep
configure:3063: checking for echo
configure:3086: found /usr/bin/echo
configure:3100: result: /usr/bin/echo
configure:3110: checking for ln
configure:3133: found /usr/bin/ln
configure:3147: result: /usr/bin/ln
configure:3157: checking for cp
configure:3180: found /usr/bin/cp
configure:3194: result: /usr/bin/cp
configure:3204: checking for rm
configure:3227: found /usr/bin/rm
configure:3241: result: /usr/bin/rm
configure:3251: checking for rmdir
configure:3274: found /usr/bin/rmdir
configure:3288: result: /usr/bin/rmdir
configure:3298: checking for mkdir
configure:3321: found /usr/bin/mkdir
configure:3335: result: /usr/bin/mkdir
configure:3345: checking for find
configure:3368: found /usr/bin/find
configure:3382: result: /usr/bin/find
configure:3392: checking for sendmail
configure:3416: found /usr/sbin/sendmail
configure:3430: result: /usr/sbin/sendmail
configure:3442: checking for gnroff
configure:3481: result: no
configure:3442: checking for nroff
configure:3465: found /usr/bin/nroff
configure:3478: result: /usr/bin/nroff
configure:3495: checking for gnumake
configure:3534: result: no
configure:3495: checking for gmake
configure:3518: found /usr/bin/gmake
configure:3531: result: /usr/bin/gmake
configure:3543: checking checking for gnu make availability
configure:3546: result: /usr/bin/gmake is GNU make
configure:3587: checking checking for RRDs perl module
configure:3590: result: Ok
configure:3763: checking that generated files are newer than configure
configure:3769: result: done
configure:3789: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by smokeping config.status 2.9.0, which was
generated by GNU Autoconf 2.72. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on debian13-template
config.status:770: creating Makefile
config.status:770: creating bin/Makefile
config.status:770: creating doc/Makefile
config.status:770: creating htdocs/Makefile
config.status:770: creating etc/Makefile
config.status:770: creating lib/Makefile
config.status:770: creating thirdparty/Makefile
config.status:770: creating etc/config.dist
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_GMAKE_set=
ac_cv_env_GMAKE_value=
ac_cv_env_PERL5LIB_set=
ac_cv_env_PERL5LIB_value=
ac_cv_env_PERL_set=
ac_cv_env_PERL_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-linux-gnu
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_CP=/usr/bin/cp
ac_cv_path_CURL=/usr/bin/curl
ac_cv_path_ECHO=/usr/bin/echo
ac_cv_path_FIND=/usr/bin/find
ac_cv_path_GMAKE=/usr/bin/gmake
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_LN=/usr/bin/ln
ac_cv_path_MKDIR=/usr/bin/mkdir
ac_cv_path_NROFF=/usr/bin/nroff
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_RM=/usr/bin/rm
ac_cv_path_RMDIR=/usr/bin/rmdir
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_SENDMAIL=/usr/sbin/sendmail
ac_cv_path_WGET=/usr/bin/wget
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_make_make_set=yes
am_cv_filesystem_timestamp_resolution=0.01
am_cv_make_support_nested_variables=yes
am_cv_prog_tar_ustar=gnutar
am_cv_sleep_fractional_seconds=yes
am_cv_xargs_n_works=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} '\''/root/smoke/smokeping-2.9.0/conftools/missing'\'' aclocal-1.17'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} '\''/root/smoke/smokeping-2.9.0/conftools/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/root/smoke/smokeping-2.9.0/conftools/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/root/smoke/smokeping-2.9.0/conftools/missing'\'' automake-1.17'
AWK='mawk'
CP='/usr/bin/cp'
CSCOPE='cscope'
CTAGS='ctags'
CURL='/usr/bin/curl'
CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=\"smokeping\" -DPACKAGE_TARNAME=\"smokeping\" -DPACKAGE_VERSION=\"2.9.0\" -DPACKAGE_STRING=\"smokeping\ 2.9.0\" -DPACKAGE_BUGREPORT=\"tobi@oetiker.ch\" -DPACKAGE_URL=\"\" -DPACKAGE=\"smokeping\" -DVERSION=\"2.9.0\"'
ECHO='/usr/bin/echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ETAGS='etags'
FIND='/usr/bin/find'
GMAKE='/usr/bin/gmake'
GREP='/usr/bin/grep'
HTDOCSDIR='/usr/share/smokeping/www'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LIBOBJS=''
LIBS=''
LN='/usr/bin/ln'
LTLIBOBJS=''
MAKEINFO='${SHELL} '\''/root/smoke/smokeping-2.9.0/conftools/missing'\'' makeinfo'
MKDIR='/usr/bin/mkdir'
MKDIR_P='/usr/bin/mkdir -p'
NROFF='/usr/bin/nroff'
PACKAGE='smokeping'
PACKAGE_BUGREPORT='tobi@oetiker.ch'
PACKAGE_NAME='smokeping'
PACKAGE_STRING='smokeping 2.9.0'
PACKAGE_TARNAME='smokeping'
PACKAGE_URL=''
PACKAGE_VERSION='2.9.0'
PATH_SEPARATOR=':'
PERL5LIB=''
PERL='/usr/bin/perl'
RM='/usr/bin/rm'
RMDIR='/usr/bin/rmdir'
SED='/usr/bin/sed'
SENDMAIL='/usr/sbin/sendmail'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
URL_CAT='/usr/bin/curl --location'
VERSION='2.9.0'
WGET='/usr/bin/wget'
am__isrc=''
am__leading_dot='.'
am__rm_f_notfound=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
am__xargs_n='xargs -n'
bindir='/usr/sbin'
build_alias='x86_64-linux-gnu'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_pkgonly=''
exec_prefix='${prefix}'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
install_sh='${SHELL} /root/smoke/smokeping-2.9.0/conftools/install-sh'
libdir='/usr/share/perl5'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${prefix}/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/usr/share/doc/smokeping'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "smokeping"
#define PACKAGE_TARNAME "smokeping"
#define PACKAGE_VERSION "2.9.0"
#define PACKAGE_STRING "smokeping 2.9.0"
#define PACKAGE_BUGREPORT "tobi@oetiker.ch"
#define PACKAGE_URL ""
#define PACKAGE "smokeping"
#define VERSION "2.9.0"
configure: exit 0

948
config.status Executable file
View File

@@ -0,0 +1,948 @@
#! /bin/bash
# Generated by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.
debug=false
ac_cs_recheck=false
ac_cs_silent=false
SHELL=${CONFIG_SHELL-/bin/bash}
export SHELL
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
emulate sh
NULLCMD=:
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else case e in #(
e) case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
esac ;;
esac
fi
# Reset variables that may have inherited troublesome values from
# the environment.
# IFS needs to be set, to space, tab, and newline, in precisely that order.
# (If _AS_PATH_WALK were called with IFS unset, it would have the
# side effect of setting IFS to empty, thus disabling word splitting.)
# Quoting is to prevent editors from complaining about space-tab.
as_nl='
'
export as_nl
IFS=" "" $as_nl"
PS1='$ '
PS2='> '
PS4='+ '
# Ensure predictable behavior from utilities with locale-dependent output.
LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE
# We cannot yet rely on "unset" to work, but we need these variables
# to be unset--not just set to an empty or harmless value--now, to
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
# also avoids known problems related to "unset" and subshell syntax
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
do eval test \${$as_var+y} \
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
done
# Ensure that fds 0, 1, and 2 are open.
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
# The user is always right.
if ${PATH_SEPARATOR+false} :; then
PATH_SEPARATOR=:
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
PATH_SEPARATOR=';'
}
fi
# Find who we are. Look in the path if we contain no directory separator.
as_myself=
case $0 in #((
*[\\/]* ) as_myself=$0 ;;
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
test -r "$as_dir$0" && as_myself=$as_dir$0 && break
done
IFS=$as_save_IFS
;;
esac
# We did not find ourselves, most probably we were run as 'sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
fi
if test ! -f "$as_myself"; then
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
exit 1
fi
# as_fn_error STATUS ERROR [LINENO LOG_FD]
# ----------------------------------------
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
# script with STATUS, using 1 if that was 0.
as_fn_error ()
{
as_status=$1; test $as_status -eq 0 && as_status=1
if test "$4"; then
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
fi
printf "%s\n" "$as_me: error: $2" >&2
as_fn_exit $as_status
} # as_fn_error
# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
as_fn_set_status ()
{
return $1
} # as_fn_set_status
# as_fn_exit STATUS
# -----------------
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
as_fn_exit ()
{
set +e
as_fn_set_status $1
exit $1
} # as_fn_exit
# as_fn_unset VAR
# ---------------
# Portably unset VAR.
as_fn_unset ()
{
{ eval $1=; unset $1;}
}
as_unset=as_fn_unset
# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
# advantage of any shell optimizations that allow amortized linear growth over
# repeated appends, instead of the typical quadratic growth present in naive
# implementations.
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
then :
eval 'as_fn_append ()
{
eval $1+=\$2
}'
else case e in #(
e) as_fn_append ()
{
eval $1=\$$1\$2
} ;;
esac
fi # as_fn_append
# as_fn_arith ARG...
# ------------------
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
then :
eval 'as_fn_arith ()
{
as_val=$(( $* ))
}'
else case e in #(
e) as_fn_arith ()
{
as_val=`expr "$@" || test $? -eq 1`
} ;;
esac
fi # as_fn_arith
if expr a : '\(a\)' >/dev/null 2>&1 &&
test "X`expr 00001 : '.*\(...\)'`" = X001; then
as_expr=expr
else
as_expr=false
fi
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
as_basename=basename
else
as_basename=false
fi
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
as_dirname=dirname
else
as_dirname=false
fi
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
/^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits
# Determine whether it's possible to make 'echo' print without a newline.
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
# for compatibility with existing Makefiles.
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
case `echo 'xy\c'` in
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
xy) ECHO_C='\c';;
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
ECHO_T=' ';;
esac;;
*)
ECHO_N='-n';;
esac
# For backward compatibility with old third-party macros, we provide
# the shell variables $as_echo and $as_echo_n. New code should use
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
as_echo='printf %s\n'
as_echo_n='printf %s'
rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
rm -f conf$$.dir/conf$$.file
else
rm -f conf$$.dir
mkdir conf$$.dir 2>/dev/null
fi
if (echo >conf$$.file) 2>/dev/null; then
if ln -s conf$$.file conf$$ 2>/dev/null; then
as_ln_s='ln -s'
# ... but there are two gotchas:
# 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
# In both cases, we have to default to 'cp -pR'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
as_ln_s='cp -pR'
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
as_ln_s='cp -pR'
fi
else
as_ln_s='cp -pR'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
# as_fn_mkdir_p
# -------------
# Create "$as_dir" as a directory, including parents if necessary.
as_fn_mkdir_p ()
{
case $as_dir in #(
-*) as_dir=./$as_dir;;
esac
test -d "$as_dir" || eval $as_mkdir_p || {
as_dirs=
while :; do
case $as_dir in #(
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
*) as_qdir=$as_dir;;
esac
as_dirs="'$as_qdir' $as_dirs"
as_dir=`$as_dirname -- "$as_dir" ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X"$as_dir" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
test -d "$as_dir" && break
done
test -z "$as_dirs" || eval "mkdir $as_dirs"
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
} # as_fn_mkdir_p
if mkdir -p . 2>/dev/null; then
as_mkdir_p='mkdir -p "$as_dir"'
else
test -d ./-p && rmdir ./-p
as_mkdir_p=false
fi
# as_fn_executable_p FILE
# -----------------------
# Test if FILE is an executable regular file.
as_fn_executable_p ()
{
test -f "$1" && test -x "$1"
} # as_fn_executable_p
as_test_x='test -x'
as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name.
as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
# Sed expression to map a string onto a valid variable name.
as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
as_tr_sh="eval sed '$as_sed_sh'" # deprecated
exec 6>&1
## ----------------------------------- ##
## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ##
# Save the log message, to keep $0 and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by smokeping $as_me 2.9.0, which was
generated by GNU Autoconf 2.72. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
CONFIG_LINKS = $CONFIG_LINKS
CONFIG_COMMANDS = $CONFIG_COMMANDS
$ $0 $@
on `(hostname || uname -n) 2>/dev/null | sed 1q`
"
# Files that config.status was made for.
config_files=" Makefile bin/Makefile doc/Makefile htdocs/Makefile etc/Makefile lib/Makefile thirdparty/Makefile etc/config.dist"
ac_cs_usage="\
'$as_me' instantiates files and other configuration actions
from templates according to the current configuration. Unless the files
and actions are specified as TAGs, all are instantiated by default.
Usage: $0 [OPTION]... [TAG]...
-h, --help print this help, then exit
-V, --version print version number and configuration settings, then exit
--config print configuration, then exit
-q, --quiet, --silent
do not print progress messages
-d, --debug don't remove temporary files
--recheck update $as_me by reconfiguring in the same conditions
--file=FILE[:TEMPLATE]
instantiate the configuration file FILE
Configuration files:
$config_files
Report bugs to <tobi@oetiker.ch>."
ac_cs_config='--build=x86_64-linux-gnu '\''--includedir=${prefix}/include'\'' '\''--mandir=${prefix}/share/man'\'' '\''--infodir=${prefix}/share/info'\'' --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules '\''--libdir=${prefix}/lib/x86_64-linux-gnu'\'' --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --with-htdocs-dir=/usr/share/smokeping/www --bindir=/usr/sbin --sysconfdir=/usr/share/doc/smokeping/ --libdir=/usr/share/perl5 build_alias=x86_64-linux-gnu'
ac_cs_version="\
smokeping config.status 2.9.0
configured by ./configure, generated by GNU Autoconf 2.72,
with options \"$ac_cs_config\"
Copyright (C) 2023 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
ac_pwd='/root/smoke/smokeping-2.9.0'
srcdir='.'
INSTALL='/usr/bin/install -c'
MKDIR_P='/usr/bin/mkdir -p'
AWK='mawk'
test -n "$AWK" || AWK=awk
# The default lists apply if the user does not specify any file.
ac_need_defaults=:
while test $# != 0
do
case $1 in
--*=?*)
ac_option=`expr "X$1" : 'X\([^=]*\)='`
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
ac_shift=:
;;
--*=)
ac_option=`expr "X$1" : 'X\([^=]*\)='`
ac_optarg=
ac_shift=:
;;
*)
ac_option=$1
ac_optarg=$2
ac_shift=shift
;;
esac
case $ac_option in
# Handling of the options.
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
ac_cs_recheck=: ;;
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
printf "%s\n" "$ac_cs_version"; exit ;;
--config | --confi | --conf | --con | --co | --c )
printf "%s\n" "$ac_cs_config"; exit ;;
--debug | --debu | --deb | --de | --d | -d )
debug=: ;;
--file | --fil | --fi | --f )
$ac_shift
case $ac_optarg in
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
'') as_fn_error $? "missing file argument" ;;
esac
as_fn_append CONFIG_FILES " '$ac_optarg'"
ac_need_defaults=false;;
--he | --h | --help | --hel | -h )
printf "%s\n" "$ac_cs_usage"; exit ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil | --si | --s)
ac_cs_silent=: ;;
# This is an error.
-*) as_fn_error $? "unrecognized option: '$1'
Try '$0 --help' for more information." ;;
*) as_fn_append ac_config_targets " $1"
ac_need_defaults=false ;;
esac
shift
done
ac_configure_extra_args=
if $ac_cs_silent; then
exec 6>/dev/null
ac_configure_extra_args="$ac_configure_extra_args --silent"
fi
if $ac_cs_recheck; then
set X /bin/bash './configure' '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--prefix=/usr' '--with-htdocs-dir=/usr/share/smokeping/www' '--bindir=/usr/sbin' '--sysconfdir=/usr/share/doc/smokeping/' '--libdir=/usr/share/perl5' 'build_alias=x86_64-linux-gnu' $ac_configure_extra_args --no-create --no-recursion
shift
\printf "%s\n" "running CONFIG_SHELL=/bin/bash $*" >&6
CONFIG_SHELL='/bin/bash'
export CONFIG_SHELL
exec "$@"
fi
exec 5>>config.log
{
echo
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
printf "%s\n" "$ac_log"
} >&5
# Handling of arguments.
for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
"htdocs/Makefile") CONFIG_FILES="$CONFIG_FILES htdocs/Makefile" ;;
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
"thirdparty/Makefile") CONFIG_FILES="$CONFIG_FILES thirdparty/Makefile" ;;
"etc/config.dist") CONFIG_FILES="$CONFIG_FILES etc/config.dist" ;;
*) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
esac
done
# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used. Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
fi
# Have a temporary directory for convenience. Make it in the build tree
# simply because there is no reason against having it here, and in addition,
# creating and moving files from /tmp can sometimes cause problems.
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to '$tmp'.
$debug ||
{
tmp= ac_tmp=
trap 'exit_status=$?
: "${ac_tmp:=$tmp}"
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
' 0
trap 'as_fn_exit 1' 1 2 13 15
}
# Create a (secure) tmp directory for tmp files.
{
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
test -d "$tmp"
} ||
{
tmp=./conf$$-$RANDOM
(umask 077 && mkdir "$tmp")
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
ac_tmp=$tmp
# Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES.
# This happens for instance with './config.status config.h'.
if test -n "$CONFIG_FILES"; then
ac_cr=`echo X | tr X '\015'`
# On cygwin, bash can eat \r inside `` if the user requested igncr.
# But we know of no other shell where ac_cr would be empty at this
# point, so we can use a bashism as a fallback.
if test "x$ac_cr" = x; then
eval ac_cr=\$\'\\r\'
fi
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
ac_cs_awk_cr='\\r'
else
ac_cs_awk_cr=$ac_cr
fi
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
S["LTLIBOBJS"]=""
S["LIBOBJS"]=""
S["PERL5LIB"]=""
S["HTDOCSDIR"]="/usr/share/smokeping/www"
S["enable_pkgonly"]=""
S["GMAKE"]="/usr/bin/gmake"
S["NROFF"]="/usr/bin/nroff"
S["SENDMAIL"]="/usr/sbin/sendmail"
S["FIND"]="/usr/bin/find"
S["MKDIR"]="/usr/bin/mkdir"
S["RMDIR"]="/usr/bin/rmdir"
S["RM"]="/usr/bin/rm"
S["CP"]="/usr/bin/cp"
S["LN"]="/usr/bin/ln"
S["ECHO"]="/usr/bin/echo"
S["GREP"]="/usr/bin/grep"
S["SED"]="/usr/bin/sed"
S["URL_CAT"]="/usr/bin/curl --location"
S["WGET"]="/usr/bin/wget"
S["CURL"]="/usr/bin/curl"
S["PERL"]="/usr/bin/perl"
S["am__xargs_n"]="xargs -n"
S["am__rm_f_notfound"]=""
S["AM_BACKSLASH"]="\\"
S["AM_DEFAULT_VERBOSITY"]="1"
S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)"
S["AM_V"]="$(V)"
S["CSCOPE"]="cscope"
S["ETAGS"]="etags"
S["CTAGS"]="ctags"
S["am__untar"]="tar -xf -"
S["am__tar"]="tar --format=ustar -chf - \"$$tardir\""
S["AMTAR"]="$${TAR-tar}"
S["am__leading_dot"]="."
S["SET_MAKE"]=""
S["AWK"]="mawk"
S["mkdir_p"]="$(MKDIR_P)"
S["MKDIR_P"]="/usr/bin/mkdir -p"
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
S["STRIP"]=""
S["install_sh"]="${SHELL} /root/smoke/smokeping-2.9.0/conftools/install-sh"
S["MAKEINFO"]="${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' makeinfo"
S["AUTOHEADER"]="${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' autoheader"
S["AUTOMAKE"]="${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' automake-1.17"
S["AUTOCONF"]="${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' autoconf"
S["ACLOCAL"]="${SHELL} '/root/smoke/smokeping-2.9.0/conftools/missing' aclocal-1.17"
S["VERSION"]="2.9.0"
S["PACKAGE"]="smokeping"
S["CYGPATH_W"]="echo"
S["am__isrc"]=""
S["INSTALL_DATA"]="${INSTALL} -m 644"
S["INSTALL_SCRIPT"]="${INSTALL}"
S["INSTALL_PROGRAM"]="${INSTALL}"
S["target_alias"]=""
S["host_alias"]=""
S["build_alias"]="x86_64-linux-gnu"
S["LIBS"]=""
S["ECHO_T"]=""
S["ECHO_N"]="-n"
S["ECHO_C"]=""
S["DEFS"]="-DPACKAGE_NAME=\\\"smokeping\\\" -DPACKAGE_TARNAME=\\\"smokeping\\\" -DPACKAGE_VERSION=\\\"2.9.0\\\" -DPACKAGE_STRING=\\\"smokeping\\ 2.9.0\\\" -DPACKAGE_BUGREPORT=\\"\
"\"tobi@oetiker.ch\\\" -DPACKAGE_URL=\\\"\\\" -DPACKAGE=\\\"smokeping\\\" -DVERSION=\\\"2.9.0\\\""
S["mandir"]="${prefix}/share/man"
S["localedir"]="${datarootdir}/locale"
S["libdir"]="/usr/share/perl5"
S["psdir"]="${docdir}"
S["pdfdir"]="${docdir}"
S["dvidir"]="${docdir}"
S["htmldir"]="${docdir}"
S["infodir"]="${prefix}/share/info"
S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
S["oldincludedir"]="/usr/include"
S["includedir"]="${prefix}/include"
S["runstatedir"]="/run"
S["localstatedir"]="/var"
S["sharedstatedir"]="${prefix}/com"
S["sysconfdir"]="/usr/share/doc/smokeping"
S["datadir"]="${datarootdir}"
S["datarootdir"]="${prefix}/share"
S["libexecdir"]="${exec_prefix}/libexec"
S["sbindir"]="${exec_prefix}/sbin"
S["bindir"]="/usr/sbin"
S["program_transform_name"]="s,x,x,"
S["prefix"]="/usr"
S["exec_prefix"]="${prefix}"
S["PACKAGE_URL"]=""
S["PACKAGE_BUGREPORT"]="tobi@oetiker.ch"
S["PACKAGE_STRING"]="smokeping 2.9.0"
S["PACKAGE_VERSION"]="2.9.0"
S["PACKAGE_TARNAME"]="smokeping"
S["PACKAGE_NAME"]="smokeping"
S["PATH_SEPARATOR"]=":"
S["SHELL"]="/bin/bash"
_ACAWK
cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
for (key in S) S_is_set[key] = 1
FS = ""
}
{
line = $ 0
nfields = split(line, field, "@")
substed = 0
len = length(field[1])
for (i = 2; i < nfields; i++) {
key = field[i]
keylen = length(key)
if (S_is_set[key]) {
value = S[key]
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
len += length(value) + length(field[++i])
substed = 1
} else
len += 1 + keylen
}
print line
}
_ACAWK
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
else
cat
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
fi # test -n "$CONFIG_FILES"
eval set X " :F $CONFIG_FILES "
shift
for ac_tag
do
case $ac_tag in
:[FHLC]) ac_mode=$ac_tag; continue;;
esac
case $ac_mode$ac_tag in
:[FHL]*:*);;
:L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
:[FH]-) ac_tag=-:-;;
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
esac
ac_save_IFS=$IFS
IFS=:
set x $ac_tag
IFS=$ac_save_IFS
shift
ac_file=$1
shift
case $ac_mode in
:L) ac_source=$1;;
:[FH])
ac_file_inputs=
for ac_f
do
case $ac_f in
-) ac_f="$ac_tmp/stdin";;
*) # Look for the file first in the build tree, then in the source tree
# (if the path is not absolute). The absolute path cannot be DOS-style,
# because $ac_f cannot contain ':'.
test -f "$ac_f" ||
case $ac_f in
[\\/$]*) false;;
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
esac ||
as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
esac
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
as_fn_append ac_file_inputs " '$ac_f'"
done
# Let's still pretend it is 'configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read:
# /* config.h. Generated by config.status. */
configure_input='Generated from '`
printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
`' by configure.'
if test x"$ac_file" != x-; then
configure_input="$ac_file. $configure_input"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
printf "%s\n" "$as_me: creating $ac_file" >&6;}
fi
# Neutralize special characters interpreted by sed in replacement strings.
case $configure_input in #(
*\&* | *\|* | *\\* )
ac_sed_conf_input=`printf "%s\n" "$configure_input" |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
*) ac_sed_conf_input=$configure_input;;
esac
case $ac_tag in
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
esac
;;
esac
ac_dir=`$as_dirname -- "$ac_file" ||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$ac_file" : 'X\(//\)[^/]' \| \
X"$ac_file" : 'X\(//\)$' \| \
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X"$ac_file" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
as_dir="$ac_dir"; as_fn_mkdir_p
ac_builddir=.
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
# A ".." for each directory in $ac_dir_suffix.
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
case $ac_top_builddir_sub in
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix
case $srcdir in
.) # We are building in place.
ac_srcdir=.
ac_top_srcdir=$ac_top_builddir_sub
ac_abs_top_srcdir=$ac_pwd ;;
[\\/]* | ?:[\\/]* ) # Absolute name.
ac_srcdir=$srcdir$ac_dir_suffix;
ac_top_srcdir=$srcdir
ac_abs_top_srcdir=$srcdir ;;
*) # Relative name.
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
ac_top_srcdir=$ac_top_build_prefix$srcdir
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
case $ac_mode in
:F)
#
# CONFIG_FILE
#
case $INSTALL in
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
esac
ac_MKDIR_P=$MKDIR_P
case $MKDIR_P in
[\\/$]* | ?:[\\/]* ) ;;
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
esac
# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=
ac_sed_dataroot='
/datarootdir/ {
p
q
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p'
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
ac_datarootdir_hack='
s&@datadir@&${datarootdir}&g
s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
s&@infodir@&${prefix}/share/info&g
s&@localedir@&${datarootdir}/locale&g
s&@mandir@&${prefix}/share/man&g
s&\${datarootdir}&${prefix}/share&g' ;;
esac
ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
h
s///
s/^/:/
s/[ ]*$/:/
s/:\$(srcdir):/:/g
s/:\${srcdir}:/:/g
s/:@srcdir@:/:/g
s/^:*//
s/:*$//
x
s/\(=[ ]*\).*/\1/
G
s/\n//
s/^[^=]*=[ ]*$//
}
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s|@configure_input@|$ac_sed_conf_input|;t t
s&@top_builddir@&$ac_top_builddir_sub&;t t
s&@top_build_prefix@&$ac_top_build_prefix&;t t
s&@srcdir@&$ac_srcdir&;t t
s&@abs_srcdir@&$ac_abs_srcdir&;t t
s&@top_srcdir@&$ac_top_srcdir&;t t
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
s&@builddir@&$ac_builddir&;t t
s&@abs_builddir@&$ac_abs_builddir&;t t
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
s&@INSTALL@&$ac_INSTALL&;t t
s&@MKDIR_P@&$ac_MKDIR_P&;t t
$ac_datarootdir_hack
"
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
"$ac_tmp/out"`; test -z "$ac_out"; } &&
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
which seems to be undefined. Please make sure it is defined" >&5
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
which seems to be undefined. Please make sure it is defined" >&2;}
rm -f "$ac_tmp/stdin"
case $ac_file in
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
esac \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
;;
esac
done # for ac_tag
as_fn_exit 0

4837
configure vendored Executable file

File diff suppressed because it is too large Load Diff

162
configure.ac Normal file
View File

@@ -0,0 +1,162 @@
# Copyright (C) 2021 Tobi Oetiker
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
#
AC_INIT([smokeping],m4_esyscmd([tr -d '\n' < VERSION]),[tobi@oetiker.ch])
AC_PREREQ([2.71])
AC_CONFIG_AUX_DIR(conftools)
# need this to allow long path names
AM_INIT_AUTOMAKE([1.9 tar-ustar foreign])
AC_PREFIX_DEFAULT(/opt/$PACKAGE_NAME-$PACKAGE_VERSION)
AC_ARG_VAR(PERL, [Path to local perl binary])
AC_PATH_PROG(PERL, perl, no)
AC_PATH_PROG(CURL, curl, no)
AC_PATH_PROG(WGET, wget, no)
URL_CAT="neither curl nor wget found"
if test -x "$CURL"; then
URL_CAT="$CURL --location"
else
if test -x "$WGET"; then
URL_CAT="$WGET -O -"
fi
fi
AC_SUBST(URL_CAT)
ac_perl_version="5.10.1"
if test "x$PERL" != "x"; then
AC_MSG_CHECKING(for perl version greater than or equal to $ac_perl_version)
$PERL -e "use $ac_perl_version;" >/dev/null 2>&1
if test $? -ne 0; then
AC_MSG_RESULT(no);
AC_MSG_ERROR(at least version 5.10.1 is required to run mojolicious)
else
AC_MSG_RESULT(ok);
fi
else
AC_MSG_ERROR(could not find perl)
fi
AC_PATH_PROG(SED, sed, no)
AC_PATH_PROG(GREP, grep, no)
AC_PATH_PROG(ECHO, echo, no)
AC_PATH_PROG(LN, ln, no)
AC_PATH_PROG(CP, cp, no)
AC_PATH_PROG(RM, rm, no)
AC_PATH_PROG(RMDIR, rmdir, no)
AC_PATH_PROG(MKDIR, mkdir, no)
AC_PATH_PROG(FIND, find, no)
AC_PATH_PROG(SENDMAIL, sendmail, /path/to/sendmail, $PATH:/usr/sbin:/usr/lib)
AC_PATH_PROGS(NROFF, [gnroff nroff])
AC_ARG_VAR(GMAKE, [Path to local GNU Make binary])
AC_PATH_PROGS(GMAKE, [gnumake gmake make])
AC_MSG_CHECKING([checking for gnu make availability])
if ( $GMAKE --version 2> /dev/null | $GREP GNU > /dev/null 2>&1 ); then
AC_MSG_RESULT([$GMAKE is GNU make])
else
AC_MSG_ERROR([GNU make not found. Try setting the GMAKE environment variable.])
fi
AC_ARG_ENABLE(pkgonly,
[AS_HELP_STRING([--enable-pkgonly],[Skip all checking])])
AC_SUBST(enable_pkgonly)
# $prefix stores the value of the --prefix command line option, or
# NONE if the option wasn't set. In the case that it wasn't set, make
# it be the default, so that we can use it to expand directories now.
actual_prefix=$prefix
if test x$actual_prefix = xNONE; then
actual_prefix=$ac_default_prefix
fi
HTDOCSDIR=${actual_prefix}/htdocs
AC_ARG_WITH(htdocs-dir,AS_HELP_STRING([--with-htdocs-dir=DIR],[Where to install htdocs [PREFIX/htdocs]]), [HTDOCSDIR=$withval])
AC_SUBST(HTDOCSDIR)
AC_ARG_VAR(PERL5LIB, [Colon separated list of perl library directories])
AC_SUBST(PERL5LIB)
# Check the necessary Perl modules
mod_ok=1
if test "$enable_pkgonly" != yes; then
AC_MSG_CHECKING([checking for RRDs perl module])
if ${PERL} -e 'use RRDs' 2>/dev/null ; then
AC_MSG_RESULT([Ok])
else
AC_MSG_RESULT([Failed])
mod_ok=0
fi
fi
if test x$mod_ok = x0; then
cat <<NOTES
** Aborting Configure ******************************
Smokeping requires a copy of rrdtool and its perl module RRDs
installed for Smokeping to work. Installing rrdtool
is outside the scope of the package. The easiest is
to simply install rrdtool from your distro:
on ubuntu
sudo apt install rrdtool librrds-perl
on redhat
sudo yum install rrdtool perl-rrdtool
if you install rrdtool from source into a non-standard location
set PERL5LIB accordingly.
NOTES
exit 1
fi
AC_CONFIG_FILES([Makefile bin/Makefile doc/Makefile htdocs/Makefile etc/Makefile lib/Makefile thirdparty/Makefile etc/config.dist])
AC_SUBST(VERSION)
AC_OUTPUT
cat <<NOTES
** Ready to install Smokeping ******************************
Settings:
PERL5LIB = ${PERL5LIB:-"not set"}
PERL = $PERL
The Smokeping Makefiles use GNU make functionality.
Continue installation with
$GMAKE install
NOTES

541
conftools/install-sh Executable file
View File

@@ -0,0 +1,541 @@
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2024-06-19.01; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of the X Consortium shall not
# be used in advertising or otherwise to promote the sale, use or other deal-
# ings in this Software without prior written authorization from the X Consor-
# tium.
#
#
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# 'make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch.
tab=' '
nl='
'
IFS=" $tab$nl"
# Set DOITPROG to "echo" to test this script.
doit=${DOITPROG-}
doit_exec=${doit:-exec}
# Put in absolute file names if you don't have them in your path;
# or use environment vars.
chgrpprog=${CHGRPPROG-chgrp}
chmodprog=${CHMODPROG-chmod}
chownprog=${CHOWNPROG-chown}
cmpprog=${CMPPROG-cmp}
cpprog=${CPPROG-cp}
mkdirprog=${MKDIRPROG-mkdir}
mvprog=${MVPROG-mv}
rmprog=${RMPROG-rm}
stripprog=${STRIPPROG-strip}
posix_mkdir=
# Desired mode of installed file.
mode=0755
# Create dirs (including intermediate dirs) using mode 755.
# This is like GNU 'install' as of coreutils 8.32 (2020).
mkdir_umask=22
backupsuffix=
chgrpcmd=
chmodcmd=$chmodprog
chowncmd=
mvcmd=$mvprog
rmcmd="$rmprog -f"
stripcmd=
src=
dst=
dir_arg=
dst_arg=
copy_on_change=false
is_target_a_directory=possibly
usage="\
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
or: $0 [OPTION]... SRCFILES... DIRECTORY
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
or: $0 [OPTION]... -d DIRECTORIES...
In the 1st form, copy SRCFILE to DSTFILE.
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
In the 4th, create DIRECTORIES.
Options:
--help display this help and exit.
--version display version info and exit.
-c (ignored)
-C install only if different (preserve data modification time)
-d create directories instead of installing files.
-g GROUP $chgrpprog installed files to GROUP.
-m MODE $chmodprog installed files to MODE.
-o USER $chownprog installed files to USER.
-p pass -p to $cpprog.
-s $stripprog installed files.
-S SUFFIX attempt to back up existing files, with suffix SUFFIX.
-t DIRECTORY install into DIRECTORY.
-T report an error if DSTFILE is a directory.
Environment variables override the default commands:
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
RMPROG STRIPPROG
By default, rm is invoked with -f; when overridden with RMPROG,
it's up to you to specify -f if you want it.
If -S is not specified, no backups are attempted.
Report bugs to <bug-automake@gnu.org>.
GNU Automake home page: <https://www.gnu.org/software/automake/>.
General help using GNU software: <https://www.gnu.org/gethelp/>."
while test $# -ne 0; do
case $1 in
-c) ;;
-C) copy_on_change=true;;
-d) dir_arg=true;;
-g) chgrpcmd="$chgrpprog $2"
shift;;
--help) echo "$usage"; exit $?;;
-m) mode=$2
case $mode in
*' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
echo "$0: invalid mode: $mode" >&2
exit 1;;
esac
shift;;
-o) chowncmd="$chownprog $2"
shift;;
-p) cpprog="$cpprog -p";;
-s) stripcmd=$stripprog;;
-S) backupsuffix="$2"
shift;;
-t)
is_target_a_directory=always
dst_arg=$2
# Protect names problematic for 'test' and other utilities.
case $dst_arg in
-* | [=\(\)!]) dst_arg=./$dst_arg;;
esac
shift;;
-T) is_target_a_directory=never;;
--version) echo "$0 (GNU Automake) $scriptversion"; exit $?;;
--) shift
break;;
-*) echo "$0: invalid option: $1" >&2
exit 1;;
*) break;;
esac
shift
done
# We allow the use of options -d and -T together, by making -d
# take the precedence; this is for compatibility with GNU install.
if test -n "$dir_arg"; then
if test -n "$dst_arg"; then
echo "$0: target directory not allowed when installing a directory." >&2
exit 1
fi
fi
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
# When -d is used, all remaining arguments are directories to create.
# When -t is used, the destination is already specified.
# Otherwise, the last argument is the destination. Remove it from $@.
for arg
do
if test -n "$dst_arg"; then
# $@ is not empty: it contains at least $arg.
set fnord "$@" "$dst_arg"
shift # fnord
fi
shift # arg
dst_arg=$arg
# Protect names problematic for 'test' and other utilities.
case $dst_arg in
-* | [=\(\)!]) dst_arg=./$dst_arg;;
esac
done
fi
if test $# -eq 0; then
if test -z "$dir_arg"; then
echo "$0: no input file specified." >&2
exit 1
fi
# It's OK to call 'install-sh -d' without argument.
# This can happen when creating conditional directories.
exit 0
fi
if test -z "$dir_arg"; then
if test $# -gt 1 || test "$is_target_a_directory" = always; then
if test ! -d "$dst_arg"; then
echo "$0: $dst_arg: Is not a directory." >&2
exit 1
fi
fi
fi
if test -z "$dir_arg"; then
do_exit='(exit $ret); exit $ret'
trap "ret=129; $do_exit" 1
trap "ret=130; $do_exit" 2
trap "ret=141; $do_exit" 13
trap "ret=143; $do_exit" 15
# Set umask so as not to create temps with too-generous modes.
# However, 'strip' requires both read and write access to temps.
case $mode in
# Optimize common cases.
*644) cp_umask=133;;
*755) cp_umask=22;;
*[0-7])
if test -z "$stripcmd"; then
u_plus_rw=
else
u_plus_rw='% 200'
fi
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
*)
if test -z "$stripcmd"; then
u_plus_rw=
else
u_plus_rw=,u+rw
fi
cp_umask=$mode$u_plus_rw;;
esac
fi
for src
do
# Protect names problematic for 'test' and other utilities.
case $src in
-* | [=\(\)!]) src=./$src;;
esac
if test -n "$dir_arg"; then
dst=$src
dstdir=$dst
test -d "$dstdir"
dstdir_status=$?
# Don't chown directories that already exist.
if test $dstdir_status = 0; then
chowncmd=""
fi
else
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if test ! -f "$src" && test ! -d "$src"; then
echo "$0: $src does not exist." >&2
exit 1
fi
if test -z "$dst_arg"; then
echo "$0: no destination specified." >&2
exit 1
fi
dst=$dst_arg
# If destination is a directory, append the input filename.
if test -d "$dst"; then
if test "$is_target_a_directory" = never; then
echo "$0: $dst_arg: Is a directory" >&2
exit 1
fi
dstdir=$dst
dstbase=`basename "$src"`
case $dst in
*/) dst=$dst$dstbase;;
*) dst=$dst/$dstbase;;
esac
dstdir_status=0
else
dstdir=`dirname "$dst"`
test -d "$dstdir"
dstdir_status=$?
fi
fi
case $dstdir in
*/) dstdirslash=$dstdir;;
*) dstdirslash=$dstdir/;;
esac
obsolete_mkdir_used=false
if test $dstdir_status != 0; then
case $posix_mkdir in
'')
# With -d, create the new directory with the user-specified mode.
# Otherwise, rely on $mkdir_umask.
if test -n "$dir_arg"; then
mkdir_mode=-m$mode
else
mkdir_mode=
fi
posix_mkdir=false
# The $RANDOM variable is not portable (e.g., dash). Use it
# here however when possible just to lower collision chance.
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
trap '
ret=$?
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
exit $ret
' 0
# Because "mkdir -p" follows existing symlinks and we likely work
# directly in world-writable /tmp, make sure that the '$tmpdir'
# directory is successfully created first before we actually test
# 'mkdir -p'.
if (umask $mkdir_umask &&
$mkdirprog $mkdir_mode "$tmpdir" &&
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
then
if test -z "$dir_arg" || {
# Check for POSIX incompatibility with -m.
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
# other-writable bit of parent directory when it shouldn't.
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
test_tmpdir="$tmpdir/a"
ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
case $ls_ld_tmpdir in
d????-?r-*) different_mode=700;;
d????-?--*) different_mode=755;;
*) false;;
esac &&
$mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
}
}
then posix_mkdir=:
fi
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
else
# Remove any dirs left behind by ancient mkdir implementations.
rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
fi
trap '' 0;;
esac
if
$posix_mkdir && (
umask $mkdir_umask &&
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
)
then :
else
# mkdir does not conform to POSIX,
# or it failed possibly due to a race condition. Create the
# directory the slow way, step by step, checking for races as we go.
case $dstdir in
/*) prefix='/';;
[-=\(\)!]*) prefix='./';;
*) prefix='';;
esac
oIFS=$IFS
IFS=/
set -f
set fnord $dstdir
shift
set +f
IFS=$oIFS
prefixes=
for d
do
test X"$d" = X && continue
prefix=$prefix$d
if test -d "$prefix"; then
prefixes=
else
if $posix_mkdir; then
(umask $mkdir_umask &&
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
# Don't fail if two instances are running concurrently.
test -d "$prefix" || exit 1
else
case $prefix in
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
*) qprefix=$prefix;;
esac
prefixes="$prefixes '$qprefix'"
fi
fi
prefix=$prefix/
done
if test -n "$prefixes"; then
# Don't fail if two instances are running concurrently.
(umask $mkdir_umask &&
eval "\$doit_exec \$mkdirprog $prefixes") ||
test -d "$dstdir" || exit 1
obsolete_mkdir_used=true
fi
fi
fi
if test -n "$dir_arg"; then
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
else
# Make a couple of temp file names in the proper directory.
dsttmp=${dstdirslash}_inst.$$_
rmtmp=${dstdirslash}_rm.$$_
# Trap to clean up those temp files at exit.
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
# Copy the file name to the temp name.
(umask $cp_umask &&
{ test -z "$stripcmd" || {
# Create $dsttmp read-write so that cp doesn't create it read-only,
# which would cause strip to fail.
if test -z "$doit"; then
: >"$dsttmp" # No need to fork-exec 'touch'.
else
$doit touch "$dsttmp"
fi
}
} &&
$doit_exec $cpprog "$src" "$dsttmp") &&
# and set any options; do chmod last to preserve setuid bits.
#
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $cpprog $src $dsttmp" command.
#
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
# If -C, don't bother to copy if it wouldn't change the file.
if $copy_on_change &&
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
set -f &&
set X $old && old=:$2:$4:$5:$6 &&
set X $new && new=:$2:$4:$5:$6 &&
set +f &&
test "$old" = "$new" &&
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
then
rm -f "$dsttmp"
else
# If $backupsuffix is set, and the file being installed
# already exists, attempt a backup. Don't worry if it fails,
# e.g., if mv doesn't support -f.
if test -n "$backupsuffix" && test -f "$dst"; then
$doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
fi
# Rename the file to the real destination.
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
# The rename failed, perhaps because mv can't rename something else
# to itself, or perhaps because mv is so ancient that it does not
# support -f.
{
# Now remove or move aside any old file at destination location.
# We try this two ways since rm can't unlink itself on some
# systems and the destination file might be busy for other
# reasons. In this case, the final cleanup might fail but the new
# file should still install successfully.
{
test ! -f "$dst" ||
$doit $rmcmd "$dst" 2>/dev/null ||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
{ $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
} ||
{ echo "$0: cannot unlink or rename $dst" >&2
(exit 1); exit 1
}
} &&
# Now rename the file to the real destination.
$doit $mvcmd "$dsttmp" "$dst"
}
fi || exit 1
trap '' 0
fi
done
# Local variables:
# eval: (add-hook 'before-save-hook 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC0"
# time-stamp-end: "; # UTC"
# End:

236
conftools/missing Executable file
View File

@@ -0,0 +1,236 @@
#! /bin/sh
# Common wrapper for a few potentially missing GNU and other programs.
scriptversion=2024-06-07.14; # UTC
# shellcheck disable=SC2006,SC2268 # we must support pre-POSIX shells
# Copyright (C) 1996-2024 Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
if test $# -eq 0; then
echo 1>&2 "Try '$0 --help' for more information"
exit 1
fi
case $1 in
--is-lightweight)
# Used by our autoconf macros to check whether the available missing
# script is modern enough.
exit 0
;;
--run)
# Back-compat with the calling convention used by older automake.
shift
;;
-h|--h|--he|--hel|--help)
echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...
Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
to PROGRAM being missing or too old.
Options:
-h, --help display this help and exit
-v, --version output version information and exit
Supported PROGRAM values:
aclocal autoconf autogen autoheader autom4te automake autoreconf
bison flex help2man lex makeinfo perl yacc
Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
'g' are ignored when checking the name.
Report bugs to <bug-automake@gnu.org>.
GNU Automake home page: <https://www.gnu.org/software/automake/>.
General help using GNU software: <https://www.gnu.org/gethelp/>."
exit $?
;;
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
echo "missing (GNU Automake) $scriptversion"
exit $?
;;
-*)
echo 1>&2 "$0: unknown '$1' option"
echo 1>&2 "Try '$0 --help' for more information"
exit 1
;;
esac
# Run the given program, remember its exit status.
"$@"; st=$?
# If it succeeded, we are done.
test $st -eq 0 && exit 0
# Also exit now if we it failed (or wasn't found), and '--version' was
# passed; such an option is passed most likely to detect whether the
# program is present and works.
case $2 in --version|--help) exit $st;; esac
# Exit code 63 means version mismatch. This often happens when the user
# tries to use an ancient version of a tool on a file that requires a
# minimum version.
if test $st -eq 63; then
msg="probably too old"
elif test $st -eq 127; then
# Program was missing.
msg="missing on your system"
else
# Program was found and executed, but failed. Give up.
exit $st
fi
perl_URL=https://www.perl.org/
flex_URL=https://github.com/westes/flex
gnu_software_URL=https://www.gnu.org/software
program_details ()
{
case $1 in
aclocal|automake|autoreconf)
echo "The '$1' program is part of the GNU Automake package:"
echo "<$gnu_software_URL/automake>"
echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
echo "<$gnu_software_URL/autoconf>"
echo "<$gnu_software_URL/m4/>"
echo "<$perl_URL>"
;;
autoconf|autom4te|autoheader)
echo "The '$1' program is part of the GNU Autoconf package:"
echo "<$gnu_software_URL/autoconf/>"
echo "It also requires GNU m4 and Perl in order to run:"
echo "<$gnu_software_URL/m4/>"
echo "<$perl_URL>"
;;
*)
:
;;
esac
}
give_advice ()
{
# Normalize program name to check for.
normalized_program=`echo "$1" | sed '
s/^gnu-//; t
s/^gnu//; t
s/^g//; t'`
printf '%s\n' "'$1' is $msg."
configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
autoheader_deps="'acconfig.h'"
automake_deps="'Makefile.am'"
aclocal_deps="'acinclude.m4'"
case $normalized_program in
aclocal*)
echo "You should only need it if you modified $aclocal_deps or"
echo "$configure_deps."
;;
autoconf*)
echo "You should only need it if you modified $configure_deps."
;;
autogen*)
echo "You should only need it if you modified a '.def' or '.tpl' file."
echo "You may want to install the GNU AutoGen package:"
echo "<$gnu_software_URL/autogen/>"
;;
autoheader*)
echo "You should only need it if you modified $autoheader_deps or"
echo "$configure_deps."
;;
automake*)
echo "You should only need it if you modified $automake_deps or"
echo "$configure_deps."
;;
autom4te*)
echo "You might have modified some maintainer files that require"
echo "the 'autom4te' program to be rebuilt."
;;
autoreconf*)
echo "You should only need it if you modified $aclocal_deps or"
echo "$automake_deps or $autoheader_deps or $automake_deps or"
echo "$configure_deps."
;;
bison*|yacc*)
echo "You should only need it if you modified a '.y' file."
echo "You may want to install the GNU Bison package:"
echo "<$gnu_software_URL/bison/>"
;;
help2man*)
echo "You should only need it if you modified a dependency" \
"of a man page."
echo "You may want to install the GNU Help2man package:"
echo "<$gnu_software_URL/help2man/>"
;;
lex*|flex*)
echo "You should only need it if you modified a '.l' file."
echo "You may want to install the Fast Lexical Analyzer package:"
echo "<$flex_URL>"
;;
makeinfo*)
echo "You should only need it if you modified a '.texi' file, or"
echo "any other file indirectly affecting the aspect of the manual."
echo "You might want to install the Texinfo package:"
echo "<$gnu_software_URL/texinfo/>"
echo "The spurious makeinfo call might also be the consequence of"
echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
echo "want to install GNU make:"
echo "<$gnu_software_URL/make/>"
;;
perl*)
echo "You should only need it to run GNU Autoconf, GNU Automake, "
echo " assorted other tools, or if you modified a Perl source file."
echo "You may want to install the Perl 5 language interpreter:"
echo "<$perl_URL>"
;;
*)
echo "You might have modified some files without having the proper"
echo "tools for further handling them. Check the 'README' file, it"
echo "often tells you about the needed prerequisites for installing"
echo "this package. You may also peek at any GNU archive site, in"
echo "case some other package contains this missing '$1' program."
;;
esac
program_details "$normalized_program"
}
give_advice "$1" | sed -e '1s/^/WARNING: /' \
-e '2,$s/^/ /' >&2
# Propagate the correct exit status (expected to be 127 for a program
# not found, 63 for a program that failed due to version mismatch).
exit $st
# Local variables:
# eval: (add-hook 'before-save-hook 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC0"
# time-stamp-end: "; # UTC"
# End:

24
cpanfile Normal file
View File

@@ -0,0 +1,24 @@
requires 'FCGI';
requires 'CGI';
requires 'CGI::Fast';
requires 'Config::Grammar';
requires 'Socket6';
requires 'IO::Socket::SSL';
requires 'Digest::HMAC_MD5';
requires 'Net::Telnet';
requires 'Net::OpenSSH';
requires 'Net::SNMP';
requires 'Net::LDAP';
requires 'Net::DNS';
requires 'IO::Pty';
requires 'LWP';
requires 'Authen::Radius';
requires 'Path::Tiny';
requires 'MIME::Base64';
requires 'InfluxDB::HTTP';
requires 'InfluxDB::LineProtocol';
# JSON::MaybeXS and Object::Result are required by InfluxDB::HTTP but were not
# listed in that lib's dependencies, so we need to cover for them here.
# See: https://github.com/raphaelthomas/InfluxDB-HTTP/issues/10
requires 'JSON::MaybeXS';
requires 'Object::Result';

View File

@@ -0,0 +1,89 @@
smokeping (2.9.0+linuxiarz.pl-1) unstable; urgency=medium
[ linuxiarz.pl ]
* Bump to 2.9.0
smokeping (2.8.2+ds-1) unstable; urgency=medium
[ Gabriel Filion ]
* New upstream version (Closes: #1004308, #740852)
* All patches that were merged upstream were removed
* Add an example lighttpd configuration file for smokeping (Closes: #961950)
* Import upstream patch to fix curl probes (Closes: #986068)
* Avoid errors with ucf/ucfr during postrm (Closes: #1005807)
* New required library libobject-result-perl for influxdb
* Remove obsolete dependency on lsb-base
* fix lintian warning about unmatched news entry
* lintian-overrides are now obsolete
* Clear out copyright details for files removed in repack
* Patch out building of 3rd-party js libs
* Revert "fix lintian warning about unmatched news entry"
[ Debian Janitor ]
* Bump debhelper from old 12 to 13.
* Update standards version to 4.6.1, no changes needed.
-- Gabriel Filion <gabster@lelutin.ca> Sun, 04 Feb 2024 14:54:09 -0500
smokeping (2.7.3-4) unstable; urgency=low
[ Debian Janitor ]
* Trim trailing whitespace.
* Bump debhelper from old 10 to 12.
* Set debhelper-compat version in Build-Depends.
* Drop unnecessary dependency on dh-autoreconf.
* Update standards version to 4.5.0, no changes needed.
[ Gabriel Filion ]
* Import patch that disables refresh while zooming (Closes:#981348)
* Import patch disabling rsa1 and enabling ecdsa for ssh probe (Closes:
#962225)
-- Gabriel Filion <gabriel@koumbit.org> Sun, 24 Apr 2022 14:44:58 -0400
smokeping (2.7.3-3) unstable; urgency=medium
[ Gabriel Filion ]
* start generating smokeinfo manpage
* postrm: purge, removal of apache2/conf.d/smokeping not needed anymore
* make css and js load from the /smokeping alias (closes: #929515)
* change fix-conf-paths patch to point the daemon to /run/smokeping for its
pid indead of /var/run/smokeping
[ Matteo F. Vescovi ]
* debian/patches/: fix-alert-edgetriggers added (Closes: #934170)
-- Gabriel Filion <gabriel@koumbit.org> Sat, 11 Jul 2020 00:00:19 +0200
smokeping (2.7.3-2) unstable; urgency=medium
[ Gabriel Filion ]
* systemd: run service as smokeping user
The systemd service unit file that was introduced in 2.7.3-1 didn't setup
user and group properly for the service, and the daemon was running as root.
This is now corrected, but it might mean that some files were created by and
are owned by root. To fix this, you can use the following command:
.
find /var/lib/smokeping/ -mindepth 1 -name '__cgi' -prune -o \
-exec chown smokeping:smokeping {} \;
* missing-VERSION forwarded and merged upstream
* patch "fix-400d-graph" forwarded and merged upstream
* rename patch path_changes to make its name more meaningful
* reduce javascript_path_changes to the strict minimum
* fix-perl-lib: indicate that the patch shouldn't be forwarded
* proper-samle-conf: indicate that it shouldn't be forwarded
* make commands invoked in rules more verbose as per policy version 4.2.0
* use https for the homepage
* Bump Standards-Version to 4.3.0
* merge both patches that hardcode config path
* init.d: match on pidfile only prevents service stop (closes: #922395)
* systemd: move example for slave mode in the examples dir
* control: erroneous and duplicated mention of default mta
[ Sven Hartge ]
* Change group of secrets file for slaves to www-data (Closes: #760945)
-- Gabriel Filion <gabriel@koumbit.org> Sat, 23 Feb 2019 19:54:18 -0500
# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog smokeping`.

View File

@@ -0,0 +1 @@
./README.md

View File

@@ -0,0 +1,9 @@
./doc/examples/config.echoping
./doc/examples/config.fping-instances
./doc/examples/config.multiple-probes
./doc/examples/config.simple
./doc/examples/config.targetvars-with-Curl
./doc/examples/config.template
./etc/smokeping_secrets.dist
./debian/systemd
./debian/lighttpd_45-smokeping.conf

View File

@@ -0,0 +1,43 @@
# Automatically added by dh_installinit/13.24.2
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -z "$DPKG_ROOT" ] && [ -x "/etc/init.d/smokeping" ]; then
update-rc.d smokeping defaults >/dev/null
if [ -n "$2" ]; then
_dh_action=restart
else
_dh_action=start
fi
invoke-rc.d --skip-systemd-native smokeping $_dh_action || exit 1
fi
fi
# End automatically added section
# Automatically added by dh_installsystemd/13.24.2
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
# The following line should be removed in trixie or trixie+1
deb-systemd-helper unmask 'smokeping.service' >/dev/null || true
# was-enabled defaults to true, so new installations run enable.
if deb-systemd-helper --quiet was-enabled 'smokeping.service'; then
# Enables the unit on first installation, creates new
# symlinks on upgrades if the unit file has changed.
deb-systemd-helper enable 'smokeping.service' >/dev/null || true
else
# Update the statefile to add new symlinks (if any), which need to be
# cleaned up on purge. Also remove old symlinks.
deb-systemd-helper update-state 'smokeping.service' >/dev/null || true
fi
fi
# End automatically added section
# Automatically added by dh_installsystemd/13.24.2
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then
_dh_action=restart
else
_dh_action=start
fi
deb-systemd-invoke $_dh_action 'smokeping.service' >/dev/null || true
fi
fi
# End automatically added section

View File

@@ -0,0 +1,8 @@
# Automatically added by dh_installinit/13.24.2
if [ "$1" = "remove" ] && [ -x "/etc/init.d/smokeping" ] ; then
chmod -x "/etc/init.d/smokeping" >/dev/null || true
fi
if [ -z "$DPKG_ROOT" ] && [ "$1" = "purge" ] ; then
update-rc.d smokeping remove >/dev/null
fi
# End automatically added section

View File

@@ -0,0 +1,5 @@
# Automatically added by dh_installinit/13.24.2
if [ "$1" = "install" ] && [ -n "$2" ] && [ -e "/etc/init.d/smokeping" ] ; then
chmod +x "/etc/init.d/smokeping" >/dev/null || true
fi
# End automatically added section

View File

@@ -0,0 +1,10 @@
# Automatically added by dh_installsystemd/13.24.2
if [ -z "$DPKG_ROOT" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
deb-systemd-invoke stop 'smokeping.service' >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installinit/13.24.2
if [ -z "$DPKG_ROOT" ] && [ "$1" = remove ] && [ -x "/etc/init.d/smokeping" ] ; then
invoke-rc.d --skip-systemd-native smokeping stop || exit 1
fi
# End automatically added section

77
debian/NEWS vendored Normal file
View File

@@ -0,0 +1,77 @@
smokeping (2.6.5-1~experimental0) experimental; urgency=low
Instead of bundling our own configuration which constantly had to be
maintained in sync with upstream, we ship modified versions of the
upstream configuration files, which are now automatically split in
separate sections during build. This will lead to false positive in
configuration file changes, but just this one time, as we transition
away from ucf for config file management.
.
If you are upgrading from versions previous to 2.3.6-5 (in Lenny!), you
may have problems migrating your configuration. Make sure you at least
hit 2.3.6 packages to have a smooth upgrade as some compatibility bits
have been removed.
-- Antoine Beaupré <anarcat@debian.org> Sun, 13 Nov 2011 18:28:22 -0500
smokeping (2.3.6-4) unstable; urgency=low
The file hierarchy available to the web server has been moved
away from /var/www, which was a non-standard location. The recommended
way to set up the web part of Smokeping is to use the Apache2 configuration
supplied in /etc/smokeping/apache2.conf. This is done automatically
on new installations, see the README.Debian file.
.
Although the upgrade procedure tries to keep old setups working
with symlinks, make sure to merge the pathname changes in
/etc/smokeping/config.d/pathnames. Deleting /var/www/smokeping
afterwards should be safe if you have no manually added content there.
.
The recommended URL path to the CGI script is now /smokeping/smokeping.cgi
rather than /cgi-bin/smokeping.cgi. The latter should still work
through a symlink.
.
.
The default character set in /etc/smokeping/config.d/Presentation has
been changed to UTF-8. If you were relying on the former ISO-8859-15
setting, just edit the file to reflect this.
-- Niko Tyni <ntyni@debian.org> Tue, 21 Jul 2009 20:17:24 +0300
smokeping (2.3.5-1) experimental; urgency=low
The configuration file, /etc/smokeping/config, has been split into
subsection snippets in /etc/smokeping/config.d to ease merging of
configuration changes. The installation scripts will automatically
split the old configuration on upgrades, but the split won't take
effect unless ucf is allowed to overwrite /etc/smokeping/config.
.
This version also includes packaging changes to make the new
master/slave functionality work. A new directory, /var/lib/smokeping/__cgi,
has been created so that the CGI on a master host can queue up
ping results received from its slaves. The main Smokeping daemon
will then monitor the queue and update the RRD files accordingly.
.
Make sure to merge the new 'dyndir' and 'precreateperms' General section
variables on upgrades, otherwise the master/slave functionality (and
most probably also the old DYNAMIC host functionality) will not work.
-- Niko Tyni <ntyni@debian.org> Sat, 29 Mar 2008 23:39:33 +0200
smokeping (2.0.8-3) unstable; urgency=low
When upgrading from Smokeping versions 1.x to 2.x, you may have to edit
the configuration file /etc/smokeping/config. The most common incompatibility
is that the 'PROBE_CONF' lines are neither needed nor accepted anymore. Simply
deleting these lines is sufficient.
There are some other small incompatibilities; a list of those can be found
in the smokeping_upgrade(7) document. As the Smokeping configuration file
parser is now much more strict than in 1.x, the daemon complains about
these at startup and refuses to start.
(This entry applies to all Smokeping 2.x versions, but was only added in
version 2.0.8-3.)
-- Niko Tyni <ntyni@iki.fi> Sun, 28 May 2006 22:30:53 +0300

22
debian/README.Debian vendored Normal file
View File

@@ -0,0 +1,22 @@
After installing the package you have to edit the files in
/etc/smokeping/config.d to set your preferences.
Note that the domain names are bogus to avoid all the people who
install the package DoSing the same servers, but at the same time an
fping probe in localhost is enabled, so you can check if smokeping
works for you.
You can also edit the file /etc/smokeping/basepage.html to suit your
needs.
A FastCGI configuration might be desirable for large sites. Simply add
this to the Apache configuration, in /etc/apache2/conf-available/smokeping.conf:
<Location /smokeping/smokeping.cgi>
SetHandler fcgid-script
</Location>
Please refer to the smokeping_config man page to see all the available
options.
-- Antoine Beaupré <anarcat@debian.org>, Sat, 12 May 2018 16:02:25 -0400

9
debian/README.source vendored Normal file
View File

@@ -0,0 +1,9 @@
smokeping for Debian
--------------------
This package is maintained through git, but patches are applied through
quilt, in debian/patches/.
To update to the new upstream, use git-import-orig --uscan.
-- Antoine Beaupré <anarcat@debian.org>, Sat, 26 Feb 2012 13:20:51 -0500

12
debian/TODO vendored Normal file
View File

@@ -0,0 +1,12 @@
The following issues need to be fixed:
* fast-cgi should be default
* review upstream changes since last release, esp. config changes
* do not prompt for modifications on the files:
- Slaves
- General
- basepage.html
- this is very hard. we would need to fix the checksum in
/var/lib/dpkg/status, which doesn't seem to be doable
programmatically. See dpkg/src/configure.c:336 to see how this
works better.

142
debian/autoreconf.after vendored Normal file
View File

@@ -0,0 +1,142 @@
129546fe4287e256e267cb5a6d27f35b ./CHANGES
9f1c1c3412cba9c5c0fbf6af16656127 ./aclocal.m4
3b8c6e97fc73993cbb89be7ab9a136ff ./configure
e1cbcec71e50595b705ff09f50d99bf2 ./README.md
1b173bf7a0a9360b7405c47ddce873c5 ./VERSION
92e5ed4a6c67e54a7162fde587beb49d ./TODO
b6538500b8c7d36d0864fb16751574bb ./configure.ac
8ba29f9a8f5cd5a8904dd790c3cbec29 ./thirdparty/cpanfile-5.38.snapshot
9c6f688be5527bf780e4e37ecd1c39c7 ./thirdparty/Makefile.in
19770f137f08138ec90a212679805033 ./thirdparty/Makefile.am
fef8eee66f66d40303a2c1f878f19929 ./autom4te.cache/requests
a4d45f576897f28acee3b65ae11ad61d ./autom4te.cache/output.2
504fc05a6aa5caedf0ace19953f533ee ./autom4te.cache/traces.2
f444d3ae8cb3caf128c2749e17941a47 ./autom4te.cache/output.0
a7f46a668c2c825f1859935b7ba48367 ./autom4te.cache/output.1
62c71c73c6b8e73ceabafe75f7d250ac ./autom4te.cache/traces.0
504fc05a6aa5caedf0ace19953f533ee ./autom4te.cache/traces.1
2339c0ab7afcfd5d895a292829b7e461 ./CONTRIBUTORS
8683b98a6aeb8b041085b983f539f59f ./bin/smokeinfo
b54cd27351fcbf3a72c0a5224bf3ed0a ./bin/smokeping_cgi
342a78bc86282443477742760433e8d6 ./bin/tSmoke
1bb25893188454b02e3e143672bb4aec ./bin/smokeping
eacf1a022d4942e78fb515384cbf54f5 ./bin/Makefile.in
06576d558fadfe4d9ecb619b966b9c57 ./bin/Makefile.am
9083c1f68b09e5653842e9f9c86fe7c0 ./doc/smokeping_install.pod
b1a2b28272d7d4decc58c27a6f5cd97d ./doc/smokeping_extend.pod
b8fc311736fe86d27f114ac7ba3505df ./doc/smokeping_master_slave.pod
552b25b825a6d722a6ee32a6bc7df7e6 ./doc/smokeping_install.txt
bb3fc39164bd44704650cc650e434db7 ./doc/Makefile.in
7dbb01c4261e4a862d33b7884df17653 ./doc/Makefile.am
ea23673e9191b0eaf62331e7557451f8 ./doc/smokeping_upgrade.pod
6efd1989ec82c270e2a65466472f9038 ./lib/SNMP_Session.pm
c6ea0ad89e3104d3f443f5a15463e46c ./lib/SNMP_util.pm
dad3c12c69c46fc40cb03eae55f70bc5 ./lib/Smokeping.pm
aa38784e396ff79b7701411c3a5690fa ./lib/Smokeping/Master.pm
7fb5e259df686acb83daacd7708a72a9 ./lib/Smokeping/Examples.pm
affa12d68e79a45a82635683686673d5 ./lib/Smokeping/Config.pm
6ca9a74149bbeda25588d81a885aafac ./lib/Smokeping/ciscoRttMonMIB.pm
4840b6be3abeea9cd8f4773da3649632 ./lib/Smokeping/RRDtools.pm
947f5dd1457ebcb7f5901ec475428e77 ./lib/Smokeping/probes/NFSping.pm
b1502dd807100f8aafd97e85d12a2110 ./lib/Smokeping/probes/EchoPing.pm
c16790651d98eb85ecc2692d001a23dd ./lib/Smokeping/probes/FPingContinuous.pm
2c9a0cac05ddd312a5656dd3eeed4462 ./lib/Smokeping/probes/FPing.pm
f3148ac862ddf308ffdfa6b98b1e4454 ./lib/Smokeping/probes/skel.pm
fa25895772c5d14031e36ef1164bd138 ./lib/Smokeping/probes/base.pm
2243990ce8eed9db07845671a7a46f37 ./lib/Smokeping/probes/LDAP.pm
1bfbd2c8d1b646fda4cd915b72dec62d ./lib/Smokeping/probes/passwordchecker.pm
7745c7902518a6ac7bebbed22ddfd82f ./lib/Smokeping/probes/EchoPingIcp.pm
001b86134c2788eb6716f8155931b4ef ./lib/Smokeping/probes/EchoPingDNS.pm
0abb73c4155c1b1aac6bdc84da4e35d1 ./lib/Smokeping/probes/Radius.pm
d4d56290d9a5f248f43103054e73b2f9 ./lib/Smokeping/probes/DismanPing.pm
5534b5594c794a8e35d81c42f9f104fb ./lib/Smokeping/probes/Qstat.pm
7bf83c131ec66df9ecb71903b2171be3 ./lib/Smokeping/probes/EchoPingHttps.pm
1e4fccbd6802b2a2e40d6960c3b06c8d ./lib/Smokeping/probes/TCPPing.pm
c39943e17c351729f59a1e6af79e8b96 ./lib/Smokeping/probes/EchoPingChargen.pm
1521777598df8965907927eb92c3e408 ./lib/Smokeping/probes/FTPtransfer.pm
e8ee4043da2e34980783301350fb6ee8 ./lib/Smokeping/probes/EchoPingPlugin.pm
59c2a5701010c38c00f95e2a3eb6dd40 ./lib/Smokeping/probes/TelnetIOSPing.pm
2f9f3f0fdae60d0b812ed8494bb495a4 ./lib/Smokeping/probes/RemoteFPing.pm
5cae2fd9ad9ff93c9a2969cf60903f46 ./lib/Smokeping/probes/EchoPingSmtp.pm
4818fed56c1d7afd5b887f164a682630 ./lib/Smokeping/probes/TelnetJunOSPing.pm
6c3e91d404bae0191320c425e3c9cada ./lib/Smokeping/probes/IRTT.pm
8fe659bc4b1db1e4b7a370a4bb95eddb ./lib/Smokeping/probes/CiscoRTTMonEchoICMP.pm
9f581fbab087d0a576260f0d79273310 ./lib/Smokeping/probes/TraceroutePing.pm
788c288e521072d6bec0ee33b1f49384 ./lib/Smokeping/probes/DNS.pm
2300f76af8d86de1a640c03a70375497 ./lib/Smokeping/probes/basefork.pm
40718aab8cdbc7cb4760386476e8c1cd ./lib/Smokeping/probes/TacacsPlus.pm
ad971c0c2f08b53c4fe5da5baf434b2a ./lib/Smokeping/probes/EchoPingDiscard.pm
a1d417dd6664100d9c7cdd671e2487a2 ./lib/Smokeping/probes/AnotherCurl.pm
3965ee85c715e289737f2278236590b1 ./lib/Smokeping/probes/OpenSSHJunOSPing.pm
9c046a63424618ac3fc6abeace84f561 ./lib/Smokeping/probes/CiscoRTTMonDNS.pm
3ee5f11dd635f54d04137db332ba8186 ./lib/Smokeping/probes/SSH.pm
31e949250005ff133a85262260d9e77b ./lib/Smokeping/probes/EchoPingHttp.pm
382cd82f0b8c779ba3fc0e78180b7456 ./lib/Smokeping/probes/SendEmail.pm
583202540b57e6883d7a120477559e69 ./lib/Smokeping/probes/IOSPing.pm
b079e26ad4e054dc5fde13c9c473fea0 ./lib/Smokeping/probes/WebProxyFilter.pm
38b0f60e322c4edb0495238b3864dcaa ./lib/Smokeping/probes/AnotherDNS.pm
386baa69338b1dddc2ab202c6e454e43 ./lib/Smokeping/probes/Curl.pm
d1bb3426744b26fcec326b1652f175c0 ./lib/Smokeping/probes/OpenSSHEOSPing.pm
22d4d89cb89d09ca1252915251bf53fa ./lib/Smokeping/probes/AnotherSSH.pm
f58ebe194cb6d2313c59b86c02d654f2 ./lib/Smokeping/probes/CiscoRTTMonTcpConnect.pm
8f77dbf0c925913ce83e184a4e6187d4 ./lib/Smokeping/probes/FPing6.pm
f3c010af1de08141c91e3aedf53181da ./lib/Smokeping/probes/EchoPingLDAP.pm
4f389d382ac14503322c617e37e7636c ./lib/Smokeping/probes/EchoPingWhois.pm
5ebc965d50d4601f51239caeddf0e352 ./lib/Smokeping/probes/basevars.pm
303869aad39ec0eaa977dc665b4be679 ./lib/Smokeping/probes/SipSak.pm
8d2752f301f4f73e006724deb1f77f33 ./lib/Smokeping/pingMIB.pm
5d1510802e13a09fa6d5cdb61a2ed973 ./lib/Smokeping/Slave.pm
e4590791ff48d9d3c2e8af7d4cc89537 ./lib/Smokeping/sorters/base.pm
ab05eee799a3f7dd3ad55552ebcf9005 ./lib/Smokeping/sorters/Loss.pm
8df66ecffb3d99a83853a95fcb93ca9e ./lib/Smokeping/sorters/Median.pm
b7b48ab6ee96cade6e4aee63a6229963 ./lib/Smokeping/sorters/StdDev.pm
b0ee00e7ded5d2244074da936081a5f8 ./lib/Smokeping/sorters/Max.pm
000bb41739ce475ac0db7aebeaec4cb6 ./lib/Smokeping/RRDhelpers.pm
74dc0a7e83f7e5033dcaa59f452fc11b ./lib/Smokeping/Colorspace.pm
40d9a0d2effcd59d89bbcd893fe3f27a ./lib/Smokeping/Info.pm
8c67107c66f13565419f0641ee720f47 ./lib/Smokeping/matchers/base.pm
d70b48f27e5c9a1eb8e8f51c7a6f183a ./lib/Smokeping/matchers/Median.pm
0c680558c553638e7418cc44cbb76868 ./lib/Smokeping/matchers/ConsecutiveLoss.pm
ebf79b04b999b0eea95bcdc6a918c30d ./lib/Smokeping/matchers/CheckLoss.pm
0589f39cc33fb0a443bd947e00442c92 ./lib/Smokeping/matchers/Avgratio.pm
c9f37222afc9fab4ee9ad81c84349bfe ./lib/Smokeping/matchers/CheckLatency.pm
0e9d1d8a7a4d338152c50ff221e2f152 ./lib/Smokeping/matchers/ExpLoss.pm
71282e21e01fb6572a1859492dda2ea8 ./lib/Smokeping/matchers/Medratio.pm
9615f1119ac79d65c51997f5403b558f ./lib/Smokeping/Graphs.pm
1134871f6bbdb7d37b13eb019bb9e380 ./lib/BER.pm
4118f7b233d940612672b2480ea21a18 ./lib/Makefile.in
cd59ef3716e6e18e3e1f6464016c7533 ./lib/Makefile.am
52a3e83bba27640f6e858412fecf8907 ./cpanfile
18810669f13b87348459e611d31ab760 ./LICENSE
20a41dc90ae70beba75139b8200ae253 ./etc/smokeping_secrets.dist
35455c7e9a4762b47addc856ddb8d1cd ./etc/config.dist.in
0edf364b4e38bd545f4cf6ed27fd63f4 ./etc/smokemail.dist
9aefc38c817bc5a265a5b89845e7a283 ./etc/basepage.html.dist
efbb764be19184ddf3757b2beb1db31c ./etc/tmail.dist
71d6452487418f86028c6f10268ccb99 ./etc/Makefile.in
fdf16be02d3898935df6e9a30ad76de7 ./etc/Makefile.am
28b3c6fbfc9edb70ccafeb578cf7588a ./htdocs/js/cropper/cropper.uncompressed.js
8ef561662d9ad6cd36a534648663471c ./htdocs/js/cropper/cropper.css
2b2adfe6df6517f146b5b7c5b86eda42 ./htdocs/js/cropper/marqueeVert.gif
45bc30298a5f48aad53b4c3815d8a770 ./htdocs/js/cropper/cropper.js
9b4c27fccf817923f59b78fa6099c376 ./htdocs/js/cropper/marqueeHoriz.gif
7d22d8406c981b4d4542e8228f4178ca ./htdocs/js/cropper/licence.txt
09ef4d15cc7cdb31058181765c8820dd ./htdocs/js/scriptaculous/controls.js
bb13d308c65d4647946b0ed8d536390f ./htdocs/js/scriptaculous/scriptaculous.js
0f2db4e77f36d2ac2f1826a0c253f5cc ./htdocs/js/scriptaculous/builder.js
aecce9b9186bc24b80ff9e2403a94326 ./htdocs/js/scriptaculous/effects.js
8c03e76e44ccca0624cef4800f3ea7db ./htdocs/js/scriptaculous/dragdrop.js
65ade465b0b37ba9acdd3d722a0324ee ./htdocs/js/scriptaculous/unittest.js
eff549ad8f7495332f7ad6103658764c ./htdocs/js/scriptaculous/slider.js
f415e9ac8946878a499a174d945c898a ./htdocs/js/scriptaculous/sound.js
b3194289aa4d19188e036ec01d4d2c12 ./htdocs/js/smokeping.js
fb004124bf1ed724b26e6e188db7604e ./htdocs/js/prototype.js
5a3a81cf4d5c006de7b39e149e8aac30 ./htdocs/css/smokeping-print.css
6d82c4e7262a8b71c47e3221b72174b5 ./htdocs/css/smokeping-screen.css
d7bb88ec9d6582d282ba4d1c3f028206 ./htdocs/Makefile.in
1c5220b32f26668156bbbedece99bb70 ./htdocs/Makefile.am
71ff2adc5f257348787b6f06040cdd01 ./conftools/install-sh
9563d3c0a7949776e3aee6831ad2a560 ./conftools/missing
2a899d30e2a02a5275258b58503d129b ./Makefile.in
b2afdcfbea0fdc675c157e8119afb43b ./COPYRIGHT
cc8471e7aaf58248ca90931622339177 ./Makefile.am

124
debian/autoreconf.before vendored Normal file
View File

@@ -0,0 +1,124 @@
129546fe4287e256e267cb5a6d27f35b ./CHANGES
e1cbcec71e50595b705ff09f50d99bf2 ./README.md
1b173bf7a0a9360b7405c47ddce873c5 ./VERSION
92e5ed4a6c67e54a7162fde587beb49d ./TODO
b6538500b8c7d36d0864fb16751574bb ./configure.ac
8ba29f9a8f5cd5a8904dd790c3cbec29 ./thirdparty/cpanfile-5.38.snapshot
19770f137f08138ec90a212679805033 ./thirdparty/Makefile.am
2339c0ab7afcfd5d895a292829b7e461 ./CONTRIBUTORS
8683b98a6aeb8b041085b983f539f59f ./bin/smokeinfo
b54cd27351fcbf3a72c0a5224bf3ed0a ./bin/smokeping_cgi
342a78bc86282443477742760433e8d6 ./bin/tSmoke
1bb25893188454b02e3e143672bb4aec ./bin/smokeping
06576d558fadfe4d9ecb619b966b9c57 ./bin/Makefile.am
9083c1f68b09e5653842e9f9c86fe7c0 ./doc/smokeping_install.pod
b1a2b28272d7d4decc58c27a6f5cd97d ./doc/smokeping_extend.pod
b8fc311736fe86d27f114ac7ba3505df ./doc/smokeping_master_slave.pod
552b25b825a6d722a6ee32a6bc7df7e6 ./doc/smokeping_install.txt
7dbb01c4261e4a862d33b7884df17653 ./doc/Makefile.am
ea23673e9191b0eaf62331e7557451f8 ./doc/smokeping_upgrade.pod
6efd1989ec82c270e2a65466472f9038 ./lib/SNMP_Session.pm
c6ea0ad89e3104d3f443f5a15463e46c ./lib/SNMP_util.pm
dad3c12c69c46fc40cb03eae55f70bc5 ./lib/Smokeping.pm
aa38784e396ff79b7701411c3a5690fa ./lib/Smokeping/Master.pm
7fb5e259df686acb83daacd7708a72a9 ./lib/Smokeping/Examples.pm
affa12d68e79a45a82635683686673d5 ./lib/Smokeping/Config.pm
6ca9a74149bbeda25588d81a885aafac ./lib/Smokeping/ciscoRttMonMIB.pm
4840b6be3abeea9cd8f4773da3649632 ./lib/Smokeping/RRDtools.pm
947f5dd1457ebcb7f5901ec475428e77 ./lib/Smokeping/probes/NFSping.pm
b1502dd807100f8aafd97e85d12a2110 ./lib/Smokeping/probes/EchoPing.pm
c16790651d98eb85ecc2692d001a23dd ./lib/Smokeping/probes/FPingContinuous.pm
2c9a0cac05ddd312a5656dd3eeed4462 ./lib/Smokeping/probes/FPing.pm
f3148ac862ddf308ffdfa6b98b1e4454 ./lib/Smokeping/probes/skel.pm
fa25895772c5d14031e36ef1164bd138 ./lib/Smokeping/probes/base.pm
2243990ce8eed9db07845671a7a46f37 ./lib/Smokeping/probes/LDAP.pm
1bfbd2c8d1b646fda4cd915b72dec62d ./lib/Smokeping/probes/passwordchecker.pm
7745c7902518a6ac7bebbed22ddfd82f ./lib/Smokeping/probes/EchoPingIcp.pm
001b86134c2788eb6716f8155931b4ef ./lib/Smokeping/probes/EchoPingDNS.pm
0abb73c4155c1b1aac6bdc84da4e35d1 ./lib/Smokeping/probes/Radius.pm
d4d56290d9a5f248f43103054e73b2f9 ./lib/Smokeping/probes/DismanPing.pm
5534b5594c794a8e35d81c42f9f104fb ./lib/Smokeping/probes/Qstat.pm
7bf83c131ec66df9ecb71903b2171be3 ./lib/Smokeping/probes/EchoPingHttps.pm
1e4fccbd6802b2a2e40d6960c3b06c8d ./lib/Smokeping/probes/TCPPing.pm
c39943e17c351729f59a1e6af79e8b96 ./lib/Smokeping/probes/EchoPingChargen.pm
1521777598df8965907927eb92c3e408 ./lib/Smokeping/probes/FTPtransfer.pm
e8ee4043da2e34980783301350fb6ee8 ./lib/Smokeping/probes/EchoPingPlugin.pm
59c2a5701010c38c00f95e2a3eb6dd40 ./lib/Smokeping/probes/TelnetIOSPing.pm
2f9f3f0fdae60d0b812ed8494bb495a4 ./lib/Smokeping/probes/RemoteFPing.pm
5cae2fd9ad9ff93c9a2969cf60903f46 ./lib/Smokeping/probes/EchoPingSmtp.pm
4818fed56c1d7afd5b887f164a682630 ./lib/Smokeping/probes/TelnetJunOSPing.pm
6c3e91d404bae0191320c425e3c9cada ./lib/Smokeping/probes/IRTT.pm
8fe659bc4b1db1e4b7a370a4bb95eddb ./lib/Smokeping/probes/CiscoRTTMonEchoICMP.pm
9f581fbab087d0a576260f0d79273310 ./lib/Smokeping/probes/TraceroutePing.pm
788c288e521072d6bec0ee33b1f49384 ./lib/Smokeping/probes/DNS.pm
2300f76af8d86de1a640c03a70375497 ./lib/Smokeping/probes/basefork.pm
40718aab8cdbc7cb4760386476e8c1cd ./lib/Smokeping/probes/TacacsPlus.pm
ad971c0c2f08b53c4fe5da5baf434b2a ./lib/Smokeping/probes/EchoPingDiscard.pm
a1d417dd6664100d9c7cdd671e2487a2 ./lib/Smokeping/probes/AnotherCurl.pm
3965ee85c715e289737f2278236590b1 ./lib/Smokeping/probes/OpenSSHJunOSPing.pm
9c046a63424618ac3fc6abeace84f561 ./lib/Smokeping/probes/CiscoRTTMonDNS.pm
3ee5f11dd635f54d04137db332ba8186 ./lib/Smokeping/probes/SSH.pm
31e949250005ff133a85262260d9e77b ./lib/Smokeping/probes/EchoPingHttp.pm
382cd82f0b8c779ba3fc0e78180b7456 ./lib/Smokeping/probes/SendEmail.pm
583202540b57e6883d7a120477559e69 ./lib/Smokeping/probes/IOSPing.pm
b079e26ad4e054dc5fde13c9c473fea0 ./lib/Smokeping/probes/WebProxyFilter.pm
38b0f60e322c4edb0495238b3864dcaa ./lib/Smokeping/probes/AnotherDNS.pm
386baa69338b1dddc2ab202c6e454e43 ./lib/Smokeping/probes/Curl.pm
d1bb3426744b26fcec326b1652f175c0 ./lib/Smokeping/probes/OpenSSHEOSPing.pm
22d4d89cb89d09ca1252915251bf53fa ./lib/Smokeping/probes/AnotherSSH.pm
f58ebe194cb6d2313c59b86c02d654f2 ./lib/Smokeping/probes/CiscoRTTMonTcpConnect.pm
8f77dbf0c925913ce83e184a4e6187d4 ./lib/Smokeping/probes/FPing6.pm
f3c010af1de08141c91e3aedf53181da ./lib/Smokeping/probes/EchoPingLDAP.pm
4f389d382ac14503322c617e37e7636c ./lib/Smokeping/probes/EchoPingWhois.pm
5ebc965d50d4601f51239caeddf0e352 ./lib/Smokeping/probes/basevars.pm
303869aad39ec0eaa977dc665b4be679 ./lib/Smokeping/probes/SipSak.pm
8d2752f301f4f73e006724deb1f77f33 ./lib/Smokeping/pingMIB.pm
5d1510802e13a09fa6d5cdb61a2ed973 ./lib/Smokeping/Slave.pm
e4590791ff48d9d3c2e8af7d4cc89537 ./lib/Smokeping/sorters/base.pm
ab05eee799a3f7dd3ad55552ebcf9005 ./lib/Smokeping/sorters/Loss.pm
8df66ecffb3d99a83853a95fcb93ca9e ./lib/Smokeping/sorters/Median.pm
b7b48ab6ee96cade6e4aee63a6229963 ./lib/Smokeping/sorters/StdDev.pm
b0ee00e7ded5d2244074da936081a5f8 ./lib/Smokeping/sorters/Max.pm
000bb41739ce475ac0db7aebeaec4cb6 ./lib/Smokeping/RRDhelpers.pm
74dc0a7e83f7e5033dcaa59f452fc11b ./lib/Smokeping/Colorspace.pm
40d9a0d2effcd59d89bbcd893fe3f27a ./lib/Smokeping/Info.pm
8c67107c66f13565419f0641ee720f47 ./lib/Smokeping/matchers/base.pm
d70b48f27e5c9a1eb8e8f51c7a6f183a ./lib/Smokeping/matchers/Median.pm
0c680558c553638e7418cc44cbb76868 ./lib/Smokeping/matchers/ConsecutiveLoss.pm
ebf79b04b999b0eea95bcdc6a918c30d ./lib/Smokeping/matchers/CheckLoss.pm
0589f39cc33fb0a443bd947e00442c92 ./lib/Smokeping/matchers/Avgratio.pm
c9f37222afc9fab4ee9ad81c84349bfe ./lib/Smokeping/matchers/CheckLatency.pm
0e9d1d8a7a4d338152c50ff221e2f152 ./lib/Smokeping/matchers/ExpLoss.pm
71282e21e01fb6572a1859492dda2ea8 ./lib/Smokeping/matchers/Medratio.pm
9615f1119ac79d65c51997f5403b558f ./lib/Smokeping/Graphs.pm
1134871f6bbdb7d37b13eb019bb9e380 ./lib/BER.pm
cd59ef3716e6e18e3e1f6464016c7533 ./lib/Makefile.am
52a3e83bba27640f6e858412fecf8907 ./cpanfile
18810669f13b87348459e611d31ab760 ./LICENSE
20a41dc90ae70beba75139b8200ae253 ./etc/smokeping_secrets.dist
35455c7e9a4762b47addc856ddb8d1cd ./etc/config.dist.in
0edf364b4e38bd545f4cf6ed27fd63f4 ./etc/smokemail.dist
9aefc38c817bc5a265a5b89845e7a283 ./etc/basepage.html.dist
efbb764be19184ddf3757b2beb1db31c ./etc/tmail.dist
fdf16be02d3898935df6e9a30ad76de7 ./etc/Makefile.am
28b3c6fbfc9edb70ccafeb578cf7588a ./htdocs/js/cropper/cropper.uncompressed.js
8ef561662d9ad6cd36a534648663471c ./htdocs/js/cropper/cropper.css
2b2adfe6df6517f146b5b7c5b86eda42 ./htdocs/js/cropper/marqueeVert.gif
45bc30298a5f48aad53b4c3815d8a770 ./htdocs/js/cropper/cropper.js
9b4c27fccf817923f59b78fa6099c376 ./htdocs/js/cropper/marqueeHoriz.gif
7d22d8406c981b4d4542e8228f4178ca ./htdocs/js/cropper/licence.txt
09ef4d15cc7cdb31058181765c8820dd ./htdocs/js/scriptaculous/controls.js
bb13d308c65d4647946b0ed8d536390f ./htdocs/js/scriptaculous/scriptaculous.js
0f2db4e77f36d2ac2f1826a0c253f5cc ./htdocs/js/scriptaculous/builder.js
aecce9b9186bc24b80ff9e2403a94326 ./htdocs/js/scriptaculous/effects.js
8c03e76e44ccca0624cef4800f3ea7db ./htdocs/js/scriptaculous/dragdrop.js
65ade465b0b37ba9acdd3d722a0324ee ./htdocs/js/scriptaculous/unittest.js
eff549ad8f7495332f7ad6103658764c ./htdocs/js/scriptaculous/slider.js
f415e9ac8946878a499a174d945c898a ./htdocs/js/scriptaculous/sound.js
b3194289aa4d19188e036ec01d4d2c12 ./htdocs/js/smokeping.js
fb004124bf1ed724b26e6e188db7604e ./htdocs/js/prototype.js
5a3a81cf4d5c006de7b39e149e8aac30 ./htdocs/css/smokeping-print.css
6d82c4e7262a8b71c47e3221b72174b5 ./htdocs/css/smokeping-screen.css
1c5220b32f26668156bbbedece99bb70 ./htdocs/Makefile.am
b2afdcfbea0fdc675c157e8119afb43b ./COPYRIGHT
cc8471e7aaf58248ca90931622339177 ./Makefile.am

998
debian/changelog vendored Normal file
View File

@@ -0,0 +1,998 @@
smokeping (2.9.0+linuxiarz.pl-1) unstable; urgency=medium
[ linuxiarz.pl ]
* Bump to 2.9.0
smokeping (2.8.2+ds-1) unstable; urgency=medium
[ Gabriel Filion ]
* New upstream version (Closes: #1004308, #740852)
* All patches that were merged upstream were removed
* Add an example lighttpd configuration file for smokeping (Closes: #961950)
* Import upstream patch to fix curl probes (Closes: #986068)
* Avoid errors with ucf/ucfr during postrm (Closes: #1005807)
* New required library libobject-result-perl for influxdb
* Remove obsolete dependency on lsb-base
* fix lintian warning about unmatched news entry
* lintian-overrides are now obsolete
* Clear out copyright details for files removed in repack
* Patch out building of 3rd-party js libs
* Revert "fix lintian warning about unmatched news entry"
[ Debian Janitor ]
* Bump debhelper from old 12 to 13.
* Update standards version to 4.6.1, no changes needed.
-- Gabriel Filion <gabster@lelutin.ca> Sun, 04 Feb 2024 14:54:09 -0500
smokeping (2.7.3-4) unstable; urgency=low
[ Debian Janitor ]
* Trim trailing whitespace.
* Bump debhelper from old 10 to 12.
* Set debhelper-compat version in Build-Depends.
* Drop unnecessary dependency on dh-autoreconf.
* Update standards version to 4.5.0, no changes needed.
[ Gabriel Filion ]
* Import patch that disables refresh while zooming (Closes:#981348)
* Import patch disabling rsa1 and enabling ecdsa for ssh probe (Closes:
#962225)
-- Gabriel Filion <gabriel@koumbit.org> Sun, 24 Apr 2022 14:44:58 -0400
smokeping (2.7.3-3) unstable; urgency=medium
[ Gabriel Filion ]
* start generating smokeinfo manpage
* postrm: purge, removal of apache2/conf.d/smokeping not needed anymore
* make css and js load from the /smokeping alias (closes: #929515)
* change fix-conf-paths patch to point the daemon to /run/smokeping for its
pid indead of /var/run/smokeping
[ Matteo F. Vescovi ]
* debian/patches/: fix-alert-edgetriggers added (Closes: #934170)
-- Gabriel Filion <gabriel@koumbit.org> Sat, 11 Jul 2020 00:00:19 +0200
smokeping (2.7.3-2) unstable; urgency=medium
[ Gabriel Filion ]
* systemd: run service as smokeping user
The systemd service unit file that was introduced in 2.7.3-1 didn't setup
user and group properly for the service, and the daemon was running as root.
This is now corrected, but it might mean that some files were created by and
are owned by root. To fix this, you can use the following command:
.
find /var/lib/smokeping/ -mindepth 1 -name '__cgi' -prune -o \
-exec chown smokeping:smokeping {} \;
* missing-VERSION forwarded and merged upstream
* patch "fix-400d-graph" forwarded and merged upstream
* rename patch path_changes to make its name more meaningful
* reduce javascript_path_changes to the strict minimum
* fix-perl-lib: indicate that the patch shouldn't be forwarded
* proper-samle-conf: indicate that it shouldn't be forwarded
* make commands invoked in rules more verbose as per policy version 4.2.0
* use https for the homepage
* Bump Standards-Version to 4.3.0
* merge both patches that hardcode config path
* init.d: match on pidfile only prevents service stop (closes: #922395)
* systemd: move example for slave mode in the examples dir
* control: erroneous and duplicated mention of default mta
[ Sven Hartge ]
* Change group of secrets file for slaves to www-data (Closes: #760945)
-- Gabriel Filion <gabriel@koumbit.org> Sat, 23 Feb 2019 19:54:18 -0500
smokeping (2.7.3-1) unstable; urgency=medium
* use https in watch file
* new upstream release
* remove patch merged upstream
* add systemd service
-- Gabriel Filion <gabriel@koumbit.org> Wed, 23 Jan 2019 19:26:45 -0500
smokeping (2.7.2-3) unstable; urgency=medium
[ Ondřej Nový ]
* d/control: Deprecating priority extra as per policy 4.0.1
* d/changelog: Remove trailing whitespaces
* d/control: Remove trailing whitespaces
[ Gabriel Filion ]
* Update patch fping-protocol-version: setup default values (Closes: #908674)
[ Antoine Beaupré ]
* Update lintian bypass for embedded javascript
-- Gabriel Filion <gabriel@koumbit.org> Thu, 11 Oct 2018 19:22:32 -0400
smokeping (2.7.2-2) unstable; urgency=medium
[ Gabriel Filion ]
* Add patch fping-protocol-version. (Closes: #905752)
[ Antoine Beaupré ]
* upload to unstable (Closes: #898580)
-- Antoine Beaupré <anarcat@debian.org> Sun, 26 Aug 2018 17:28:53 -0400
smokeping (2.7.2-1) experimental; urgency=medium
* new upstream release (Closes: #898580)
* drop patch typo_642197 fixed upstream
-- Antoine Beaupré <anarcat@debian.org> Tue, 15 May 2018 12:21:26 -0400
smokeping (2.6.11-5) unstable; urgency=medium
[ Gabriel Filion ]
* Add a directory index to show the cgi instead of a 403 (Closes:
#885699, #882987)
[ Antoine Beaupré ]
* document FastCGI configuration (Closes: #684870)
* repository migrated to salsa
* add Gabriel as maintainer
-- Antoine Beaupré <anarcat@debian.org> Sat, 12 May 2018 15:48:07 -0400
smokeping (2.6.11-4) unstable; urgency=medium
* add missing build-dep on rename (Closes: #826056)
* check config file validity - thanks Matus UHLAR (Closes: #847924)
* fix slave permissions configuration - thanks Sven Hartge (Closes: #760945)
* bump dh compat, no change
-- Antoine Beaupré <anarcat@debian.org> Tue, 28 Nov 2017 11:57:04 -0500
smokeping (2.6.11-3) unstable; urgency=medium
* remove outdated information from README.Debian (Closes: #804384)
* fix permissions error on default config, enable CGI module in postinst
(Closes: #760474, #821925)
* remove Rowan Thorpe from Uploaders, I haven't heard from him in over a
year
* fix lintian warnings
* depend on default-mta to fix default config on fresh installs
-- Antoine Beaupré <anarcat@debian.org> Wed, 18 May 2016 17:59:06 -0400
smokeping (2.6.11-2) unstable; urgency=high
* security fix for CVE-2015-0859: code execution via CGI arguments due
to Debian Apache configuration
-- Antoine Beaupré <anarcat@debian.org> Tue, 10 Nov 2015 13:51:56 -0500
smokeping (2.6.11-1) unstable; urgency=medium
* new upstream release, see https://oss.oetiker.ch/smokeping/pub/CHANGES
(Closes: #708615, #759483, #783229)
* do not ship incorrect .fcgi file (Closes: #695438)
* port to apache 2.4 (Closes: #669799)
* drop patches factored in upstream: fix-pod-escaping, fcgi_destdir
* add patch to ignore missing VERSION file
* add missing dependencies
-- Antoine Beaupré <anarcat@debian.org> Thu, 04 Jun 2015 22:53:39 -0400
smokeping (2.6.9-1) unstable; urgency=medium
* Upload to unstable
* remove jsogo as uploader, as I haven't heard from him in years
* Bug fix: missing "#MODE=slave" in /etc/default/smokeping, thanks to
xavier renaut for reporting and Rowan Thorpe for confirmation (Closes:
#685811).
* follow anonscm.d.o rename
* fix status doesn't use the pidfile (Closes: #699799)
* use dh_autoreconf to fix configure step, thanks to Rowan Thorpe
* Use dh_autoreconf to avoid errors about "missing xx" and to allow
rebuilding after first build (Closes: #724471)
* use dh_auto_configure rather than ./configure in rules, to only
override specified flags, not all
* add patches from Rowan Thorpe
* fix-paths-inside-executables - hardcode paths inside executables
(Closes: #707225)
* fix-pod-escaping - quote-protect a slash in a pod-link (Closes:
#752393)
* bump standards to 3.9.5, no change
* fix dependency list to ease diffs
-- Antoine Beaupré <anarcat@debian.org> Mon, 07 Jul 2014 22:03:59 -0400
smokeping (2.6.9-1~exp0) experimental; urgency=high
* New upstream release to properly fix CVE-2012-0790 (Closes: #659899)
* Acknowledge the NMU, thanks gregor!
-- Antoine Beaupré <anarcat@debian.org> Sat, 16 Mar 2013 11:34:03 -0400
smokeping (2.6.8-1.1) unstable; urgency=low
* Non-maintainer upload.
* Fix "fails to install, remove, distupgrade, and install again":
remove ucf config files also on install (not only on upgrade); cf. the
changelog entry for 2.6.5-2 and #655968.
(Closes: #668383)
* Remove Niko Tyni from Uploaders as per his request in #668383.
-- gregor herrmann <gregoa@debian.org> Mon, 30 Jul 2012 21:02:52 +0200
smokeping (2.6.8-1) unstable; urgency=low
* New upstream release
-- Antoine Beaupré <anarcat@debian.org> Sun, 26 Feb 2012 13:25:13 -0500
smokeping (2.6.7-1) unstable; urgency=high
* New upstream release to fix CVE-2012-0790 (Closes: #659899)
-- Antoine Beaupré <anarcat@debian.org> Tue, 14 Feb 2012 13:30:29 -0500
smokeping (2.6.5-2) unstable; urgency=low
* Bug fix: "prompting due to modified conffiles which where not modified
by the user", thanks to Holger Levsen (Closes: #655968). This is done
by simply removing ucf config files that were not changed before
installing them.
* fix lintian warning by refering explicitly to GPL-2
* update standards version to 3.9.2, no change
* unset locale (LC_ALL) when building to please the build process
-- Antoine Beaupré <anarcat@debian.org> Sun, 15 Jan 2012 18:17:16 -0500
smokeping (2.6.5-1) unstable; urgency=low
* fix pathnames
-- Antoine Beaupré <anarcat@debian.org> Mon, 21 Nov 2011 22:26:40 -0500
smokeping (2.6.5-1~experimental1) experimental; urgency=low
* fix reload in startup script
* forgot in previous changelog: stop using ucf now that we generate
config files during build, which leads to extra prompts during
upgrades.
-- Antoine Beaupré <anarcat@debian.org> Wed, 16 Nov 2011 11:59:33 -0500
smokeping (2.6.5-1~experimental0) experimental; urgency=low
* new upstream release (Closes: #485977).
* take over maintainership, leaving previous maintainer as uploader
(Closes: #568742).
* remove patches:
* 15_clean_makefile.dpatch - makefile is now clean
* 20_html-parser.dpatch - obsolete
* strip down patch:
* 10_path_changes.dpatch - only fix the HTML paths
* add patches:
* fcgi_destdir - setup the fcgi script properly
* fix-conf-path-cgi - hardcode the path to the config in the CGI script
* fix-conf-paths - fix paths in main config
* fix-perl-lib - fix path to PERLIB
* proper-sample-conf - have a proper sample config
* typo_642197 - fix typo in mail template (Closes: #642197)
* fix-400d-graph - fix long term graph (Closes: #618851)
* rewrite debian/rules with debhelper 7
* remove our custom config.d files, instead we split the upstream config
in multiple files during the build, our modifications are now patches
to the default config (Closes: #589679)
* remove old (pre 2.3.6) compatibility code, now that even oldstable is
running that release
* switch to 3.0 (quilt) format
-- Antoine Beaupré <anarcat@debian.org> Mon, 07 Nov 2011 00:15:53 -0500
smokeping (2.3.6-5) unstable; urgency=medium
* debian/patches/20_html-parser.dpatch: fix an incompatibility with
recent versions of HTML::Parser. (Closes: #560562)
-- Niko Tyni <ntyni@debian.org> Sun, 20 Dec 2009 22:38:16 +0200
smokeping (2.3.6-4) unstable; urgency=low
* Depend on libconfig-grammar-perl instead of bundling it. (Closes: #531196)
* Install the perl code in /usr/share/smokeping/lib instead of
/usr/share/perl5/smokeping.
* Downgrade the exim4 | mail-transport agent dependency to a suggestion.
(Closes: #520350)
* Remove the obsolete libnet-perl dependency.
* Depend on javascript libraries instead of bundling them. (Closes: #475285)
+ cpio not used anymore. (Closes: #537026)
* Move away from /var/www but add compatibility symlinks on upgrades.
See NEWS.Debian. (Closes: #521333)
+ automatically enable the web server configuration on new installations
where possible.
* Serve UTF-8 by default. Thanks to Elmar Hoffmann. (Closes: #506978)
* Don't ship /var/run/smokeping, it will be created at run time.
* Upgrade to Standards-Version 3.8.2.
+ add Homepage, Vcs-Git, and Vcs-Browser information to debian/control.
* Change the alternate web server recommendation to httpd-cgi as per policy.
-- Niko Tyni <ntyni@debian.org> Tue, 21 Jul 2009 21:11:01 +0300
smokeping (2.3.6-3) unstable; urgency=low
* Unset LC_ALL in the init script because the daemon needs to
reset LC_NUMERIC. (Closes: #489766)
* Fix a bashism in the postinst script. Thanks, lintian.
-- Niko Tyni <ntyni@debian.org> Fri, 29 Aug 2008 18:29:34 +0300
smokeping (2.3.6-2) unstable; urgency=low
* Kill speedy_backend processes that are running on stop (Closes: #485880)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Wed, 02 Jul 2008 00:30:34 +0200
smokeping (2.3.6-1) unstable; urgency=low
* New upstream release.
+ honours the 'linkstyle' variable when zooming. (Closes: #476404)
* Wait until the daemon has exited when stopping it with the init.d script.
This should fix a race condition that made restarts fail sporadically.
(Closes: #478241)
-- Niko Tyni <ntyni@debian.org> Mon, 28 Apr 2008 21:49:28 +0300
smokeping (2.3.5-2) unstable; urgency=low
* Prevent an unnecessary ucf prompt for the Slaves section on upgrades.
* Upload to unstable.
-- Niko Tyni <ntyni@debian.org> Fri, 04 Apr 2008 08:47:24 +0300
smokeping (2.3.5-1) experimental; urgency=low
* New upstream release. (Closes: #470295)
+ debian/patches/30_slave_piddir.dpatch: removed, included upstream.
+ new dependency on libdigest-hmac-perl
* Revisit the directory permissions of various directories under /var.
See also NEWS.Debian.
+ use /var/lib/smokeping/__cgi as a storage place for the CGI.
(Closes: #470382)
+ debian/postinst:
* set the right permissions on install
* move *.adr files under __cgi on upgrade
* honour DAEMON_ARGS from /etc/default/smokeping even in slave mode.
* Remove the example target hierarchy 'World' from the default configuration
file, so that no unnecessary directories are created in the CGI directory.
* debian/rules: recreate empty documentation directories if needed to ease
working with a git repository.
* Split the monolithic configuration file into configuration snippets
in /etc/smokeping/config.d. See NEWS.Debian. (Closes: #473223)
+ use ucf for managing all the configuration files to ease the merging
+ debian/patches/20_conffile.dpatch: removed
* Install the upstream config template in /usr/share/doc too, because
smokeping_examples(7) says so and it doesn't hurt.
* Update debian/copyright.
* Don't blindly remove the whole /etc/smokeping on purge, just the
configuration files managed by maintainers scripts and any ucf leftovers.
* Upload to experimental to get a bit of testing first.
-- Niko Tyni <ntyni@debian.org> Tue, 11 Mar 2008 22:30:04 +0200
smokeping (2.3.2-1) unstable; urgency=low
* New upstream release. (Closes: #468928)
* Add support for the new "slave mode", enabled via
/etc/default/smokeping. (Closes: #466533)
* debian/patches/30_slave_piddir.dpatch: Add an optional
--pid-dir option to specify the pid directory when running as a slave.
* Change the doc-base section to Network/Monitoring. Thanks, lintian.
-- Niko Tyni <ntyni@debian.org> Tue, 04 Mar 2008 23:36:58 +0200
smokeping (2.3.0-1) unstable; urgency=low
* New upstream version.
+ new dependency on liburi-perl
+ debian/patches/30_jszoom.dpatch: removed, applied upstream.
-- Niko Tyni <ntyni@debian.org> Thu, 24 Jan 2008 23:27:29 +0200
smokeping (2.2.7-2) unstable; urgency=low
* debian/patches/30_jszoom.dpatch: fix a javascript error
on pages without a zoom widget. (Closes: #457071)
* Change my maintainer email address.
* Upgrade to Standards-Version 3.7.3. No changes needed.
* Add two short patch descriptions in debian/patches.
* Don't install an empty /usr/bin directory.
-- Niko Tyni <ntyni@debian.org> Sun, 23 Dec 2007 20:57:49 +0200
smokeping (2.2.7-1) unstable; urgency=low
* New upstream release
* Create /var/run/smokeping at startup if it doesn't exist.
Patch from Ubuntu.
-- Niko Tyni <ntyni@iki.fi> Sat, 10 Nov 2007 09:55:32 +0200
smokeping (2.2.6-1) unstable; urgency=low
* New upstream release.
* Update debian/copyright, including a typo fix. (Closes: #445877)
-- Niko Tyni <ntyni@iki.fi> Sun, 28 Oct 2007 15:51:36 +0200
smokeping (2.2.4-1) unstable; urgency=low
* New upstream release
+ includes graph zooming code that is installed in /var/www/smokeping
+ new master/slave functionality needs a dependency on libwww-perl
+ requires librrds-perl >= 1.2; update the dependency
* debian/patches:
+ 30_missing_smoke.dpatch: removed, now included upstream.
* Update debian/copyright for the included javascript libraries.
* Wrap overlong dependency lines in debian/control.
* debian/rules: fix the build-stamp dependency so it will not skip
the patch step
* Include an example secret file for the master/slave functionality
* Upgrade apache recommendation to apache2.
-- Niko Tyni <ntyni@iki.fi> Mon, 17 Sep 2007 10:57:29 +0300
smokeping (2.1.1-1) unstable; urgency=low
* New upstream release.
* Patches included upstream:
+ 40_password.dpatch
+ 50_ldap.dpatch
+ 60_fping.dpatch
+ 70_syslog.dpatch
* Recommend echoping, don't list it as an alternative dependency.
* Suggest openssh-client instead of ssh. (Closes: #416539)
* Don't delete the smokeping user when the package is purged.
* Update debian/watch: upstream has moved.
* Rewrite the init script for LSB support.
+ Depend on lsb-base accordingly.
* Add a note in README.Debian about sporadic problems with the
CGI reloading configuration changes.
* Point to the note when executing '/etc/init.d/smokeping reload'.
(Closes: #397609)
* debian/patches/30_missing_smoke.dpatch: show the visible part of all
smoke even if the rest of it doesn't fit on the scale. (Closes: #412826)
-- Niko Tyni <ntyni@iki.fi> Mon, 14 May 2007 23:25:27 +0300
smokeping (2.0.9-2) unstable; urgency=low
* debian/patches/15_clean_makefile.dpatch:
+ remove unneeded and potentially unsecure include paths.
* debian/patches: selected patches from the upstream SVN repository
+ 40_password.dpatch: skip reading the password file when running as a CGI.
+ 50_ldap.dpatch: Make the 'scope' option in the LDAP probe actually work.
+ 60_fping.dpatch:
* Support the '-S' (set source address, see #198486) fping option.
* Don't try to execute fping when running as a CGI.
+ 70_syslog.dpatch: Don't die silently if syslogd is unavailable.
(Closes: #395056)
* Remove all the autogenerated documentation at clean time, to properly
undo the effects of the 'build' target.
* Install example configuration files for documentation.
-- Niko Tyni <ntyni@iki.fi> Thu, 26 Oct 2006 21:45:56 +0300
smokeping (2.0.9-1) unstable; urgency=low
* New upstream release
* Add debian/watch.
* Update debian/copyright.
-- Niko Tyni <ntyni@iki.fi> Sat, 15 Jul 2006 10:11:06 +0300
smokeping (2.0.8-3) unstable; urgency=low
* remove all configuration file modifications from postinst, as per policy.
* no need for debconf anymore; remove all translations as well.
* add a NEWS.Debian entry about configuration file incompatibilities
between versions 1.x and 2.x.
* Upgraded to Standards-Version 3.7.2. No changes needed.
-- Niko Tyni <ntyni@iki.fi> Sun, 28 May 2006 23:02:09 +0300
smokeping (2.0.8-2) unstable; urgency=low
* debian/patches/10_path_changes.dpatch: fix the library path.
(Closes: #363439)
* debian/control: move dpatch to Build-Depends, as it's
required for the 'clean' target.
* debian/po/cs.po: include a Czech translation from Miroslav Kure.
(Closes: #363118)
* debian/po/fr.po: include a French translation from Olivier Trichet.
(Closes: #364165)
* debian/rules: don't run the 'build' target twice.
* debian/postinst: accept 'reconfigure' as the first parameter.
-- Niko Tyni <ntyni@iki.fi> Sun, 23 Apr 2006 20:33:29 +0300
smokeping (2.0.8-1) unstable; urgency=low
[ Niko Tyni ]
* New upstream version.
+ makes all the CGI self-referring links relative and provides a
new variable to configure this behaviour. (Closes: #351783)
* debian/postrm:
+ only call deluser if the smokeping user exists
+ redirect all deluser output to stderr so debconf won't get confused
* Delay init.d startup so the SSH probe can test against localhost
(Closes: #349832)
* Upgrade to debhelper compatibility level 5.
* Move debhelper from Build-Depends-Indep to Build-Depends, since it's
required in the 'clean' target.
* (po-)debconfize the postinst note on failed upgrade
+ debian/po/fi.po: include a Finnish translation
+ debian/po/es.po: include a Spanish translation
+ debian/rules: add a dh_installdebconf call
+ debian/control: Build-Depend on po-debconf, Depend on ${misc:Depends}
[ Jose Carlos Garcia Sogo ]
* Integrate Niko work in latest versions. Again, a big thanks goes to him.
* debian/patches:
+ 10_path_changes: included again. Also change tSmoke.dist paths.
+ 20_conffile: included again.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sun, 16 Apr 2006 13:03:43 +0200
smokeping (2.0.5-2) unstable; urgency=low
* Merge smokeping--debian--2.0.5 branch when preparing the package:
+ Change default perl location. (Closes: #339690)
+ Change default config file. (Closes: #339816)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sat, 19 Nov 2005 10:50:22 +0100
smokeping (2.0.5-1) unstable; urgency=low
[ Niko Tyni ]
* New upstream version
+ use the 'cgiurl' variable for all CGI self-refering links
(Closes: #339019)
* debian/doc-base:
+ add document authors
+ fix the text document directory
* debian/postrm:
+ use 'deluser --system' to delete the user at purge time.
[ Jose Carlos Garcia Sogo ]
* Merged smokeping--*--2.0.5 branches from Niko's repo.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Wed, 16 Nov 2005 23:35:23 +0100
smokeping (2.0.4-1) unstable; urgency=low
[ Niko Tyni ]
* New upstream version
+ doesn't create new RRD files when run with '--reload' (Closes: #333373)
[ Jose Carlos Garcia Sogo ]
* Added Niko Tyni <ntyni@iki.fi> to the list of uploaders. Usually he is
doing much of the work, and I do not have any need of making any change.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Wed, 12 Oct 2005 19:52:40 +0200
smokeping (2.0.3-1) unstable; urgency=low
[ Niko Tyni ]
* New upstream version
+ Make the package build without extra Build-Depends. (Closes: #330009)
[ Jose Carlos Garcia Sogo ]
* Integrate and upload. Thanks Niko for your work!
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sat, 1 Oct 2005 14:00:45 +0200
smokeping (2.0.2-1) unstable; urgency=low
[ Niko Tyni ]
* New upstream version
* debian/init.d: implemented 'reload'
[ Jose Carlos Garcia Sogo ]
* Merged versions 2.0.1-1 and 2.0.2-1 in my baz repository.
Thanks goes to Niko Tyni for his work.
* Changed FSF address from copyright file.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sat, 24 Sep 2005 11:11:03 +0200
smokeping (2.0.1-1) unstable; urgency=low
* New upstream version (Closes: #329339)
* try to upgrade the config file automatically
* give a warning and a pointer to the smokeping_upgrade doc
if the upgrade isn't succesful
-- Niko Tyni <ntyni@iki.fi> Thu, 22 Sep 2005 17:58:53 +0000
smokeping (1.42-2) unstable; urgency=low
* Fix problem in default config file not allowing white space
which was added in previous version for local fping target. (Closes: #324846)
* debian/control: have to depend on adduser as it is being used in postinst.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sun, 28 Aug 2005 20:36:32 +0200
smokeping (1.42-1) unstable; urgency=low
* New upstream version
+ Works with RRDtool > 1.2 (Closes: #309344)
+ Fixed curl documentation (Closes: #283652)
+ Added an 'include' directive in config parser (Closes: #307955)
* Changed default location of sendmail to /usr/sbin (Closes: #302164)
* Added localhost as default fping target (Closes: #307954)
* Standars-version bumped to 3.6.2. No changes needed.
* README.Debian: document enabled localhost fping probe.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Thu, 18 Aug 2005 00:06:45 +0200
smokeping (1.38-3) unstable; urgency=low
* Include missing matchers methods in binary package (Closes: #295354)
* Add missing suggests: libnet-dns-perl, ssh, libio-socket-ssl-perl,
libnet-telnet-perl (Closes: #295372)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sun, 13 Mar 2005 13:55:44 +0100
smokeping (1.38-2) unstable; urgency=low
* Added missing Build-Dependecy in groff. (Closes: #292949)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sat, 5 Feb 2005 19:14:48 +0100
smokeping (1.38-1) unstable; urgency=low
* The "upstream releases just when a new upstream release is uploaded to the
archive" release.
* New upstream release.
* debian/postinst: only create smokeping user if it does not exist yet.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sun, 30 Jan 2005 18:36:24 +0100
smokeping (1.37-1) unstable; urgency=low
* New upstream version (Closes: #289126)
* debian/patches:
+ 40_fping-packet.dpatch,
+ 50_concurrent-probes.dpatch,
+ 60_makepod-without-config.dpatch,
+ 65_fix_generating_docs.dpatch,
+ 68_typos.dpatch: disabled. They are applied upstream
+ 70_regenerated_docs.dpatch: updated. It is empty as docs are uptodate
in the upstream tarball.
* debian/postinst:
+ don't edit unconditionally config file. (Closes: #288628)
+ fix here permissions for different dirs instead of in rules file.
+ create smokeping system user
* debian/postrm:
+ delete smokeping system user on purge.
* debian/init.d:
+ run smokeping daemon as its own user. (Closes: #287253)
* debian/rules:
+ update-docs target should only regenerate pod files (Closes: #287508)
+ install perl modules manpages with the probes::, matchers:: or ISG::
prefix, as neeeded. (Closes: #288922)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sun, 30 Jan 2005 17:18:53 +0100
smokeping (1.34-4) unstable; urgency=low
* debian/patches:
+ 30_typos: moved to 68_typos.
+ 50_concurrent-probes: patch the patch. Fix signal handling.
Thanks again to Niko Tyni. (Closes: #288082)
+ 65_fix_generating_docs: patch Makefile to allow generating docs without
having SmokePing installed.
+ 68_typos: fix different typos in sources.
+ 70_regenerated_docs: updated.
* debian/rules:
+ New update-docs target, which should be used to upgrade
70_regenerated_docs patch.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Mon, 3 Jan 2005 13:55:53 +0100
smokeping (1.34-3) unstable; urgency=low
* The "2004 is death - Long life to 2005!" release.
* Some docs have been moved to subdirectories. Reinstall them in
/usr/share/doc/smokeping (Closes: #287250)
* Documentation reorganized:
+ *.pod files removed. We don't need to distribute those files.
+ install documentation in two main subdirectories, txt and html.
Inside create both 'probes' and 'matchers' subdirectories.
+ manpages are installed either in man1 or man3, depending on
the section described inside the file. File names are incorrect, so
we rename manpages being moved to section 3.
* debian/patches:
+ 20_conffile: enable syslog logging by default. (Closes: #287825)
+ 30_typos: New. s/secion/section/g and other typos in documentation and
source files. (Closes: #283643)
+ 50_concurrent-probes: New. Allow probes to be executed in separate
processes. This permits probe-specific parameters and offset.
Thanks to Niko Tyni and Marc Haber (Closes: #283533)
+ 60_makepod-without-config: New. Let 'smokeping -makepod' be run
without a config file. Thanks to Niko Tyni.
+ 70_regenerated_docs: New. Contains doc regenerated to show new options
added in version 1.34-2. (Closes: #287508)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Fri, 31 Dec 2004 19:20:55 +0100
smokeping (1.34-2) unstable; urgency=low
* Build-Depend on dpatch >= 2.0.9, as it now uses new dpatch-run
(Closes: #286431)
* Applied patch from Niko Tyni to allow fping probes with different
packet sizes. Thanks! (Closes: #283647)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Mon, 20 Dec 2004 23:15:52 +0100
smokeping (1.34-1) unstable; urgency=low
* New upstream release. (Closes: #283621)
+ Fixes whatis error in manpages. (Closes: #210622)
* debian/control:
+ depend on exim4 | mail-transport-agent, as we are using
"sendmail" command in default config. (Closes: #274718)
+ Recommends apache | httpd to conform with Policy.
* debian/patches:
+ 10_path_changes: updated
+ 30_typos: new. s/secion/section/g on every the doc.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sun, 19 Dec 2004 19:44:41 +0100
smokeping (1.31-2) unstable; urgency=high
* init.d: If not running, restart should start the daemon. (Closes: #275861)
* Urgency high as it fixes a RC bug also present in Sarge.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Mon, 11 Oct 2004 13:01:47 +0200
smokeping (1.31-1) unstable; urgency=low
* New upstream version.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Thu, 5 Aug 2004 22:56:20 +0200
smokeping (1.30-1) unstable; urgency=low
* New upstrem version. (Closes: #248264)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Fri, 14 May 2004 18:20:34 +0200
smokeping (1.28-1) unstable; urgency=low
* New upstream version. (Closes: #240628)
* Removed 30_upstream_Smokeping.dpatch -- Included upstream.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sun, 28 Mar 2004 22:22:22 +0200
smokeping (1.26-2) unstable; urgency=low
* Added dpatch to Build-Depends. (Closes: #235077)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Fri, 27 Feb 2004 15:39:39 +0100
smokeping (1.26-1) unstable; urgency=low
* New upstream version. (Closes: #233687)
* Ack previous NMU. Thanks Matthias. (Closes: #226829)
* Moved perl stuff from /usr/lib/perl5 to /usr/shre/perl5 as those files are
not Perl executables.
* Do not list /etc/smokeping files in conffiles, so they're not listed twice
when building the package.
* Using dpatch now. It makes really easier to mantain all those path changes
we need to do in upstream source:
- 10_path_changes.dpatch: Changes upstream paths to Debian ones.
- 20_conffile.dpatch: Creates a template conffile suitable for everyone.
- 30_upstream_Smokeping.dpatch: last minute upstream patch to
Smokeping.pm file fixing some typos.
* Suggests libnet-ldap-perl and libauthen-radius-perl for the new probes.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sat, 21 Feb 2004 14:09:16 +0100
smokeping (1.25-1.1) unstable; urgency=low
* NMU.
* Include the correct cgi script (closes: #226829).
* Suggests curl.
-- Matthias Klose <doko@debian.org> Wed, 21 Jan 2004 21:28:09 +0100
smokeping (1.25-1) unstable; urgency=low
* New upstream release (Closes: #216163, #218974)
* Bumped Standars-Version. No changes needed.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Mon, 5 Jan 2004 21:30:53 +0100
smokeping (1.20-3) unstable; urgency=low
* Fixed how email adresses are parsed. (Closes: #193697)
* Fixed permissions in /var/lib/smokeping dir so the CGI can
also write in it. (Closes: #193749)
* Fixed init.d script so it doesn't fail when trying to remove a stopped
smokeping package. (Closes: #193855)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Fri, 23 May 2003 22:16:27 +0200
smokeping (1.20-2) unstable; urgency=low
* Changed the order in which /usr/share/doc/smokeping/pod/smokeping.pod link
is created, so we don't clash when installing *.pod files there.
(Closes: #193095)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Thu, 15 May 2003 23:18:21 +0200
smokeping (1.20-1) unstable; urgency=low
* New upstream version.
* Added a dnsutils to recommends field, as it is used by DNS probe.
* Standars-Version bumped to 3.5.9.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Mon, 12 May 2003 16:08:08 +0200
smokeping (1.19-1) unstable; urgency=low
* New upstream version. Add a DNS probe.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Thu, 20 Feb 2003 15:46:37 +0100
smokeping (1.18-1) unstable; urgency=low
* New upstream release.
- Allow sub millisecond patterns.
- Report a full link in smokeping alerts.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Mon, 16 Dec 2002 16:15:44 +0100
smokeping (1.16-1) unstable; urgency=low
* New upstream release:
- Graphs are showed in logarithmic scale.
- Added IOSPing probe.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Fri, 8 Nov 2002 20:50:19 +0100
smokeping (1.15-2) unstable; urgency=low
* Changed postinst to check if $2 parameter passed to dpkg
--compare-versions isn't empty. (Closes: #164451)
* Upped dependencies to speedy-cgi-perl (2.21-1) and perl (5.8).
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sat, 12 Oct 2002 13:05:49 +0200
smokeping (1.15-1) unstable; urgency=low
* Another upstream release:
- Bugfixes.
- Allow to call an external script upon matching an alert pattern.
- Unified mail tools.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sat, 28 Sep 2002 12:42:28 +0200
smokeping (1.14-1) unstable; urgency=low
* New upstream release:
- Some bugfixes.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sat, 28 Sep 2002 12:35:52 +0200
smokeping (1.13-1) unstable; urgency=low
* New upstream release.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Mon, 9 Sep 2002 21:03:01 +0200
smokeping (1.12-3) unstable; urgency=low
* Fixed dependencies for Perl 5.8
* Changed fping path to /usr/bin (Closes: #157905)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sun, 1 Sep 2002 21:35:10 +0200
smokeping (1.12-2) unstable; urgency=low
* Moved rddtool data files to /var/lib/smokeping to comply
with FHS. With this we don't need to make tricks with the owner
of smokeping binary and with /var/www/smokeping perms. (Closes: #152475)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sat, 20 Jul 2002 13:43:34 +0200
smokeping (1.12-1) unstable; urgency=low
* The "Once more I didn't received Freshmeat release announcement" release.
* New upstream release.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sat, 8 Jun 2002 09:23:10 +0200
smokeping (1.11-1) unstable; urgency=low
* New upstream release.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sat, 11 May 2002 15:49:10 +0200
smokeping (1.9-2) unstable; urgency=low
* Added a recommends in libsocket6-perl (Closes: #145164)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Wed, 1 May 2002 14:56:18 +0200
smokeping (1.9-1) unstable; urgency=low
* New upstream release.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Tue, 30 Apr 2002 00:27:05 +0200
smokeping (1.8-1) unstable; urgency=low
* New upstream release.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Fri, 26 Apr 2002 23:12:31 +0200
smokeping (1.6-2) unstable; urgency=low
* Changed /usr/bin/perl for /usr/bin/speedy in the smokeping binary and the
smokeping cgi. (Closes: #140384)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Tue, 2 Apr 2002 15:02:08 +0200
smokeping (1.6-1) unstable; urgency=low
* New upstream release. (Closes: #140056)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Thu, 28 Mar 2002 16:39:52 +0100
smokeping (1.5-1) unstable; urgency=low
* New upstream release.
* Added support for echoping.
* Changed "don't touch this" /etc/smokeping/config message.
(Closes: #137836)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Mon, 11 Mar 2002 15:54:37 +0100
smokeping (1.4-2) unstable; urgency=low
* Added forgotten #DEBHELPER# line in postinst.
Sorry for the new release, but the new incoming system works this way.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sun, 10 Mar 2002 15:59:40 +0100
smokeping (1.4-1) unstable; urgency=low
* New upstream release.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sun, 10 Mar 2002 15:28:38 +0100
smokeping (1.3-1) unstable; urgency=low
* New upstream release.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sat, 9 Mar 2002 00:03:08 +0100
smokeping (1.1-2) unstable; urgency=low
* Added README.Debian file explaining where to go after installing the
package to configure it, and the man page in which you can get info.
* Added a missed dependency on libdigest-md5-perl. (Closes: #136255)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Fri, 1 Mar 2002 19:52:04 +0100
smokeping (1.1-1) unstable; urgency=low
* Initial Release. (Closes: #133824)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Wed, 13 Feb 2002 23:11:07 +0100

72
debian/control vendored Normal file
View File

@@ -0,0 +1,72 @@
Source: smokeping
Section: net
Priority: optional
Maintainer: Gabriel Filion <gabster@lelutin.ca>
Build-Depends: debhelper-compat (= 13)
, autoconf
, automake
, dh-apache2
, apache2-dev
, rename
Build-Depends-Indep: librrds-perl
, groff-base
, libhtml-parser-perl
, libdigest-hmac-perl
, libwww-perl
, liburi-perl
, libcgi-fast-perl
, libconfig-grammar-perl
, libnet-openssh-perl
, libnet-snmp-perl
, libnet-ldap-perl
, libnet-dns-perl
, libnet-telnet-perl
, libio-pty-perl
Standards-Version: 4.6.1
Homepage: https://smokeping.org/
Vcs-Browser: https://salsa.debian.org/debian/smokeping
Vcs-Git: https://salsa.debian.org/debian/smokeping.git
Package: smokeping
Architecture: all
Pre-Depends: ${misc:Pre-Depends}
Depends: ${perl:Depends}, ${misc:Depends}
, libwww-perl
, libsnmp-session-perl
, librrds-perl (>= 1.2)
, liburi-perl
, fping
, libcgi-fast-perl
, adduser
, libdigest-hmac-perl
, ucf
, libconfig-grammar-perl
, libjs-cropper
, libjs-scriptaculous
, libjs-prototype
, default-mta | mail-transport-agent
Recommends: apache2 | httpd-cgi
, libsocket6-perl
, dnsutils
, echoping
, ${misc:Recommends}
Suggests: curl
, libauthen-radius-perl
, libnet-ldap-perl
, libnet-dns-perl
, openssh-client
, libio-socket-ssl-perl
, libnet-telnet-perl
, libnet-openssh-perl
, libio-pty-perl
, libpath-tiny-perl
, libinfluxdb-lineprotocol-perl
, libobject-result-perl
Description: latency logging and graphing system
SmokePing consists of a daemon process which organizes the
latency measurements and a CGI which presents the graphs.
.
With SmokePing you can measure latency and packet loss in your network.
SmokePing uses RRDtool to maintain a longterm datastore and to draw pretty
graphs giving up to the minute information on the state of each
network connection.

156
debian/copyright vendored Normal file
View File

@@ -0,0 +1,156 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: SmokePing
Source: https://github.com/oetiker/SmokePing
Comment:
The upstream source tarball is repacked to drop vendored javascript libraries.
Files-Excluded:
htdocs/js/cropper/*
htdocs/js/prototype.js
htdocs/js/scriptaculous/*
Files: *
Copyright: 2001-2005 Tobias Oetiker <tobi@oetiker.ch>
License: GPL-2+
Files: bin/tSmoke
Copyright: 2003 by Dan McGinn-Combs. All right reserved.
License: GPL-2+
Files: lib/Smokeping/Examples.pm lib/Smokeping/RRDtools.pm
Copyright: 2005 by Niko Tyni.
License: GPL-2+
Files: lib/Smokeping/matchers/Avgratio.pm lib/Smokeping/matchers/Median.pm lib/Smokeping/matchers/base.pm
Copyright: 2004 by OETIKER+PARTNER AG. All rights reserved.
License: GPL-2+
Files: lib/Smokeping/matchers/CheckLatency.pm lib/Smokeping/matchers/CheckLoss.pm
Copyright: 2006 Dylan C Vanderhoof, Semaphore Corporation
License: GPL-2+
Files: lib/BER.pm lib/SNMP_Session.pm
Copyright: 1995-2008, Simon Leinen.
.
This program is free software; you can redistribute it under the
"Artistic License 2.0" included in this distribution
(file "Artistic").
License: Artistic-2.0
Comment: These files are not used in the Debian version. The mentioned
"Artistic" license file is not present in the source repository.
Files: debian/*
Copyright: Wed, 13 Feb 2002 23:11:07 +0100 Jose Carlos Garcia Sogo <jsogo@debian.org>
2018-2020 Gabriel Filion <gabster@lelutin.ca>
License: GPL-2+
Comment: The copyright mention was not updated throughout the years and there
are more authors and contributors that donated their time to maintaining those
files.
License: GPL-2+
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
License: Artistic-2.0
Copyright (c) 2000-2006, The Perl Foundation.
.
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble
.
This license establishes the terms under which a given free software Package may be copied, modified, distributed, and/or redistributed. The intent is that the Copyright Holder maintains some artistic control over the development of that Package while still keeping the Package available as open source and free software.
.
You are always permitted to make arrangements wholly outside of this license directly with the Copyright Holder of a given Package. If the terms of this license do not permit the full use that you propose to make of the Package, you should contact the Copyright Holder and seek a different licensing arrangement.
Definitions
.
"Copyright Holder" means the individual(s) or organization(s) named in the copyright notice for the entire Package.
.
"Contributor" means any party that has contributed code or other material to the Package, in accordance with the Copyright Holder's procedures.
.
"You" and "your" means any person who would like to copy, distribute, or modify the Package.
.
"Package" means the collection of files distributed by the Copyright Holder, and derivatives of that collection and/or of those files. A given Package may consist of either the Standard Version, or a Modified Version.
.
"Distribute" means providing a copy of the Package or making it accessible to anyone else, or in the case of a company or organization, to others outside of your company or organization.
.
"Distributor Fee" means any fee that you charge for Distributing this Package or providing support for this Package to another party. It does not mean licensing fees.
.
"Standard Version" refers to the Package if it has not been modified, or has been modified only in ways explicitly requested by the Copyright Holder.
.
"Modified Version" means the Package, if it has been changed, and such changes were not explicitly requested by the Copyright Holder.
.
"Original License" means this Artistic License as Distributed with the Standard Version of the Package, in its current version or as it may be modified by The Perl Foundation in the future.
.
"Source" form means the source code, documentation source, and configuration files for the Package.
.
"Compiled" form means the compiled bytecode, object code, binary, or any other form resulting from mechanical transformation or translation of the Source form.
Permission for Use and Modification Without Distribution
.
(1) You are permitted to use the Standard Version and create and use Modified Versions for any purpose without restriction, provided that you do not Distribute the Modified Version.
Permissions for Redistribution of the Standard Version
.
(2) You may Distribute verbatim copies of the Source form of the Standard Version of this Package in any medium without restriction, either gratis or for a Distributor Fee, provided that you duplicate all of the original copyright notices and associated disclaimers. At your discretion, such verbatim copies may or may not include a Compiled form of the Package.
.
(3) You may apply any bug fixes, portability changes, and other modifications made available from the Copyright Holder. The resulting Package will still be considered the Standard Version, and as such will be subject to the Original License.
Distribution of Modified Versions of the Package as Source
.
(4) You may Distribute your Modified Version as Source (either gratis or for a Distributor Fee, and with or without a Compiled form of the Modified Version) provided that you clearly document how it differs from the Standard Version, including, but not limited to, documenting any non-standard features, executables, or modules, and provided that you do at least ONE of the following:
.
(a) make the Modified Version available to the Copyright Holder of the Standard Version, under the Original License, so that the Copyright Holder may include your modifications in the Standard Version.
(b) ensure that installation of your Modified Version does not prevent the user installing or running the Standard Version. In addition, the Modified Version must bear a name that is different from the name of the Standard Version.
(c) allow anyone who receives a copy of the Modified Version to make the Source form of the Modified Version available to others under
(i) the Original License or
(ii) a license that permits the licensee to freely copy, modify and redistribute the Modified Version using the same licensing terms that apply to the copy that the licensee received, and requires that the Source form of the Modified Version, and of any works derived from it, be made freely available in that license fees are prohibited but Distributor Fees are allowed.
Distribution of Compiled Forms of the Standard Version or Modified Versions without the Source
.
(5) You may Distribute Compiled forms of the Standard Version without the Source, provided that you include complete instructions on how to get the Source of the Standard Version. Such instructions must be valid at the time of your distribution. If these instructions, at any time while you are carrying out such distribution, become invalid, you must provide new instructions on demand or cease further distribution. If you provide valid instructions or cease distribution within thirty days after you become aware that the instructions are invalid, then you do not forfeit any of your rights under this license.
.
(6) You may Distribute a Modified Version in Compiled form without the Source, provided that you comply with Section 4 with respect to the Source of the Modified Version.
Aggregating or Linking the Package
.
(7) You may aggregate the Package (either the Standard Version or Modified Version) with other packages and Distribute the resulting aggregation provided that you do not charge a licensing fee for the Package. Distributor Fees are permitted, and licensing fees for other components in the aggregation are permitted. The terms of this license apply to the use and Distribution of the Standard or Modified Versions as included in the aggregation.
.
(8) You are permitted to link Modified and Standard Versions with other works, to embed the Package in a larger work of your own, or to build stand-alone binary or bytecode versions of applications that include the Package, and Distribute the result without restriction, provided the result does not expose a direct interface to the Package.
Items That are Not Considered Part of a Modified Version
.
(9) Works (including, but not limited to, modules and scripts) that merely extend or make use of the Package, do not, by themselves, cause the Package to be a Modified Version. In addition, such works are not considered parts of the Package itself, and are not subject to the terms of this license.
General Provisions
.
(10) Any use, modification, and distribution of the Standard or Modified Versions is governed by this Artistic License. By using, modifying or distributing the Package, you accept this license. Do not use, modify, or distribute the Package, if you do not accept this license.
.
(11) If your Modified Version has been derived from a Modified Version made by someone other than you, you are nevertheless required to ensure that your Modified Version complies with the requirements of this license.
.
(12) This license does not grant you the right to use any trademark, service mark, tradename, or logo of the Copyright Holder.
.
(13) This license includes the non-exclusive, worldwide, free-of-charge patent license to make, have made, use, offer to sell, sell, import and otherwise transfer the Package with respect to any patent claims licensable by the Copyright Holder that are necessarily infringed by the Package. If you institute patent litigation (including a cross-claim or counterclaim) against any party alleging that the Package constitutes direct or contributory patent infringement, then this Artistic License to you shall terminate on the date that such litigation is filed.
.
(14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
.
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of the David Spurr nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.
http://www.opensource.org/licenses/bsd-license.php
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

1
debian/debhelper-build-stamp vendored Normal file
View File

@@ -0,0 +1 @@
smokeping

7
debian/default-config vendored Normal file
View File

@@ -0,0 +1,7 @@
@include /etc/smokeping/config.d/General
@include /etc/smokeping/config.d/Alerts
@include /etc/smokeping/config.d/Database
@include /etc/smokeping/config.d/Presentation
@include /etc/smokeping/config.d/Probes
@include /etc/smokeping/config.d/Slaves
@include /etc/smokeping/config.d/Targets

9
debian/dirs vendored Normal file
View File

@@ -0,0 +1,9 @@
etc/smokeping
etc/smokeping/config.d
usr/sbin
usr/share/smokeping/www/
usr/share/smokeping/www/js
var/cache/smokeping/images
var/lib/smokeping
var/lib/smokeping/__cgi
usr/lib/cgi-bin

1
debian/docs vendored Normal file
View File

@@ -0,0 +1 @@
README.md

4
debian/examples vendored Normal file
View File

@@ -0,0 +1,4 @@
doc/examples/*
etc/smokeping_secrets.dist
debian/systemd
debian/lighttpd_45-smokeping.conf

2
debian/files vendored Normal file
View File

@@ -0,0 +1,2 @@
smokeping_2.9.0+linuxiarz.pl-1_all.deb net optional
smokeping_2.9.0+linuxiarz.pl-1_amd64.buildinfo net optional

196
debian/init.d vendored Normal file
View File

@@ -0,0 +1,196 @@
#!/bin/sh
#
# /etc/init.d/smokeping
#
### BEGIN INIT INFO
# Provides: smokeping
# Required-Start: $syslog $network $remote_fs
# Should-Start: sshd apache
# Required-Stop: $syslog $network $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start or stop the smokeping latency logging system daemon
# Description: SmokePing is a latency logging and graphing system
# that consists of a daemon process which organizes
# the latency measurements and a CGI which presents
# the graphs. This script is used to start or stop
# the daemon.
### END INIT INFO
#
set -e
# Source LSB init functions
. /lib/lsb/init-functions
DAEMON=/usr/sbin/smokeping
NAME=smokeping
DESC="latency logger daemon"
CONFIG=/etc/smokeping/config
PIDFILE=/var/run/smokeping/$NAME.pid
DAEMON_USER=smokeping
DEFAULTS=/etc/default/smokeping
MODE=master
DAEMON_ARGS="--config=$CONFIG"
# LC_ALL prevents resetting LC_NUMERIC which in turn interferes
# with Smokeping internal regexps matching floating point numbers
unset LC_ALL
# Check whether the binary is still present:
test -f "$DAEMON" || exit 0
# source defaults for master vs. slave mode
if [ -f "$DEFAULTS" ]
then
. "$DEFAULTS"
fi
check_slave() {
if [ "$MODE" != "slave" ]
then
return
fi
if [ -z "$SHARED_SECRET" ]
then
log_progress_msg "(missing \$SHARED_SECRET setting)"
log_end_msg 6 # program is not configured
exit 6
fi
if [ ! -r "$SHARED_SECRET" ]
then
log_progress_msg "(invalid \$SHARED_SECRET setting)"
log_end_msg 2 # invalid or excess argument(s)
exit 2
fi
if [ -z "$MASTER_URL" ]
then
log_progress_msg "(missing \$MASTER_URL setting)"
log_end_msg 6 # program is not configured
exit 6
fi
DAEMON_ARGS="$DAEMON_ARGS --master-url $MASTER_URL --shared-secret $SHARED_SECRET"
if [ -n "$SLAVE_NAME" ]
then
DAEMON_ARGS="$DAEMON_ARGS --slave-name $SLAVE_NAME"
fi
DAEMON_ARGS="$DAEMON_ARGS --cache-dir /var/lib/smokeping"
DAEMON_ARGS="$DAEMON_ARGS --pid-dir /var/run/smokeping"
}
check_config () {
echo "Checking smokeping configuration file syntax..."
# Check whether the configuration file is available
if [ ! -r "$CONFIG" ] && [ "$MODE" = "master" ]
then
log_progress_msg "($CONFIG does not exist)"
log_end_msg 6 # program is not configured
exit 6
fi
if [ ! -d /var/run/smokeping ]; then
mkdir /var/run/smokeping
chown ${DAEMON_USER}.root /var/run/smokeping
chmod 0755 /var/run/smokeping
fi
${DAEMON} --config=${CONFIG} --check || exit 6
}
case "$1" in
start)
check_config
log_daemon_msg "Starting $DESC" $NAME
check_slave
set +e
pidofproc -p "$PIDFILE" "$DAEMON" > /dev/null
STATUS=$?
set -e
if [ "$STATUS" = 0 ]
then
log_progress_msg "already running"
log_end_msg $STATUS
exit $STATUS
fi
set +e
start-stop-daemon --start --quiet --exec $DAEMON --oknodo \
--chuid $DAEMON_USER --pidfile $PIDFILE \
-- $DAEMON_ARGS \
| logger -p daemon.notice -t $NAME
STATUS=$?
set -e
log_end_msg $STATUS
exit $STATUS
;;
stop)
log_daemon_msg "Shutting down $DESC" $NAME
set +e
start-stop-daemon --oknodo --stop --retry 3 --quiet --pidfile $PIDFILE --user $DAEMON_USER --signal 15
STATUS=$?
set -e
log_end_msg $STATUS
exit $STATUS
;;
restart)
# Restart service (if running) or start service
$0 stop
$0 start
;;
reload|force-reload)
check_config
log_action_begin_msg "Reloading $DESC configuration"
set +e
$DAEMON --reload $DAEMON_ARGS | logger -p daemon.notice -t smokeping
STATUS=$?
set -e
if [ "$STATUS" = 0 ]
then
log_action_end_msg 0 "If the CGI has problems reloading, see README.Debian."
else
log_action_end_msg $STATUS
fi
exit $STATUS
;;
check)
check_config
;;
status)
log_daemon_msg "Checking $DESC status" $NAME
# Use pidofproc to check the status of the service,
# pidofproc returns the exit status code of 0 when it the process is
# running.
# LSB defined exit status codes for status:
# 0 program is running or service is OK
# 1 program is dead and /var/run pid file exists
# 2 program is dead and /var/lock lock file exists
# 3 program is not running
# 4 program or service status is unknown
# 5-199 reserved (5-99 LSB, 100-149 distribution, 150-199 applications)
set +e
pidofproc -p "$PIDFILE" "$DAEMON" > /dev/null
STATUS=$?
log_progress_msg "(status $STATUS)"
log_end_msg 0
set -e
exit $STATUS
;;
*)
echo "Usage: $0 {start|stop|status|restart|force-reload|reload}"
exit 1
;;
esac

22
debian/lighttpd_45-smokeping.conf vendored Normal file
View File

@@ -0,0 +1,22 @@
# /etc/lighttpd/conf-available/45-smokeping.conf
# Configuration for smokeping CGI program
server.modules += ( "mod_fastcgi", "mod_rewrite" )
$HTTP["url"] =~ "^/smokeping/" {
server.document-root = "/usr/share/"
url.rewrite-once = (
"^/smokeping/($|\?)" => "/smokeping/smokeping.cgi?${qsa}",
"^/smokeping/(.*)" => "/smokeping/www/$1",
)
fastcgi.server = (
"/smokeping/smokeping.cgi" => (
"localhost" => (
"bin-path" => "/usr/lib/cgi-bin/smokeping.cgi",
"socket" => "/run/lighttpd/smokeping-fcgi.socket",
)
),
)
}
# vim: set ts=4 sw=4 et:

39
debian/patches/asset_path_changes vendored Normal file
View File

@@ -0,0 +1,39 @@
Description: fix the paths to javascript files
We're using javascript libraries from debian packages instead of the ones
vendored by upstream. Because of this some paths to libraries might differ a
bit.
Some folks are still using URLs of the form /cgi-bin/smokeping.cgi (which was
used up until buster). In order for css and js to be able to load with this
URL, we need to use our top-level alias to retrieve them.
Author: Antoine Beaupré <anarcat@debian.org>
Forwarded: not-needed
Last-Update: 2019-08-25
--- a/etc/basepage.html.dist
+++ b/etc/basepage.html.dist
@@ -4,8 +4,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<META http-equiv="Refresh" content="<##step##>">
<title>SmokePing Latency Page for <##title##></title>
- <link rel="stylesheet" type="text/css" href="css/smokeping-print.css" media="print">
- <link rel="stylesheet" type="text/css" href="css/smokeping-screen.css" media="screen">
+ <link rel="stylesheet" type="text/css" href="/smokeping/css/smokeping-print.css" media="print">
+ <link rel="stylesheet" type="text/css" href="/smokeping/css/smokeping-screen.css" media="screen">
</head>
<body id="body">
@@ -47,10 +47,10 @@
<p><small>Maintained by <a href="mailto:<##contact##>"><##owner##></a></small></p>
</div>
-<script src="js/prototype.js" type="text/javascript"></script>
-<script src="js/scriptaculous/scriptaculous.js?load=builder,effects,dragdrop" type="text/javascript"></script>
-<script src="js/cropper/cropper.js" type="text/javascript"></script>
-<script src="js/smokeping.js" type="text/javascript"></script>
+<script src="/smokeping/js/prototype/prototype.js" type="text/javascript"></script>
+<script src="/smokeping/js/scriptaculous/scriptaculous.js?load=builder,effects,dragdrop" type="text/javascript"></script>
+<script src="/smokeping/js/cropper/cropper.js" type="text/javascript"></script>
+<script src="/smokeping/js/smokeping.js" type="text/javascript"></script>
</body>
</html>

View File

@@ -0,0 +1,32 @@
Description: Don't build js libraries from third parties
These 3rd party libraries are getting excluded from the source through
repacking since we instead include those from the debian packages that already
exists for them. The build shouldn't try and process the non-existent files.
Author: Gabriel Filion <gabster@lelutin.ca>
Forwarded: not-needed
Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
--- smokeping-2.8.2+ds.orig/htdocs/Makefile.am
+++ smokeping-2.8.2+ds/htdocs/Makefile.am
@@ -16,21 +16,6 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
JS = js/smokeping.js \
- js/prototype.js \
- js/cropper/cropper.js \
- js/cropper/licence.txt \
- js/cropper/marqueeVert.gif \
- js/cropper/cropper.uncompressed.js \
- js/cropper/cropper.css \
- js/cropper/marqueeHoriz.gif \
- js/scriptaculous/controls.js \
- js/scriptaculous/slider.js \
- js/scriptaculous/sound.js \
- js/scriptaculous/effects.js \
- js/scriptaculous/unittest.js \
- js/scriptaculous/builder.js \
- js/scriptaculous/scriptaculous.js \
- js/scriptaculous/dragdrop.js \
css/smokeping-print.css \
css/smokeping-screen.css

54
debian/patches/fix-conf-paths vendored Normal file
View File

@@ -0,0 +1,54 @@
Description: use Debian paths instead of silly ones
Forwarded: not-needed
Index: b/etc/config.dist.in
===================================================================
--- a/etc/config.dist.in 2018-05-12 17:07:16.029079629 -0400
+++ b/etc/config.dist.in 2018-05-12 17:08:53.349752138 -0400
@@ -3,17 +3,17 @@
owner = Peter Random
contact = some@address.nowhere
mailhost = my.mail.host
-sendmail = @SENDMAIL@
+sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed ... this is not
# good for images.
-imgcache = @prefix@/cache
-imgurl = cache
-datadir = @prefix@/data
-piddir = @prefix@/var
+imgcache = /var/cache/smokeping/images
+imgurl = ../smokeping/images
+datadir = /var/lib/smokeping
+piddir = /run/smokeping
cgiurl = http://some.url/smokeping.cgi
-smokemail = @prefix@/etc/smokemail.dist
-tmail = @prefix@/etc/tmail.dist
+smokemail = /etc/smokeping/smokemail
+tmail = /etc/smokeping/tmail
# specify this to get syslog logging
syslogfacility = local0
# each probe is now run in its own process
@@ -47,7 +47,7 @@ AVERAGE 0.5 144 720
*** Presentation ***
-template = @prefix@/etc/basepage.html.dist
+template = /etc/smokeping/basepage.html
htmltitle = yes
graphborders = no
@@ -107,10 +107,10 @@ unison_tolerance = 2
+ FPing
-binary = /usr/sbin/fping
+binary = /usr/bin/fping
*** Slaves ***
-secrets=@prefix@/etc/smokeping_secrets.dist
+secrets=/etc/smokeping/smokeping_secrets
+boomer
display_name=boomer
color=0000ff

View File

@@ -0,0 +1,173 @@
Description: hardcode the path to the config file in CGI
Author: Antoine Beaupré <anarcat@debian.org>
Forwarded: not-needed
Last-Update: 2019-02-16
Index: b/bin/smokeping_cgi
===================================================================
--- a/bin/smokeping_cgi 2018-05-12 17:02:02.090910241 -0400
+++ b/bin/smokeping_cgi 2018-05-12 17:05:36.224389954 -0400
@@ -4,9 +4,7 @@
use strict;
use warnings;
-use FindBin;
use lib (split /:/, q{}); # PERL5LIB
-use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
# don't bother with zombies
$SIG{CHLD} = 'IGNORE';
@@ -17,7 +15,7 @@ use Smokeping;
use CGI::Fast;
-my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";
+my $cfg = (shift @ARGV) || "/etc/smokeping/config";
while (my $q = new CGI::Fast) {
Index: b/bin/smokeping
===================================================================
--- a/bin/smokeping 2018-05-12 17:04:04.175753876 -0400
+++ b/bin/smokeping 2018-05-12 17:05:08.868200917 -0400
@@ -4,13 +4,11 @@
use strict;
use warnings;
-use FindBin;
use lib (split /:/, q{}); # PERL5LIB
-use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
use Smokeping;
-
-Smokeping::main("$FindBin::RealBin/../etc/config");
+
+Smokeping::main("/etc/smokeping/config");
=head1 NAME
@@ -128,25 +126,6 @@ L<documentation on the SmokePing configuration file|smokeping_config>.
Please refer to L<the installation document|smokeping_install> for detailed setup instructions.
-=head1 SETUP
-
-When installing SmokePing, this file has to be adjusted to fit your
-local system. Three paths have to be entered.
-
-One pointing to your B<rrdtool> installation
-
- use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);
-
-One pointing to the place where you have installed the SmokePing libraries
-
- use lib qw(/home/oetiker/public_html/smokeping/lib);
-
-The third path is the argument to the Smokeping::main command. It points to
-the SmokePing configuration file.
-
- use Smokeping;
- Smokeping::main("/home/oetiker/.smokeping/config");
-
=head1 SEE ALSO
L<smokeping_config(5)>, L<smokeping_examples(5)>, L<smokeping_cgi(1)>,
Index: b/bin/tSmoke
===================================================================
--- a/bin/tSmoke 2018-05-12 17:04:04.175753876 -0400
+++ b/bin/tSmoke 2018-05-12 17:06:18.924685024 -0400
@@ -53,7 +53,6 @@ use warnings;
# Point the lib variables to your implementation
use lib (split /:/, q{}); # PERL5LIB
-use FindBin;use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
use Smokeping;
@@ -63,7 +62,7 @@ use Pod::Usage;
use RRDs;
# Point to your Smokeping config file
-my $cfgfile = (shift @ARGV) || "$FindBin::Bin/../etc/config";
+my $cfgfile = (shift @ARGV) || "/etc/smokeping/config";
# global variables
my $cfg;
@@ -498,39 +497,9 @@ past week and past month including an overview.
Typical crontab used to invoke this are
# Quick morning alert to see what's down
- 0 6 * * * /usr/local/smokeping/bin/tSmoke.pl --q --to=mobilephone@att.net.invalid --morning
+ 0 6 * * * /usr/sbin/tSmoke --q --to=mobilephone@att.net.invalid --morning
# Weekly report on the percent availability of network systems with no detail
- 0 8 * * * /usr/local/smokeping/bin/tSmoke.pl --q --to=mailbox@company.com.invalid --weekly --detail=0
-
-=head1 SETUP
-
-When installing tSmoke, some variables must be adjusted to fit your local system.
-
-We need to use the following B<libraries>:
-
-=over
-
-=item Smokeping
-
-=item RRDTool Perl bindings
-
-=item Getopt::Long
-
-=back
-
-Set up your libraries:
-
- use lib "/usr/local/smokeping/lib";
- use lib "/usr/local/rrdtool-1.0.39/lib/perl";
-
-Point to your Smokeping B<config> file
-
- my $cfgfile = "/usr/local/smokeping/etc/config";
-
-Modify the Smokeping config file to include a path for tmail in the
-General section:
-
- tmail = /usr/local/smokeping/etc/tmail
+ 0 8 * * * /usr/sbin/tSmoke --q --to=mailbox@company.com.invalid --weekly --detail=0
=head1 SEE ALSO
diff --git a/bin/smokeinfo b/bin/smokeinfo
index 7c56c0f..83a346e 100755
--- a/bin/smokeinfo
+++ b/bin/smokeinfo
@@ -3,7 +3,6 @@ use strict;
use warnings;
use lib (split /:/, q{}); # PERL5LIB
-use FindBin;use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
use Smokeping::Info;
use Getopt::Long 2.25 qw(:config no_ignore_case);
@@ -82,19 +81,19 @@ they work on the same syntax.
Get all data all nodes
- smokeinfo etc/config
+ smokeinfo /etc/smokeping/config
Only show nodes directly under /Customers
- smokeinfo --filter=/Customers/ etc/config
+ smokeinfo --filter=/Customers/ /etc/smokeping/config
Show all nodes under /Customers
- smokeinfo --mode=recursive --filter=/Customers/ etc/config
+ smokeinfo --mode=recursive --filter=/Customers/ /etc/smokeping/config
Show all nodes with '_wlan_' in the name
- smokeinfo --mode=regexp --filter=_wlan_ etc/config
+ smokeinfo --mode=regexp --filter=_wlan_ /etc/smokeping/config
=head1 SEE ALSO

14
debian/patches/fix-perl-lib vendored Normal file
View File

@@ -0,0 +1,14 @@
Description: fix path for perl libs
Debian packages drop libraries in a different place than upstream
Forwarded: not-needed
Last-Update: 2019-02-10
--- smokeping-2.6.5.orig/lib/Makefile.am
+++ smokeping-2.6.5/lib/Makefile.am
@@ -31,5 +31,5 @@ MATCH := $(wildcard Smokeping/matchers/*
EXTRA_DIST = $(PM) $(SP) $(SORT) $(PROBE) $(MATCH)
-perllibdir = $(prefix)/lib
+perllibdir = $(prefix)/share/perl5
nobase_perllib_DATA = $(EXTRA_DIST)

22
debian/patches/fix_curl_probe.patch vendored Normal file
View File

@@ -0,0 +1,22 @@
Description: Curl's help text changed format
Fix issue caused by curl 7.74 and later shortening default help
Author: Mat Ellis <excloudymat@gmail.com>
Origin: upstream
Bug-Debian: https://bugs.debian.org/986068
Forwarded: https://github.com/oetiker/SmokePing/issues/266
Applied-Upstream: https://github.com/oetiker/SmokePing/commit/3a290ee5e603782c5ba3bc4ec7294c8971cc88c4
---
Note: this was merged upstream after release of 2.8.2
--- smokeping-2.8.2.orig/lib/Smokeping/probes/Curl.pm
+++ smokeping-2.8.2/lib/Smokeping/probes/Curl.pm
@@ -220,7 +220,7 @@ sub test_usage {
my $arghashref = $self->features;
my %arghash = %$arghashref;
- my $curl_man = `$bin --help`;
+ my $curl_man = `$bin --help all`;
for my $feature (keys %arghash) {
next if $curl_man =~ /\Q$arghash{$feature}/;

72
debian/patches/proper-sample-conf vendored Normal file
View File

@@ -0,0 +1,72 @@
Description: setup a proper sample configuration
This disables slaves and setups targets that are sure to work (no
slaves, localhost). It also sets up utf8
Author: Antoine Beaupré <anarcat@debian.org>
Forwarded: not-needed
Last-Update: 2019-02-10
Index: b/etc/config.dist.in
===================================================================
--- a/etc/config.dist.in 2018-05-12 17:09:30.386008068 -0400
+++ b/etc/config.dist.in 2018-05-12 17:13:09.471522001 -0400
@@ -48,6 +48,7 @@ AVERAGE 0.5 144 720
*** Presentation ***
template = /etc/smokeping/basepage.html
+charset = utf-8
htmltitle = yes
graphborders = no
@@ -111,13 +112,13 @@ binary = /usr/bin/fping
*** Slaves ***
secrets=/etc/smokeping/smokeping_secrets
-+boomer
-display_name=boomer
-color=0000ff
-
-+slave2
-display_name=another
-color=00ff00
+#+boomer
+#display_name=boomer
+#color=0000ff
+
+#+slave2
+#display_name=another
+#color=00ff00
*** Targets ***
@@ -128,21 +129,16 @@ title = Network Latency Grapher
remark = Welcome to the SmokePing website of xxx Company. \
Here you will learn all about the latency of our network.
-+ Test
-menu= Targets
-#parents = owner:/Test/James location:/
++ Local
-++ James
+menu = Local
+title = Local Network
+#parents = owner:/Test/James location:/
-menu = James
-title =James
-alerts = someloss
-slaves = boomer slave2
-host = james.address
-
-++ MultiHost
-
-menu = Multihost
-title = James and James as seen from Boomer
-host = /Test/James /Test/James~boomer
+++ LocalMachine
+menu = Local Machine
+title = This host
+host = localhost
+#alerts = someloss
+#slaves = boomer slave2

7
debian/patches/series vendored Normal file
View File

@@ -0,0 +1,7 @@
asset_path_changes
fix-perl-lib
fix-paths-inside-executables
fix-conf-paths
proper-sample-conf
fix_curl_probe.patch
dont_build_third_party_js.patch

69
debian/postinst vendored Normal file
View File

@@ -0,0 +1,69 @@
#! /bin/sh
# postinst script for smokeping
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
#
# quoting from the policy:
# Any necessary prompting should almost always be confined to the
# post-installation script, and should be protected with a conditional
# so that unnecessary prompting doesn't happen if a package's
# installation fails and the `postinst' is called with `abort-upgrade',
# `abort-remove' or `abort-deconfigure'.
setup_permissions() {
# Smokeping.cgi is run as user www-data, so we need it to be able
# to write in /var/cache/smokeping/images and in /var/lib/smokeping/__cgi
chown smokeping:smokeping /var/lib/smokeping
chown www-data /var/cache/smokeping/images
chown smokeping:www-data /var/lib/smokeping/__cgi
chmod 2775 /var/lib/smokeping/__cgi
chown smokeping:www-data /etc/smokeping/smokeping_secrets
chmod 640 /etc/smokeping/smokeping_secrets
}
# OK, let's go
case "$1" in
configure|reconfigure)
getent passwd smokeping > /dev/null || \
adduser --system --group --home /var/lib/smokeping --no-create-home --gecos "SmokePing daemon" smokeping
setup_permissions
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enmod cgi
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

61
debian/postrm vendored Normal file
View File

@@ -0,0 +1,61 @@
#! /bin/sh
# postrm script for smoke
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
purge)
rm -rf /var/run/smokeping
rm -rf /var/cache/smokeping
rm -rf /var/lib/smokeping
for f in basepage.html smokemail tmail config
do
file=/etc/smokeping/$f
if command -v ucf >/dev/null 2>&1; then
ucf --purge $file || true
fi
if command -v ucfr >/dev/null 2>&1; then
ucfr --purge smokeping $file || true
fi
rm -f $file $file.ucf-old $file.ucf-new $file.ucf-dist
done
for f in Alerts Database General pathnames Presentation Probes Slaves Targets
do
file=/etc/smokeping/config.d/$f
if command -v ucf >/dev/null 2>&1; then
ucf --purge $file || true
fi
if command -v ucfr >/dev/null 2>&1; then
ucfr --purge smokeping $file || true
fi
rm -f $file $file.ucf-old $file.ucf-new $file.ucf-dist
done
[ ! -d /etc/smokeping/config.d ] || rmdir --ignore-fail-on-non-empty --parents /etc/smokeping/config.d
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

49
debian/preinst vendored Normal file
View File

@@ -0,0 +1,49 @@
#!/bin/sh
# preinst script for #PACKAGE#
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <new-preinst> `install'
# * <new-preinst> `install' <old-version>
# * <new-preinst> `upgrade' <old-version>
# * <old-preinst> `abort-upgrade' <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
install|upgrade)
IFS=":"
ucfq -w /etc/smokeping/basepage.html \
/etc/smokeping/smokemail \
/etc/smokeping/config.d/Alerts \
/etc/smokeping/config.d/Presentation \
/etc/smokeping/config.d/pathnames \
/etc/smokeping/config.d/Targets \
/etc/smokeping/config.d/General \
/etc/smokeping/config.d/Slaves \
| while read file package exists changed; do
if [ "$package" = "smokeping" -a "$changed" = "No" ]; then
rm -f "$file"
fi
done
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

63
debian/rules vendored Executable file
View File

@@ -0,0 +1,63 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
#
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
#
# Modified to make a template file for a multi-binary package with separated
# build-arch and build-indep targets by Bill Allombert 2001
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS
# smokeping doesn't like building with your locale
unexport LC_ALL
TMP=$(CURDIR)/debian/smokeping
SUBDIRS="doc etc htdocs lib bin"
override_dh_auto_configure:
dh_auto_configure -- --prefix=/usr --with-htdocs-dir=/usr/share/smokeping/www --bindir=/usr/sbin --sysconfdir=/usr/share/doc/smokeping/ --libdir=/usr/share/perl5
override_dh_auto_build:
dh_auto_build -- SUBDIRS=$(SUBDIRS)
override_dh_auto_test:
dh_auto_test -- SUBDIRS=$(SUBDIRS)
override_dh_auto_install:
dh_auto_install -- SUBDIRS=$(SUBDIRS)
# Move Perl modules to correct location
mkdir -p $(TMP)/usr/share/perl5
if [ -d $(TMP)/usr/lib/Smokeping ] || [ -f $(TMP)/usr/lib/Smokeping.pm ]; then \
mv -v $(TMP)/usr/lib/Smokeping* $(TMP)/usr/share/perl5/; \
fi
install -v -m 644 $(CURDIR)/htdocs/js/smokeping.js $(TMP)/usr/share/smokeping/www/js
mkdir -p $(TMP)/etc/smokeping/config.d
mkdir -p $(TMP)/usr/lib/cgi-bin
mv -v $(TMP)/usr/share/doc/smokeping/*.dist $(TMP)/etc/smokeping/
rename -v 's/\.dist$$//' $(TMP)/etc/smokeping/*.dist
rm -vf $(TMP)/usr/share/smokeping/smokeping.fcgi.dist
rm -vf $(TMP)/usr/share/perl5/BER.pm $(TMP)/usr/share/perl5/SNMP_*
mv -v $(TMP)/usr/sbin/smokeping_cgi $(TMP)/usr/share/smokeping/smokeping.cgi
install -v -m 755 $(CURDIR)/debian/smokeping.cgi $(TMP)/usr/lib/cgi-bin/smokeping.cgi
$(CURDIR)/debian/split_config $(TMP)
install -v -m 644 $(CURDIR)/debian/default-config $(TMP)/etc/smokeping/config
override_dh_link:
find $(TMP)/usr/share/smokeping/www/js/ -mindepth 1 -maxdepth 1 -type d -exec rm -rf {} +
dh_link
%:
dh $@ --with apache2

1
debian/smokeping.apache2 vendored Normal file
View File

@@ -0,0 +1 @@
conf debian/smokeping.conf apache2

3
debian/smokeping.cgi vendored Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
exec /usr/share/smokeping/smokeping.cgi /etc/smokeping/config

9
debian/smokeping.conf vendored Normal file
View File

@@ -0,0 +1,9 @@
ScriptAlias /smokeping/smokeping.cgi /usr/lib/cgi-bin/smokeping.cgi
Alias /smokeping /usr/share/smokeping/www
<Directory "/usr/share/smokeping/www">
Options FollowSymLinks
Require all granted
DirectoryIndex smokeping.cgi
</Directory>

1
debian/smokeping.debhelper.log vendored Normal file
View File

@@ -0,0 +1 @@
dh_link

16
debian/smokeping.default vendored Normal file
View File

@@ -0,0 +1,16 @@
# /etc/default/smokeping: Startup configuration for smokeping(1)
#
# select master or slave mode
MODE=master
# in master mode, the rest of the configuration is in
# /etc/smokeping/config
#
# in slave mode, uncomment and set the following variables too
# see smokeping(1)
#
# Mandatory configuration
# MASTER_URL=http://somewhere/cgi-bin/smokeping.cgi
# SHARED_SECRET=/etc/smokeping/slavesecrets.conf
#
# Optional configuration
# SLAVE_NAME=myslave

0
debian/smokeping.dirs vendored Normal file
View File

4
debian/smokeping.links vendored Normal file
View File

@@ -0,0 +1,4 @@
/var/cache/smokeping/images /usr/share/smokeping/www/images
/usr/share/javascript/cropper /usr/share/smokeping/www/js/cropper
/usr/share/javascript/prototype /usr/share/smokeping/www/js/prototype
/usr/share/javascript/scriptaculous /usr/share/smokeping/www/js/scriptaculous

1
debian/smokeping.maintscript vendored Normal file
View File

@@ -0,0 +1 @@
mv_conffile /etc/smokeping/apache2.conf /etc/apache2/conf-available/smokeping.conf

13
debian/smokeping.postinst.debhelper vendored Normal file
View File

@@ -0,0 +1,13 @@
# Automatically added by dh_apache2/UNDECLARED
if true; then
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
for conf in smokeping ; do
apache2_invoke enconf $conf || exit 1
done
fi
fi
# End automatically added section
# Automatically added by dh_installdeb/13.24.2
dpkg-maintscript-helper mv_conffile /etc/smokeping/apache2.conf /etc/apache2/conf-available/smokeping.conf -- "$@"
# End automatically added section

28
debian/smokeping.postrm.debhelper vendored Normal file
View File

@@ -0,0 +1,28 @@
# Automatically added by dh_installdeb/13.24.2
dpkg-maintscript-helper mv_conffile /etc/smokeping/apache2.conf /etc/apache2/conf-available/smokeping.conf -- "$@"
# End automatically added section
# Automatically added by dh_installsystemd/13.24.2
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installsystemd/13.24.2
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge 'smokeping.service' >/dev/null || true
fi
fi
# End automatically added section
# Automatically added by dh_apache2/UNDECLARED
if [ "$1" = "purge" ] ; then
if true; then
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
for conf in smokeping ; do
apache2_invoke disconf $conf || exit 1
done
fi
fi
fi
# End automatically added section

3
debian/smokeping.preinst.debhelper vendored Normal file
View File

@@ -0,0 +1,3 @@
# Automatically added by dh_installdeb/13.24.2
dpkg-maintscript-helper mv_conffile /etc/smokeping/apache2.conf /etc/apache2/conf-available/smokeping.conf -- "$@"
# End automatically added section

16
debian/smokeping.prerm.debhelper vendored Normal file
View File

@@ -0,0 +1,16 @@
# Automatically added by dh_installdeb/13.24.2
dpkg-maintscript-helper mv_conffile /etc/smokeping/apache2.conf /etc/apache2/conf-available/smokeping.conf -- "$@"
# End automatically added section
# Automatically added by dh_apache2/UNDECLARED
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ] ; then
if true; then
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
for conf in smokeping ; do
apache2_invoke disconf $conf || exit 1
done
fi
fi
fi
# End automatically added section

24
debian/smokeping.service vendored Normal file
View File

@@ -0,0 +1,24 @@
[Unit]
Description=Latency Logging and Graphing System
Documentation=man:smokeping(1) file:/usr/share/doc/smokeping/examples/systemd/slave_mode.conf
After=network.target
[Service]
# It would in theory be simpler to run smokeping with the --nodaemon option and
# Type=simple, but smokeping does not work properly when in "slave" mode with
# --nodaemon set.
Type=forking
RuntimeDirectory=smokeping
PIDFile=/run/smokeping/smokeping.pid
User=smokeping
Group=smokeping
# If you need to run smokeping in slave/master mode, see the example unit
# override in /usr/share/doc/smokeping/examples/systemd/slave_mode.conf
#ExecStart=/usr/sbin/smokeping --pid-dir=/run/smokeping
ExecStart=/usr/sbin/smokeping --config=/etc/smokeping/config --nodaemon
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target

4
debian/smokeping.substvars vendored Normal file
View File

@@ -0,0 +1,4 @@
misc:Recommends=apache2 ( >= 2.4.6-4~ ) | apache2 | httpd
misc:Pre-Depends=init-system-helpers (>= 1.54~)
perl:Depends=perl:any
misc:Depends=

16
debian/smokeping/DEBIAN/conffiles vendored Normal file
View File

@@ -0,0 +1,16 @@
/etc/apache2/conf-available/smokeping.conf
/etc/default/smokeping
/etc/init.d/smokeping
/etc/smokeping/basepage.html
/etc/smokeping/config
/etc/smokeping/config.d/Alerts
/etc/smokeping/config.d/Database
/etc/smokeping/config.d/General
/etc/smokeping/config.d/Presentation
/etc/smokeping/config.d/Probes
/etc/smokeping/config.d/Slaves
/etc/smokeping/config.d/Targets
/etc/smokeping/config.d/pathnames
/etc/smokeping/smokemail
/etc/smokeping/smokeping_secrets
/etc/smokeping/tmail

20
debian/smokeping/DEBIAN/control vendored Normal file
View File

@@ -0,0 +1,20 @@
Package: smokeping
Version: 2.9.0+linuxiarz.pl-1
Architecture: all
Maintainer: Gabriel Filion <gabster@lelutin.ca>
Installed-Size: 1328
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: perl:any, libwww-perl, libsnmp-session-perl, librrds-perl (>= 1.2), liburi-perl, fping, libcgi-fast-perl, adduser, libdigest-hmac-perl, ucf, libconfig-grammar-perl, libjs-cropper, libjs-scriptaculous, libjs-prototype, default-mta | mail-transport-agent
Recommends: apache2 | httpd-cgi, libsocket6-perl, dnsutils, echoping, apache2 (>= 2.4.6-4~) | apache2 | httpd
Suggests: curl, libauthen-radius-perl, libnet-ldap-perl, libnet-dns-perl, openssh-client, libio-socket-ssl-perl, libnet-telnet-perl, libnet-openssh-perl, libio-pty-perl, libpath-tiny-perl, libinfluxdb-lineprotocol-perl, libobject-result-perl
Section: net
Priority: optional
Homepage: https://smokeping.org/
Description: latency logging and graphing system
SmokePing consists of a daemon process which organizes the
latency measurements and a CGI which presents the graphs.
.
With SmokePing you can measure latency and packet loss in your network.
SmokePing uses RRDtool to maintain a longterm datastore and to draw pretty
graphs giving up to the minute information on the state of each
network connection.

171
debian/smokeping/DEBIAN/md5sums vendored Normal file
View File

@@ -0,0 +1,171 @@
1134871f6bbdb7d37b13eb019bb9e380 usr/lib/BER.pm
6efd1989ec82c270e2a65466472f9038 usr/lib/SNMP_Session.pm
c6ea0ad89e3104d3f443f5a15463e46c usr/lib/SNMP_util.pm
ba82c5349a68b5dd4bc67d054e207c09 usr/lib/cgi-bin/smokeping.cgi
33a46ca6af4d1b48ed8abdeccc32b1d1 usr/lib/systemd/system/smokeping.service
c83cd7df37e8093e5fe03191540ee58d usr/sbin/smokeinfo
e70d4d37db446134c798b0e698d367b3 usr/sbin/smokeping
f4bbe4fcd858c3ada743a04239df658f usr/sbin/tSmoke
655a4ab4ff4e423d97918f149998253a usr/share/doc/smokeping/README.Debian
e1cbcec71e50595b705ff09f50d99bf2 usr/share/doc/smokeping/README.md
6b898ee5ee17e1ab773b1508da85c423 usr/share/doc/smokeping/TODO.Debian
7e3793102739694e106f07d303eba7eb usr/share/doc/smokeping/changelog.Debian.gz
fdb39f1efd5996a10a8a6c94ec679160 usr/share/doc/smokeping/changelog.gz
e65a7f6581c141086e888c9c87871b08 usr/share/doc/smokeping/copyright
a794267c6c448b40f0caeb33e6577287 usr/share/doc/smokeping/examples/config.echoping
b14664ebe2f9bf358f0de46cd8e2c7ca usr/share/doc/smokeping/examples/config.fping-instances
02acc4fbd7dd1106eae421e6fead04be usr/share/doc/smokeping/examples/config.multiple-probes
912cff778776afcf920f188b1fc80e88 usr/share/doc/smokeping/examples/config.simple
ab40e404a087e30556385c112ec44bce usr/share/doc/smokeping/examples/config.targetvars-with-Curl
794a4f3d1d7de13da52fe039c9d5a6cb usr/share/doc/smokeping/examples/config.template
78bb389ff3b5f86fd9f5c799ba3efabb usr/share/doc/smokeping/examples/lighttpd_45-smokeping.conf
20a41dc90ae70beba75139b8200ae253 usr/share/doc/smokeping/examples/smokeping_secrets.dist
8177fd878d08dd1d07905b4714475906 usr/share/doc/smokeping/examples/systemd/slave_mode.conf
b732161ea94edd01a3da533a76020d55 usr/share/man/man1/smokeinfo.1.gz
b1320c9ecf943938b07ad7f1be6a2ab5 usr/share/man/man1/smokeping.1.gz
8bbe4143c901543ebc15ee0cfc16f7bc usr/share/man/man1/smokeping_cgi.1.gz
efdf999b8bc342f6d94b804dfd7c178c usr/share/man/man1/tSmoke.1.gz
e1ae1fe9761f92229b3e6e37b244cd5d usr/share/man/man3/Smokeping_matchers_Avgratio.3.gz
c20afb8a74c7abab4a04209eaebea131 usr/share/man/man3/Smokeping_matchers_CheckLatency.3.gz
2eab1a1c61c0371412ed830839d7bf26 usr/share/man/man3/Smokeping_matchers_CheckLoss.3.gz
78af44735461bcbbd5742b93fc44c599 usr/share/man/man3/Smokeping_matchers_ConsecutiveLoss.3.gz
335186c50604e763760374c2fffec076 usr/share/man/man3/Smokeping_matchers_ExpLoss.3.gz
29bb8b5d67e235ace9d571d2507ae48d usr/share/man/man3/Smokeping_matchers_Median.3.gz
22f64ed24f88d82eb9ac74f621ccd62f usr/share/man/man3/Smokeping_matchers_Medratio.3.gz
a878c675f065a0d59065d3330d6b44bf usr/share/man/man3/Smokeping_matchers_base.3.gz
94b0f0b15e3c783d73e53d24442d34f9 usr/share/man/man3/Smokeping_probes_AnotherCurl.3.gz
f72546c54ff4f494521a08ac1e58b3bf usr/share/man/man3/Smokeping_probes_AnotherDNS.3.gz
4bc247df21865f827d7d0cc6d11f4ad5 usr/share/man/man3/Smokeping_probes_AnotherSSH.3.gz
134b6e05cd4183c66e735c0c241f3779 usr/share/man/man3/Smokeping_probes_CiscoRTTMonDNS.3.gz
e16f3b9bf474e4a82f55a3f72fb64cc8 usr/share/man/man3/Smokeping_probes_CiscoRTTMonEchoICMP.3.gz
5c8196ff3562300ad87313b623651619 usr/share/man/man3/Smokeping_probes_CiscoRTTMonTcpConnect.3.gz
450a8e8b052ecfc298028fd2dd0b2d29 usr/share/man/man3/Smokeping_probes_Curl.3.gz
6a442716aac4f4371315c37b4ab90203 usr/share/man/man3/Smokeping_probes_DNS.3.gz
18b3ee2d23f47dc73b80943e7bc61a77 usr/share/man/man3/Smokeping_probes_DismanPing.3.gz
f1f327eaab20a86d43d8527b395081a7 usr/share/man/man3/Smokeping_probes_EchoPing.3.gz
ea31ba780d8a52f2258177b1482ac641 usr/share/man/man3/Smokeping_probes_EchoPingChargen.3.gz
c0c7d7eb45a1bacb1cc5068e127cef3b usr/share/man/man3/Smokeping_probes_EchoPingDNS.3.gz
a40024dcb6cfd2fe78084a093c4d2543 usr/share/man/man3/Smokeping_probes_EchoPingDiscard.3.gz
296de901f0c841fe77e10fbe6254fa41 usr/share/man/man3/Smokeping_probes_EchoPingHttp.3.gz
253cb481295f201a7077c4c5d896c680 usr/share/man/man3/Smokeping_probes_EchoPingHttps.3.gz
563705b5aae65bc54c2431ba3fcd7d9e usr/share/man/man3/Smokeping_probes_EchoPingIcp.3.gz
f5b5c2618b95108ab2824fc561e4f239 usr/share/man/man3/Smokeping_probes_EchoPingLDAP.3.gz
7ec00b37e648edea72f03dda68ca1ffe usr/share/man/man3/Smokeping_probes_EchoPingPlugin.3.gz
86965cfc960f056d7f3c0ce9223942d9 usr/share/man/man3/Smokeping_probes_EchoPingSmtp.3.gz
eee072c1ba7274c859301d54ccb7dfa2 usr/share/man/man3/Smokeping_probes_EchoPingWhois.3.gz
750589c391a6c7c933d3840b60656d04 usr/share/man/man3/Smokeping_probes_FPing.3.gz
859306573a30db9efe2f01a5316058f3 usr/share/man/man3/Smokeping_probes_FPing6.3.gz
f79652e64406ed65e5d8f966d19da0da usr/share/man/man3/Smokeping_probes_FPingContinuous.3.gz
8f66f4d6b05663d1f29ee7711a2bd918 usr/share/man/man3/Smokeping_probes_FTPtransfer.3.gz
dd360d89050640e4100f71aef4f1861d usr/share/man/man3/Smokeping_probes_IOSPing.3.gz
bb1a6cca91f71b0c8f2cf1f281821e6f usr/share/man/man3/Smokeping_probes_IRTT.3.gz
f09af3b3292174bcb45d24840873b27e usr/share/man/man3/Smokeping_probes_LDAP.3.gz
24ff7f732951e74db35e19ae2b5c3e62 usr/share/man/man3/Smokeping_probes_NFSping.3.gz
71864ed1e82a866a4e45dd2a198e1f3c usr/share/man/man3/Smokeping_probes_OpenSSHEOSPing.3.gz
8843eb0d1f725bd82f33007b35f6c682 usr/share/man/man3/Smokeping_probes_OpenSSHJunOSPing.3.gz
f10a50bac310d03f3766fb9370575230 usr/share/man/man3/Smokeping_probes_Qstat.3.gz
1f986b466deb32a51262e4e02a7df92a usr/share/man/man3/Smokeping_probes_Radius.3.gz
043fcd3405590475920624364ba3025e usr/share/man/man3/Smokeping_probes_RemoteFPing.3.gz
6b1469547f1c9a6c2b1b953f2bbe881c usr/share/man/man3/Smokeping_probes_SSH.3.gz
75581fbb7c56fa75fa6da8d02d4f208a usr/share/man/man3/Smokeping_probes_SendEmail.3.gz
77696e77315902963c8d4f1ccf7990ff usr/share/man/man3/Smokeping_probes_SipSak.3.gz
87ce69554a609f1839ec05321151dffb usr/share/man/man3/Smokeping_probes_TCPPing.3.gz
e45ea0a3826a922b7090b2998afe0213 usr/share/man/man3/Smokeping_probes_TacacsPlus.3.gz
43e857ef3f996477dd222e96af4c1b80 usr/share/man/man3/Smokeping_probes_TelnetIOSPing.3.gz
053c938b283f3df5ee253b3ffd414521 usr/share/man/man3/Smokeping_probes_TelnetJunOSPing.3.gz
144338d31b0df8d4f3e642fc1c5db4a5 usr/share/man/man3/Smokeping_probes_TraceroutePing.3.gz
4b6ce979eed0a3bd35a91a6ba9c1b76e usr/share/man/man3/Smokeping_probes_WebProxyFilter.3.gz
3396c46a56b346a05fe65b273f5f1066 usr/share/man/man3/Smokeping_probes_base.3.gz
ca51e850b52e3200950ffeba06e901c1 usr/share/man/man3/Smokeping_probes_basefork.3.gz
b48367e10549357af6274082a5226c97 usr/share/man/man3/Smokeping_probes_basevars.3.gz
01f0ba3dcc868e6ade3a0d27050bb61a usr/share/man/man3/Smokeping_probes_passwordchecker.3.gz
1cbb916f490e06f8aae5006b2dad86db usr/share/man/man3/Smokeping_probes_skel.3.gz
7664d866e9d771d9efba9659028f381d usr/share/man/man3/Smokeping_sorters_Loss.3.gz
3cff55cc3934368184e342017685c548 usr/share/man/man3/Smokeping_sorters_Max.3.gz
2db7bddcd8cde91aaa83af81375569cb usr/share/man/man3/Smokeping_sorters_Median.3.gz
b431a0e6ae67562cf5dcdb372958a772 usr/share/man/man3/Smokeping_sorters_StdDev.3.gz
5d76eac0e1ee6573df5bee69e71a9cd2 usr/share/man/man3/Smokeping_sorters_base.3.gz
30fa00fcaace86d1490066c689c783f7 usr/share/man/man5/smokeping_config.5.gz
e2778d36b5c4600aa8f255af6bf8f277 usr/share/man/man5/smokeping_examples.5.gz
9739845883c9ac5a67cf73c77307f265 usr/share/man/man7/smokeping_extend.7.gz
61703f285f638deef693a1b113e6e874 usr/share/man/man7/smokeping_install.7.gz
9a8ada37ef7ae1d4c00cef595e3679aa usr/share/man/man7/smokeping_master_slave.7.gz
b44cd09375aab8d6e3a2607962da2c45 usr/share/man/man7/smokeping_upgrade.7.gz
dad3c12c69c46fc40cb03eae55f70bc5 usr/share/perl5/Smokeping.pm
74dc0a7e83f7e5033dcaa59f452fc11b usr/share/perl5/Smokeping/Colorspace.pm
affa12d68e79a45a82635683686673d5 usr/share/perl5/Smokeping/Config.pm
7fb5e259df686acb83daacd7708a72a9 usr/share/perl5/Smokeping/Examples.pm
9615f1119ac79d65c51997f5403b558f usr/share/perl5/Smokeping/Graphs.pm
40d9a0d2effcd59d89bbcd893fe3f27a usr/share/perl5/Smokeping/Info.pm
aa38784e396ff79b7701411c3a5690fa usr/share/perl5/Smokeping/Master.pm
000bb41739ce475ac0db7aebeaec4cb6 usr/share/perl5/Smokeping/RRDhelpers.pm
4840b6be3abeea9cd8f4773da3649632 usr/share/perl5/Smokeping/RRDtools.pm
5d1510802e13a09fa6d5cdb61a2ed973 usr/share/perl5/Smokeping/Slave.pm
6ca9a74149bbeda25588d81a885aafac usr/share/perl5/Smokeping/ciscoRttMonMIB.pm
0589f39cc33fb0a443bd947e00442c92 usr/share/perl5/Smokeping/matchers/Avgratio.pm
c9f37222afc9fab4ee9ad81c84349bfe usr/share/perl5/Smokeping/matchers/CheckLatency.pm
ebf79b04b999b0eea95bcdc6a918c30d usr/share/perl5/Smokeping/matchers/CheckLoss.pm
0c680558c553638e7418cc44cbb76868 usr/share/perl5/Smokeping/matchers/ConsecutiveLoss.pm
0e9d1d8a7a4d338152c50ff221e2f152 usr/share/perl5/Smokeping/matchers/ExpLoss.pm
d70b48f27e5c9a1eb8e8f51c7a6f183a usr/share/perl5/Smokeping/matchers/Median.pm
71282e21e01fb6572a1859492dda2ea8 usr/share/perl5/Smokeping/matchers/Medratio.pm
8c67107c66f13565419f0641ee720f47 usr/share/perl5/Smokeping/matchers/base.pm
8d2752f301f4f73e006724deb1f77f33 usr/share/perl5/Smokeping/pingMIB.pm
a1d417dd6664100d9c7cdd671e2487a2 usr/share/perl5/Smokeping/probes/AnotherCurl.pm
38b0f60e322c4edb0495238b3864dcaa usr/share/perl5/Smokeping/probes/AnotherDNS.pm
22d4d89cb89d09ca1252915251bf53fa usr/share/perl5/Smokeping/probes/AnotherSSH.pm
9c046a63424618ac3fc6abeace84f561 usr/share/perl5/Smokeping/probes/CiscoRTTMonDNS.pm
8fe659bc4b1db1e4b7a370a4bb95eddb usr/share/perl5/Smokeping/probes/CiscoRTTMonEchoICMP.pm
f58ebe194cb6d2313c59b86c02d654f2 usr/share/perl5/Smokeping/probes/CiscoRTTMonTcpConnect.pm
386baa69338b1dddc2ab202c6e454e43 usr/share/perl5/Smokeping/probes/Curl.pm
788c288e521072d6bec0ee33b1f49384 usr/share/perl5/Smokeping/probes/DNS.pm
d4d56290d9a5f248f43103054e73b2f9 usr/share/perl5/Smokeping/probes/DismanPing.pm
b1502dd807100f8aafd97e85d12a2110 usr/share/perl5/Smokeping/probes/EchoPing.pm
c39943e17c351729f59a1e6af79e8b96 usr/share/perl5/Smokeping/probes/EchoPingChargen.pm
001b86134c2788eb6716f8155931b4ef usr/share/perl5/Smokeping/probes/EchoPingDNS.pm
ad971c0c2f08b53c4fe5da5baf434b2a usr/share/perl5/Smokeping/probes/EchoPingDiscard.pm
31e949250005ff133a85262260d9e77b usr/share/perl5/Smokeping/probes/EchoPingHttp.pm
7bf83c131ec66df9ecb71903b2171be3 usr/share/perl5/Smokeping/probes/EchoPingHttps.pm
7745c7902518a6ac7bebbed22ddfd82f usr/share/perl5/Smokeping/probes/EchoPingIcp.pm
f3c010af1de08141c91e3aedf53181da usr/share/perl5/Smokeping/probes/EchoPingLDAP.pm
e8ee4043da2e34980783301350fb6ee8 usr/share/perl5/Smokeping/probes/EchoPingPlugin.pm
5cae2fd9ad9ff93c9a2969cf60903f46 usr/share/perl5/Smokeping/probes/EchoPingSmtp.pm
4f389d382ac14503322c617e37e7636c usr/share/perl5/Smokeping/probes/EchoPingWhois.pm
2c9a0cac05ddd312a5656dd3eeed4462 usr/share/perl5/Smokeping/probes/FPing.pm
8f77dbf0c925913ce83e184a4e6187d4 usr/share/perl5/Smokeping/probes/FPing6.pm
c16790651d98eb85ecc2692d001a23dd usr/share/perl5/Smokeping/probes/FPingContinuous.pm
1521777598df8965907927eb92c3e408 usr/share/perl5/Smokeping/probes/FTPtransfer.pm
583202540b57e6883d7a120477559e69 usr/share/perl5/Smokeping/probes/IOSPing.pm
6c3e91d404bae0191320c425e3c9cada usr/share/perl5/Smokeping/probes/IRTT.pm
2243990ce8eed9db07845671a7a46f37 usr/share/perl5/Smokeping/probes/LDAP.pm
947f5dd1457ebcb7f5901ec475428e77 usr/share/perl5/Smokeping/probes/NFSping.pm
d1bb3426744b26fcec326b1652f175c0 usr/share/perl5/Smokeping/probes/OpenSSHEOSPing.pm
3965ee85c715e289737f2278236590b1 usr/share/perl5/Smokeping/probes/OpenSSHJunOSPing.pm
5534b5594c794a8e35d81c42f9f104fb usr/share/perl5/Smokeping/probes/Qstat.pm
0abb73c4155c1b1aac6bdc84da4e35d1 usr/share/perl5/Smokeping/probes/Radius.pm
2f9f3f0fdae60d0b812ed8494bb495a4 usr/share/perl5/Smokeping/probes/RemoteFPing.pm
3ee5f11dd635f54d04137db332ba8186 usr/share/perl5/Smokeping/probes/SSH.pm
382cd82f0b8c779ba3fc0e78180b7456 usr/share/perl5/Smokeping/probes/SendEmail.pm
303869aad39ec0eaa977dc665b4be679 usr/share/perl5/Smokeping/probes/SipSak.pm
1e4fccbd6802b2a2e40d6960c3b06c8d usr/share/perl5/Smokeping/probes/TCPPing.pm
40718aab8cdbc7cb4760386476e8c1cd usr/share/perl5/Smokeping/probes/TacacsPlus.pm
59c2a5701010c38c00f95e2a3eb6dd40 usr/share/perl5/Smokeping/probes/TelnetIOSPing.pm
4818fed56c1d7afd5b887f164a682630 usr/share/perl5/Smokeping/probes/TelnetJunOSPing.pm
9f581fbab087d0a576260f0d79273310 usr/share/perl5/Smokeping/probes/TraceroutePing.pm
b079e26ad4e054dc5fde13c9c473fea0 usr/share/perl5/Smokeping/probes/WebProxyFilter.pm
fa25895772c5d14031e36ef1164bd138 usr/share/perl5/Smokeping/probes/base.pm
2300f76af8d86de1a640c03a70375497 usr/share/perl5/Smokeping/probes/basefork.pm
5ebc965d50d4601f51239caeddf0e352 usr/share/perl5/Smokeping/probes/basevars.pm
1bfbd2c8d1b646fda4cd915b72dec62d usr/share/perl5/Smokeping/probes/passwordchecker.pm
f3148ac862ddf308ffdfa6b98b1e4454 usr/share/perl5/Smokeping/probes/skel.pm
ab05eee799a3f7dd3ad55552ebcf9005 usr/share/perl5/Smokeping/sorters/Loss.pm
b0ee00e7ded5d2244074da936081a5f8 usr/share/perl5/Smokeping/sorters/Max.pm
8df66ecffb3d99a83853a95fcb93ca9e usr/share/perl5/Smokeping/sorters/Median.pm
b7b48ab6ee96cade6e4aee63a6229963 usr/share/perl5/Smokeping/sorters/StdDev.pm
e4590791ff48d9d3c2e8af7d4cc89537 usr/share/perl5/Smokeping/sorters/base.pm
23dedc7a0521f63f8f55ed2840efedad usr/share/smokeping/smokeping.cgi
5a3a81cf4d5c006de7b39e149e8aac30 usr/share/smokeping/www/css/smokeping-print.css
6d82c4e7262a8b71c47e3221b72174b5 usr/share/smokeping/www/css/smokeping-screen.css
fb004124bf1ed724b26e6e188db7604e usr/share/smokeping/www/js/prototype.js
b3194289aa4d19188e036ec01d4d2c12 usr/share/smokeping/www/js/smokeping.js
477e7d2bee062d9fa4b1e773d7c98d1e usr/share/smokeping/www/smokeping.fcgi.dist

125
debian/smokeping/DEBIAN/postinst vendored Executable file
View File

@@ -0,0 +1,125 @@
#! /bin/sh
# postinst script for smokeping
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
#
# quoting from the policy:
# Any necessary prompting should almost always be confined to the
# post-installation script, and should be protected with a conditional
# so that unnecessary prompting doesn't happen if a package's
# installation fails and the `postinst' is called with `abort-upgrade',
# `abort-remove' or `abort-deconfigure'.
setup_permissions() {
# Smokeping.cgi is run as user www-data, so we need it to be able
# to write in /var/cache/smokeping/images and in /var/lib/smokeping/__cgi
chown smokeping:smokeping /var/lib/smokeping
chown www-data /var/cache/smokeping/images
chown smokeping:www-data /var/lib/smokeping/__cgi
chmod 2775 /var/lib/smokeping/__cgi
chown smokeping:www-data /etc/smokeping/smokeping_secrets
chmod 640 /etc/smokeping/smokeping_secrets
}
# OK, let's go
case "$1" in
configure|reconfigure)
getent passwd smokeping > /dev/null || \
adduser --system --group --home /var/lib/smokeping --no-create-home --gecos "SmokePing daemon" smokeping
setup_permissions
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enmod cgi
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
# Automatically added by dh_apache2/UNDECLARED
if true; then
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
for conf in smokeping ; do
apache2_invoke enconf $conf || exit 1
done
fi
fi
# End automatically added section
# Automatically added by dh_installdeb/13.24.2
dpkg-maintscript-helper mv_conffile /etc/smokeping/apache2.conf /etc/apache2/conf-available/smokeping.conf -- "$@"
# End automatically added section
# Automatically added by dh_installinit/13.24.2
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -z "$DPKG_ROOT" ] && [ -x "/etc/init.d/smokeping" ]; then
update-rc.d smokeping defaults >/dev/null
if [ -n "$2" ]; then
_dh_action=restart
else
_dh_action=start
fi
invoke-rc.d --skip-systemd-native smokeping $_dh_action || exit 1
fi
fi
# End automatically added section
# Automatically added by dh_installsystemd/13.24.2
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
# The following line should be removed in trixie or trixie+1
deb-systemd-helper unmask 'smokeping.service' >/dev/null || true
# was-enabled defaults to true, so new installations run enable.
if deb-systemd-helper --quiet was-enabled 'smokeping.service'; then
# Enables the unit on first installation, creates new
# symlinks on upgrades if the unit file has changed.
deb-systemd-helper enable 'smokeping.service' >/dev/null || true
else
# Update the statefile to add new symlinks (if any), which need to be
# cleaned up on purge. Also remove old symlinks.
deb-systemd-helper update-state 'smokeping.service' >/dev/null || true
fi
fi
# End automatically added section
# Automatically added by dh_installsystemd/13.24.2
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then
_dh_action=restart
else
_dh_action=start
fi
deb-systemd-invoke $_dh_action 'smokeping.service' >/dev/null || true
fi
fi
# End automatically added section
exit 0

97
debian/smokeping/DEBIAN/postrm vendored Executable file
View File

@@ -0,0 +1,97 @@
#! /bin/sh
# postrm script for smoke
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
purge)
rm -rf /var/run/smokeping
rm -rf /var/cache/smokeping
rm -rf /var/lib/smokeping
for f in basepage.html smokemail tmail config
do
file=/etc/smokeping/$f
if command -v ucf >/dev/null 2>&1; then
ucf --purge $file || true
fi
if command -v ucfr >/dev/null 2>&1; then
ucfr --purge smokeping $file || true
fi
rm -f $file $file.ucf-old $file.ucf-new $file.ucf-dist
done
for f in Alerts Database General pathnames Presentation Probes Slaves Targets
do
file=/etc/smokeping/config.d/$f
if command -v ucf >/dev/null 2>&1; then
ucf --purge $file || true
fi
if command -v ucfr >/dev/null 2>&1; then
ucfr --purge smokeping $file || true
fi
rm -f $file $file.ucf-old $file.ucf-new $file.ucf-dist
done
[ ! -d /etc/smokeping/config.d ] || rmdir --ignore-fail-on-non-empty --parents /etc/smokeping/config.d
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
# Automatically added by dh_installinit/13.24.2
if [ "$1" = "remove" ] && [ -x "/etc/init.d/smokeping" ] ; then
chmod -x "/etc/init.d/smokeping" >/dev/null || true
fi
if [ -z "$DPKG_ROOT" ] && [ "$1" = "purge" ] ; then
update-rc.d smokeping remove >/dev/null
fi
# End automatically added section
# Automatically added by dh_installdeb/13.24.2
dpkg-maintscript-helper mv_conffile /etc/smokeping/apache2.conf /etc/apache2/conf-available/smokeping.conf -- "$@"
# End automatically added section
# Automatically added by dh_installsystemd/13.24.2
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installsystemd/13.24.2
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge 'smokeping.service' >/dev/null || true
fi
fi
# End automatically added section
# Automatically added by dh_apache2/UNDECLARED
if [ "$1" = "purge" ] ; then
if true; then
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
for conf in smokeping ; do
apache2_invoke disconf $conf || exit 1
done
fi
fi
fi
# End automatically added section
exit 0

57
debian/smokeping/DEBIAN/preinst vendored Executable file
View File

@@ -0,0 +1,57 @@
#!/bin/sh
# preinst script for smokeping
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <new-preinst> `install'
# * <new-preinst> `install' <old-version>
# * <new-preinst> `upgrade' <old-version>
# * <old-preinst> `abort-upgrade' <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
install|upgrade)
IFS=":"
ucfq -w /etc/smokeping/basepage.html \
/etc/smokeping/smokemail \
/etc/smokeping/config.d/Alerts \
/etc/smokeping/config.d/Presentation \
/etc/smokeping/config.d/pathnames \
/etc/smokeping/config.d/Targets \
/etc/smokeping/config.d/General \
/etc/smokeping/config.d/Slaves \
| while read file package exists changed; do
if [ "$package" = "smokeping" -a "$changed" = "No" ]; then
rm -f "$file"
fi
done
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
# Automatically added by dh_installdeb/13.24.2
dpkg-maintscript-helper mv_conffile /etc/smokeping/apache2.conf /etc/apache2/conf-available/smokeping.conf -- "$@"
# End automatically added section
# Automatically added by dh_installinit/13.24.2
if [ "$1" = "install" ] && [ -n "$2" ] && [ -e "/etc/init.d/smokeping" ] ; then
chmod +x "/etc/init.d/smokeping" >/dev/null || true
fi
# End automatically added section
exit 0

28
debian/smokeping/DEBIAN/prerm vendored Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/sh
set -e
# Automatically added by dh_installsystemd/13.24.2
if [ -z "$DPKG_ROOT" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
deb-systemd-invoke stop 'smokeping.service' >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installinit/13.24.2
if [ -z "$DPKG_ROOT" ] && [ "$1" = remove ] && [ -x "/etc/init.d/smokeping" ] ; then
invoke-rc.d --skip-systemd-native smokeping stop || exit 1
fi
# End automatically added section
# Automatically added by dh_installdeb/13.24.2
dpkg-maintscript-helper mv_conffile /etc/smokeping/apache2.conf /etc/apache2/conf-available/smokeping.conf -- "$@"
# End automatically added section
# Automatically added by dh_apache2/UNDECLARED
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ] ; then
if true; then
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
for conf in smokeping ; do
apache2_invoke disconf $conf || exit 1
done
fi
fi
fi
# End automatically added section

View File

@@ -0,0 +1,9 @@
ScriptAlias /smokeping/smokeping.cgi /usr/lib/cgi-bin/smokeping.cgi
Alias /smokeping /usr/share/smokeping/www
<Directory "/usr/share/smokeping/www">
Options FollowSymLinks
Require all granted
DirectoryIndex smokeping.cgi
</Directory>

16
debian/smokeping/etc/default/smokeping vendored Normal file
View File

@@ -0,0 +1,16 @@
# /etc/default/smokeping: Startup configuration for smokeping(1)
#
# select master or slave mode
MODE=master
# in master mode, the rest of the configuration is in
# /etc/smokeping/config
#
# in slave mode, uncomment and set the following variables too
# see smokeping(1)
#
# Mandatory configuration
# MASTER_URL=http://somewhere/cgi-bin/smokeping.cgi
# SHARED_SECRET=/etc/smokeping/slavesecrets.conf
#
# Optional configuration
# SLAVE_NAME=myslave

196
debian/smokeping/etc/init.d/smokeping vendored Executable file
View File

@@ -0,0 +1,196 @@
#!/bin/sh
#
# /etc/init.d/smokeping
#
### BEGIN INIT INFO
# Provides: smokeping
# Required-Start: $syslog $network $remote_fs
# Should-Start: sshd apache
# Required-Stop: $syslog $network $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start or stop the smokeping latency logging system daemon
# Description: SmokePing is a latency logging and graphing system
# that consists of a daemon process which organizes
# the latency measurements and a CGI which presents
# the graphs. This script is used to start or stop
# the daemon.
### END INIT INFO
#
set -e
# Source LSB init functions
. /lib/lsb/init-functions
DAEMON=/usr/sbin/smokeping
NAME=smokeping
DESC="latency logger daemon"
CONFIG=/etc/smokeping/config
PIDFILE=/var/run/smokeping/$NAME.pid
DAEMON_USER=smokeping
DEFAULTS=/etc/default/smokeping
MODE=master
DAEMON_ARGS="--config=$CONFIG"
# LC_ALL prevents resetting LC_NUMERIC which in turn interferes
# with Smokeping internal regexps matching floating point numbers
unset LC_ALL
# Check whether the binary is still present:
test -f "$DAEMON" || exit 0
# source defaults for master vs. slave mode
if [ -f "$DEFAULTS" ]
then
. "$DEFAULTS"
fi
check_slave() {
if [ "$MODE" != "slave" ]
then
return
fi
if [ -z "$SHARED_SECRET" ]
then
log_progress_msg "(missing \$SHARED_SECRET setting)"
log_end_msg 6 # program is not configured
exit 6
fi
if [ ! -r "$SHARED_SECRET" ]
then
log_progress_msg "(invalid \$SHARED_SECRET setting)"
log_end_msg 2 # invalid or excess argument(s)
exit 2
fi
if [ -z "$MASTER_URL" ]
then
log_progress_msg "(missing \$MASTER_URL setting)"
log_end_msg 6 # program is not configured
exit 6
fi
DAEMON_ARGS="$DAEMON_ARGS --master-url $MASTER_URL --shared-secret $SHARED_SECRET"
if [ -n "$SLAVE_NAME" ]
then
DAEMON_ARGS="$DAEMON_ARGS --slave-name $SLAVE_NAME"
fi
DAEMON_ARGS="$DAEMON_ARGS --cache-dir /var/lib/smokeping"
DAEMON_ARGS="$DAEMON_ARGS --pid-dir /var/run/smokeping"
}
check_config () {
echo "Checking smokeping configuration file syntax..."
# Check whether the configuration file is available
if [ ! -r "$CONFIG" ] && [ "$MODE" = "master" ]
then
log_progress_msg "($CONFIG does not exist)"
log_end_msg 6 # program is not configured
exit 6
fi
if [ ! -d /var/run/smokeping ]; then
mkdir /var/run/smokeping
chown ${DAEMON_USER}.root /var/run/smokeping
chmod 0755 /var/run/smokeping
fi
${DAEMON} --config=${CONFIG} --check || exit 6
}
case "$1" in
start)
check_config
log_daemon_msg "Starting $DESC" $NAME
check_slave
set +e
pidofproc -p "$PIDFILE" "$DAEMON" > /dev/null
STATUS=$?
set -e
if [ "$STATUS" = 0 ]
then
log_progress_msg "already running"
log_end_msg $STATUS
exit $STATUS
fi
set +e
start-stop-daemon --start --quiet --exec $DAEMON --oknodo \
--chuid $DAEMON_USER --pidfile $PIDFILE \
-- $DAEMON_ARGS \
| logger -p daemon.notice -t $NAME
STATUS=$?
set -e
log_end_msg $STATUS
exit $STATUS
;;
stop)
log_daemon_msg "Shutting down $DESC" $NAME
set +e
start-stop-daemon --oknodo --stop --retry 3 --quiet --pidfile $PIDFILE --user $DAEMON_USER --signal 15
STATUS=$?
set -e
log_end_msg $STATUS
exit $STATUS
;;
restart)
# Restart service (if running) or start service
$0 stop
$0 start
;;
reload|force-reload)
check_config
log_action_begin_msg "Reloading $DESC configuration"
set +e
$DAEMON --reload $DAEMON_ARGS | logger -p daemon.notice -t smokeping
STATUS=$?
set -e
if [ "$STATUS" = 0 ]
then
log_action_end_msg 0 "If the CGI has problems reloading, see README.Debian."
else
log_action_end_msg $STATUS
fi
exit $STATUS
;;
check)
check_config
;;
status)
log_daemon_msg "Checking $DESC status" $NAME
# Use pidofproc to check the status of the service,
# pidofproc returns the exit status code of 0 when it the process is
# running.
# LSB defined exit status codes for status:
# 0 program is running or service is OK
# 1 program is dead and /var/run pid file exists
# 2 program is dead and /var/lock lock file exists
# 3 program is not running
# 4 program or service status is unknown
# 5-199 reserved (5-99 LSB, 100-149 distribution, 150-199 applications)
set +e
pidofproc -p "$PIDFILE" "$DAEMON" > /dev/null
STATUS=$?
log_progress_msg "(status $STATUS)"
log_end_msg 0
set -e
exit $STATUS
;;
*)
echo "Usage: $0 {start|stop|status|restart|force-reload|reload}"
exit 1
;;
esac

View File

@@ -0,0 +1,65 @@
<!DOCTYPE html>
<html>
<head>
<link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1gQSFA8qQC+y8wAAAB10RVh0Q29tbWVudABDcmVhdGVkIHdpdGggVGhlIEdJTVDvZCVuAAABd0lEQVQoz5WSy07CQBSGTzuF6Y1buQSiCYSgYli7MC54AZc+gC/CE7kzrPQBjDsNIdF4I8oCwr1gO51OOy4aAbGS+K/OTM6X85/5R2g0GvAfSesHjPyj3LyasrIKxch3fXHiSN0Fvv4wbCZuAobsnld7Scw4wIhEhiSCEc/IbgqzZicTMuG0NEpi9jhRLzuZOUXBJRK4ITOfr1yIy6oYIwDQ7KSX3QDgcWFgR9ZtrwCLIQAoJ8j2pVG9Xg8qDsJe0j5MWcW4g5FvMUQ8cRvQXeAplXY0mlfpftI+zpu1tBURed/CHhdCAADoWfiml3gxlYUraZKXVdxKwq6lPx8mqvM97QcQaEalV1O57cffTGVXdzKKa8isNdI3l/6tzly+eM4BQDlOQl4pVEECLDSHUowUNCqsdedVelYZAEB7rIUkfVKYHaQs4okTIjEuJKJePMoCY1fvRghwN9R9gIJKs4orCtxm6Gmq3I/01lDnob+1PdbWR/+lL5mtm+fskIeBAAAAAElFTkSuQmCC" rel="icon" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SmokePing Latency Page for <##title##></title>
<link rel="stylesheet" type="text/css" href="css/smokeping-print.css" media="print">
<link rel="stylesheet" type="text/css" href="css/smokeping-screen.css" media="screen">
<script>
window.options = {
step: <##step##>
}
</script>
</head>
<body id="body">
<div class="sidebar" id="sidebar">
<div class="sidebar-header">
<div class="logo">
<##smokelogo##>
</div>
</div>
<div class="sidebar-menu">
<br><br>
<ul class="menu">
<li class="menuitem"><a class="menulink" href="/"><B>HOME</B></a></li></ul>
<##menu##>
<div class="logo">
<##rrdlogo##>
</div>
</div>
</div>
<div class="navbar">
<div class="navbar-menu"><a id="menu-button" href="#">Toggle Menu</a></div>
<div class="navbar-refresh"><a id="refresh-button" href="#">Auto Refresh</a></div>
<div class="navbar-user"><div class="icon-person"></div><##authuser##></div>
</div>
<div class="main">
<h1><##title##></h1>
<h2><##remark##></h2>
<div class="overview">
<##overview##>
</div>
<div class="details">
<##body##>
</div>
</div>
<hr>
<div class="footer">
<p class="footer-right"><small>Running on <##smokeping##> by <##author##></small></p>
<p><small>Maintained by <a href="mailto:<##contact##>"><##owner##></a></small></p>
</div>
<script src="js/prototype.js" type="text/javascript"></script>
<script src="js/scriptaculous/scriptaculous.js?load=builder,effects,dragdrop" type="text/javascript"></script>
<script src="js/cropper/cropper.js" type="text/javascript"></script>
<script src="js/smokeping.js" type="text/javascript"></script>
</body>
</html>

7
debian/smokeping/etc/smokeping/config vendored Normal file
View File

@@ -0,0 +1,7 @@
@include /etc/smokeping/config.d/General
@include /etc/smokeping/config.d/Alerts
@include /etc/smokeping/config.d/Database
@include /etc/smokeping/config.d/Presentation
@include /etc/smokeping/config.d/Probes
@include /etc/smokeping/config.d/Slaves
@include /etc/smokeping/config.d/Targets

View File

@@ -0,0 +1,10 @@
*** Alerts ***
to = alertee@address.somewhere
from = smokealert@company.xy
+someloss
type = loss
# in percent
pattern = >0%,*12*,>0%,*12*,>0%
comment = loss 3 times in a row

View File

@@ -0,0 +1,15 @@
*** Database ***
step = 300
pings = 20
# consfn mrhb steps total
AVERAGE 0.5 1 28800
AVERAGE 0.5 12 9600
MIN 0.5 12 9600
MAX 0.5 12 9600
AVERAGE 0.5 144 2400
MAX 0.5 144 2400
MIN 0.5 144 2400

View File

@@ -0,0 +1,16 @@
*** General ***
owner = Peter Random
contact = some@address.nowhere
mailhost = my.mail.host
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed ... this is not
# good for images.
cgiurl = http://some.url/smokeping.cgi
# specify this to get syslog logging
syslogfacility = local0
# each probe is now run in its own process
# disable this to revert to the old behaviour
# concurrentprobes = no
@include /etc/smokeping/config.d/pathnames

View File

@@ -0,0 +1,60 @@
*** Presentation ***
template = /usr/etc/basepage.html.dist
htmltitle = yes
graphborders = no
# If enabled, treat all filter menu queries as literal strings instead of regex
literalsearch = no
+ charts
menu = Charts
title = The most interesting destinations
++ stddev
sorter = StdDev(entries=>4)
title = Top Standard Deviation
menu = Std Deviation
format = Standard Deviation %f
++ max
sorter = Max(entries=>5)
title = Top Max Roundtrip Time
menu = by Max
format = Max Roundtrip Time %f seconds
++ loss
sorter = Loss(entries=>5)
title = Top Packet Loss
menu = Loss
format = Packets Lost %f
++ median
sorter = Median(entries=>5)
title = Top Median Roundtrip Time
menu = by Median
format = Median RTT %f seconds
+ overview
width = 600
height = 50
range = 10h
+ detail
width = 600
height = 200
unison_tolerance = 2
"Last 3 Hours" 3h
"Last 30 Hours" 30h
"Last 10 Days" 10d
"Last 360 Days" 360d
#+ hierarchies
#++ owner
#title = Host Owner
#++ location
#title = Location

Some files were not shown because too many files have changed in this diff Show More