Page MenuHomeFreeBSD

Add gdate dep to support SOURCE_DATE_EPOCH
ClosedPublic

Authored by siva on May 18 2026, 9:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 4, 10:40 AM
Unknown Object (File)
Tue, Sep 1, 8:06 PM
Unknown Object (File)
Sun, Aug 30, 7:56 AM
Unknown Object (File)
Wed, Aug 26, 12:09 PM
Unknown Object (File)
Aug 9 2026, 5:32 AM
Unknown Object (File)
Aug 8 2026, 7:00 PM
Unknown Object (File)
Aug 8 2026, 6:12 PM
Unknown Object (File)
Aug 8 2026, 12:25 PM
Subscribers

Details

Summary

When SOURCE_DATE_EPOCH is set, u-boot's Makefile searches for a GNU-compatible date command.

Tested together with patch from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291905

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

LGTM, can confirm this fixes the issue. Waiting on maintainer approval now.

In case of maintainer timeout, I will go ahead and commit this in a day or two.

siva added a reviewer: cen.is.imba_gmail.com.

@manu Maintainer timeout. Let me know ASAP if you need any changes to v2 of this after I post it. I will be committing after testing all u-boot ports with SOURCE_DATE_EPOCH and once the ports tree is unfrozen.

@cen.is.imba_gmail.com I'm going to commandeer this and list you as the author to give you credit. I will update the diff with some necessary adjustments, please let me know if you need any fixes after that.

Add BINARY_ALIAS for gdate and improve formatting.

This revision was not accepted when it landed; it landed in state Needs Review.Jul 31 2026, 3:45 PM
This revision was automatically updated to reflect the committed changes.