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

Bug#651393: marked as done (ITP: dh-subst -- helper scripts for common executable debhelper config file tasks)



Your message dated Wed, 21 Dec 2011 12:47:07 +0000
with message-id <E1RdLZb-0003lt-8E@franck.debian.org>
and subject line Bug#651393: fixed in dh-exec 0.1
has caused the Debian Bug report #651393,
regarding ITP: dh-subst -- helper scripts for common executable debhelper config file tasks
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 owner@bugs.debian.org
immediately.)


-- 
651393: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651393
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debhelper
Version: 8.9.12
Severity: wishlist

With the recent introduction of executable config files, there's a fear
that we could end up with a lot of very different implementations that
essentially accomplish the same thing.

To get ahead of that, I'm proposing a different option: a script (or a
set of scripts) that expand various kinds of variables within an
executable file.

One would use this script as the interpreter for the script, the running
script would slurp in its own source, do the substitutions, and echo the
results back.

This way, the easy things would remain easy, just a
"#!/usr/lib/debhelper/dh_subst" away, and harder things would still be
possible. Everybody wins!

I was thinking of multiple scripts, all residing under
/usr/lib/debhelper/dh_subst_*, and a wrapper script, dh_subst, that
would run all of the dh_subst_* scripts. We could have
dh_subst_multiarch, dh_subst_env and similar scripts, all doing one
thing only.

The end result would become something like the following .install file:

,----
| #!/usr/lib/debhelper/dh_subst
| debian/tmp/usr/lib/${DEB_HOST_MULTIARCH}/libfoo.so.*
| debian/${VARIANT}/foo.conf /etc/foo/
`----

I have a half-baked implementation too, but documentation and tests are
missing, and as such, I'm not comfortable showing it just yet. I'd like
to hear your opinion about this suggestion before I go further.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils    2.22-1
ii  dpkg-dev    1.16.1.2
ii  file        5.09-2
ii  html2text   1.3.2a-15
ii  man-db      2.6.0.2-3
ii  perl        5.14.2-6
ii  po-debconf  1.0.16+nmu1

debhelper recommends no packages.

Versions of packages debhelper suggests:
pn  dh-make  <none>

-- no debconf information

-- 
|8]




--- End Message ---
--- Begin Message ---
Source: dh-exec
Source-Version: 0.1

We believe that the bug you reported is fixed in the latest version of
dh-exec, which is due to be installed in the Debian FTP archive:

dh-exec_0.1.dsc
  to main/d/dh-exec/dh-exec_0.1.dsc
dh-exec_0.1.tar.gz
  to main/d/dh-exec/dh-exec_0.1.tar.gz
dh-exec_0.1_amd64.deb
  to main/d/dh-exec/dh-exec_0.1_amd64.deb



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 651393@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gergely Nagy <algernon@madhouse-project.org> (supplier of updated dh-exec 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 21 Dec 2011 00:51:28 +0100
Source: dh-exec
Binary: dh-exec
Architecture: source amd64
Version: 0.1
Distribution: unstable
Urgency: low
Maintainer: Gergely Nagy <algernon@madhouse-project.org>
Changed-By: Gergely Nagy <algernon@madhouse-project.org>
Description: 
 dh-exec    - Scripts to help with executable debhelper files
Closes: 651393
Changes: 
 dh-exec (0.1) unstable; urgency=low
 .
   * Initial release. (Closes: #651393)
Checksums-Sha1: 
 aaab07b279cb98a6f2d3b7d612298ede2eb2c1c9 1495 dh-exec_0.1.dsc
 b2fe7bd9de2d96cf7ffeb51e601eef788772177f 27928 dh-exec_0.1.tar.gz
 c10f4e8972ec3c804bf39c827294f14d43aceec2 19956 dh-exec_0.1_amd64.deb
Checksums-Sha256: 
 0166f04619b8bd25967ce6badaf4351c9b9039c4a929953cc37f3e59b7ca7b1d 1495 dh-exec_0.1.dsc
 77d0e37ab56df21b387580d428f26b1e63a20b02e9b447504b78b61fad2d3dd0 27928 dh-exec_0.1.tar.gz
 de89169837eafc0e98543b88ef049f8938d5f4985dae5b49001ae542606b69d9 19956 dh-exec_0.1_amd64.deb
Files: 
 6b929c0346725710b436c16df242a8a7 1495 devel extra dh-exec_0.1.dsc
 b4b419072d062f580317e1f61d75445f 27928 devel extra dh-exec_0.1.tar.gz
 45ff67caa40295364a101398a45cd5c1 19956 devel extra dh-exec_0.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJO8SP1AAoJEKwekLrEM/aPBr8QAIi5BA7CokgBmOOe8AwH8f5l
mvXIH80U32f0bAuxY8/XPaxQJYqIimvPhpINAy8IoznaSKbYaBcCBVGT4pR6Gkq+
MxSVXy5WTqWIoPgpLU1ybUOwovqN97PeGZx5xyw2JgOkqPJxriJ75Hm7Ff9n5ndM
IipudY6TpYeZmefpv10JwVy91rof+jZqThJDexC6LdJiixuvEv2DaYhIJTfERzp5
qqlVEEDMmE17cCm3MHic4z3gptGN0QTy/UhGY5kOdvkL8Uowac81XsK3RmF06Hcp
CNxcdq93JGG+K+Lz+xQ3daOELfovqNMgWAvgvkPhbmzmR+CYiXbQh2n76QcVaiP2
xyju2D74YDSq+NDH7tLVZUFS7NgnCTNyyH90QEpyjUYWJ2tIzB4fvE4YmaFpoBfB
Fidi4aa5Ew1OpZxjr18b4fLMcnAnYSvdxuH/bXNdKN58iCfCQ76vhWOekNpZ9vzs
+/vwSaECFkr0cruU1B+PWYyh19QPDaX2Zmp5UWPFuokoTSxpt4JfN27uVF/BCGwh
ppRIsGvf7IBpjYZmGtZqxZWBLzymNerpqPhCqXh2sgzh12EbXO3mw0xFmHz5Wu1n
m0WmoQoW/e4oIVIvqAKqICGx4MPVnx+YExuzqByYl55LfhXbypcM/z0/RgKxYBOp
xN+E6yuMWhVxrZQ4nBiC
=qSyl
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: