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

Re: make checksum REFETCH=true



  are up to date.  If you want to override this check, type
  "make NO_CHECKSUM=Yes [other args]".
  *** Error code 1

I think we should not tell the user to run make with NO_CHECKSUM enabled. We should recommend that the user make sure the file is properly downloaded (make checksum REFETCH=true) and if its still fails, to contact the maintainer.


User shouldn't be recommended to run NO_CHECKSUM=Yes, only if they really know what they are doing.

Something along those lines (minus typos and grammer errors):

Index: infrastructure/mk/bsd.port.mk
===================================================================
RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
retrieving revision 1.532
diff -u -3 -p -r1.532 bsd.port.mk
--- infrastructure/mk/bsd.port.mk 6 Jul 2002 09:24:06 -0000 1.532
+++ infrastructure/mk/bsd.port.mk 7 Jul 2002 16:08:07 -0000
@@ -1476,8 +1476,10 @@ checksum: fetch
cd ${.CURDIR} && ${MAKE} refetch PROBLEMS="$$list"; \
else \
echo "Make sure the Makefile and checksum file ($$checksum_file)"; \
- echo "are up to date. If you want to override this check, type"; \
- echo "\"make NO_CHECKSUM=Yes [other args]\"."; \
+ echo "are up to date. If you want to force the system to refetch the"; \
+ echo "distribution files, type"; \
+ echo " \"make REFETCH=Yes checksum\".";
+ echo "If it still fails, please contact the maintainer of this port." \
exit 1; \
fi; \
fi ; \


Ciao,
	...David

--
// david lebel <lebel_(_at_)_{lebel_(_dot_)_org,nobiaze.com,openbsd.org}> //
// http://www.lebel.org/           http://www.nobiaze.com/ //
// pgp: 3633 6999 D47E 73ED 099F  4341 08A4 8E48 EF56 61D1 //