Package: devscripts
Version: 2.9.7
Severity: wishlist
Tags: patch

Hello,

I'm not sure if this is already possible, so please tell me if it is.

I maintain some packages for which I am also upstream.  When preparing a
new release, I usually also prepare a Debian package.  It is useful to
make a Debian package without going through the "create upstream
tarball" mess.  This will have to be done for the actual release in the
end anyway, of course, but for checking if things are right, and
changing them a bit, it's not nice.

So I wrote a script to build a Debian package from an upstream source
directory, generating the orig.tar.gz on the fly.  It doesn't touch the
current tree, so it can be used without fear of losing files on new
"clean" rules, for example.

Is this useful?  Is this a duplicate effort, and can it be done with
some existing tool I do not know about?  I attached the script to this
report.

I have a second version of it as well, for generating debugging versions
of packages.  That's quite a bit harder, as I wanted to change the name
(by adding -dbg to it) and that's quite an invasive change.  Anyway, I
added that as well.  One of the problems with it is that it adds a
Conflicts: and a Provides: for the original package name, but it doesn't
check if those lines are already there, so you may end up with two of
them.  I think that's not allowed.  I wanted to show it anyway to get
some feedback, but keep in mind that the -debug version probably doesn't
completely work.

Please let me know what you think about it.

Thanks,
Bas Wijnen

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages devscripts depends on:
ii  debianutils                   2.14.3     Miscellaneous utilities specific t
ii  dpkg-dev                      1.13.11    package building tools for Debian
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  perl                          5.8.7-4    Larry Wall's Practical Extraction 
ii  sed                           4.1.4-3    The GNU sed stream editor

Versions of packages devscripts recommends:
ii  fakeroot                      1.5.1      Gives a fake root environment

-- no debconf information

Attachment: mkdeb
Description: application/shellscript

Attachment: mkdeb-debug
Description: application/shellscript

Reply via email to