Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2001 10:31:24 +0900
From:      Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
To:        jkh@osd.bsdi.com, stable@FreeBSD.ORG
Subject:   Re: 4.3-RC2: broken crypto/CHECKSUM.MD5 
Message-ID:  <20010412103124U.matusita@jp.FreeBSD.org>
In-Reply-To: <20010411022157P.matusita@jp.FreeBSD.org>
References:  <20010410141230H.matusita@jp.FreeBSD.org> <20010410082141I.jkh@osd.bsdi.com> <20010411022157P.matusita@jp.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

jkh> If you submit a patch, I'll do my best to test and integrate it.

matusita> Already submitted to FreeBSD PR database. Please fetch a patch from:
matusita> <URL:http://www.freebsd.org/cgi/query-pr.cgi?pr=20311>;

For anybody cannot access webpages nor the PR database itself, here is
a patch. This patch fixes:

- rebuild crypto/CHECKSUM.MD5, if crypto-related source distributions
  are moved from src/ to crypto/.
- rebuild src/CHECKSUM.MD5 unconditionally after all src/ distribution
  fixes are finished. Note that this is not related to crypto-related
  source distributions, since yet another sources described in
  EXTRA_SRC are also added to src/ distribution. Maybe we can check
  strictly whether src/CHECKSUM.MD5 needs updating or not, but this
  works in all cases.

I've confirmed that this patch should work, but more checking and
checking will be desired.

Note: crypto/CHECKSUM.MD5 in 4.3-RC3 needs rebuilding :-)

-- -
Makoto `MAR' MATSUSHITA

Index: Makefile
===================================================================
RCS file: /lab/FreeBSD/FreeBSD.cvs/src/release/Makefile,v
retrieving revision 1.586
diff -c -r1.586 Makefile
*** Makefile	2000/11/21 04:37:30	1.586
--- Makefile	2000/12/05 05:43:41
***************
*** 503,509 ****
  		if [ -f ssecure.aa ] ; then mv ssecure.* ../crypto ; fi && \
  		if [ -f scrypto.aa ] ; then mv scrypto.* ../crypto ; fi && \
  		if [ -f skrb4.aa ] ; then mv skrb4.* ../crypto ; fi && \
! 		if [ -f skrb5.aa ] ; then mv skrb5.* ../crypto ; fi ; ) ; fi
  	@echo "src distribution is finished."
  .endif
  	touch release.7
--- 503,512 ----
  		if [ -f ssecure.aa ] ; then mv ssecure.* ../crypto ; fi && \
  		if [ -f scrypto.aa ] ; then mv scrypto.* ../crypto ; fi && \
  		if [ -f skrb4.aa ] ; then mv skrb4.* ../crypto ; fi && \
! 		if [ -f skrb5.aa ] ; then mv skrb5.* ../crypto ; fi ; \
! 		cd ${RD}/dists/crypto; rm -f CHECKSUM.MD5; \
! 		md5 * > CHECKSUM.MD5 ) ; fi
! 	(cd ${RD}/dists/src; rm -f CHECKSUM.MD5; md5 * > CHECKSUM.MD5)
  	@echo "src distribution is finished."
  .endif
  	touch release.7

But if creating CHECKSUM.MD5 files are already totally broken feature,
we can simply remove all CHECKSUM.MD5 files.

-- -
Makoto `MAR' MATSUSHITA

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010412103124U.matusita>