Commit Graph

17 Commits

Author SHA1 Message Date
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
Guilherme Janczak d9343b1549 hfsprogs: remove unused libbsd
hfsprogs uses libbsd for strlcpy(), but the strlcpy() calls are inside
`#ifdef` and don't show up on the OpenWRT package.

Signed-off-by: Guilherme Janczak <guilherme.janczak@yandex.com>
2022-07-28 12:17:20 -07:00
Rosen Penev 760e0fe1ee hfsprogs: update to 540.1.linux3
Updates hfsprogs from 2011 to 2013 version.

Updated patches to latest Debian ones. Kept custom OpenWrt ones.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-05-25 17:07:24 -07:00
Rosen Penev 899b7aae50
hfsprogs: fix compilation under glibc
Seems sys/sysctl.h was removed.

Refresh patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-30 17:43:57 -08:00
Rosen Penev 41504f1579
hfsprogs: fix compilation without sys/cdefs
sys/cdefs.h does not come with musl. It's also deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:25:52 -07:00
Rosen Penev d0a4d12d6d
hfsprogs: fix compile with newer musl
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-28 20:48:22 -07:00
Florian Fainelli 80f881568f treewide: Remove self from PKG_MAINTAINER
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2019-12-21 12:52:41 -08:00
Sven Eckelmann bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Henry Cross cc8b7c8ddc hfsprogs: Fix wide string literal in fsck_hfs
Signed-off-by: Henry Cross <51044550+solenoglyph@users.noreply.github.com>
2019-05-26 10:03:31 -07:00
Rosen Penev 4639e208b3
hfsprogs: Fix compilation with uClibc-ng
Replaced deprecated and unsupported valloc with posix_memalign.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-05 16:00:30 -07:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Matthew McClintock a6357ba2f5 hfsprogs: fix when not linking aginst glibc
Only link with libbsd when we are using GLIBC

Signed-off-by: Matthew McClintock <msm-oss@mcclintock.net>
2017-04-18 12:37:00 -05:00
Florian Fainelli 94478ebff8 hfsprogs: Fix build failures with external toolchains
Several problems were found with building against an external toolchain:

* TARGET_CPPFLAGS was missing which would prevent finding the headers
* TARGET_LDFLAGS also was not passed correctly
* when building against glibc, since we use strlcpy() we need to link
  against libbsd

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-04-02 20:00:33 -07:00
Michael Belyaev 0872354367 hfsprogs: fix building on macOS
Signed-off-by: Michael Belyaev <usrsse2@icloud.com>
2017-01-31 19:29:58 +03:00
Stefan Weil 804763e3f9 utils: Fix some typos (mostly found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-04-30 09:27:12 +02:00
Daniel Golle ab45f3741b hfsprogs: fix build with musl
Do not make use of sysctl in makehfs.c on non-glibc systems.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-28 21:03:28 +02:00
Florian Fainelli 197e6a5a1c hfsprogs: initial import
Adds supports for hfsprogs, allowing the creation and verification of
HFS/HFS+ filesystems.

This creates two selectable packages:
- hfsfsck
- mkhfs

A filesystem checking script is included with hfsfsck to allow OpenWrt
to check/repair filesystem errors.

Using Ubuntu's 332.25 sources plus their patches from debian/patches/.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
2015-03-27 22:18:15 -07:00