Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149168104
D21230.id60718.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
638 B
Referenced Files
None
Subscribers
None
D21230.id60718.diff
View Options
Index: head/Mk/Scripts/do-depends.sh
===================================================================
--- head/Mk/Scripts/do-depends.sh
+++ head/Mk/Scripts/do-depends.sh
@@ -138,7 +138,13 @@
depends_args="${dp_DEPENDS_ARGS}"
target=${dp_DEPENDS_TARGET}
if [ -n "${last}" ]; then
- target=${last}
+ # In case we depend on the fetch stage, actually run checksum,
+ # this prevent a MITM attack.
+ if [ "${last}" = "fetch" ]; then
+ target=checksum
+ else
+ target=${last}
+ fi
if [ -n "${dp_DEPENDS_PRECLEAN}" ]; then
target="clean ${target}"
depends_args="${depends_args:+${depends_args} }NOCLEANDEPENDS=yes"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 23, 5:39 PM (15 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30196411
Default Alt Text
D21230.id60718.diff (638 B)
Attached To
Mode
D21230: Force ports depending on a fetch target to actually run checksum.
Attached
Detach File
Event Timeline
Log In to Comment