--- tinydyndns-0.4.2.debian1.orig/debian/changelog
+++ tinydyndns-0.4.2.debian1/debian/changelog
@@ -0,0 +1,16 @@
+tinydyndns (0.4.2.debian1-1) unstable; urgency=low
+
+  * new upstream debian version.
+    * use pop3front-auth, pop3front-maildir instead of qmail-popup,
+      qmail-pop3d.
+  * debian/control: Recommends: mailfront instead of qmail; update
+    long description.
+  * debian/control: Standards-Version: 3.8.0.1.
+
+ -- Gerrit Pape <pape@smarden.org>  Sun, 06 Jul 2008 20:54:27 +0000
+
+tinydyndns (0.4.2.debian0-1) unstable; urgency=low
+
+  * initial Debian package (closes: #459778).
+
+ -- Gerrit Pape <pape@smarden.org>  Tue, 22 Apr 2008 20:48:30 +0000
--- tinydyndns-0.4.2.debian1.orig/debian/control
+++ tinydyndns-0.4.2.debian1/debian/control
@@ -0,0 +1,25 @@
+Source: tinydyndns
+Section: net
+Priority: optional
+Maintainer: Gerrit Pape <pape@smarden.org>
+Standards-Version: 3.8.0.1
+
+Package: tinydyndns
+Architecture: any
+Depends: ${shlibs:Depends}
+Recommends: djbdns, mailfront, daemontools, ucspi-tcp, runit | daemontools-run, cvm, make
+Description:pop-before-dyndns service using djbdns
+ tinydyndns is a simple but powerful dynamic DNS solution that uses
+ djbdns.  It cooperates with the djbdns package to publish dynamic IP
+ addresses authenticated through POP connections.  On successfully
+ authenticated POP connections, the tinydyndns-update program manipulates
+ tinydns' constant database "data.cdb" directly without rebuilding it;
+ this makes the dynamic DNS solution use very few system resources.
+ .
+ Using a POP service for authentication saves the work for installing
+ special client software, since POP clients are available for every
+ common network-aware operating system.  To provide the DNS and POP
+ services, tinydyndns cooperates with djbdns, mailfront, and cvm.
+ .
+ The POP service can easily be replaced with other services that provide
+ authentication, such as APOP, IMAPS, ...
--- tinydyndns-0.4.2.debian1.orig/debian/copyright
+++ tinydyndns-0.4.2.debian1/debian/copyright
@@ -0,0 +1,24 @@
+Copyright (c) 2002-2008, Gerrit Pape
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+   1. Redistributions of source code must retain the above copyright notice,
+      this list of conditions and the following disclaimer.
+   2. 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.
+   3. The name of the author may not be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
--- tinydyndns-0.4.2.debian1.orig/debian/implicit
+++ tinydyndns-0.4.2.debian1/debian/implicit
@@ -0,0 +1,93 @@
+# $Id: a09db2e42c8b6a2d820754d741558e5894944746 $
+
+.PHONY: deb-checkdir deb-checkuid
+
+deb-checkdir:
+	@test -e debian/control || sh -cx '! : wrong directory'
+deb-checkuid:
+	@test "`id -u`" -eq 0 || sh -cx '! : need root privileges'
+
+%.deb: %.deb-docs %.deb-DEBIAN
+	@rm -f $*.deb $*.deb-checkdir $*.deb-docs $*.deb-docs-base \
+	  $*.deb-docs-docs $*.deb-docs-examples $*.deb-DEBIAN \
+	  $*.deb-DEBIAN-dir $*.deb-DEBIAN-scripts $*.deb-DEBIAN-md5sums
+
+%.udeb: %.deb-DEBIAN
+	@rm -f $*.deb $*.deb-checkdir $*.deb-DEBIAN $*.deb-DEBIAN-dir \
+	  $*.deb-DEBIAN-scripts $*.deb-DEBIAN-md5sums
+
+%.deb-checkdir: install
+	@test -d debian/$* || sh -cx '! : directory debian/$* missing'
+	@test "`id -u`" -eq 0 || sh -cx '! : need root privileges'
+
+%.deb-docs-base: install
+	: implicit
+	@rm -f debian/$*/usr/share/doc/$*/* || :
+	@install -d -m0755 debian/$*/usr/share/doc/$*
+	: debian/$*/usr/share/doc/$*/
+	@sh -cx 'install -m0644 debian/copyright debian/$*/usr/share/doc/$*/'
+	@sh -cx 'install -m0644 debian/changelog \
+	  debian/$*/usr/share/doc/$*/changelog.Debian'
+	@test ! -r changelog || \
+	  sh -cx 'install -m0644 changelog debian/$*/usr/share/doc/$*/'
+	@test -r debian/$*/usr/share/doc/$*/changelog || \
+	  sh -cx 'mv debian/$*/usr/share/doc/$*/changelog.Debian \
+	    debian/$*/usr/share/doc/$*/changelog'
+	@test -s debian/$*/usr/share/doc/$*/changelog || \
+	  sh -cx 'rm -f debian/$*/usr/share/doc/$*/changelog'
+	@gzip -9 debian/$*/usr/share/doc/$*/changelog*
+%.deb-docs-docs: %.deb-docs-base
+	@for i in `cat debian/$*.docs 2>/dev/null || :`; do \
+	  if test -d $$i; then \
+	    sh -cx "install -d -m0755 debian/$*/usr/share/doc/$*/$${i##*/}" && \
+	    for j in $$i/*; do \
+	      sh -cx "install -m0644 $$j \
+	        debian/$*/usr/share/doc/$*/$${i##*/}/" || exit 1; \
+	    done || exit 1; \
+	    continue; \
+	  fi; \
+	  sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/" || exit 1; \
+	done
+	@test ! -r debian/$*.README.Debian || \
+	  sh -cx 'install -m0644 debian/$*.README.Debian \
+	    debian/$*/usr/share/doc/$*/README.Debian'
+	@if test -r debian/$*.NEWS.Debian; then \
+	  sh -cx 'install -m0644 debian/$*.NEWS.Debian \
+	    debian/$*/usr/share/doc/$*/NEWS.Debian && \
+	      gzip -9 debian/$*/usr/share/doc/$*/NEWS.Debian'; \
+	fi
+%.deb-docs-examples: %.deb-docs-docs
+	@rm -rf debian/$*/usr/share/doc/$*/examples
+	: debian/$*/usr/share/doc/$*/examples/
+	@test ! -r debian/$*.examples || \
+	  install -d -m0755 debian/$*/usr/share/doc/$*/examples
+	@for i in `cat debian/$*.examples 2>/dev/null || :`; do \
+	  sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/examples/" \
+	    || exit 1; \
+	done
+%.deb-docs: %.deb-checkdir %.deb-docs-base %.deb-docs-docs %.deb-docs-examples
+	: debian/$*/usr/share/doc/$*/ ok
+
+%.deb-DEBIAN-base: install
+	@rm -rf debian/$*/DEBIAN
+	: debian/$*/DEBIAN/
+	@install -d -m0755 debian/$*/DEBIAN
+	@for i in conffiles shlibs templates; do \
+	  test ! -r debian/$*.$$i || \
+	    sh -cx "install -m0644 debian/$*.$$i debian/$*/DEBIAN/$$i" \
+	      || exit 1; \
+	done
+%.deb-DEBIAN-scripts: %.deb-DEBIAN-base
+	@for i in preinst prerm postinst postrm config; do \
+	  test ! -r debian/$*.$$i || \
+	    sh -cx "install -m0755 debian/$*.$$i debian/$*/DEBIAN/$$i" \
+	      || exit 1; \
+	done
+%.deb-DEBIAN-md5sums: %.deb-DEBIAN-base %.deb-docs
+	: debian/$*/DEBIAN/md5sums
+	@rm -f debian/$*/DEBIAN/md5sums
+	@cd debian/$* && find * -path 'DEBIAN' -prune -o \
+	  -type f -exec md5sum {} >>DEBIAN/md5sums \;
+%.deb-DEBIAN: %.deb-checkdir %.deb-DEBIAN-base %.deb-DEBIAN-scripts \
+	  %.deb-DEBIAN-md5sums
+	: debian/$*/DEBIAN/ ok
--- tinydyndns-0.4.2.debian1.orig/debian/rules
+++ tinydyndns-0.4.2.debian1/debian/rules
@@ -0,0 +1,65 @@
+#!/usr/bin/make -f
+
+STRIP =strip
+ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+  STRIP =: nostrip
+endif
+
+DIR=$(shell pwd)/debian/tinydyndns
+
+patch: deb-checkdir patch-stamp
+patch-stamp:
+	for i in `ls -1 debian/diff/*.diff || :`; do \
+	  patch -p1 <$$i || exit 1; \
+	done
+	touch patch-stamp
+
+build: deb-checkdir build-stamp
+build-stamp: patch-stamp
+	test -r conf-home'{orig}' || cp -f conf-home conf-home'{orig}'
+	echo /usr >conf-home
+	test -r conf-cc'{orig}' || cp conf-cc conf-cc'{orig}'
+	echo 'gcc -O2 -g -include /usr/include/errno.h' >conf-cc
+	$(MAKE)
+	touch build-stamp
+
+clean: deb-checkdir deb-checkuid
+	test ! -e patch-stamp || \
+	  for i in `ls -1r debian/diff/*.diff || :`; do patch -p1 -R <$$i; done
+	$(MAKE) clean
+	rm -f patch-stamp build-stamp
+	rm -rf '$(DIR)'
+	rm -f debian/files debian/substvars changelog
+	test ! -r conf-home'{orig}' || mv -f conf-home'{orig}' conf-home
+	test ! -r conf-cc'{orig}' || mv conf-cc'{orig}' conf-cc
+
+install: deb-checkdir deb-checkuid build-stamp
+	rm -rf '$(DIR)'
+	# programs
+	install -d -m0755 '$(DIR)'/usr/bin
+	for i in tinydyndns-data tinydyndns-update; do \
+	  install -m0755 $$i '$(DIR)'/usr/bin/$$i && \
+	  $(STRIP) -R .comment -R .note '$(DIR)'/usr/bin/$$i || exit 1; \
+	done
+	install -m0755 tinydyndns-conf '$(DIR)'/usr/bin/tinydyndns-conf
+	# man pages
+	install -d -m0755 '$(DIR)'/usr/share/man/man8
+	for i in *.8; do \
+	  install -m0644 $$i '$(DIR)'/usr/share/man/man8/ && \
+	  gzip -9 '$(DIR)'/usr/share/man/man8/$${i##*/} || exit 1; \
+	done
+	# changelog
+	rm -f changelog && ln -s package/CHANGES changelog
+
+binary-indep:
+
+binary-arch: install tinydyndns.deb
+	dpkg-shlibdeps '$(DIR)'/usr/bin/*
+	dpkg-gencontrol -isp -ptinydyndns -P'$(DIR)'
+	dpkg -b '$(DIR)' ..
+
+binary: binary-indep binary-arch
+
+.PHONY: patch build clean install binary-indep binary-arch binary
+
+include debian/implicit
--- tinydyndns-0.4.2.debian1.orig/debian/tinydyndns.docs
+++ tinydyndns-0.4.2.debian1/debian/tinydyndns.docs
@@ -0,0 +1 @@
+doc/*.html
--- tinydyndns-0.4.2.debian1.orig/debian/tinydyndns.examples
+++ tinydyndns-0.4.2.debian1/debian/tinydyndns.examples
@@ -0,0 +1 @@
+doc/*.sh
