Files
bpfire/lfs/acpid
Adolf Belka f6ede20a62 acpid: Update to 2.0.32
- Update acpid from 2.0.28 to 2.0.32
- Full changelog is available in the source file.
        2.0.29  2018-04-16  Ted Felix <ted@tedfelix.com>
          - 2.0.29 release
            (configure.ac)  (Ted Felix)
          - Decouple -d and -f options.  Bug #15.
            (acpid.8 acpid.c acpid.h log.c log.h TESTPLAN) (Casper Ti. Vector)
          - Rename acpid_debug -> debug_level.
            (acpid.c event.c log.c log.h) (Ted Felix)
          - Standards: man page command references.
            (acpid.8 kacpimon/kacpimon.8) (Ted Felix)
          - Log missing input layer as a warning.
            (inotify_handler.c) (Ted Felix)
        2.0.30  2018-07-18  Ted Felix <ted@tedfelix.com>
          - 2.0.30 release
            (configure.ac)  (Ted Felix)
          - configure: Don't use AC_FUNC_MALLOC, AC_FUNC_REALLOC.
            (configure.ac)  (Robin Gloster <mail@glob.in>)
          - samples: powerbtn: extend the list of known PMS
            (powerbtn.sh)  (Andrey Utkin <andrey_utkin@gentoo.org>)
          - samples: powerbtn: fix kde4 power management detection
            (powerbtn.sh)  (Andrey Utkin <andrey_utkin@gentoo.org>)
        2.0.31  2018-11-15  Ted Felix <ted@tedfelix.com>
          - 2.0.31 release
            (configure.ac)  (Ted Felix)
          - Add events for keyboard illumination up/down
            (input_layer.c)  (Lars-Dominik Braun)
          - kacpimon: Bump connection limit to 100
            Debian #909399
            (kacpimon/connection_list.c)  (Ted Felix)
        2.0.32  2019-08-15  Ted Felix <ted@tedfelix.com>
          - 2.0.32 release
            (configure.ac)  (Ted Felix)
          - Remove filename argument from --nosocket option
            Bug #17
            (acpid.c acpid.8)  (Ted Felix)
          - Fix race during startup
            Bug #18.  Debian #933230.
            (acpid.c input_layer.c)  (anomie)
- No change to rootfile

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-12-18 16:57:29 +00:00

85 lines
3.3 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 2.0.32
THISAPP = acpid-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 248995264b9d1cd8bdb923d5b190fd44
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
md5 : $(subst %,%_MD5,$(objects))
###############################################################################
# Downloading, checking, md5sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure --prefix=/usr \
--docdir=/usr/share/doc/acpid-2.0.26
cd $(DIR_APP) && make $(MAKETUNING) OPT="$(CFLAGS)"
cd $(DIR_APP) && make install
# Install configuration.
mkdir -pv /etc/acpi/{actions,events}
cp -vf $(DIR_SRC)/config/acpid/power /etc/acpi/events/
cp -vf $(DIR_SRC)/config/acpid/power.sh /etc/acpi/actions/
chmod 755 /etc/acpi/actions/power.sh
@rm -rf $(DIR_APP)
@$(POSTBUILD)