1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 03:26:19 +00:00
Lakka-LibreELEC/packages/sysutils/gptfdisk/package.mk
Rudi Heitbaum 56309fd140 gptfdisk: update to 1.0.9
release notes:
- https://sourceforge.net/p/gptfdisk/code/ci/master/tree/NEWS

1.0.9 (4/14/2022):
------------------

- Removed stray debugging code that caused "partNum is {x}" to be printed
  when changing a partition's name with sgdisk (-c/--change-name).

- Added support for aligning partitions' end points, as well as their start
  points. This support affects the default partition size when using 'n' in
  gdisk; it affects the default partition size in cgdisk; and it's activated
  by the new '-I' option in sgdisk. See the programs' respective man pages
  for details. This feature is intended to help with LUKS2 encryption, which
  reacts badly to partitions that are not sized as exact multiples of the
  encryption block size.

- Added check for too-small disks (most likely to be an issue when trying
  to use a too-small disk image); program now aborts if this happens.

- Added the ability to build sgdisk and cgdisk for Windows.

- Added new type codes:
  * FreeBSD nandfs (0xa506)
  * Apple APFS Pre-Boot (0xaf0b)
  * Apple APFS Recovery (0xaf0c)
  * ChromeOS firmware (0x7f03)
  * ChromeOS mini-OS (0x7f04)
  * ChromeOS hibernate (0x7f05)
  * U-Boot boot loader (0xb000)
  * 27 (!) codes for Fuchsia (0xf100 to 0xf11a)

- Fixed build problems with recent versions of ncurses.

- Fixed bug that caused cgdisk to report incorrect partition attributes.

- Consolidated Makefiles for Linux, FreeBSD, Solaris, macOS, and Windows
  (32- and 64-bit). The old OS-specific Makefiles remain in case the new
  consolidated Makefile has problems, but the old ones are deprecated.
  (The Solaris support in the new Makefile is untested.)
2022-04-19 11:28:24 +00:00

21 lines
654 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="gptfdisk"
PKG_VERSION="1.0.9"
PKG_SHA256="dafead2693faeb8e8b97832b23407f6ed5b3219bc1784f482dd855774e2d50c2"
PKG_LICENSE="GPL"
PKG_SITE="http://www.rodsbooks.com/gdisk/"
PKG_URL="https://downloads.sourceforge.net/project/${PKG_NAME}/${PKG_NAME}/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain popt crossguid"
PKG_LONGDESC="GPT text-mode partitioning tools"
make_target() {
make sgdisk "CC=${CC}" "CXX=${CXX}"
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/sbin/
cp -p sgdisk ${INSTALL}/usr/sbin/
}