--- wmifinfo-0.09.orig/Makefile +++ wmifinfo-0.09/Makefile @@ -2,7 +2,7 @@ # Set this to 'y' if you want support for reading the link quality # of nowiresneeded 1148 PCMCIA or Swallow cards -ENABLE_NWN_SUPPORT=n +ENABLE_NWN_SUPPORT=y ################################################################## @@ -13,9 +13,11 @@ CC = gcc LD = gcc -COPTS = -Wall -O2 -D'VERSION="$(VERSION)"' -D'NAME="$(NAME)"' +COPTS = -D'VERSION="$(VERSION)"' -D'NAME="$(NAME)"' LDOPTS = -lX11 -L/usr/X11R6/lib -lXpm -lXext -BINDIR = /usr/local/bin +BINDIR = $(DESTDIR)/usr/bin/ +INSTALL=/usr/bin/install +INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 BIN = wmifinfo FILES = wmifinfo.o xutils.o @@ -28,7 +30,7 @@ all: $(BIN) .c.o: - $(CC) $(COPTS) -c $< + $(CC) $(COPTS) $(CFLAGS) -c $< $(BIN): $(FILES) $(LD) -o $@ $(FILES) $(LDOPTS) @@ -37,7 +39,7 @@ rm -f *.o $(BIN) core ./.#* *.orig *.rej install: - cp $(BIN) $(BINDIR) + $(INSTALL_PROGRAM) $(BIN) $(BINDIR) dist: clean rm -rf /tmp/wmifinfo-$(VERSION) --- wmifinfo-0.09.orig/debian/dirs +++ wmifinfo-0.09/debian/dirs @@ -0,0 +1 @@ +usr/bin --- wmifinfo-0.09.orig/debian/compat +++ wmifinfo-0.09/debian/compat @@ -0,0 +1 @@ +5 --- wmifinfo-0.09.orig/debian/wmifinfo.1 +++ wmifinfo-0.09/debian/wmifinfo.1 @@ -0,0 +1,63 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH WMIFINFO 1 "June 7, 2002" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +wmifinfo \- dockapp for showing basic network info for all available interfaces +.SH SYNOPSIS +.B wmifinfo +.RI [-lh] [-i interface] + +This manual page documents briefly the +.B wmifinfo +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +Instead, it has documentation in the GNU Info format; see below. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBwmifinfo\fP is is a simple applet showing basic network info for all +available interfaces. +It shows IP address, netmask, gateway and MAC address. A bit like ifconfig. +Left-button click moves to the next interface, right-button click calls +ifup/ifdown scripts. +Please report bugs if you find any. +.SH OPTIONS +A summary of options is included below. +.TP +.B \-h +Show summary of options. +.TP +.B \-v +Show version of program. +.TP +.B \-d +Command to exec for iface-down +.TP +.B \-i +Start with given interface, if available +.TP +.B \-l +LCD display mode +.TP +.B \-u +Command to exec for iface-up +.br +.SH AUTHOR +This manual page was written by Søren Boll Overgaard , +for the Debian GNU/Linux system (but may be used by others). --- wmifinfo-0.09.orig/debian/docs +++ wmifinfo-0.09/debian/docs @@ -0,0 +1 @@ +README --- wmifinfo-0.09.orig/debian/rules +++ wmifinfo-0.09/debian/rules @@ -0,0 +1,77 @@ +#!/usr/bin/make -f +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +#export DH_COMPAT=4 + +CFLAGS=-W -Wall +INSTALL=/usr/bin/install +INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + $(MAKE) CFLAGS="$(CFLAGS)" + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + [ ! -f Makefile ] || $(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/wmifinfo INSTALL_PROGRAM="$(INSTALL_PROGRAM)" + + +# 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_installdocs README + dh_installmenu + dh_installman debian/wmifinfo.1 + dh_installchangelogs Changelog + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- wmifinfo-0.09.orig/debian/control +++ wmifinfo-0.09/debian/control @@ -0,0 +1,14 @@ +Source: wmifinfo +Section: x11 +Priority: optional +Maintainer: Enrique Monge +Build-Depends: debhelper (>= 5), libx11-dev, libxext-dev, libxpm-dev, x-dev +Standards-Version: 3.7.2 + +Package: wmifinfo +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Dockapp that shows information for all interfaces + wmifinfo is a simple applet showing basic network info for all available + interfaces. It shows IP address, netmask, gateway and MAC address in a + similar way to ifconfig. --- wmifinfo-0.09.orig/debian/changelog +++ wmifinfo-0.09/debian/changelog @@ -0,0 +1,61 @@ +wmifinfo (0.09-3) unstable; urgency=low + + * New mainttainer (Closes: #427135) + * Bumped to 3.7.2 standard version + debian/compat added + changed Depends from debhelper 4 to debhelper >=5 + minor changes to debian/rules + * debian/watch added + * changelog modified to comply with utf-8 + + -- Enrique Monge Sat, 14 Jul 2007 18:32:59 -0600 + +wmifinfo (0.09-2) unstable; urgency=low + + * Orphan package, set maintainer to Debian QA Group + + -- Gordon Fraser Sat, 02 Jun 2007 06:17:21 +0200 + +wmifinfo (0.09-1) unstable; urgency=low + + * New upstream version (Closes: #316266) + * Fix build dependencies (Closes: #346904) + + -- Gordon Fraser Sun, 15 Jan 2006 14:04:49 +0100 + +wmifinfo (0.08-1) unstable; urgency=low + + * New upstream version (Closes: #253174) + + -- Gordon Fraser Thu, 29 Jul 2004 08:50:31 +0200 + +wmifinfo (0.06-2) unstable; urgency=low + + * New maintainer (Closes: #210793) + * Bump standards-version to 3.6.1.0 + * Update DEB_BUILD_OPTIONS handling + * Minor update to description + * Remove dh_make boilerplate from debian/copyright + * Add menu entry + + -- Gordon Fraser Sun, 21 Sep 2003 12:57:38 +0200 + +wmifinfo (0.06-1) unstable; urgency=low + + * New upstream release + + -- Søren Boll Overgaard Wed, 19 Jun 2002 12:27:30 +0200 + +wmifinfo (0.05-2) unstable; urgency=low + + * Uppercase description (closes: Bug#150377). + + -- Søren Boll Overgaard Wed, 19 Jun 2002 00:16:09 +0200 + +wmifinfo (0.05-1) unstable; urgency=low + + * Initial Release (closes: Bug#148406). + * Changed Makefile to install in $(DESTDIR) + + -- Søren Boll Overgaard Fri, 7 Jun 2002 16:23:13 +0200 + --- wmifinfo-0.09.orig/debian/copyright +++ wmifinfo-0.09/debian/copyright @@ -0,0 +1,12 @@ +This package was debianized by Søren Boll Overgaard on +Fri, 7 Jun 2002 16:23:13 +0200. + +It was downloaded from http://www.zevv.nl/wmifinfo/ + +Upstream Author: Ico Doornekamp + +Copyright: + +Released under the GPL. +Full text of the GPL is available as /usr/share/common-licenses/GPL on your +Debian system. --- wmifinfo-0.09.orig/debian/watch +++ wmifinfo-0.09/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.zevv.nl/wmifinfo/wmifinfo-(.*)\.tgz --- wmifinfo-0.09.orig/debian/menu +++ wmifinfo-0.09/debian/menu @@ -0,0 +1,3 @@ +?package(wmifinfo):needs="X11" section="Apps/Net"\ + title="wmifinfo" command="/usr/bin/wmifinfo" +