Debian Bug report logs - #13220
New script: dpkg-geninfo: generates 'md5sums' and 'du'

version graph

Package: dpkg-dev; Maintainer for dpkg-dev is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg-dev is src:dpkg (PTS, buildd, popcon).

Reported by: Charles Briscoe-Smith <cpb4@ukc.ac.uk>

Date: Sat, 20 Sep 1997 18:03:00 UTC

Severity: wishlist

Found in version 1.4.0.8

Done: Ben Collins <bcollins@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>:
Bug#13220; Package dpkg-dev. (full text, mbox, link).


Acknowledgement sent to Charles Briscoe-Smith <cpb4@ukc.ac.uk>:
New bug report received and forwarded. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Charles Briscoe-Smith <cpb4@ukc.ac.uk>
To: submit@bugs.debian.org
Subject: New script: dpkg-geninfo: generates 'md5sums' and 'du'
Date: Sat, 20 Sep 1997 18:49:29 +0100
Package: dpkg-dev
Version: 1.4.0.8
Severity: wishlist

I don't know how the 'md5sums' control area file that debstd apparently
generates interacts with Debian policy, but if it's allowed, it should
probably be required.  If that's so, we probably need a script in
dpkg-dev to generate it (so that it will be standard!).

I've written such a script, which also generates a 'du' control area
file to facilitate a user interface's space-left calculations.  I'm
afraid there's no man page, and the script doesn't work in all cases;
it probably would need rewriting in another language in order to handle
all the wierd and wonderful filenames UNIX can produce (newlines in
particular.)  (perl maybe; a language that I'm blissfully ignorant of.)

By default this script doesn't produce md5sums for conffiles, because
dpkg generates md5sums for those all by itself.  There's an option to
turn this on, however.  There probably ought to be switches for other
things, too.

Since the script contains tabs, I've uuencoded it:

begin 755 dpkg-geninfo
M(R$@+V)I;B]S:`H*<V5T("UE"@IV97)S:6]N/2(P+C$B"@I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<V%C"F1O;F4*"F-D("(D<&%C:V%G96)U:6QD
M9&ER(@H*(R!&:6YD(&1I<VL@=7-A9V4*9FEN9"`N("UM:6YD97!T:"`Q("UM
M87AD97!T:"`Q("$@+7)E9V5X("=<+B]$14))04XG("UT>7!E(&0@+7!R:6YT
M,"!<"B`@?"!X87)G<R`M,"!D=2`M:R!<"B`@?"!S960@)W,O7EPH6S`M.5U;
M,"TY72I<*5L@"5U;(`E=*EPN7"]<*"XJ7"DD+UPQ"5PR+R<@/B!$14))04XO
M9'4*"B,@0V%L8W5L871E(&UD-2!C:&5C:W-U;7,*9FEN9"`N("$@+7)E9V5X
M("=<+B]$14))04XO+BHG("UT>7!E(&8@+7!R:6YT(%P*("!\('-E9"`G<R]>
M7"XO+R<@7`H@('P@<V]R="`^($1%0DE!3B]A;&QF:6QE<RXD)`H*:68@6R`M
M<B!$14))04XO8V]N9F9I;&5S("UA("1E>&-L=61E8V]N9F9I;&5S(#T@>65S
M(%T[('1H96X*"7-O<G0@1$5"24%.+V-O;F9F:6QE<R!\(&-O;6T@+3$S("T@
M1$5"24%.+V%L;&9I;&5S+B0D"F5L<V4*"6-A="!$14))04XO86QL9FEL97,N
M)"0*9FD@7`H@('P@<V5D("=S+UY<+R\O)R!<"B`@?"!X87)G<R!M9#5S=6T@
K/B!$14))04XO;60U<W5M<PH*<FT@+68@1$5"24%.+V%L;&9I;&5S+B0D"@``
`
end

I hope this is of use...

--Charles Briscoe-Smith
White pages entry, with PGP key: <URL:http://alethea.ukc.ac.uk/wp?95cpb4>
PGP public keyprint: 74 68 AB 2E 1C 60 22 94  B8 21 2D 01 DE 66 13 E2


Information forwarded to debian-bugs-dist@lists.debian.org, Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>:
Bug#13220; Package dpkg-dev. (full text, mbox, link).


Acknowledgement sent to Charles Briscoe-Smith <cpb4@ukc.ac.uk>:
Extra info received and forwarded to list. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>. (full text, mbox, link).


Message #10 received at 13220@bugs.debian.org (full text, mbox, reply):

From: Charles Briscoe-Smith <cpb4@ukc.ac.uk>
To: 13220@bugs.debian.org
Subject: Re: New script: dpkg-geninfo: generates 'md5sums' and 'du'
Date: Mon, 22 Sep 1997 14:23:52 +0100
That script I sent had a pretty nasty (though obvious) bug in it...

--- bin/dpkg-geninfo	Sat Sep 20 18:31:26 1997
+++ dpkg-geninfo	Mon Sep 22 14:22:02 1997
@@ -32,6 +32,7 @@
 	*)	echo 1>&2 "$progname: unknown option or argument $1"
 		usage; exit 2 ;;
 	esac
+	shift
 done
 
 cd "$packagebuilddir"


Cheers,

--Charles Briscoe-Smith
White pages entry, with PGP key: <URL:http://alethea.ukc.ac.uk/wp?95cpb4>
PGP public keyprint: 74 68 AB 2E 1C 60 22 94  B8 21 2D 01 DE 66 13 E2


Bug closed, ack sent to submitter - they'd better know why ! Request was from Ben Collins <bcollins@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Mar 29 15:47:04 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.