debian/0000755000000000000000000000000012224245216007166 5ustar debian/changelog0000644000000000000000000002500412224245014011035 0ustar wmnd (0.4.17-2) unstable; urgency=low * Add 01-Fix-missing-HOME-crash.patch to fix a crash occurring when $HOME variable is not defined (closes: #716468). -- Robert Luberda Sun, 06 Oct 2013 13:31:09 +0200 wmnd (0.4.17-1) unstable; urgency=low * New maintainer (closes: #691836). * New upstream version. * Switch to debhelper v9 and tiny debian/rules file. * Pass -Wl,--as-needed in LDFLAGS (closes: #641337). * debian/control: + `Suggests: trend' because it can be spawned by middle button click; + sort the file with `wrap-and-sort' utility; + add VCS fields; + bump Standards-Version to 3.9.4. -- Robert Luberda Tue, 21 May 2013 07:44:15 +0200 wmnd (0.4.16-1.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: dpkg-buildpackage: error: dpkg-source -b wmnd-0.4.16 gave error exit status 2": update handling of config.{guess,sub}: - use autotools-dev's helpers in debian/rules - make build dependency on autotools-dev versioned (Closes: #652213) -- gregor herrmann Tue, 13 Mar 2012 19:17:17 +0100 wmnd (0.4.16-1) unstable; urgency=low * New upstream version. * Bump standards version to 3.9.1. -- Gürkan Sengün Tue, 17 Aug 2010 09:35:54 +0200 wmnd (0.4.15-1) unstable; urgency=low * New upstream version. * Switch to dpkg-source format version 3.0 (quilt). * debian/copyright: Updated years. * Bump standards version to 3.8.4. * Added watch file. * Updated short description for wmnd-snmp. -- Gürkan Sengün Wed, 07 Apr 2010 15:41:29 +0200 wmnd (0.4.13-1) unstable; urgency=low * New maintainer. (Closes: #515440) * New upstream version. - Make it a non native package. (Closes: #447123) - Don't ignore clean/distclean errors. (Closes: #447124) * Bump debhelper version. * Bump standards version. * Updated debian/copyright. * Updated debian/menu: section part. * Added homepage field. -- Gürkan Sengün Mon, 13 Jul 2009 13:56:59 +0200 wmnd (0.4.12-2.1) unstable; urgency=low * Non-maintainer upload. * Build-depend on libnsmp-dev instead of libsnmp10-dev. Closes: #444559. -- Lucas Nussbaum Thu, 18 Oct 2007 09:27:28 +0200 wmnd (0.4.12-2) unstable; urgency=low * Standards-Version 3.7.1.0 -> 3.7.1.2 without changes * Build-Dep on libsnmp10-dev instead of libsnmp9-dev to make it installable again. -- Arthur Korn Tue, 01 May 2007 19:35:44 +0200 wmnd (0.4.12-1) unstable; urgency=low * New upstream release - upstream fixed #355987 - configure option --with-drivers renamed to --enable-drivers -- Arthur Korn Thu, 25 May 2006 10:59:58 +0200 wmnd (0.4.11-5) unstable; urgency=low * use ppp_defs.h from libc instead of local copy to avoid definition of _u32, closes: #360935 * Standards-Version 3.6.2.0 -> 3.7.2.0 without changes -- Arthur Korn Thu, 25 May 2006 10:23:26 +0200 wmnd (0.4.11-4) unstable; urgency=low * configure: rebuilt with autoconf 2.59a-7 to fix detection of X11 libraries. closes: #346887, #347752 * control: removed no more needed build-dependency on autoconf and automake, rules doesn't run them anymore on every build. -- Arthur Korn Thu, 25 May 2006 10:19:08 +0200 wmnd (0.4.11-3) unstable; urgency=low * control: replaced build dependency on xlibs-dev by build-dependency on libx11-dev, libxext-dev, libxpm-dev as xlibs-split proposed. closes: #346887 -- Arthur Korn Mon, 9 Jan 2006 19:29:14 +0100 wmnd (0.4.11-2) unstable; urgency=low * now builds against libsnmp9, closes: #333943 * Standards-Version 3.6.2 without changes -- Arthur Korn Sat, 29 Oct 2005 15:01:52 +0200 wmnd (0.4.11-1) unstable; urgency=low * New upstream release * --enable-trend added. See end of README for info on what it is. -- Arthur Korn Sat, 23 Oct 2004 16:33:34 +0200 wmnd (0.4.10-1) unstable; urgency=low * New upstream release: - Fixed generic_snmp by probing both ifName and ifDescr (required for interoperation with Debian Sarge, closes: #253109). - Added a geometry flag (-g). -- Arthur Korn Mon, 20 Sep 2004 20:35:53 +0200 wmnd (0.4.9-1) unstable; urgency=low * New upstream release * copyright: updated URL of Yuri's site * control: fixed multiline build-depends field * Standards Version 3.6.1 * menu: quoted values of "needs" and "section" -- Arthur Korn Wed, 25 Aug 2004 01:13:45 +0200 wmnd (0.4.7-1) unstable; urgency=low * New upstream release - new algorithm, current bandwith more precise: closes: #203264 * Small change to the description * Standards Version 3.6.0 -- Arthur Korn Wed, 6 Aug 2003 10:20:38 +0200 wmnd (0.4.5-2) unstable; urgency=low * Repackaged with debhelper 4 * split into wmnd and wmnd-snmp flavours, closes: #199553 -- Arthur Korn Fri, 4 Jul 2003 17:28:02 +0200 wmnd (0.4.5-1) unstable; urgency=low * New upstream release - new IF-MIB SNMP driver. Read the README for caveats. * added libsnmp6-dev to build dependencies, for IF-MIB SNMP driver. -- Arthur Korn Thu, 10 Apr 2003 12:52:52 +0200 wmnd (0.4.4a-1) unstable; urgency=low * New upstream release * Build-Dep on automake1.7, autoconf (>= 2.5) -- Arthur Korn Tue, 21 Jan 2003 15:27:35 +0100 wmnd (0.4.4-1) unstable; urgency=low * New upstream release - Fixes the current rate digital display, closes: #173591 * --enable-sine-dummy * --enable-debug -- Arthur Korn Tue, 14 Jan 2003 15:39:45 +0100 wmnd (0.4.3-2) unstable; urgency=low * Added CONFFLAGS, when DEB_BUILD_OPTIONS has nostrip, CONFFLAGS=--enable-debug * setting CFLAGS in ./configure environment instead in $(MAKE) environment -- Arthur Korn Thu, 19 Dec 2002 14:43:19 +0100 wmnd (0.4.3-1) unstable; urgency=low * New upstream release * rules: CFLAGS and STRIPARGS now set according to policy 3.5.7.0 * control: Standards-Version: 3.5.8.0 -- Arthur Korn Wed, 11 Dec 2002 21:38:27 +0100 wmnd (0.4.2-2) unstable; urgency=low * Fix for division by 10 of displayed speeds due, thanks to Thomas Ashton for the patch. closes: #150483 * Some improvements on the manpage (-t option, driver descriptions). -- Arthur Korn Wed, 3 Jul 2002 18:55:45 +0200 wmnd (0.4.2-1) unstable; urgency=low * New upstream release - since 0.2.2, closes: #115788, #83375, #78784 - using solaris_fpppd driver, ppp is reset on reconnect, closes: #87372 - updated manpage to 0.4.1 - patch by Alexandre Dupouy to handle vlan devices integrated, closes: #145036 * now always building solaris_fpppd driver, for use with /dev/ppp * updated manpage to 0.4.2 (so Debian still has an edge over upstream ;)) -- Arthur Korn Fri, 14 Jun 2002 22:58:15 +0200 wmnd (0.4.1-1) unstable; urgency=low * New upstream release - lots of new display modes - better support for dynamic devices - autotools build system * NEW UPSTREAM wavexx@users.sourceforge.net * the vlan patch introduced in 0.2.2-2 has been removed again. * Updated the package to policy version 3.5.6.0 * now using dh_install{man,exaples,dirs} and cp for installation * updated manpage -- Arthur Korn Sat, 8 Jun 2002 00:19:35 +0200 wmnd (0.2.2-2) unstable; urgency=low * copyright: noted that upstream is MIA * incorporated patch to make wmnd work with vlan interfaces, thanks to Alexandre Dupouy for the patch, closes: #145036 -- Arthur Korn Fri, 7 Jun 2002 17:35:24 +0200 wmnd (0.2.2-1) unstable; urgency=low * New upstream release -- Arthur Korn Tue, 24 Apr 2001 21:28:50 +0200 wmnd (0.2.1-2) unstable; urgency=low * Added menu hints -- Arthur Korn Sun, 14 Jan 2001 17:02:03 +0100 wmnd (0.2.1-1) unstable; urgency=low * New upstream release -- Arthur Korn Sat, 23 Dec 2000 17:43:04 +0100 wmnd (0.2.0-2) unstable; urgency=low * Fixed upstream release -- Arthur Korn Sun, 10 Dec 2000 15:42:25 +0100 wmnd (0.2.0-1) unstable; urgency=low * New upstream release -- Arthur Korn Thu, 7 Dec 2000 18:32:29 +0100 wmnd (0.1.0-4) unstable; urgency=low * Adapted Build-Depends to library changes of last version. -- Arthur Korn Sat, 18 Nov 2000 21:44:45 +0100 wmnd (0.1.0-3) unstable; urgency=low * only rebuild, this time not depending on libc5 libxpm. (Closes Bug#77279) -- Arthur Korn Fri, 17 Nov 2000 22:12:45 +0100 wmnd (0.1.0-2) unstable; urgency=low * control: changed maintainer address to arthur@debian.org. * This time uploading with full source (first upload to debian.org). -- Arthur Korn Wed, 15 Nov 2000 20:32:39 +0100 wmnd (0.1.0-1) unstable; urgency=low * New upstream release * wmnd.1: now in upstream distribution. * docs: added CREDIT. * menu: changed section to Apps/System (it's monitoring after all). -- Arthur Korn Tue, 31 Oct 2000 18:03:34 +0100 wmnd (0.0.4-4) unstable; urgency=low * wmnd.1: wrote it, forwarded to upstream ... * control: changed section to net. -- Arthur Korn Sun, 8 Oct 2000 10:42:34 +0200 wmnd (0.0.4-3) unstable; urgency=low * rules: now evaluating DEB_BUILD_OPTIONS. * rules: installing into /usr/bin, not /usr/X11R6/bin. * undocumented: changed section from 1x to 1. * menu: /usr/bin/X11/wmfsm -> /usr/bin/wmfsm. -- Arthur Korn Wed, 4 Oct 2000 13:29:00 +0200 wmnd (0.0.4-2) unstable; urgency=low * Fixed up the makefiles, now wmnd is built policy conformant -- Arthur Korn Sat, 29 Jul 2000 12:10:48 +0200 wmnd (0.0.4-1) unstable; urgency=low * New upstream release -- Arthur Korn Sat, 29 Jul 2000 12:10:26 +0200 wmnd (0.0.3b-1) unstable; urgency=low * New upstream release -- Arthur Korn Fri, 28 Jul 2000 21:16:45 +0200 wmnd (0.0.3-1) unstable; urgency=low * New upstream release -- Arthur Korn Wed, 26 Jul 2000 22:12:53 +0200 wmnd (0.0.2-1) unstable; urgency=low * New upstream release -- Arthur Korn Tue, 25 Jul 2000 19:22:24 +0200 wmnd (0.0.1-1) unstable; urgency=low * Initial Release. -- Arthur Korn Wed, 12 Jul 2000 22:26:22 +0200 debian/compat0000644000000000000000000000000212224245014010360 0ustar 9 debian/control0000644000000000000000000000264312224245014010572 0ustar Source: wmnd Section: net Priority: optional Maintainer: Robert Luberda Standards-Version: 3.9.4 Homepage: http://www.thregr.org/~wavexx/software/wmnd/ Build-Depends: autotools-dev (>= 20100122.1), debhelper (>= 9), libsnmp-dev, libx11-dev, libxext-dev, libxpm-dev Vcs-Git: git://anonscm.debian.org/users/robert/wmnd.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/robert/wmnd.git Package: wmnd Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Conflicts: wmnd-snmp Replaces: wmnd-snmp Suggests: trend Description: Dockapp monitoring network interfaces Shows a graph of incoming/outgoing traffic, activity indicators for rx/tx and current/maximum rate for rx/tx in bytes or packets. . Tailored for use with WindowMaker, it will as well work with any other window manager though. Package: wmnd-snmp Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Conflicts: wmnd Replaces: wmnd Suggests: trend Description: Dockapp monitoring network interfaces with SNMP support Shows a graph of incoming/outgoing traffic, activity indicators for rx/tx and current/maximum rate for rx/tx in bytes or packets. . The SNMP input driver can use any IF-MIB compliant data source such as most routers and managed switches. . Tailored for use with WindowMaker, it will as well work with any other window manager though. debian/copyright0000644000000000000000000000341712224245014011122 0ustar This package was debianized by: Arthur Korn on Wed, 12 Jul 2000 22:26:22 +0200. It was originally downloaded from: http://www.thregr.org/~wavexx/software/wmnd/ Upstream Authors: Yuri D'Elia Timecop Arthur Korn Reed Lai Alfredo K. Kojima The Australian National University Kresten Krab Thorup Copyright: Copyright (C) 2001-2010 by wave++ "Yuri D'Elia" Copyright (C) 2001 by Timecop Copyright (C) 2001 by Arthur Korn Copyright (C) 2000-2001 by Reed Lai Copyright (C) 1997 by Alfredo K. Kojima Copyright (C) 1994 by The Australian National University. Copyright (C) 1993-1994 by Kresten Krab Thorup 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is: Copyright (C) 2009-2010, Gürkan Sengün and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'. debian/patches/0000755000000000000000000000000012224245014010611 5ustar debian/patches/01-Fix-missing-HOME-crash.patch0000644000000000000000000000163612224245014016077 0ustar From: Robert Luberda Date: Sun, 6 Oct 2013 13:30:19 +0200 Subject: 01 Fix missing $HOME crash Fix a crash occurring when $HOME is not defined (closes: #716468). --- src/wmnd.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/wmnd.c b/src/wmnd.c index de65cbf..a3600ad 100644 --- a/src/wmnd.c +++ b/src/wmnd.c @@ -861,12 +861,15 @@ int main(int argc, char* *argv) if(!conf_file) { char* tmp; - tmp = getenv("HOME"); - conf_file = (char*)calloc(1, strlen(tmp) + 9); - strcat(conf_file, tmp); - strcat(conf_file, "/.wmndrc"); + if ( ((tmp = getenv("HOME"))) + && ((conf_file = (char*)calloc(1, strlen(tmp) + 9))) ) + { + strcat(conf_file, tmp); + strcat(conf_file, "/.wmndrc"); + } } - conf_read(conf_file); + if(conf_file) + conf_read(conf_file); } /* set stuff here */ debian/patches/series0000644000000000000000000000004012224245014012020 0ustar 01-Fix-missing-HOME-crash.patch debian/rules0000755000000000000000000000362712224245014010252 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 pwmnd := wmnd pwmnd_snmp := wmnd-snmp define dh_auto_command $(subst override_,,$1) --verbose --buildsystem=autoconf --parallel \ --package="$2" \ --builddirectory="BUILD-$2" \ --tmpdir="debian/$2" \ -O --destdir="debian/$2" $3 endef export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) -Wall export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed CONFFLAGS := --enable-trend ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))$(findstring nostrip,$(DEB_BUILD_OPTIONS))) CONFFLAGS += --enable-debug endif %: dh "$@" --with autotools_dev override_dh_auto_configure: $(call dh_auto_command,$@,$(pwmnd), \ -- $(CONFFLAGS) \ --docdir="\$${prefix}/share/doc/$(pwmnd)" \ --enable-drivers="linux_proc solaris_fpppd" ) $(call dh_auto_command,$@,$(pwmnd_snmp), \ -- $(CONFFLAGS) \ --docdir="\$${prefix}/share/doc/$(pwmnd_snmp)" \ --enable-drivers="linux_proc solaris_fpppd generic_snmp" \ LIBS="$(LIBS) -lsnmp" ) override_dh_auto_build override_dh_auto_clean override_dh_auto_install: $(call dh_auto_command,$@,$(pwmnd)) $(call dh_auto_command,$@,$(pwmnd_snmp)) .PHONY: override_dh_auto_configure override_dh_auto_build \ override_dh_auto_clean override_dh_auto_install debian/source/0000755000000000000000000000000012224245014010462 5ustar debian/source/format0000644000000000000000000000001412224245014011670 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000037512224245014010220 0ustar version=3 opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$//i,dversionmangle=s/[-.+~]?(cvs|svn|git|snapshot|pre|hg)(.*)$//i,pasv \ http://www.thregr.org/~wavexx/software/wmnd/releases/ (?:.*/)?wmnd-?([\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2|) debian uupdate debian/wmnd-snmp.docs0000777000000000000000000000000012224245014013570 2wmnd.docsustar debian/wmnd-snmp.menu0000644000000000000000000000024112224245014011765 0ustar ?package(wmnd-snmp):\ needs="X11"\ section="Applications/System/Monitoring"\ title="WMnd"\ hints="Network,Monitoring,Dockapp"\ command="/usr/bin/wmnd" debian/wmnd.docs0000644000000000000000000000004012224245014010773 0ustar AUTHORS NEWS README THANKS TODO debian/wmnd.menu0000644000000000000000000000023412224245014011014 0ustar ?package(wmnd):\ needs="X11"\ section="Applications/System/Monitoring"\ title="WMnd"\ hints="Network,Monitoring,Dockapp"\ command="/usr/bin/wmnd"