Bug 184602 - Mk/bsd.port.mk: make missing distinfo file fatal
Summary: Mk/bsd.port.mk: make missing distinfo file fatal
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-08 19:40 UTC by Matthias Andree
Modified: 2014-05-28 14:30 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree freebsd_committer freebsd_triage 2013-12-08 19:40:00 UTC
I propose to make missing distinfo files fatal.

Requires an -exp run, and may require doc/ updates.

This patch is to be applied in port/Mk/:

Index: bsd.port.mk
===================================================================
--- bsd.port.mk	(revision 335913)
+++ bsd.port.mk	(working copy)
@@ -5094,6 +5100,7 @@
 		fi; \
 	elif [ -n "${_CKSUMFILES:M*}" ]; then \
 		${ECHO_MSG} "=> No checksum file (${DISTINFO_FILE})."; \
+		exit 1; \
 	fi
 .endif
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-08 19:40:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

bsd.port.mk is portmgr territory (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-05-28 14:23:27 UTC
Author: bapt
Date: Wed May 28 13:23:21 2014
New Revision: 355620
URL: http://svnweb.freebsd.org/changeset/ports/355620
QAT: https://qat.redports.org/buildarchive/r355620/

Log:
  make missing distinfo file fatal
  
  PR:		ports/184602
  Submitted by:	mandree
  Reviewed by:	antoine

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Wed May 28 12:56:10 2014	(r355619)
+++ head/Mk/bsd.port.mk	Wed May 28 13:23:21 2014	(r355620)
@@ -4809,6 +4809,7 @@ checksum: fetch check-checksum-algorithm
 		fi; \
 	elif [ -n "${_CKSUMFILES:M*}" ]; then \
 		${ECHO_MSG} "=> No checksum file (${DISTINFO_FILE})."; \
+		exit 1; \
 	fi
 .endif
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Baptiste Daroussin freebsd_committer freebsd_triage 2014-05-28 14:23:34 UTC
State Changed
From-To: open->closed

Committed. Thanks!