FS#6802 - Checksums generated by makepkg -g are not aligned
Attached to Project:
Pacman
Opened by Tom Killian (tomk) - Tuesday, 03 April 2007, 21:44 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 04 April 2007, 01:00 GMT
Opened by Tom Killian (tomk) - Tuesday, 03 April 2007, 21:44 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 04 April 2007, 01:00 GMT
|
Details
This is a trivial pacman3 bug, and it came about because
rixxon in #archlinux pointed out that the example at the end
of man PKGBUILD shows two checksums neatly aligned, while
the actual output of makepkg -g places the second and
subsequent checksums one space to the right relative to the
first checksum, when md5sum checking is selected. If any of
the sha* options are selected, the relative alignment
changes, but the first checksum remains unaligned with any
others generated.
The cause is, of course, the fact that the placement of the first checksum depends on the preceding text e.g. md5sums=, whereas any subsequent ones are indented by a tab. A possible solution is provided in the attached patch. |
This task depends upon
Closed by Aaron Griffin (phrakture)
Wednesday, 04 April 2007, 02:03 GMT
Reason for closing: Implemented
Additional comments about closing: In CVS
Wednesday, 04 April 2007, 02:03 GMT
Reason for closing: Implemented
Additional comments about closing: In CVS
makepkg_checksums.patch