From 2bd2c227815b2758ca2ea20cf9958b593fce5eac Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Mon, 26 May 2008 22:21:44 +0200 Subject: [PATCH] Install reportbug script to inform us about the status of installed mutt packages. --- .bzrignore | 22 ++++++++++++++++++++++ debian/bug/control | 1 + debian/bug/script | 5 +++++ debian/changelog | 7 +++++++ debian/mutt.dirs | 1 + debian/rules | 11 +++++++---- 6 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 debian/bug/control create mode 100755 debian/bug/script diff --git a/.bzrignore b/.bzrignore index 93e8339..ee67ff2 100644 --- a/.bzrignore +++ b/.bzrignore @@ -46,3 +46,25 @@ muttbug.sh.in patchlist.sh prepare smime_keys.pl + +.mutt.org +.pc/ +Makefile.in +config.h.in +configure +obj-x86_64-linux-gnu/ +obj-x86_64-linux-gnu-patched/ +debian/files +debian/mutt/ +debian/mutt-dbg/ +debian/mutt-dbg.debhelper.log +debian/mutt-patched/ +debian/mutt-patched.debhelper.log +debian/mutt-patched.substvars +debian/mutt.debhelper.log +debian/mutt.postinst.debhelper +debian/mutt.postrm.debhelper +debian/mutt.prerm.debhelper +debian/mutt.substvars +debian/stamp-patched +debian/tmp/ diff --git a/debian/bug/control b/debian/bug/control new file mode 100644 index 0000000..1d19eee --- /dev/null +++ b/debian/bug/control @@ -0,0 +1 @@ +package-status: mutt mutt-patched mutt-dbg diff --git a/debian/bug/script b/debian/bug/script new file mode 100755 index 0000000..d5f4c44 --- /dev/null +++ b/debian/bug/script @@ -0,0 +1,5 @@ +#!/bin/sh + +echo "Including output of \`mutt -v'..." + +LC_ALL=C mutt -v >&3 diff --git a/debian/changelog b/debian/changelog index a93d47d..68da5d5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mutt (1.5.18-2) unstable; urgency=low + + * Install reportbug script to inform us about the status of installed + mutt packages. + + -- Christoph Berg Mon, 26 May 2008 22:17:05 +0200 + mutt (1.5.18-1) unstable; urgency=low * New upstream version. diff --git a/debian/mutt.dirs b/debian/mutt.dirs index ab78438..d292bfb 100644 --- a/debian/mutt.dirs +++ b/debian/mutt.dirs @@ -1,2 +1,3 @@ etc/Muttrc.d +usr/share/bug/mutt usr/share/lintian/overrides diff --git a/debian/rules b/debian/rules index 05b512f..e7c9741 100755 --- a/debian/rules +++ b/debian/rules @@ -108,6 +108,8 @@ $(objdir)/build-stamp: $(objdir)-patched/build-stamp install: build ###################### install ###################### + dh_testdir + dh_testroot dh_clean -k cd $(objdir) && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp @@ -131,13 +133,14 @@ install: build # temporarily call the binary mutt-patched so dh_strip gets the debug file name right install -D $(objdir)-patched/mutt debian/mutt-patched/usr/bin/mutt-patched + + # reportbug driver + dh_installdirs + install -m644 debian/bug/control $(CURDIR)/debian/mutt/usr/share/bug/mutt + install debian/bug/script $(CURDIR)/debian/mutt/usr/share/bug/mutt binary binary-arch: install ###################### binary ###################### - dh_testdir - dh_testroot - - dh_installdirs dh_install dh_installman dh_installmenu -- 2.43.0