head 1.4; access; symbols pkgsrc-2023Q4:1.3.0.30 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.28 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.26 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.24 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.22 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.20 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.18 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.16 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.14 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.12 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.10 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.8 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.6 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.4 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.2 pkgsrc-2020Q2-base:1.3 pkgsrc-2018Q1:1.1.0.48 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.46 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.44 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.40 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.38 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.36 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.34 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.32 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.30 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.28 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.26 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.24 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.22 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.20 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.18 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.16 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.14 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.12 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.10 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.8 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.6 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.4 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.2 pkgsrc-2012Q3-base:1.1; locks; strict; comment @# @; 1.4 date 2024.02.07.17.50.45; author wiz; state dead; branches; next 1.3; commitid TqQrvfg8tgkvLwXE; 1.3 date 2020.05.09.12.17.52; author triaxx; state Exp; branches; next 1.2; commitid igNolEcbfXaIVy7C; 1.2 date 2018.05.23.07.56.53; author triaxx; state dead; branches; next 1.1; commitid sqZEtt8H9un5xoDA; 1.1 date 2012.07.29.21.44.13; author gsutre; state Exp; branches; next ; desc @@ 1.4 log @grub2: update to 2.12. With help from Anon. New in 2.12: * GCC 13 support. * clang 14 support. * binutils 2.38 support. * Unification of EFI Linux kernel loader across architectures. * Transition to EFI Linux kernel stub loader for x86 architecture. * Initial support for Boot Loader Interface. * Support for dynamic GRUB runtime memory addition using firmware calls. * PCI and MMIO UARTs support. * SDL2 support. * LoongArch support. * TPM driver fixes. * Many filesystems fixes. * Many CVE and Coverity fixes. * Debugging support improvements. * Tests improvements. * Documentation improvements. * ...and tons of other fixes and cleanups... New in 2.06: * GCC 10 support. * clang 10 support. * SBAT support. * LUKS2 support. * Drop small MBR gap support. * Xen Security Modules (XSM/FLASK) support. * The lockdown mechanism similar to the Linux kernel one. * Disable the os-prober by default. * Many backports of GRUB distros specific patches. * BootHole and BootHole2 fixes. * ...and tons of other fixes and cleanups... @ text @$NetBSD: patch-configure,v 1.3 2020/05/09 12:17:52 triaxx Exp $ * Fix font search paths for dejavu-tff and unifont. --- configure.orig 2019-07-04 14:06:35.000000000 +0000 +++ configure @@@@ -33881,7 +33881,7 @@@@ fi if test x"$starfield_excuse" = x; then for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do - for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu /usr/share/fonts/truetype; do + for dir in . /usr/src @@PREFIX@@/share/fonts/X11/misc @@PREFIX@@/share/fonts/truetype/ttf-dejavu @@PREFIX@@/share/fonts/dejavu @@PREFIX@@/share/fonts/truetype @@PREFIX@@/share/fonts/X11/TTF; do if test -f "$dir/DejaVuSans.$ext"; then DJVU_FONT_SOURCE="$dir/DejaVuSans.$ext" break 2 @@@@ -33903,7 +33903,7 @@@@ fi FONT_SOURCE= for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do - for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/unifont /usr/share/fonts/uni /usr/share/fonts/truetype/unifont /usr/share/fonts/misc; do + for dir in . /usr/src @@PREFIX@@/share/fonts/X11/misc @@PREFIX@@/share/fonts/unifont @@PREFIX@@/share/fonts/uni @@PREFIX@@/share/fonts/truetype/unifont @@PREFIX@@/share/fonts/misc; do if test -f "$dir/unifont.$ext"; then md5="$(md5sum "$dir/unifont.$ext"|awk '{ print $1; }')" # PCF and BDF from version 6.3 isn't hanled properly by libfreetype. @ 1.3 log @grub2: fix build error pkgsrc changes: --------------- * The unifont 5.1.20080820 that was manually included in $WRKDIR made the native freetype2 fail in FT_Get_Char_Index() function while the pkgsrc freetype2 succeeded. The package now depends on fonts/unifont for build because the version 13.0.02 of unifont fixes the FT_Get_Char_Index() failure. * Bump revision @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @grub2: update to 2.02 * Remove patches fixed in upstream * Remove 'CONFIGURE_ARGS+= --disable-grub-emu-usb': option no more supported * Fix DejaVu search path * Remove hack for use of pkgsrc's flex on NetBSD (that causes build errors) * Disable SSP checking (that causes linking errors) Changes: New in 2.02: * New/improved filesystem and disk support: * Big-endian UFS1. * Experimental 64-bit ext2 support. * Various fixes for non-512-byte sector devices. * New `proc' filesystem framework, used by LUKS disks. * Fix DM-RAID partition handling. * New `nativedisk' command to switch from firmware to native disk drivers. * Compressed HFS+. * DragonFly BSD labels. * CBFS (coreboot). * Handle partitioned LVM properly. * Use LVM UUIDs whenever possible. * GPT PReP. * New `progress' module that shows progress information while reading files. * ZFS features support. * ZFS LZ4 support. * XFS V5 format support. * LVM RAID1 support. * New/improved terminal and video support: * Monochrome text (matching `hercules' in GRUB Legacy). * Morse code output using system speaker. * `spkmodem' output (simple data protocol using system speaker). * Handle Japanese special keys. * coreboot framebuffer. * Serial on ARC. * Native vt100 handling for grub-emu, replacing the use of the curses library. * New gfxmenu options for terminal window positioning, theme background image handling, and scrollbar padding, plus `item_pixmap_style' and `highlight_overlay'. * Support several more image types (paletted and greyscale). * Boot protocol improvements: * Support Apple FAT binaries on non-Apple platforms. * Improve FreeDOS direct loading support compatibility. * Enable `linux16' on all x86 platforms, not just BIOS. * New TrueCrypt ISO loader. * multiboot2 boot-services EFI specification. * multiboot2 EFI memory map specification. * multiboot2 full-file specfication. * New/improved network support: * New variables `net_default_*' containing properties of the default interface. * Autoload `http' and `tftp' modules if necessary. * Improve TFTP robustness. * Parse `nd' disk names in GRUB Legacy configuration files. * Issue separate DNS queries for IPv4 and IPv6. * Support IPv6 Router Advertisement to configure default router. * New variable net__next_server containing next server from BOOTP reply. * Coreboot improvements: * CBFS support both in on-disk images (loopback) and flash. * Ability to launch another payload from flash or disk * Coreboot framebuffer * CBMEMC support (both logging and inspecting logs) * Command for inspecting coreboot timestamps (`coreboot_boottime'). * Command for inspecting coreboot tables (`lscoreboot'). * New target default_payload.elf. * Increased maximal core size. * Prefer pmtimer for TSC calibration. * New/improved platform support: * New `efifwsetup' and `lsefi' commands on EFI platforms. * New `cmosdump' and `cmosset' commands on platforms with CMOS support. * New command `pcidump' for PCI platforms. * Improve opcode parsing in ACPI halt implementation. * Use the TSC as a possible time source on i386-ieee1275. * Merge PowerPC grub-mkrescue implementation with the common one. * Support grub-mkrescue on i386-ieee1275, sparc64, bootinfo machines such as pSeries, and mips-arc. * Make grub-mkrescue better support Apple Intel Macs on CD. * Enable GRUB Legacy configuration file parsing on EFI. * Support halt for Loongson 2E. * ARM U-Boot and EFI ports. * Reorganise platform-dependent code in utilities to avoid #ifdef mess. * AROS and Haiku support for userspace utilities. * Xen PV port. * Fix EFI stack alignment. * ARM64 EFI port. * On Linux, read partition start offsets from sysfs if possible. * New grub-macbless utility, and better integration with Mac firmware in grub-install. * Support Yeeloong 3A. * Add `cpuid --pae' option to detect Physical Address Extension on x86. * Support for USB debug dongles. * Support for *-emu on all platforms (previously only i386/x86_64 worked). * Support *-emu on Windows. * New platform `none' which builds only user level utilities. This is now default if target CPU is not supported. * Support for booting little-endian Linux kernel on powerpc. * Support network boot with Oracle sun4v vnet devices. * Added SAS disks to the IEEE 1275 Open Firmware device list. * Try multiple methods for TSC (timestamp counter) calibration - PIT, pmtimer, EFI Stall. If everything fails, use hardcoded frequency 800MHz. * Support Hyper-V Gen2 platforms which lack PIT for TSC calibration. * Map UEFI Persistent Memory to E820 persistent memory. * New Xen loader on ARM64. * Respect alignment requirement for block device IO buffers on EFI. * Security: * Add optional facility to enforce that all files read by the core image from disk have a valid detached digital signature. * Performance: * Avoid costly division operations in many places. * New boot time analysis framework (`./configure --enable-boot-time'). * Initialise USB ports in parallel. * New `testspeed' command to test file read speed. * Speed-up gfxterm by storing intermediate results in more compact format. * Lazy LVM/mdraid scan. * Disk hints. * Scripting: * New `eval' and `tr' commands. * grub-script-check fails on scripts containing no commands. * Installation and other utility improvements: * Add option to compress files on installation or image creation. * Using grub-reboot no longer requires setting `GRUB_DEFAULT=saved'. * Support probing EFI System Partition (requires os-prober >= 1.58). * Fix inconsistent use of `GRUB_CRYPTODISK_ENABLE' and `GRUB_ENABLE_CRYPTODISK'; the latter is now used consistently. * grub-mount handles symbolic links to directories. * Support disabling submenus with `GRUB_DISABLE_SUBMENU' configuration key for grub-mkconfig. * grub-install, grub-mknetdir, grub-mkrescue, and grub-mkstandalone rewritten in C. They should now work in supported non-Unix-like environments. * Native mingw support. * Ability to install on EFI under windows. * Reorganise timeout handling using new `timeout_style' environment variable and `GRUB_TIMEOUT_STYLE' configuration key for grub-mkconfig. Menu hotkeys pressed during a hidden timeout now boot the corresponding menu entry immediately. * New `file' command and grub-file utility to check file types. * New syslinux configuration file parser. * Set menu entry class to primary OS name returned by os-prober to display OS specific icon. * On Linux x86 detect EFI word size in grub-install and automatically select correct platform (x86_64-efi or i386-efi) to install. Requires Linux kernel 4.0 or higher. * Build system: * Remove all uses of nested functions; GRUB no longer requires an executable stack. * Fix documentation build with Texinfo >= 5.1. * More robust and documented cross-compiling support. * Partial clang support for some platforms (experimental). * Partial mingw64 x86_64-efi compile support (highly experimental). * Partial mingw32 i386-* (other than already present i386-pc) compile support (highly experimental). * Support for grub-mkpasswd on Windows. * Eliminate the use of AutoGen. This allowed some performance improvements to the build system. * Remove variable length arrays. * OpenBSD compile and tools support (NetBSD and FreeBSD were already supported). * Fix build with FreeType >= 2.5.1. * Make gentpl.py compatible with Python 3. It now requires at least Python 2.6. * modinfo.sh contains build information now. * Added many new tests to improve robustness. * Target is built without libgcc now. Necessary builtins are reimplemented directly. This removes requirement for target-specific runtime on build system. * emu libusb support removed (was broken and unmaintained). * powerpc64le compile support. * Use fixed timestamp when generating GRUB image for reproducible builds. * Verify at build time that modules contain only supported relocations and their structure matches what boot-time module loader expects. * Do not require fonts on powerpc-ieee1275. * Revision control moved to git. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2012/07/29 21:44:13 gsutre Exp $ d3 1 a3 3 Strengthen the test for working -nostdinc -isystem. Otherwise, configure believes that -nostdinc -isystem works with gcc44, which makes the build fail afterwards (for a file including stddef.h). d5 1 a5 1 --- configure.orig 2012-06-26 11:59:16.000000000 +0000 d7 18 a24 8 @@@@ -21169,6 +21169,7 @@@@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include +#include int va_arg_func (int fixed, va_list args); int main (void) @ 1.1 log @Import grub2-2.00 as sysutils/grub2. This is GRUB 2, the second version of the GRand Unified Bootloader. GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more robust, more powerful, and more portable. @ text @d1 1 a1 1 $NetBSD$ @