[config-package-dev] transform does not work on ubuntu trusty

Jonathan D Reed jdreed at mit.edu
Mon Sep 22 10:48:18 EDT 2014


On Sep 22, 2014, at 8:42 AM, Djokic, Slavisa <Slavisa.Djokic at uni-hamburg.de<mailto:Slavisa.Djokic at uni-hamburg.de>> wrote:

Hello Jonathan,

well, the error (of course) was my fault. It turned out that my configuration of the mirror  in the ~/. pbuilderrc was wrong. So it couldn't get the build dependencies, as the error message stated. The Debian wicki shows how to setup pbuilder.

Now I'm struggling with another problem: How do I apply a displace-extension? I didn't really find a good example on this (yes I did read the very fine manual). Really wondering why this  project of yours isn't used (and documented) much more as of google.

The package in the attachment builds now, but in the build it states an error after dh_configpackage: couldn't find /usr/bin/rkhunter. The transformation is just to make tests easier. In the end the rkhunter.patch would be applied. Or do you have a better idea?

If your package is just named “rkhunter”, dh_configpackage won’t be able to determine a displace extension, so you’ll need to specify one manually.

You can do this with a displace-extension file (e.g. debian/rkhunter.displace-extension).  The contents of that file should be a single line, containing the extension, _with_ the leading dot.  So if the contents of that file were “.special” (note leading dot), then your version would be installed at rkhunter.special, and the original diverted to rkhunter.special-orig.

-Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/config-package-dev/attachments/20140922/2df843af/attachment.htm


More information about the config-package-dev mailing list