Commit Graph
25 Commits
Author SHA1 Message Date
Josef Schlehofer 44a0ea3dd8 attr: check the version in test-version.sh
In actions-shared-workflows the version is now checked in
test-version.sh, while test.sh is left for the generic tests.

While moving it, assert the version where it can be asserted. The
package installs attr, getfattr and setfattr, and the latter two do
implement --version:

  printf("%s " VERSION "\\n", progname);

so only attr itself needs the presence check; its getopt string is
"s:V:g:r:lqLRS", where -V takes a value rather than printing a version.

The greps carry an explicit || exit 1: the harness uses only the exit
status of the whole script, so without it a failed match would be
discarded by the [ -x ] that ends the arm and the assertion would never
report anything.

Give libattr an arm of its own as well, so that an unknown sub-package
fails loudly instead of falling off the end of the case and returning 0.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-08-18 11:18:07 +02:00
Yanase Yuki b0d8a3d384 treewide: cleanup URLs
This commit converts plain HTTP URLs to HTTPS, and updates
old or outdated URLs.

Signed-off-by: Yanase Yuki <dev@zpc.st>
2026-05-08 22:28:27 +02:00
Alexandru Ardelean 12d8cda801 attr: add test.sh to handle version check
The generic CI test fails for /usr/bin/attr because that binary does
not implement --version. getfattr and setfattr do, so test those for
the version string and only verify attr is present and executable.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-30 19:40:38 +02:00
Rosen Penev f285b720e3 attr: switch to normal tarballs
Avoids having to use autoreconf.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-05-28 12:39:49 -07:00
Rosen Penev 39dad4ff47 attr: fix compilation with GCC 14
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-05-14 16:40:22 -07:00
Maxim Storchak 1d50a9bb4e attr: update to 2.5.2
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2024-02-10 14:58:23 -08:00
Fabrice Fontaine 5afe5c9031 treewide: assign PKG_CPE_ID
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 16:16:10 -08: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
Maxim Storchak 796ae80e44 attr: update to 2.5.1
- swith to AUTORELEASE

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2021-03-21 10:32:01 -07:00
Ilya Lipnitskiy 5d8d4fbbcb treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev cd662eae2f attr: Backport upstream patch fixing compilation without bzero
Fixed up License information.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-08-13 12:43:30 -07:00
Rosen Penev 061fc10479 attr: Switch to tarball releases
Simplifies the Makefile. Should be faster to download.

This is equivalent to the current version.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-07-15 20:55:33 -07:00
Maxim Storchak 5c3b390726 attr: update to 20170915
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2017-12-09 18:18:05 +02:00
Hauke Mehrtens 4d559d1d28 attr: add PKG_MIRROR_HASH
Use the LEDE mirror in case the git repository if unavailable like it
currently is.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2017-06-05 16:24:15 +02:00
Luiz Angelo Daros de Luca 777b64cb65 attr: use git over HTTP
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-11-22 16:07:40 -02:00
Maxim Storchak 1851c338cd attr: update to 20160302
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2016-06-13 21:45:28 +03:00
Yousong Zhou 92b0575e28 Drop the redundant -r option to $(CP)
$(CP) was defined as `cp -fpR' since the very begining of OpenWrt build
system (2006-06-22).  The -R option should be enough and base packages
use only $(CP) for the same purposes just fine and BSD manual of cp also
discourages the use of `-r' option.  So let's just tidy up the usage now.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-03-12 01:23:28 +08:00
Maxim Storchak 68b15bde67 attr: update to 20150922
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2015-11-08 20:41:57 +02:00
Maxim Storchak 8456832c95 attr: update to 20150220
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2015-03-03 00:17:36 +02:00
Nicolas Thill e24dfafb01 remove uneeded PKG_BUILD_DIR & PKG_CAT overrides
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-22 02:37:56 +01:00
Jo-Philipp Wich a323982222 attr: use generic autoreconf fixup
Use the generic autoreconf facility to pickup proper variants of
autoconf, automake and libtool.

Remove the unneeded Build/Prepare override.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-07 23:47:03 +01:00
Maxim Storchak db4774c3ef attr: update to 20141020, add license files
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2014-12-14 13:08:02 +02:00
Maxim Storchak 4b3d142810 Add license info for luabitop, luaposix, rsync, tgt, wget, acl, attr, haserl, smartmontools, tmux
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2014-08-09 15:47:18 +03:00
Felix Fietkau c43ecd2556 attr: remove bogus KCONFIG overrides
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2014-08-01 15:24:54 +02:00
Maxim Storchak bbf5f89801 attr: add xattr tools and libs
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2014-06-27 13:19:46 +03:00