Package: devscripts Version: 2.8.14 Severity: wishlist Many tools, like debc/debi, debsign, and others have to parse debian/changelog to get the name of the changes file to use. The attached file (dpkg-changesfile) could be added to devscripts and hopefully serve as the basis for these tools to adopt a unified approach. I considered using perl but found it to be overkill for this simple purpose.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (600, 'testing'), (98, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-cirrus
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages devscripts depends on:
ii debianutils 2.10.2 Miscellaneous utilities specific t
ii dpkg-dev 1.10.27 Package building tools for Debian
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii perl 5.8.4-8 Larry Wall's Practical Extraction
ii sed 4.1.2-8 The GNU sed stream editor
-- no debconf information
--
.''`. martin f. krafft <[EMAIL PROTECTED]>
: :' : proud Debian developer, admin, user, and author
`. `'`
`- Debian - when you have better things to do than fixing a system
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
"if ever somethin' don't feel right to you, remember what pancho said
to the cisco kid... `let's went, before we are dancing at the end of
a rope, without music.'"
-- sailor
#!/bin/sh -e # # dpkg-changesfile -- output changes file name of current tree # # The programme has been published under the terms of the Artistic Licence. # Please see http://www.opensource.org/licenses/artistic-license.php for more # information. # # dpkg-changesfile is (c) 2005 by martin f. krafft <[EMAIL PROTECTED]> # if [ -r changelog ] && [ "${0##*/}" = debian ]; then cd .. fi if [ ! -r debian/changelog ]; then echo E: not within a Debian source package. >&2 exit 1 fi PKGNAME=$(dpkg-parsechangelog | sed -ne 's,^Source: ,,p') VERSION=$(dpkg-parsechangelog | sed -ne 's,^Version: ,,p') ARCH=$(dpkg-architecture | sed -ne 's,^DEB_BUILD_ARCH=,,p') echo ${PKGNAME}_${VERSION}_${ARCH}.changes exit 0
signature.asc
Description: Digital signature

