Bug 197181 - New port: devel/gnu-efi EFI programming using GNU toolchain
Summary: New port: devel/gnu-efi EFI programming using GNU toolchain
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Edward Tomasz Napierala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-29 17:20 UTC by luca.pizzamiglio
Modified: 2015-02-13 09:54 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (trasz)


Attachments
The shar file that contain the gnu-efi ports (3.27 KB, text/plain)
2015-01-29 17:20 UTC, luca.pizzamiglio
no flags Details
The patch to update the port to the version 3.0.1 (4.99 KB, patch)
2015-02-03 10:43 UTC, luca.pizzamiglio
no flags Details | Diff
The poudriere log (10.1 amd64) (38.17 KB, text/plain)
2015-02-03 10:44 UTC, luca.pizzamiglio
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description luca.pizzamiglio 2015-01-29 17:20:07 UTC
Created attachment 152344 [details]
The shar file that contain the gnu-efi ports

This is a simple EFI development kit.
Develop EFI applications for ARM-64, ARM-32, x86_64, IA-64 (IPF), and IA-32 (x86) platforms using the GNU toolchain and the EFI development environment.

It was used to develop ELILO, shim and other UEFI boot loaders
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-29 17:20:07 UTC
Auto-assigned to maintainer trasz@FreeBSD.org
Comment 2 Edward Tomasz Napierala freebsd_committer freebsd_triage 2015-01-29 18:04:38 UTC
Erm, but the devel/gnu-efi port already exists?
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2015-01-29 21:50:27 UTC
Port was committed by trasz in 377068 .
Comment 4 luca.pizzamiglio 2015-01-29 22:02:17 UTC
Sorry, my fault..
last time I've checked it wasn't there...

if you want, I can prepare a patch to update it to the version 3.0.1, released at 05.01.2015
Comment 5 Edward Tomasz Napierala freebsd_committer freebsd_triage 2015-01-29 22:11:55 UTC
Yes, please :-)  Could you test it with ports that depend on gnu-efi, to make sure there is no breakage?  Thanks!
Comment 6 luca.pizzamiglio 2015-02-03 10:43:12 UTC
Created attachment 152510 [details]
The patch to update the port to the version 3.0.1

This is the patch to update gnu-efi to the 3.0.1 version.
Makefiles are a little bit changed, so I worked to minimize differences and patches.
* moved some configurations as MAKE_ARGS (gcc name, installation directories)
* added explicit dependency on devel/binutils (/usr/local/bin/ar was used)
* accepted gcc >= 4.8 (tested with gcc 4.9)
* removed the empty and unused directory ${LOCALBASE}/include/efi/protocol/x86_64

about LICENSE, as the official Sourceforge page says, the license is BSD; it seems they changed the license with the version 3.0j. You could see it in ChangeLog:776 and ChangeLog:786. However, some source files has the GPLv2 header, other a BSD reference...
Comment 7 luca.pizzamiglio 2015-02-03 10:44:14 UTC
Created attachment 152511 [details]
The poudriere log (10.1 amd64)
Comment 8 Edward Tomasz Napierala freebsd_committer freebsd_triage 2015-02-12 18:54:39 UTC
Hi.  I've committed it, but in a slightly changed form.  Basically, your version failed with "port test" (port, as in, ports-mgmt/porttools).

Could you take a look and see if everything is ok?  Thanks!
Comment 9 Edward Tomasz Napierala freebsd_committer freebsd_triage 2015-02-12 18:55:40 UTC
Oh, and yeah, the SF site says it's BSD, but some files (ARM64, IIRC) have GPL license in the header, so I marked it as GPL to be on the safe side.
Comment 10 luca.pizzamiglio 2015-02-13 09:23:02 UTC
Hi,
I tested it and it works.

thanks

best regards,
pizzamig
Comment 11 Edward Tomasz Napierala freebsd_committer freebsd_triage 2015-02-13 09:54:22 UTC
Thank you!