Browse Source

sysstat: update to 12.4.0

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
8f39988520
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
2 changed files with 51 additions and 3 deletions
  1. +4
    -3
      utils/sysstat/Makefile
  2. +47
    -0
      utils/sysstat/patches/010-ldflags.patch

+ 4
- 3
utils/sysstat/Makefile View File

@ -8,18 +8,19 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=sysstat
PKG_VERSION:=12.2.2
PKG_RELEASE:=1
PKG_VERSION:=12.4.0
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=http://pagesperso-orange.fr/sebastien.godard/
PKG_HASH:=78388b64acec81378b962e66b40e57acd4b18ff17a849bc9308f95d290248c9c
PKG_HASH:=78556c339795ecd07eb10ee09e3f5d52901d3a29f874ae92b45efd0de7b62d16
PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:sysstat_project:sysstat
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1


+ 47
- 0
utils/sysstat/patches/010-ldflags.patch View File

@ -0,0 +1,47 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -80,7 +80,7 @@ SYSCONFIG_FILE = @SYSCONFIG_FILE@
# Compiler flags
CFLAGS = @CFLAGS@ -Wall -Wstrict-prototypes -pipe -O2
DFLAGS = @DFLAGS@
-LFLAGS = @STRIP@
+LDFLAGS += @STRIP@
DFLAGS += -DSA_DIR=\"$(SA_DIR)\" -DSADC_PATH=\"$(SADC_PATH)\"
DFLAGS += $(DFSENSORS)
DFLAGS += $(DFPCP)
@@ -117,7 +117,7 @@ ifeq ($(SYSPARAM),y)
DFLAGS += -DHAVE_SYS_PARAM_H
endif
NLS = @NLS@
-LFLAGS += @LFINTL@
+LDFLAGS += @LFINTL@
ifeq ($(NLS),y)
REQUIRE_NLS = -DUSE_NLS -DPACKAGE=\"$(PACKAGE)\" -DLOCALEDIR=\"$(NLS_DIR)\"
endif
@@ -195,7 +195,7 @@ NLSPOT= $(NLSPO:.po=.pot)
$(CC) -o $@ -c $(CFLAGS) $(DFLAGS) $<
% : %.o
- $(CC) -o $@ $(CFLAGS) $^ $(LFLAGS)
+ $(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS)
all: sadc sar sadf iostat tapestat mpstat pidstat cifsiostat locales
@@ -283,7 +283,7 @@ librdsensors.a: rd_sensors.o
sadc.o: sadc.c sa.h version.h common.h rd_stats.h rd_sensors.h
-sadc: LFLAGS += $(LFSENSORS)
+sadc: LDFLAGS += $(LFSENSORS)
sadc: sadc.o act_sadc.o sa_wrap.o sa_common_sadc.o common_sadc.o systest.o librdstats.a librdsensors.a
@@ -293,7 +293,7 @@ sar: sar.o act_sar.o format_sar.o sa_common.o pr_stats.o librdstats_light.a libs
sadf.o: sadf.c sadf.h version.h sa.h common.h rd_stats.h rd_sensors.h
-sadf: LFLAGS += $(LFPCP)
+sadf: LDFLAGS += $(LFPCP)
sadf: sadf.o act_sadf.o format_sadf.o sadf_misc.o pcp_def_metrics.o sa_conv.o rndr_stats.o xml_stats.o json_stats.o svg_stats.o raw_stats.o pcp_stats.o sa_common.o librdstats_light.a libsyscom.a

Loading…
Cancel
Save