Commit Graph

11 Commits

Author SHA1 Message Date
Fabrice Fontaine
b3a68c2cf8 package/apcupsd: fix SELinux
Add apache module as for now it is unconditionally used in apcupsd.fc to
fix build failure raised since dc8b2905f1

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-07-31 11:11:11 +02:00
Fabrice Fontaine
dc8b2905f1 package/apcupsd: add SELinux module
Support for apcupsd is added by the services/apcupsd module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-07-25 14:58:14 +02:00
Fabrice Fontaine
47ce1876ae package/apcupsd: add APCUPSD_CPE_ID_VENDOR
cpe:2.3🅰️apcupsd:apcupsd is a valid CPE identifier for this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aapcupsd%3Aapcupsd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-06-05 21:40:56 +02:00
Bernd Kuhls
c1a9f10b79 package/apcupsd: fix reverse dependency for libusb
Commit 8a26801c9f (package/libusb: needs gcc >= 4.9) added a dependency
to gcc >= 4.9 for libusb but forgot to propagate the reverse dependency
to BR2_PACKAGE_APCUPSD_USB.

Fixes:
http://autobuild.buildroot.net/results/f34/f348fe8e5530970a14589ca878810a3bdaf98f67/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-01-09 22:38:01 +01:00
Fabrice Fontaine
8a26801c9f package/libusb: needs gcc >= 4.9
libusb depends on gcc >= 4.9 because of _Thread_local since version
1.0.24 and
9a1bc8cafb

Fixes:
 - http://autobuild.buildroot.org/results/7b7f4b31095f8a7eecb347b574391003a2def8bc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-12-13 22:01:59 +01:00
James Hilliard
a3c9a41462 package/apcupsd: pass additional libusb libs for static build
By default apcupsd only passes libs for libusb-compat, this is not
sufficient for static builds which also require libusb libs.

Fixes:
http://autobuild.buildroot.net/results/747/7472fec82983f5b9c2f92578b2b20b746a8d20ae/build-end.log

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-29 23:13:10 +02:00
James Hilliard
30365ace8a package/apcupsd: always depend on threads
Fixes:
http://autobuild.buildroot.net/results/aa2ad7bdb37da611a4ec863ed2e986f34ea5228b/build-end.log

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-23 22:54:25 +02:00
Thomas Petazzoni
4e5bb9d8c2 package/apcupsd: add missing Config.in comment about C++ dependency
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-21 08:49:59 +02:00
Thomas Petazzoni
209ea2414b package/apcupsd: uses fork(), needs MMU
Fixes:

  http://autobuild.buildroot.net/results/19af985de6e26813b841e7019051da3043c2b7d1/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-21 08:48:57 +02:00
James Hilliard
21d19f5c74 package/apcupsd: disable docs
We can skip building docs by only running make against subdirs that are
not "doc".

Fixes:
http://autobuild.buildroot.net/results/e65/e65c23c3c1cae9aa9d697323fabf8a6f310fc3ba/build-end.log

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-20 07:43:53 +02:00
James Hilliard
d12b63b741 package/apcupsd: new package
Apcupsd is a UPS control system that permits orderly shutdown of your
computer in the event of a power failure.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-19 10:27:46 +02:00