debian/0000755000000000000000000000000012257721542007175 5ustar debian/README.Debian0000644000000000000000000000120212257721513011227 0ustar echoping for Debian ------------------- echoping 6 is out! PLUGINS --------- The new version of the monitoring and performance measurement program introduces dynamic plugins and a few are shipped as part of this release. You can now use your favorite protocol from echoping, just by writing your own plugin. Current shipped plugin: dns, ldap, postgresql, random, whois FIXED BUGS ------------ The new upstram release was packaged closing all three outstanding active bugs issued agains echoping. (Closes: #416358, #340310, #407430) -- Dario Minnucci Fri, 01 Jun 2007 00:00:00 +0200 debian/README.source0000644000000000000000000000047212257721513011355 0ustar README.source ------------- The Debian package uses dpatch(1) for the modifications of the upstream source. If you want to change something it is best to use the dpatch approach as documented in /usr/share/doc/dpatch/README.source.gz -- Dario Minnucci Fri, 21 Aug 2009 00:26:11 +0200 debian/changelog0000644000000000000000000001700012257721513011043 0ustar echoping (6.0.2-7) unstable; urgency=medium * debian/rules: - Update config.{sub,guess} via dh_autotools-dev_updateconfig and dh_autotools-dev_restoreconfig. (Closes: #727367) * debian/copyright: Update years. * debian/control: - Use canonical URIs for Vcs-Git and Vcs-Browser - Bump Standards-Version to 3.9.5 -- Dario Minnucci Sun, 29 Dec 2013 04:45:44 +0100 echoping (6.0.2-6) unstable; urgency=low * debian/rules: Rewritten based in 6.0.2-4 version. (Closes: #672957) -- Dario Minnucci Mon, 28 May 2012 01:37:29 +0200 echoping (6.0.2-5) unstable; urgency=low * Getting rid of unneeded *.la (Closes: #621284) * Switch to dpkg-source 3.0 (quilt) format * debian/control: - Update debhelper dependency to >= 9 - Bumped Standards-Version to 3.9.3 - Drop build dependency on dpatch - Short description modified to fix lintian warning W: echoping: description-synopsis-starts-with-article * debian/rules: Rewritten to use the 'compact' format * debian/copyright: - Update format URL and years. - Tunning on paragraphs to be DEP5 compliant * debian/patches: - Patches migrated from 'dpatch' to 'quilt' format - Added: 004-only-append-port-number-if-port-is-not-80.diff (Closes: #664077) -- Dario Minnucci Thu, 15 Mar 2012 20:03:43 +0100 echoping (6.0.2-4) unstable; urgency=low * debian/control: - Maintainer email address updated. - Added Vcs-Git and Vcs-Browser - debhelper dependency updated to >= 7.0.50~ - Added dependency on ${misc:Depends} - Bumped Standards-Version to 3.9.1: - Added debian/source/format file * debian/rules: - Using dh_prep instead of dh_clean -k - Also remove plugins/dir file. * debian/patches: - Created clean up changes in original sources - 00-fix-config.guess.dpatch - 00-fix-config.sub.dpatch - Add new patch: 03-fix-for-https-creashes.diff (Closes: #606808) Thanks to Dmitry Semyonov - Added headers on existing patches (DEP3) * debian/copyright: - Added debian/* section -- Dario Minnucci Sat, 12 Feb 2011 22:14:24 +0100 echoping (6.0.2-3) unstable; urgency=medium * debian/control: Added pkg-config to Build-Depends. * debian/control: Description improvements. * debian/patches: 02_FTBFS_against_gnutls26_greater_the_2.7.x_fix.dpatch Fixes to solve FTBFS issue originated on 'gnutls26' update. Thanks Andreas Metzler and Kumar Appaiah for reporting and patching. (Closes: #529820) * debian/control: Bumped Standards-Version to 3.8.3 - debian/README.source was created. * debian/copyright: MPCF (Machine-Parsable Copyright Format) implementation. See http://wiki.debian.org/Proposals/CopyrightFormat for details. * debian/rules: Small cleanup. * debian/watch: Rewritten to fit SF redirector. -- Dario Minnucci (midget) Fri, 21 Aug 2009 01:53:30 +0200 echoping (6.0.2-2) unstable; urgency=low * debian/control: Maintainer's name changed due to GPG signature update. * debian/rules: Fix to avoid debian-rules-ignores-make-clean-error warning. * debian/dirs: Fix to avoid package-contains-empty-directory warning. * debian/control: Bumped Standards-Version: from 3.7.2 to 3.7.3 * debian/control, debian/rules: Added dpatch support. * debian/patches/01_manpage_fixes.dpatch: Issued to correct lintian Info message: hyphen-used-as-minus-sign usr/share/man/man1/echoping.1.gz:161 * debian/copyright, debian/watch: Updated to point to SF hosted file. (Closes: #450315) * debian/control: Added Homepage tag. * debian/NEWS.Debian: Removed. -- Dario Minnucci (midget) Sun, 17 Feb 2008 08:28:05 +0100 echoping (6.0.2-1) unstable; urgency=low * New upstream release. (Closes: #416358) * HTTPS request sent in clear bug fixed. (Closes: #340310) * Glib bug with long URLs fixed. (Closes: #407430) * /usr/share/doc/echoping/AUTHORS: Added. * /usr/share/doc/echoping/PLUGINS: Added. * debian/control: Added libpopt-dev to Build-Depends: -- Dario Minnucci Fri, 01 Jun 2007 00:00:00 +0200 echoping (5.2.0-4) unstable; urgency=low * Rebuild against newer gnutls-dev package (Closes: #415739) -- Dario Minnucci Thu, 22 Mar 2007 13:48:40 +0100 echoping (5.2.0-3) unstable; urgency=low * New Maintainer (Closes: #410900) * Acknowledge NMU (Closes: #335750) * debian/control: Updated debhelper to (>= 4) * Bumped Standards-Version: from 3.6.1 to 3.7.2 * debian/rules: The whole file has been rewritten. * debian/copyright: Proper copyright provided. (Closes: #375000) * debian/watch: Added absent watchfile. * debian/dirs: Added usr/share/doc/echoping/examples. * debian/echoping.examples: Was created in order to install examples using 'dh_installexamples'. * debian/docs: INSTALL removed from doclist to get rid of lintian warning: 'package-contains-upstream-install-documentation'. -- Dario Minnucci Mon, 19 Feb 2007 00:04:55 +0100 echoping (5.2.0-2.1) unstable; urgency=low * NMU * Build against gnutls13 instead of gnutls11 -- Andreas Metzler Sun, 2 Jul 2006 09:30:23 +0000 echoping (5.2.0-2) unstable; urgency=medium * Now built with gnutls11. Closes: #264743 -- Stephane Bortzmeyer Tue, 14 Sep 2004 14:24:56 +0200 echoping (5.2.0-1) unstable; urgency=low * New upstream release * Now depends on libidn -- Stephane Bortzmeyer Tue, 2 Mar 2004 16:45:27 +0100 echoping (5.1.0-1) unstable; urgency=low * New upstream release * Now built with crypto support (crypto-in-main) * Licence change (warning, ftpmaster!): now GPL + exemption for OpenSSL -- Stephane Bortzmeyer Thu, 13 Nov 2003 16:22:25 +0100 echoping (4.2.0-2) unstable; urgency=low * Just a small cleaning -- Stephane Bortzmeyer Thu, 6 Jun 2002 15:04:15 +0200 echoping (4.2.0-1.1) unstable; urgency=low * Non-maintainer upload with Stephane Bortzmeyer's permission. * debian/control: Replace empty Build-Depends: line with a build-dependency on debhelper (closes: #109206). * common-licences -> common-licenses (lintian). -- Colin Watson Fri, 9 Nov 2001 20:29:26 +0000 echoping (4.2.0-1) unstable; urgency=low * New upstream release -- Stephane Bortzmeyer Mon, 9 Apr 2001 20:54:54 +0200 echoping (3.0.0-1) unstable; urgency=low * New upstream release * Now debhelper instead of debmake -- Stephane Bortzmeyer Fri, 30 Jun 2000 15:03:33 +0200 echoping (2.2.0-2) unstable; urgency=low * After reading again the Policy manual. A few changes. FIRST official release. (Uploaded.) -- Stephane Bortzmeyer Tue, 22 Sep 1998 15:02:00 +0200 echoping (2.2.0-1) unstable; urgency=low * New upstream release, now stable. Compiled with ICP support and egcc. -- Stephane Bortzmeyer Mon, 31 Aug 1998 17:04:42 +0200 echoping (2.1.2-1) unstable; urgency=low * New upstream release -- Stephane Bortzmeyer Fri, 28 Aug 1998 14:14:05 +0200 echoping (2.1.1-1) unstable; urgency=low * New upstream (ICP support, etc) -- Stephane Bortzmeyer Wed, 26 Aug 1998 15:32:23 +0200 echoping (2.1-1) unstable; urgency=low * Initial Release. -- Stephane Bortzmeyer Wed, 22 Jul 1998 10:45:07 +0200 debian/compat0000644000000000000000000000000212257721513010371 0ustar 9 debian/control0000644000000000000000000000236212257721513010601 0ustar Source: echoping Section: net Priority: optional Maintainer: Dario Minnucci Build-Depends: debhelper (>= 9), autotools-dev, libgnutls-dev, libidn11-dev, libpopt-dev, pkg-config Standards-Version: 3.9.5 Homepage: http://echoping.sourceforge.net/ Vcs-Git: git://anonscm.debian.org/collab-maint/echoping.git Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/echoping.git Package: echoping Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: Small test tool for TCP servers echoping is a small program to test (approximatively) performances of a remote host by sending it requests such as HTTP requests. . In any case, be polite: don't bother the remote host with many repeated requests, especially with large size. Ask for permission if you often test hosts which aren't yours. . Current features: * plugins, so you can extend echoping with any protocol you like and/or use, * Supports IPv6 as well as IPv4, * Supports IDN (Unicode domain names), * uses the protocols echo, discard, chargen or HTTP, * can use cryptographic connections with HTTP, * uses UDP instead of TCP for the protocols which accept it (like echo), * can repeat the test and display various measures about it, debian/copyright0000644000000000000000000000305012257721513011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: echoping Upstream-Contact: Stephane Bortzmeyer Upstream-Source: http://sourceforge.net/project/showfiles.php?group_id=4581 Files: * Copyright: 2000, Stephane Bortzmeyer License: GPL-2 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 . Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. . On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-2' file. Files: debian/* Copyright: 1998-2001, Stephane Bortzmeyer 2001, Colin Watson 2002-2004, Stephane Bortzmeyer 2006, Andreas Metzler 2007-2013, Dario Minnucci License: GPL-2 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 . Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. . On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-2' file. debian/dirs0000644000000000000000000000001012257721513010046 0ustar usr/bin debian/docs0000644000000000000000000000005112257721513010042 0ustar AUTHORS DETAILS NEWS PLUGINS README TODO debian/echoping.examples0000644000000000000000000000023312257721513012525 0ustar test-echoping-crypto test-echoping-icp test-echoping-idn test-echoping-ipv6 test-echoping-local test-echoping-proxy test-echoping-remote test-echoping-tos debian/patches/0000755000000000000000000000000012257721513010622 5ustar debian/patches/001-manpage_fixes.diff0000644000000000000000000000161112257721513014557 0ustar # # Description: Manpage fixes # Forwarded: http://sourceforge.net/tracker/?func=detail&aid=1895298&group_id=4581&atid=104581 # Author: Dario Minnucci # Last-Update: 2012-03-15 # diff -urNad echoping-6.0.2~/echoping.1.in echoping-6.0.2/echoping.1.in --- echoping-6.0.2~/echoping.1.in 2008-02-17 09:05:37.882611096 +0100 +++ echoping-6.0.2/echoping.1.in 2008-02-17 09:05:38.934671050 +0100 @@ -158,7 +158,7 @@ Tests the remote Web proxy-cache and asks a Web page. Note that you must indicate the whole URL. .IP echoping\ -n\ 3\ -m\ whois\ foobar.example.com\ -d\ tao.example.org -Loads the whois plugin and query the host foobar.example.com. "-d +Loads the whois plugin and query the host foobar.example.com. "\-d tao.example.org" are options specific to the whois plugin. .IP echoping\ -u\ \-P\ 0xa0\ foobar.example.com Sends several UDP Echo packets with an IP Precedence of 5. debian/patches/002-FTBFS_against_gnutls26_greater_the_2.7.x_fix.diff0000644000000000000000000000246412257721513022152 0ustar # # Description: Fix FTBFS against gnutls26 >= 2.7.x # Forwarded: http://sourceforge.net/tracker/?func=detail&aid=2811861&group_id=4581&atid=104581 # Author: Kumar Appaiah # Bug-Debian: http://bugs.debian.org/529820 # Last-Update: 2012-03-15 # Index: echoping/configure =================================================================== --- echoping.orig/configure 2012-03-15 15:50:05.962715683 +0100 +++ echoping/configure 2012-03-15 16:02:47.251565142 +0100 @@ -20144,8 +20144,8 @@ _ACEOF GNUTLS=1 - CPPFLAGS="${CPPFLAGS} `libgnutls-config --cflags`" - LDFLAGS="${LDFLAGS} `libgnutls-config --libs`" + CPPFLAGS="${CPPFLAGS} `pkg-config gnutls --cflags`" + LDFLAGS="${LDFLAGS} `pkg-config gnutls --libs`" if test "$withval" != "yes"; then GNUTLSROOT=$withval LDFLAGS="${LDFLAGS} -L$GNUTLSROOT/lib" @@ -22926,7 +22926,7 @@ { echo "$as_me:$LINENO: result: $ac_cv_lib_gnutls_gnutls_global_init" >&5 echo "${ECHO_T}$ac_cv_lib_gnutls_gnutls_global_init" >&6; } if test $ac_cv_lib_gnutls_gnutls_global_init = yes; then - LIBS="${LIBS} `libgnutls-config --libs`" + LIBS="${LIBS} `pkg-config gnutls --libs`" else { { echo "$as_me:$LINENO: error: Get the GNU TLS library (http://www.gnutls.org/)" >&5 echo "$as_me: error: Get the GNU TLS library (http://www.gnutls.org/)" >&2;} debian/patches/003-fix-for-https-creashes.diff0000644000000000000000000001116012257721513016260 0ustar # # Description: Fix for echoping crashes sometimes when used against HTTPS host # Forwarded: http://sourceforge.net/tracker/?func=detail&aid=3137686&group_id=4581&atid=104581 # Author: Dmitry Semyonov # Debian-Bug: http://bugs.debian.org/606808 # Last-Update: 2012-03-15 # --- echoping-6.0.2.orig/echoping.h +++ echoping-6.0.2/echoping.h @@ -194,7 +194,7 @@ int SSL_readline (); #endif #ifdef GNUTLS -int TLS_readline (); +ssize_t TLS_readline (); #endif /* util.c */ char *random_string (); --- echoping-6.0.2.orig/http.c +++ echoping-6.0.2/http.c @@ -68,7 +68,7 @@ int read_from_server(CHANNEL fs, short ssl, boolean accept_redirects) { - int nr = 0; + ssize_t nr = 0; int total = 0; char reply_code; int first_line = TRUE; @@ -82,7 +82,7 @@ #ifdef OPENSSL else { nr = SSL_readline(fs.ssl, big_recvline, MAXTOREAD, TRUE); - if (nr == -1) { + if (nr < 0) { sslcode = ERR_get_error(); err_ret("SSL_readline error: %s", ERR_error_string(sslcode, NULL)); @@ -93,7 +93,7 @@ else { nr = TLS_readline(fs.tls, big_recvline, MAXTOREAD, TRUE); - if (nr == -1) { + if (nr < 0) { err_ret("TLS_readline error: %s", gnutls_strerror(nr)); } @@ -141,7 +141,7 @@ #endif #ifdef GNUTLS else - nr = TLS_readline(fs.tls, big_recvline, MAXTOREAD, FALSE); + nr = TLS_readline(fs.tls, big_recvline, MAXTOREAD, FALSE); #endif /* * printf ("DEBUG: reading body \"%s\"\n (%d chars)\n", big_recvline, --- echoping-6.0.2.orig/readline.c +++ echoping-6.0.2/readline.c @@ -65,8 +65,8 @@ if (ln) { /* Empty buffer */ if (buf_end == 0) { - rc = SSL_read(sslh, SSL_buffer, maxlen); - if (rc == -1) + rc = SSL_read(sslh, SSL_buffer, maxlen > MAXTOREAD ? MAXTOREAD : maxlen); + if (rc < 0) return rc; buf_end = rc; buf_ptr = 0; @@ -74,25 +74,26 @@ /* No more data in the buffer */ else if (buf_ptr == buf_end) { buf_ptr = 0; - rc = SSL_read(sslh, SSL_buffer, maxlen); - if (rc == -1) + rc = SSL_read(sslh, SSL_buffer, maxlen > MAXTOREAD ? MAXTOREAD : maxlen); + if (rc < 0) return rc; buf_end = rc; - } else if (SSL_buffer[buf_end] != '\n') { + } else if (SSL_buffer[buf_end - 1] != '\n') { /* We have a probleme here is the first SSL_read sent back a * text not finished by a \n. See www.SSL.de for an example. * We get more data. See bug #230384 */ - rc = SSL_read(sslh, SSL_buffer + buf_end, maxlen); - if (rc == -1) + rc = SSL_read(sslh, SSL_buffer + buf_end, + maxlen > MAXTOREAD - buf_end ? MAXTOREAD - buf_end : maxlen); + if (rc < 0) return rc; buf_end = buf_end + rc; } for (oi = buf_ptr, i = buf_ptr; - i <= buf_end && SSL_buffer[i] != '\n'; i++) { + i < buf_end && SSL_buffer[i] != '\n'; i++) { *ptr++ = SSL_buffer[i]; buf_ptr++; } - if (SSL_buffer[i] == '\n') + if (i < buf_end && SSL_buffer[i] == '\n') buf_ptr++; *ptr = '\0'; /* if (ln) printf ("SSL_readline returns %d (%s)\n", i - oi, @@ -126,21 +127,22 @@ int buf_ptr; int buf_end; -int +ssize_t TLS_readline(session, ptr, maxlen, ln) gnutls_session session; char *ptr; int maxlen; unsigned short ln; { - int rc = 0; + ssize_t rc = 0; int n = 0; int i, oi; if (ln) { /* Empty buffer */ if (buf_end == 0) { - rc = gnutls_record_recv(session, TLS_buffer, maxlen); - if (rc == -1) + rc = gnutls_record_recv(session, TLS_buffer, + maxlen > MAXTOREAD ? MAXTOREAD : maxlen); + if (rc < 0) return rc; buf_end = rc; buf_ptr = 0; @@ -148,23 +150,24 @@ /* No more data in the buffer */ else if (buf_ptr == buf_end) { buf_ptr = 0; - rc = gnutls_record_recv(session, TLS_buffer, maxlen); - if (rc == -1) + rc = gnutls_record_recv(session, TLS_buffer, + maxlen > MAXTOREAD ? MAXTOREAD : maxlen); + if (rc < 0) return rc; buf_end = rc; - } else if (TLS_buffer[buf_end] != '\n') { + } else if (TLS_buffer[buf_end - 1] != '\n') { rc = gnutls_record_recv(session, TLS_buffer + buf_end, - maxlen); - if (rc == -1) + maxlen > MAXTOREAD - buf_end ? MAXTOREAD - buf_end : maxlen); + if (rc < 0) return rc; buf_end = buf_end + rc; } for (oi = buf_ptr, i = buf_ptr; - i <= buf_end && TLS_buffer[i] != '\n'; i++) { + i < buf_end && TLS_buffer[i] != '\n'; i++) { *ptr++ = TLS_buffer[i]; buf_ptr++; } - if (TLS_buffer[i] == '\n') + if (i < buf_end && TLS_buffer[i] == '\n') buf_ptr++; *ptr = '\0'; /* printf ("DEBUG: TLS_readline returns %d (%s)\n", i - oi, debian/patches/004-only-append-port-number-if-port-is-not-80.diff0000644000000000000000000000237612257721513021475 0ustar # # Description: Only append port number to Host header if the port is different from 80 # Origin: https://sourceforge.net/tracker/index.php?func=detail&aid=3445216&group_id=4581&atid=104581 # Bug: https://sourceforge.net/tracker/?func=detail&aid=3445216&group_id=4581&atid=104581 # Bug-Debian: http://bugs.debian.org/664077 # Last-Update: 2012-03-15 # Index: echoping/http.c =================================================================== --- echoping.orig/http.c 2012-03-15 18:08:02.000000000 +0100 +++ echoping/http.c 2012-03-15 19:47:29.123851460 +0100 @@ -53,8 +53,18 @@ * to see why we use * * strNcpy. */ hostname[size] = '\0'; /* Not added automatically */ - if (!strcmp(hostname, "")) - snprintf(hostname, size, "%s:%d", host, sport); + // + // Patch source: + // https://sourceforge.net/tracker/?func=detail&aid=3445216&group_id=4581&atid=104581 + // + if (!strcmp(hostname, "")) { + // do not append port to Host header if it is :80. + if (sport == 80) strncpy(hostname, host, size); + else snprintf(hostname, size, "%s:%d", host, sport); + } + // + // + // result = snprintf(sendline, size, "GET %s HTTP/1.1\r\nUser-Agent: Echoping/%s\r\nHost: %s\r\nConnection: close\r\n%s\r\n", url, VERSION, hostname, cache_directive); debian/patches/series0000644000000000000000000000024012257721513012033 0ustar 004-only-append-port-number-if-port-is-not-80.diff 003-fix-for-https-creashes.diff 002-FTBFS_against_gnutls26_greater_the_2.7.x_fix.diff 001-manpage_fixes.diff debian/rules0000755000000000000000000000540012257721513010252 0ustar #!/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. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 #include /usr/share/quilt/quilt.make # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) #DEB_BUILD_MAINT_OPTIONS = hardening=+all #DPKG_EXPORT_BUILDFLAGS = 1 #include /usr/share/dpkg/buildflags.mk CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif config.status: configure dh_testdir dh_autotools-dev_updateconfig # Add here commands to configure the package. CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" ./configure \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --enable-icp \ --without-ssl \ --with-gnutls \ --with-libidn \ build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: config.status patch-stamp dh_testdir rm -f config.log mkdir -p $(CURDIR)/debian/echoping/usr/share/doc/echoping/examples # Add here commands to compile the package. $(MAKE) #docbook-to-man debian/echoping.sgml > echoping.1 touch $@ build: build-stamp clean: unpatch dh_testdir dh_testroot rm -f build-stamp rm -f plugins/dir # # Add here commands to clean up after the build process. # [ ! -f Makefile ] || $(MAKE) distclean # dh_autotools-dev_restoreconfig dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/echoping. $(MAKE) DESTDIR=$(CURDIR)/debian/echoping install # Getting rid of unneeded *.la find $(CURDIR)/debian/echoping -name \*.la | xargs rm -fv # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples # dh_install # dh_installdebconf # dh_installinfo dh_installman echoping.1 plugins/*/*.1 dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: patch-stamp unpatch build clean binary-indep binary-arch binary install debian/source/0000755000000000000000000000000012257721513010473 5ustar debian/source/format0000644000000000000000000000001412257721513011701 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000007112257721513010222 0ustar version=3 http://sf.net/echoping/echoping-(.+)\.tar\.gz