Ticket #1318 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

config-package-dev 5.0 does not work with transform sources

Reported by: jdreed Owned by:
Priority: blocker Milestone: Current Semester
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:


$ cat debian/debathena-kerberos-config.transform 
/etc/krb5.conf.debathena </usr/share/kerberos-configs/krb5.conf.template debian/transform_krb5.conf.debathena

Results in:
diversion of /usr/share/kerberos-configs/krb5.conf.template to /usr/share/kerberos-configs/krb5.conf.template.debathena-orig by debathena-kerberos-config

Because of this line:

push @displacefiles, $source;

Here's a patch:

diff --git a/dh_configpackage b/dh_configpackage
index fcc3abe..942766f 100755
--- a/dh_configpackage
+++ b/dh_configpackage
@@ -392,7 +392,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
             doit("install", "-d", $destdir);
         complex_doit(@$line, "<", $source, ">", "$tmp/$file");
-        push @displacefiles, $source;
+        push @displacefiles, $file;
     # Add code to postinst to add/remove diversions as appropriate

Change History

comment:1 Changed 11 years ago by geofft

Oops. Feel free to commit that to git. I can upload a 5.1 with that and anything other pending changes (not sure if there are any) this weekend.

comment:2 Changed 11 years ago by jdreed

Did this get uploaded? If not, I'd like to at least built it for Debathena.

comment:3 Changed 11 years ago by jdreed

5.1 is in Debian unstable, and local builds are in -development

comment:4 Changed 11 years ago by jdreed

  • Status changed from new to development

comment:5 Changed 11 years ago by jdreed

  • Status changed from development to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.