Commit Graph

18 Commits

Author SHA1 Message Date
krant ad6344d045 gptfdisk: update to 1.0.10
- Delete upstreamed patch

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-04-13 14:03:21 -07:00
Georgi Valkov 94315cfaa8 gptfdisk: fix incorrect TARGET on non-linux host
Fixed by defining TARGET=linux, as suggested in the README.

By default TARGET is derived from the host using uname -s,
which produces build errors on a non-linux hosts:

TARGET is not set; trying to determine target based on host OS....
Detected OS is Darwin
Build target is macos
...
x86_64-openwrt-linux-musl-g++: error: unrecognized command-line option '-arch'

Helped-by: Tianling Shen <cnsztl@immortalwrt.org>
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2023-08-09 14:54:45 -07:00
Tianling Shen e44c45fd23 Revert "gptfdisk: fix some warnings treated as errors"
The bug was fixed in 1.0.9, so remove this hack.

This reverts commit 5899a16f4b.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-17 08:16:02 +03:00
Tianling Shen fa2dce3b5b gptfdisk: Update to 1.0.9
Backported an upstream commit to fix build with musl 1.2.4.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-17 08:16:02 +03:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Andre Heider e7d9c86503 treewide: refactor to use PKG_BUILD_FLAGS:=lto
See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS"
on the main repository.

Note: Some packages only added `-flto` to CFLAGS and not LDFLAGS. This
fixes it and properly enables LTO.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Andre Heider 35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Oskari Rauta 5899a16f4b gptfdisk: fix some warnings treated as errors
fixes error: format not a string literal and no format arguments [-Werror=format-security] during compile

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-03 23:13:34 -08:00
Alif M. Ahmad 9d1bbd7949 gptfdisk: remove myself from maintainer
Returning package maintainership to OpenWrt developers.
Feel free to adopt this package.

Signed-off-by: Alif M. Ahmad <alive4ever@live.com>
2021-12-17 23:02:27 -08:00
Rosen Penev 00da88bc70 gptfdisk: update to 1.0.8
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-21 00:12:03 -07:00
Rosen Penev 816961484c gptfdisk: update to 1.0.6
Remove all uclibcxx support. It's buggy and fairly dead upstream.

Remove libcxx linker hack attributed to glibc.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-17 15:03:48 -08:00
Rosen Penev 6a9a0e2d44
gptfdisk: update to 1.0.5
Removed upstreamed patches. Refresh remaining one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-27 17:00:49 -08:00
Rosen Penev b61612a50b gptfdisk: Switch to using uClibc++
Added patches sent upstream to fix usage with uClibc++.

Cleaned up license information.

Added several size optimizations.

Several other Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-12 15:05:13 -07:00
Rosen Penev 4e98ac0c8b
gptfdisk: Update to 1.0.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-07-08 18:13:39 -07:00
Alif M. Ahmad eac2e12a6b gptfdisk: add a new package
gptfdisk is a gpt-aware disk partitioning tool. It can be used to
convert mbr partitioned disk to gpt and vice versa.

It supports reading GPT, MBR, and BSD disklabels.

Signed-off-by: Alif M. Ahmad <alive4ever@live.com>
2018-06-18 21:52:23 +02:00
Daniel Engberg c0b8ace3e3 utils/gptfdisk: Remove from tree
linux-utils (fdisk) provides the functionality I need and I have no interest
in maintaining this package as it more or less overlaps the functionality
of the previously mentioned alternative.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-08-07 05:59:08 +02:00
Alberto Bursi db40cd51eb gdisk/sgdisk/cgdisk: capitalized submenu name (disc -> Disc)
Part of a wider housekeeping effort on the packages repository.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
2016-11-02 10:11:33 +01:00
Alberto Bursi 881ebfcaa6 gdisk: enabled more utils and changed package name
I needed also sgdisk (script-friendly) and while I was at it I added also
cgdisk (uses ncurses interface), all as separate packages.
re-arranged the package folder and set /usr/sbin for install folder
as most tools seem to go in there and not in /sbin.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
2016-10-18 09:54:57 +02:00