Commit Graph

27 Commits

Author SHA1 Message Date
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
Maxim Storchak 6da6da0f65 smartmontools: update to 7.4
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2023-08-15 09:43:12 +02: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
Maxim Storchak 9f28d3fa55 smartmontools: update to 7.3
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2022-04-25 12:12:29 -07:00
Rosen Penev 39bc254663 treewide: remove uClibc++ support
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-05 15:07:46 -08: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
Maxim Storchak dc32fc0e47 smartmontools: update to 7.2
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2021-01-02 11:56:02 +02:00
Rosen Penev 26b32aceee
smartmontools: convert init script to procd
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-01 16:31:08 -08:00
Hannu Nyman 004faf98f5 smartmontools: fix dependency declaration by f5f49e4
Fix the dependency declaration by removing the unnecessary/illegal
commas:

>  WARNING: Makefile 'package/feeds/packages/smartmontools/Makefile' has a dependency on 'smartd,', which does not exist
>  WARNING: Makefile 'package/feeds/packages/smartmontools/Makefile' has a dependency on 'nail,', which does not exist
>  tmp/.config-package.in:153368:warning: ignoring unsupported character ','
>  tmp/.config-package.in:153373:warning: ignoring unsupported character ','

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-01-06 12:39:45 +02:00
Maxim Storchak f5f49e48fe smartmontools: package a script for sending email notifications
A separate package which depdens on msmtp and nail is introduced.
Once more packages provide `sendmail` and `mail` interfaces, this
dependency can be made more flexible.

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2020-01-05 22:32:25 +02:00
Maxim Storchak 67600c2aaa smartmontools: update to 7.1
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2020-01-05 19:18:21 +02: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
Maxim Storchak 5ae0c32a9c smartmontools: move drive database to a separate packege
By default the database of the known drives is compiled into smartctl and smartd.
These tools also support loading external database from /usr/share/smartmontools/drivedb.h.
This changeset splits moves the database to a separate package
which allows to save some flash space and RAM for those for whom
generic S.M.A.R.T. attributes are enough.

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2019-02-14 22:01:51 +02:00
Rosen Penev 4dd0b9e685 smartmontools: Update to 7.0
Removed weird uclibc++ compatibility stuff as it seems to not be needed
anymore.

Switched to standard variables.

Added PKG_BUILD_PARALLEL for faster compilation.

Removed PKG_FIXUP as it seems the package has been fixed already.

A few changes to the CFLAGS and linker options resulted in ipk size going
from 244694 to 244283, possibly due to previous overlinking.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-15 11:00:48 -08:00
Maxim Storchak b8ae5cfef2 smartmontools: update to 6.6
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2017-12-09 15:35:24 +02: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
Florian Fainelli 482499b60b smartmontools: Fix build with CONFIG_USE_LIBSTDCXX
The Makefile would still force the use of and linking against uClibc++
even though libstdc++ may have been chosen, which would result in the
package depending on libstdcpp ($(CXX_DEPENDS) but we would still be
missing an libuClibc++ library depdency.

Fix this by looking at CONFIG_USE_UCLIBCXX to adjust the configure
script variables.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-05 18:16:41 -07:00
Maxim Storchak 7e582975b2 smartmontools: update to 6.5
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2016-05-28 23:48:10 +03:00
Maxim Storchak 15330a002e smartmontools: update to 6.4
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2015-06-14 22:13:43 +03:00
Jo-Philipp Wich efe52d2fe5 Merge pull request #762 from jow-/smartmontools-autoreconf
smartmontools: use generic autoreconf fixup
2015-01-10 18:48:20 +01:00
Jo-Philipp Wich 2e92e83d10 smartmontools: use generic autoreconf fixup
Instead of using the broken upstream autogen.sh, utilize then generic
autoreconf PKG_FIXUP.

This fixes the following configure error after the recent automake
update in trunk:

-- 8< --
You must have at least GNU Automake 1.7 (up to 1.14) installed
in order to bootstrap smartmontools from SVN. Download the
appropriate package for your distribution, or the source tarball
from ftp://ftp.gnu.org/gnu/automake/ .

Also note that support for new Automake series (anything newer
than 1.14) is only added after extensive tests. If you live in
the bleeding edge, you should know what you're doing, mainly how
to test it before the developers. Be patient.
make[2]: *** [.../.configured_] Error 1
-- >8 --

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-10 16:02:56 +01:00
Maxim Storchak c2de9f0992 smartmontools: add license file
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2014-12-14 13:05:43 +02:00
Maxim Storchak 2e89e2d772 smartmontools: update to 6.3
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2014-08-13 13:19:14 +03: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
Stefan Hellermann 5b1470dc04 smartmontools: remove stale dependency on rsync
rsync is in no way related to smartmontools. Additionally rsync
is missing in the new github repo.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
2014-06-22 16:20:23 +02:00
Maxim Storchak 4be8af07c2 smartmontools: import from packages, update to the latest release
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2014-06-14 15:02:18 +03:00