Your message dated Sun, 08 Apr 2018 00:08:11 +0000
with message-id <e1f4xsr-000ivx...@fasolo.debian.org>
and subject line Bug#881985: fixed in request-tracker4 4.4.2-2
has caused the Debian Bug report #881985,
regarding request-tracker4: Correctly set RT version in configure if a Debian 
epoch is used
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
881985: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881985
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: request-tracker4
Severity: minor
Tags: patch

Dear Maintainer,

I need to build a custom RT package to include some custom patches that
haven't been accepted upstream yet. When I do that, I set an epoch on
the Debian version to ensure that we don't accidentally upgrade to a
newer version from Debian. With the 4.4.x packages this has caused
RT to think the version is 0.0.0, which causes a bunch of issues.

The attached patch modifies debian/patches/debian_version.diff to strip
off an epoch, if present, and the Debian patch level from the version
presented by RT. If you want to keep the Debian patch level, then
remove
the first call to sed.

I also note that the same diff currently sets the date to 2016 in the
footer.

Cheers,
Andrew

-- System Information:
Debian Release: 9.1
  APT prefers common
  APT policy: (500, 'common'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8),
LANGUAGE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-- 
Andrew Ruthven, Wellington, New Zealand
MIITP

At work: andrew.ruth...@catalyst.net.nz
At home: and...@etc.gen.nz
Cloud  : NZs only real cloud - https://catalyst.net.nz/cloud
GPG fpr: C603 FC4E 600F 1CEC D1C8  D97C 4B53 D931 E4D3 E863
LCA2018: Just a little bit of history repeating - http://linux.conf.au
--- debian/patches/debianize_version.diff       2017-08-29 19:05:39.000000000 
+0000
+++ ../rt-patches/debianize_version.diff        2017-11-14 23:42:45.762257327 
+0000
@@ -6,6 +6,9 @@
 Also make clear in the web interface that this version number is from
 Debian.
 
+Updated to strip the epoch and Debian patch off the version. Commands
+taken from /usr/share/dpkg/pkg-info.mk .
+
 Patch-Name: debianize_version.diff
 ---
  configure.ac               | 8 ++++----
@@ -21,7 +24,7 @@
  dnl Setup autoconf
  AC_PREREQ([2.53])
 -AC_INIT(RT, m4_esyscmd([( git describe --tags || cat ./.tag 2> /dev/null || 
echo "rt-3.9.EXPORTED" )| tr -d "\n"]), [rt-b...@bestpractical.com])
-+AC_INIT(RT, m4_esyscmd([( dpkg-parsechangelog -SVersion )| tr -d "\n"]), 
[https://www.debian.org/Bugs/Reporting])
++AC_INIT(RT, m4_esyscmd([( dpkg-parsechangelog -SVersion | sed -e 
's/-[^-]*$//' | sed -e 's/^[0-9]*://' )| tr -d "\n"]), 
[https://www.debian.org/Bugs/Reporting])
  AC_CONFIG_SRCDIR([lib/RT.pm])
  
  dnl Save our incant early since $@ gets overwritten by some macros.

--- End Message ---
--- Begin Message ---
Source: request-tracker4
Source-Version: 4.4.2-2

We believe that the bug you reported is fixed in the latest version of
request-tracker4, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 881...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dominic Hargreaves <d...@earth.li> (supplier of updated request-tracker4 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 08 Apr 2018 00:15:44 +0100
Source: request-tracker4
Binary: request-tracker4 rt4-clients rt4-standalone rt4-fcgi rt4-apache2 
rt4-db-postgresql rt4-db-mysql rt4-db-sqlite rt4-doc-html
Architecture: source
Version: 4.4.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Request Tracker Group 
<pkg-request-tracker-maintain...@lists.alioth.debian.org>
Changed-By: Dominic Hargreaves <d...@earth.li>
Description:
 request-tracker4 - extensible trouble-ticket tracking system
 rt4-apache2 - Apache 2 specific files for request-tracker4
 rt4-clients - mail gateway and command-line interface to request-tracker4
 rt4-db-mysql - MySQL database backend for request-tracker4
 rt4-db-postgresql - PostgreSQL database backend for request-tracker4
 rt4-db-sqlite - SQLite database backend for request-tracker4
 rt4-doc-html - HTML documentation for request-tracker4
 rt4-fcgi   - External FastCGI support for request-tracker4
 rt4-standalone - Standalone web server support for request-tracker4
Closes: 881984 881985 883472
Changes:
 request-tracker4 (4.4.2-2) unstable; urgency=medium
 .
   * Don't break RT when epochs are used in the Debian version. Thanks
     to Andrew Ruthven for the patch (Closes: #881985)
   * Don't enable rt-externalize-attachments cron job by default
     (Closes: #883472)
   * Update Vcs-* fields to point to Salsa
   * Update clean target to work correctly, and ensure configure is run.
     Thanks to Andrew Ruthven for the patch (Closes: #881984)
   * Update Standards-Version (no changes)
Checksums-Sha1:
 16e381b63fb9a2abfc4183e28b9b3706b677468d 5461 request-tracker4_4.4.2-2.dsc
 79d22dd1f157445b554b03e9488e075032ea35dc 77880 
request-tracker4_4.4.2-2.debian.tar.xz
Checksums-Sha256:
 3e00a5215ba47b1ee9f69df686ea035b085f8191619c7efe926fb6696efd2c1d 5461 
request-tracker4_4.4.2-2.dsc
 20fc807cf6c8b2e6dba53d656a71c415c18e02c2a6f1d837566f3db917f23145 77880 
request-tracker4_4.4.2-2.debian.tar.xz
Files:
 74c17e5765f38c916e1a990e3ab9753b 5461 misc optional 
request-tracker4_4.4.2-2.dsc
 06b66523bc4caa0df5ff36d552b7d3ff 77880 misc optional 
request-tracker4_4.4.2-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJayVjuAAoJEMAFfnFNaU+yRYIP/j2SXKFI+rsurIgq1c7uqPij
eAGWndX7izJ/kVcWQClHa/Gi3IE8dBLpoThyUq1IMdXF3c0iYMn9/U9YIcrjuRhy
cWDdGo9Rj3CKS18BJMHZhz0LbgH/iIMM8A3CxmCfxEjkn9VM66lQvAuoekWk38Pp
fb5vU/ZcYfaH4blUpVz0kLbmUoxoo54wdEio0KFodR8vodZ7Fu8XMVBmkumCOpaA
1fubEmVBOxoz22yM3jPvbqhcT0i/hWpJVD6uF+m9w+IezvBT8tdDNTGh7c3+gQ/5
1GexUewE4kZsEeSio7O2b7WcWCvuZeikpz4lUL7eY+OkcsI8z8XHPGzur7zr4YEN
zqfe7DTBn1wDC+xK83fxR7NcLsF8TPiTt3ZBkCpW/W6km5Tr83WF/fONwG+OAr/H
q3vljaZRYDDwV9cmAn/KAI+vX8b4LPkcpgcb+J3OJwJGYFchX8NY9HdAK5Gw8W6b
jZD6O7Yls40xXPEXz6dMNNk/P54Y+lwqwOSkwiqwmeZy3GcR8b5PZCVKQ63/DsbR
KVzbN4v5au7dKX06Mk0a/QRIHDIR8oixq+pMkNAvuqHo9hQnVTXD0MM98Q0CgWwV
jfJBjwLn331ida2uZHVGaOjfKHw3C0mHSw5JwES3n2UgOBvdm6u8sFqWVDdWeeCf
IQ/a/f2rR/R040wd2Nyx
=sZne
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to