--- renattach-1.2.3.orig/debian/compat +++ renattach-1.2.3/debian/compat @@ -0,0 +1 @@ +4 --- renattach-1.2.3.orig/debian/changelog +++ renattach-1.2.3/debian/changelog @@ -0,0 +1,74 @@ +renattach (1.2.3-1) unstable; urgency=low + + * New upstream release and updated upstream url in copyright + file (closes: #385265) + * Added maildrop and deliver to the recommends line (closes: #385766) + * Removed watch file. Renattach has been discontinued upstreams, and + we are not expecting any new releases. + + -- Mats Rynge Wed, 29 Dec 2004 20:52:50 -0800 + +renattach (1.2.2-1) unstable; urgency=low + + * New upstream release (closes: #284698) + * Changed build-depends to include exim4 as an alternative to + the virtual mail-transport-agent package + + -- Mats Rynge Wed, 29 Dec 2004 20:52:50 -0800 + +renattach (1.2.1-2) unstable; urgency=low + + * Now depends on exim4 | mail-transport-agent instead of + exim | mail-transport-agent (closes: #255360) + + -- Mats Rynge Sat, 5 Jun 2004 17:15:51 -0700 + +renattach (1.2.1-1) unstable; urgency=low + + * New upstream release + * Bumped the standards version to 3.6.1 + + -- Mats Rynge Sat, 5 Jun 2004 17:15:51 -0700 + +renattach (1.2.0-1) unstable; urgency=low + + * New maintainer (Closes: #234617) + * New upstrem release + * Bumped standards version to 3.6.0 + * Changed depends from mail-trasport-agent to exim | mail-trasport-agent + (policy 7.4) + + -- Mats Rynge Wed, 24 Mar 2004 13:08:16 -0800 + +renattach (1.1.1-4) unstable; urgency=low + + * Uploading with maintainer set to QA group + * debian/copyright: de-dh_make-boilerplated + * debian/control: removed period from short description + * debian/conffiles: removed as debhelper automatically flags files in /etc + as conffiles + * debian/README.Debian: corrected spelling mistake + + -- Andrew Pollock Thu, 18 Mar 2004 09:54:19 +1100 + +renattach (1.1.1-3) unstable; urgency=low + + * Added mail-transport-agent and procmail to build-depends. Closes: #132897. + * Added mail-trasport-agent to depends. + * Added procmail to recommends. + * Commented out '#define CATCH_CODED' in defs.base. + + -- Ryszard Lach Fri, 8 Feb 2002 09:00:07 +0100 + +renattach (1.1.1-2) unstable; urgency=low + + * Fixed upstream configure script. + + -- Ryszard Lach Tue, 5 Feb 2002 11:42:40 +0100 + +renattach (1.1.1-1) unstable; urgency=low + + * Initial Release. Closes: #132335. + + -- Ryszard Lach Mon, 4 Feb 2002 17:36:31 +0100 + --- renattach-1.2.3.orig/debian/prerm +++ renattach-1.2.3/debian/prerm @@ -0,0 +1,39 @@ +#! /bin/sh +# prerm script for renattach +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/renattach.info.gz + ;; + failed-upgrade) + ;; + *) + echo "prerm 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 + + --- renattach-1.2.3.orig/debian/copyright +++ renattach-1.2.3/debian/copyright @@ -0,0 +1,8 @@ +This package was debianized by Mats Rynge + +It was downloaded from http://www.pc-tools.net/unix/renattach/ + +Upstream Author: Upstream Author: Jem E. Berkes + +Copyright: /usr/share/common-licenses/GPL + --- renattach-1.2.3.orig/debian/preinst +++ renattach-1.2.3/debian/preinst @@ -0,0 +1,44 @@ +#! /bin/sh +# preinst script for renattach +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) +# if [ "$1" = "upgrade" ] +# then +# start-stop-daemon --stop --quiet --oknodo \ +# --pidfile /var/run/renattach.pid \ +# --exec /usr/sbin/renattach 2>/dev/null || true +# fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst 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 + + --- renattach-1.2.3.orig/debian/docs +++ renattach-1.2.3/debian/docs @@ -0,0 +1,3 @@ +AUTHORS +NEWS +README --- renattach-1.2.3.orig/debian/postinst +++ renattach-1.2.3/debian/postinst @@ -0,0 +1,42 @@ +#! /bin/sh +# postinst script for renattach +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +case "$1" in + configure) + + ;; + + 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 + + --- renattach-1.2.3.orig/debian/control +++ renattach-1.2.3/debian/control @@ -0,0 +1,21 @@ +Source: renattach +Section: mail +Priority: optional +Maintainer: Mats Rynge +Build-Depends: debhelper (>= 4.0.0), exim4 | mail-transport-agent, procmail +Standards-Version: 3.7.2 + +Package: renattach +Architecture: any +Depends: ${shlibs:Depends}, exim4 | mail-transport-agent +Recommends: procmail | maildrop | deliver +Description: Rename attachments on the fly + Renattach is a small, efficient and surprisingly effective filter + designed primarily to offer an additional level of safety to Windows + users whose e-mails pass through a UNIX-like mail server. Many modern + viruses are spread through e-mail, and renattach combats such viruses by + filtering e-mail attachments based on file extension. The idea is to + rename potentially dangerous attachments (executable ones) so that + the user, or the user's poorly written e-mail software, does not + accidentally execute the attachment. + --- renattach-1.2.3.orig/debian/postrm +++ renattach-1.2.3/debian/postrm @@ -0,0 +1,38 @@ +#! /bin/sh +# postrm script for renattach +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|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 --- renattach-1.2.3.orig/debian/dirs +++ renattach-1.2.3/debian/dirs @@ -0,0 +1 @@ +usr/bin --- renattach-1.2.3.orig/debian/rules +++ renattach-1.2.3/debian/rules @@ -0,0 +1,88 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# 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) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \ + --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ + --sysconfdir=/etc/renattach + + +build: build-stamp + +build-stamp: config.status + dh_testdir + $(MAKE) + #/usr/bin/docbook-to-man debian/renattach.sgml > renattach.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + -$(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/renattach \ + userdir=$(CURDIR)/debian/renattach/etc/renattach + # rename the conf file + mv $(CURDIR)/debian/renattach/etc/renattach/renattach.conf.ex \ + $(CURDIR)/debian/renattach/etc/renattach/renattach.conf + + +# 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 ChangeLog + dh_installdocs + dh_installman + dh_link + 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