--- dnshistory-1.3.orig/debian/NEWS +++ dnshistory-1.3/debian/NEWS @@ -0,0 +1,9 @@ +dnshistory (1.2-2) unstable; urgency=low + + dnshistory has been rebuilt using libdb4.4 instead of libdb4.5. This is + because libdb4.5 will probably never be in Etch (see BTS #394648). + + Because of that you will have to delete the history database + /var/lib/dnshistory/dnshistory.db since the database format is certainly not compatible. + + -- Matthias Julius Sun, 10 Dec 2006 22:38:00 -0500 --- dnshistory-1.3.orig/debian/README.source +++ dnshistory-1.3/debian/README.source @@ -0,0 +1,5 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +Please see /usr/share/doc/quilt/README.source for details. --- dnshistory-1.3.orig/debian/changelog +++ dnshistory-1.3/debian/changelog @@ -0,0 +1,59 @@ +dnshistory (1.3-2build3) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:19:49 +0000 + +dnshistory (1.3-2build2) trusty; urgency=low + + * No change rebuild against db 5.3. + + -- Dmitrijs Ledkovs Fri, 01 Nov 2013 23:31:57 +0000 + +dnshistory (1.3-2build1) precise; urgency=low + + * Rebuild for libdb5.1. + + -- Colin Watson Fri, 11 Nov 2011 23:16:09 +0000 + +dnshistory (1.3-2) unstable; urgency=low + + * Acknowledge NMU + * Fix default location of database file in man page (Closes: #434881) + * Update Standards-Version to 3.8.1 + * Don't ship config.guess and config.sub in source package, we take them from + autotools-dev anyway + * Make Homepage its own field in debian/control + * Now using quilt; added debian/README.sources + * Added quilt and autoconf to Build-Depends + * Re-create ./configure in debian/rules configure and clean it up in clean + because of buggy mktime test + + -- Matthias Julius Fri, 01 May 2009 11:04:17 -0400 + +dnshistory (1.3-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Update db build dep to libdb-dev. + + -- Luk Claes Tue, 16 Sep 2008 19:31:37 +0200 + +dnshistory (1.3-1) unstable; urgency=low + + * New upstream release + * Added ${misc:Depends} to Depends: + + -- Matthias Julius Tue, 6 Feb 2007 08:29:06 -0500 + +dnshistory (1.2-2) unstable; urgency=low + + * Now use db4.4 instead of db4.5 since the latter is not likely to be in + etch ever (see #394648) + + -- Matthias Julius Sun, 10 Dec 2006 22:38:00 -0500 + +dnshistory (1.2-1) unstable; urgency=low + + * Initial release (Closes: #394042) + + -- Matthias Julius Sun, 26 Nov 2006 12:29:14 -0500 --- dnshistory-1.3.orig/debian/compat +++ dnshistory-1.3/debian/compat @@ -0,0 +1 @@ +5 --- dnshistory-1.3.orig/debian/control +++ dnshistory-1.3/debian/control @@ -0,0 +1,19 @@ +Source: dnshistory +Section: web +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Matthias Julius +Build-Depends: debhelper (>= 5), autotools-dev, autoconf, libpcre3-dev, libdb-dev, zlib1g-dev, quilt +Standards-Version: 3.8.1 +Homepage: http://www.stedee.id.au/dnshistory/ + +Package: dnshistory +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Translating and storing of IP addresses from log files + Provide a means for storing a history of DNS/Name changes for the IP Addresses + extracted from web log files. The major target being that multiple analyses of + older log files do not require re-lookups of IP Address to FQDNs, and + additionally maintain the accuracy of the lookup as it was then and not as it + is now. + --- dnshistory-1.3.orig/debian/copyright +++ dnshistory-1.3/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Matthias Julius on +Tue, 17 Oct 2006 20:35:10 -0400. + +It was downloaded from http://www.stedee.id.au/dnshistory/ + +Upstream Author: Stephen McInerney + +Copyright: 2004, 2005, 2006 Stephen McInerney + +License: + + This package 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 package 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 package; 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 © 2006, 2009 Matthias Julius and +is licensed under the GPL, see above. --- dnshistory-1.3.orig/debian/docs +++ dnshistory-1.3/debian/docs @@ -0,0 +1 @@ +NEWS --- dnshistory-1.3.orig/debian/patches/man-page +++ dnshistory-1.3/debian/patches/man-page @@ -0,0 +1,15 @@ +Fix location of database file in dnshistory man page + +Index: dnshistory/doc/dnshistory.1 +=================================================================== +--- dnshistory.orig/doc/dnshistory.1 2009-03-11 13:51:31.000000000 -0400 ++++ dnshistory/doc/dnshistory.1 2009-03-11 13:53:11.000000000 -0400 +@@ -119,7 +119,7 @@ + dnshistory \-I dnsdb.dump \-d /tmp/d.db + + .SH "FILES" +-.I /usr/local/var/dnshistory/dnshistory.db ++.I /var/lib/dnshistory/dnshistory.db + .br + .ti +4 + The default history database file. --- dnshistory-1.3.orig/debian/patches/series +++ dnshistory-1.3/debian/patches/series @@ -0,0 +1 @@ +man-page --- dnshistory-1.3.orig/debian/postinst +++ dnshistory-1.3/debian/postinst @@ -0,0 +1,27 @@ +#!/bin/sh +# postinst script for dnshistory + +set -e + +case "$1" in + configure) + + [ -d /var/lib/dnshistory ] || mkdir /var/lib/dnshistory; + ;; + + 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 --- dnshistory-1.3.orig/debian/postrm +++ dnshistory-1.3/debian/postrm @@ -0,0 +1,28 @@ +#!/bin/sh +# postrm script for dnshistory + +set -e + +case "$1" in + purge) + + [ -d /var/lib/dnshistory ] && rm -rf /var/lib/dnshistory + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm 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 --- dnshistory-1.3.orig/debian/rules +++ dnshistory-1.3/debian/rules @@ -0,0 +1,85 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Include quilt stuff. +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) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: $(QUILT_STAMPFN) + autoconf + dh_testdir +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 \ + --localstatedir=/var --enable-database-dir=/var/lib/dnshistory + CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + touch $@ + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + $(MAKE) + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + + rm -f *-stamp + + -if [ -f Makefile ]; then $(MAKE) distclean; fi + + rm -f config.sub + rm -f config.guess + rm -f configure + rm -rf autom4te.cache + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/dnshistory + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + 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 --- dnshistory-1.3.orig/debian/watch +++ dnshistory-1.3/debian/watch @@ -0,0 +1,6 @@ +# watch control file for dnshistory +# Run the "uscan" command to check for upstream updates and more. + +version=3 + +http://www.stedee.id.au/dnshistory/ /files/dnshistory-(.*)\.tar\.gz