--- dnstop-20080502.orig/debian/README.Debian +++ dnstop-20080502/debian/README.Debian @@ -0,0 +1,6 @@ +dnstop for Debian +----------------- + + + + -- mark Mon, 25 Aug 2008 21:17:15 -0700 --- dnstop-20080502.orig/debian/changelog +++ dnstop-20080502/debian/changelog @@ -0,0 +1,6 @@ +dnstop (20080502-1~ppa1) hardy; urgency=low + + * Initial release + + -- Mark Foster Mon, 25 Aug 2008 21:17:15 -0700 + --- dnstop-20080502.orig/debian/compat +++ dnstop-20080502/debian/compat @@ -0,0 +1 @@ +5 --- dnstop-20080502.orig/debian/control +++ dnstop-20080502/debian/control @@ -0,0 +1,21 @@ +Source: dnstop +Section: universe/net +Priority: optional +Maintainer: Mark Foster +Build-Depends: debhelper (>= 5), cdbs, patchutils, libncurses-dev, libpcap0.8-dev +Standards-Version: 3.7.3 + +Package: dnstop +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: console tool to analyze DNS traffic + dnstop is a console tool to analyze and display various tables of DNS traffic. + Currently dnstop displays tables of (among others): + * Source IP addresses + * Destination IP addresses + * Query types + * Top level domains + * Second level domains + . + Homepage: http://dns.measurement-factory.com/tools/dnstop/ + --- dnstop-20080502.orig/debian/copyright +++ dnstop-20080502/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Mark Foster on 2008-08-25 + +It was downloaded from http://dns.measurement-factory.com/tools/dnstop/src/ + +Upstream Author: The Measurement Factory, Inc. + +Copyright (c) 2002, The Measurement Factory, Inc. All rights +reserved. + +License: + +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 Measurement Factory 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. --- dnstop-20080502.orig/debian/dirs +++ dnstop-20080502/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- dnstop-20080502.orig/debian/rules +++ dnstop-20080502/debian/rules @@ -0,0 +1,99 @@ +#!/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 + + +# 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) + + +config.status: configure + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/dnstop.sgml > dnstop.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/dnstop. + $(MAKE) prefix=$(CURDIR)/debian/dnstop/usr install + + +# 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 CHANGES + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install