Commit Graph

13 Commits

Author SHA1 Message Date
Ivan Pavlov 98a5367982 apcupsd: fix gcc 13 compliation error
On GCC13 build fails:

toolchain-mipsel_24kc_gcc-13.2.0_musl/lib/libsupc++.a(eh_alloc.o): in function `std::__sv_check(unsigned int, unsigned int, char const*)':
toolchain-mipsel_24kc_gcc-13.2.0_musl/gcc-13.2.0-final/mipsel-openwrt-linux-musl/libstdc++-v3/include/string_view:73:
undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:33: apcupsd] Error 1

Workaround found at https://lore.kernel.org/buildroot/87wmsbk386.fsf@48ers.dk/T/

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
2024-04-03 15:57:01 -07:00
Rosen Penev 2d5ef9e199 apcupsd: remove header file patch
Seems to be from a time when pkgconfig returned the wrong path.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-10-31 12:26:26 -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
Maxim Mikityanskiy 4a3b1ee42a apcupsd: Preset binaries used on target system
apcupsd's configure script looks up paths to sh, wall and mail on the
host system, but intends to use them on the target system. OpenWrt
replaces apcupsd's scripts by its own versions, so those paths don't
really matter, however, if the host system doesn't have wall installed,
the build fails. This is the case on Gentoo when util-linux is built
with USE=-tty-helpers (default). Prevent such failures by providing
explicit stub paths to sh, wall and mail to configure script.

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
2019-09-24 21:29:54 +03:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Othmar Truniger 8b618efe21 apcupsd: preset shutdown binary
Signed-off-by: Othmar Truniger <github@truniger.ch>
2019-04-04 18:39:45 +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
Hannu Nyman 4288540e49 Merge pull request #2826 from tru7/apcupsd
apcupsd: bump to version 3.14.14
2016-06-07 23:29:08 +03:00
Othmar Truniger 26cc3a914a apcupsd: bump to version 3.14.14
Signed-off-by: Othmar Truniger <github@truniger.ch>
2016-06-07 22:16:48 +02:00
Stefan Weil 6d2c0fd06f net: Fix typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-04-10 12:51:10 +02:00
Othmar Truniger 1ab82e2f30 apcupsd: add driver modbus-usb
Signed-off-by: Othmar Truniger <github@truniger.ch>
2015-02-24 22:41:53 +01:00
Othmar Truniger dda1acfefa apcupsd: add cgi module
Signed-off-by: Othmar Truniger <github@truniger.ch>
2015-02-21 18:11:57 +01:00
Othmar Truniger a460965a67 apcupsd: move from old packages and Makefile updated
Signed-off-by: Othmar Truniger <Othmar Truniger github@truniger.ch>
2015-02-17 23:14:27 +01:00