FS#15830 - add a command line option to skip the integrity checks
Attached to Project:
Pacman
Opened by Łukasz Fibinger (lucke) - Thursday, 06 August 2009, 12:51 GMT
Last edited by Xavier (shining) - Monday, 07 September 2009, 10:52 GMT
Opened by Łukasz Fibinger (lucke) - Thursday, 06 August 2009, 12:51 GMT
Last edited by Xavier (shining) - Monday, 07 September 2009, 10:52 GMT
|
Details
makepkg should have a command line option to skip the
integrity checks. Lack of it gets in the way of some users.
pacman 3.3 has only aggravated the issue (by demanding
md5sums, not just printing a warning).
Use cases and discussion at: http://bbs.archlinux.org/viewtopic.php?pid=596034 To quote myself from the bbs: "They [md5sums] get in my way when I build packages for myself (usually just bumping pkgver). pacman 3.3 added one additional step for me to perform (comment out the old ones, add the new ones). I build those packages only once, so md5sums are clearly useless in this case". |
This task depends upon
Closed by Xavier (shining)
Monday, 07 September 2009, 10:52 GMT
Reason for closing: Fixed
Additional comments about closing: fixed by commit 82522dd8c1 which adds --skipinteg option
Monday, 07 September 2009, 10:52 GMT
Reason for closing: Fixed
Additional comments about closing: fixed by commit 82522dd8c1 which adds --skipinteg option
The md5sum stuff getting in your way? Are you kidding me?
makepkg -g >> PKGBUILD && makepkg
Done.
In the end, it is not on my to fix list but I would consider a patch.
FS#15051was implemented, you wouldnt need to skip checks?I prefer Profjim's patch, except I would keep the error in case of incomplete (whats the point of letting an incomplete checksums array in a pkgbuild...)
And -G option was mentioned for
FS#15051so I don't know.FS#15051would scratch my itch, indeed. Can't judge about other use cases, though.If my own mods are small enough, I can automate them using aur/customizepkg. It's a special pain to try to add in extra checksums using that tool; much easier just to add your own files to the end of the sources line (by default this tool adds new entries to the start of the sources line, but one can work around that).
http://code.toofishes.net/cgit/xavier/pacman.git/commit/?h=maint-working&id=8c53a95c5a3d8b680155f01bd9fc15b2dd284616