[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#158354: md5sums for libc6 packages



Hail all brave glibc hackers !

how about adding md5sums to libc6 packages ? Bug #158354 requesting this
has been filed since last August. I belive the following command will
patch current makefiles to fix this (I tried to compile it and it
works):

cd debian/packages.d
perl -p -i.bak -e 's%^(\s*)(chown)%\1\@set -ex ; cd \$(tmpdir)/\$@ ; find * -type f ! -regex "DEBIAN/.*" | xargs md5sum -- >DEBIAN/md5sums\n\1\2%;' *.mk

The ugly perl thing should be a one-liner. It adds:
@set -ex ; cd $(tmpdir)/$@ ; find * -type f ! -regex "DEBIAN/.*" | xargs md5sum -- >DEBIAN/md5sums
just before every chown in *.mk files.

Please do follow-up to my address, I am not subscribed.

                                        Thanks, Petr
-- 
A box without hinges, key, or lid,
Yet golden treasure inside is hid.
		-- J.R.R. Tolkien



Reply to: