X package sets not listed in MD5
Hello, What's the reason for not providing MD5 sums of X*.tgz sets in the MD5-file of release directories? I found only one thread [1] regarding this question from the archives and it didn't answer it really. I want to be able to see if the file has been transferred correctly and I also want to see if a file that has been transferred earlier is up to date. I don't want to use other tools than what is provided in base sets to do this (no regular packages) [1] http://marc.theaimsgroup.com/?l=openbsd-miscm=113230911219069w=2 -- Antti Harri
Re: X package sets not listed in MD5
IMHO, this should be answered in the FAQ. On 3/2/07, Antti Harri [EMAIL PROTECTED] wrote: Hello, What's the reason for not providing MD5 sums of X*.tgz sets in the MD5-file of release directories? I found only one thread [1] regarding this question from the archives and it didn't answer it really. I want to be able to see if the file has been transferred correctly and I also want to see if a file that has been transferred earlier is up to date. I don't want to use other tools than what is provided in base sets to do this (no regular packages) [1] http://marc.theaimsgroup.com/?l=openbsd-miscm=113230911219069w=2 -- Antti Harri -- AndrC)s Delfino
Re: X package sets not listed in MD5
On Fri, 2 Mar 2007, Andris wrote: IMHO, this should be answered in the FAQ. On 3/2/07, Antti Harri [EMAIL PROTECTED] wrote: What's the reason for not providing MD5 sums of X*.tgz sets in the MD5-file of release directories? Hi, I guess my googling and other searching skills sucks then. Can you point me to the entry? Wasn't able to find the answer with search of openbsd.org, nor from ftp.html or Package FAQ. -- Antti Harri
Re: X package sets not listed in MD5
AFAIK, it isn't answered yet in the FAQ, I'am suggesting that. On 3/2/07, Antti Harri [EMAIL PROTECTED] wrote: On Fri, 2 Mar 2007, Andris wrote: IMHO, this should be answered in the FAQ. On 3/2/07, Antti Harri [EMAIL PROTECTED] wrote: What's the reason for not providing MD5 sums of X*.tgz sets in the MD5-file of release directories? Hi, I guess my googling and other searching skills sucks then. Can you point me to the entry? Wasn't able to find the answer with search of openbsd.org, nor from ftp.html or Package FAQ. -- Antti Harri -- AndrC)s Delfino
Re: X package sets not listed in MD5
On 2007/03/02 11:42, Andris wrote: AFAIK, it isn't answered yet in the FAQ, I'am suggesting that. MD5 is built as part of the main OS release (/usr/src/etc/Makefile); X is built separately.
Re: X package sets not listed in MD5
On Fri, Mar 02, 2007 at 02:55:25PM +, Stuart Henderson wrote: MD5 is built as part of the main OS release (/usr/src/etc/Makefile); X is built separately. What about a patch like this? (Just a proof of concept; completely untested.) Index: Makefile === RCS file: /cvs/XF4/Makefile,v retrieving revision 1.54 diff -u -r1.54 Makefile --- Makefile12 Aug 2006 16:48:52 - 1.54 +++ Makefile2 Mar 2007 18:57:42 - @@ -149,6 +149,11 @@ cd distrib/sets \ env MACHINE=${MACHINE} ksh ./maketars ${OSrev} ${OSREV} \ (env MACHINE=${MACHINE} ksh ./checkflist ${OSREV} || true) + -cd ${RELEASEDIR}; md5 x*.tgz MD5.XF4 + -cd ${RELEASEDIR}; cksum x*.tgz CKSUM.XF4 + -cd ${RELEASEDIR} sort -o MD5.XF4 MD5.XF4 + -cd ${RELEASEDIR} sort -o CKSUM.XF4 -k 3 CKSUM.XF4 + install: install-xc install-xc-old install-extra install-distrib .ifndef NOFONTS
Re: X package sets not listed in MD5
On Fri, Mar 02, 2007 at 01:01:22PM -0600, Matthew R. Dempsky wrote: What about a patch like this? (Just a proof of concept; completely untested.) Sorry, copy/paste mangled the tabs in that. It also occured to me the sort invocations are probably unnecessary. Index: Makefile === RCS file: /cvs/XF4/Makefile,v retrieving revision 1.54 diff -u -r1.54 Makefile --- Makefile12 Aug 2006 16:48:52 - 1.54 +++ Makefile2 Mar 2007 19:47:18 - @@ -149,6 +149,8 @@ cd distrib/sets \ env MACHINE=${MACHINE} ksh ./maketars ${OSrev} ${OSREV} \ (env MACHINE=${MACHINE} ksh ./checkflist ${OSREV} || true) + -cd ${RELEASEDIR} md5 x*.tgz MD5.XF4 + -cd ${RELEASEDIR} cksum x*.tgz CKSUM.XF4 install: install-xc install-xc-old install-extra install-distrib .ifndef NOFONTS
Re: X package sets not listed in MD5
On Fri, 2 Mar 2007, Stuart Henderson wrote: MD5 is built as part of the main OS release (/usr/src/etc/Makefile); X is built separately. I know but appending the information to the existing files would be great. Or even with separate files as Matthew suggested. Another possibility is to have different files for both and have the usual checksum files generated by putting these together. -- Antti Harri