Via PR 231029
- Giving maintainership to egypcio@googlemail.com
- Use of shebangfix
- Reordering of some variables
- Rework of do-install
Differential D17019
sysutils/shim: update to 0.9 fernape on Sep 4 2018, 5:28 PM. Authored by Tags None Referenced Files
Subscribers
Details
Via PR 231029
I can not test this program.
Diff Detail
Event Timeline
Comment Actions The port is amd64 only because it depends on devel/gnu-efi that is 64 bit only. That's at least on FreeBSD because the upstream project does not say they don't support ia32 (in fact, according to the Makefile, they do). The override ARCHpart is because $ARCH is "amd64" in FreeBSD but the Makefile expects to check against "x86_64" as it is often reported in Linux.
Comment Actions Yes, what I meant is, $(ARCH)=amd64 should always be true when building the port, as it is only for ARCH=amd64. So you could simply just unconditionally override it with x86_64, no? Comment Actions I got gnu-efi to build on my 12-i386 poudriere jail Got rid of USE_GCC line as well Comment Actions should we try to change the port til this point, or create an equivalent version for i386? Comment Actions Sure, you're right. Since there seems to be chance for this port to be available for i386 (if devel/gnu-efi can be made to work on i386 as it seems possible) I would leave the patch untouched though Comment Actions I can assist in building/patching but I won't be able to run test it. Unfortunately some of the commits of these ports are a bit confusing. The initial commit in r377068 states the port is amd64 only despite the fact that the description says: SDK for developing EFI applications for ARM-64, ARM-32, x86_64, IA-64 (IPF), and IA-32 (x86) platforms... In addition we should be careful with the sensitive software (sensitive in the sense that it is something that deals with private keys and such) and check carefully the other dependent port: sysutils/sbsigntool/ Comment Actions I would, when ready, update devel/shim. If anyone is interested in making devel/gnu-efi work in archs other than amd64, I would open a different review. Comment Actions The build on my 12-i386 jail built fine. I haven’t tried mips or the ARMs yet. My issue is how to sub the archs in the plist without having to list each arch Comment Actions Sounds reasonable to me -- just looked a bit redundant at first :), so please keep it as is.
Comment Actions thank you for helping the original PR (231029) that created this diff rev. Comment Actions I builds for me in amd64 but I can not provide run testing for this one, sorry. If Vinicius is ok with it, he can take over PR 231029, I can provide build testing if necessary :-)
Comment Actions Could you add NO_ARCH=yes to the port? poudriere hinted at this: pkg-static: DEVELOPER_MODE: Notice: arch "FreeBSD:13:amd64" -- no architecture specific files found:
Comment Actions Hmm, or is the check confused because it thinks *.efi files are data files? Tthey are actually x86_64 files. |