[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#777570: unblock: debbugs/2.4.1.1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package debbugs

This fixes the RC bug #775053 where examples in
/usr/share/doc/debbugs/examples were parsed in the postinst to
generate config files. This is pretty broken in general, but this
minimal fix fixes the issue until I really fix it with a new release
for jessie+1.

diff -Nru debbugs-2.4.1/debian/changelog debbugs-2.4.1.1/debian/changelog
--- debbugs-2.4.1/debian/changelog	2003-06-06 01:28:51.000000000 -0700
+++ debbugs-2.4.1.1/debian/changelog	2015-02-05 09:37:34.000000000 -0800
@@ -1,3 +1,11 @@
+debbugs (2.4.1.1) unstable; urgency=medium
+
+  * Move examples out of /usr/share/doc/debbugs/examples which are parsed
+    in postinst to /usr/share/debbugs/examples. Thanks to Vagrant
+    Cascadian for the patch. (Closes: #775053).
+
+ -- Don Armstrong <don@debian.org>  Wed, 04 Feb 2015 18:04:08 -0800
+
 debbugs (2.4.1) unstable; urgency=low
 
   * Colin Watson:
diff -Nru debbugs-2.4.1/debian/control debbugs-2.4.1.1/debian/control
--- debbugs-2.4.1/debian/control	2003-06-05 19:26:20.000000000 -0700
+++ debbugs-2.4.1.1/debian/control	2015-02-05 07:17:08.000000000 -0800
@@ -2,7 +2,7 @@
 Section: misc
 Priority: optional
 Maintainer: Debbugs developers <debian-debbugs@lists.debian.org>
-Uploaders: Josip Rodin <jrodin@jagor.srce.hr>, Colin Watson <cjwatson@debian.org>
+Uploaders: Don Armstrong <don@debian.org>
 Standards-Version: 3.2.1
 Build-Depends-Indep: debhelper
 
diff -Nru debbugs-2.4.1/debian/debbugsconfig debbugs-2.4.1.1/debian/debbugsconfig
--- debbugs-2.4.1/debian/debbugsconfig	2002-11-25 04:34:56.000000000 -0800
+++ debbugs-2.4.1.1/debian/debbugsconfig	2015-02-04 18:08:27.000000000 -0800
@@ -72,7 +72,7 @@
 sub template {
   my ($name, $destdir) = @_;
   if (! -f "$destdir/$name") {
-  system("cp /usr/share/doc/debbugs/examples/$name $destdir/$name") == 0 ||
+  system("cp /usr/share/debbugs/examples/$name $destdir/$name") == 0 ||
 	die "$!";
   print "created $destdir/$name from template.\n";
   }
diff -Nru debbugs-2.4.1/debian/dirs debbugs-2.4.1.1/debian/dirs
--- debbugs-2.4.1/debian/dirs	2002-11-17 09:09:40.000000000 -0800
+++ debbugs-2.4.1.1/debian/dirs	2015-02-04 18:08:27.000000000 -0800
@@ -2,7 +2,7 @@
 etc/debbugs/indices
 usr/lib/debbugs
 usr/sbin
-usr/share/doc/debbugs/examples
+usr/share/debbugs/examples
 var/lib/debbugs/indices
 var/lib/debbugs/www/cgi
 var/lib/debbugs/www/db
diff -Nru debbugs-2.4.1/debian/rules debbugs-2.4.1.1/debian/rules
--- debbugs-2.4.1/debian/rules	2002-11-25 04:25:05.000000000 -0800
+++ debbugs-2.4.1.1/debian/rules	2015-02-04 18:08:27.000000000 -0800
@@ -28,6 +28,7 @@
 	$(MAKE) install_mostfiles DESTDIR=$(tmp_dir)
 	dh_installdocs
 	dh_installchangelogs
+	dh_link usr/share/debbugs/examples usr/share/doc/debbugs/examples
 	dh_strip
 	dh_compress -X examples/text
 	dh_fixperms
diff -Nru debbugs-2.4.1/Makefile debbugs-2.4.1.1/Makefile
--- debbugs-2.4.1/Makefile	2002-11-25 04:25:05.000000000 -0800
+++ debbugs-2.4.1.1/Makefile	2015-02-04 18:08:27.000000000 -0800
@@ -8,7 +8,7 @@
 doc_dir		:= $(DESTDIR)/usr/share/doc/debbugs
 man_dir		:= $(DESTDIR)/usr/share/man
 man8_dir	:= $(man_dir)/man8
-examples_dir	:= $(doc_dir)/examples
+examples_dir	:= $(DESTDIR)/usr/share/debbugs/examples
 
 scripts_in	:= $(filter-out scripts/config.in scripts/errorlib.in scripts/text.in, $(wildcard scripts/*.in))
 htmls_in	:= $(wildcard html/*.html.in)


unblock debbugs/2.4.1.1

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


-- 
Don Armstrong                      http://www.donarmstrong.com

You could say to the Universe this is not /fair/. And the Universe
would say: Oh it isn't? Sorry.
 -- Terry Pratchett _Soul Music_ p357


Reply to: