diff --git a/acpid-1.0.6.dif b/acpid-1.0.6.dif deleted file mode 100644 index 2b87b4f..0000000 --- a/acpid-1.0.6.dif +++ /dev/null @@ -1,23 +0,0 @@ ---- acpid.c.orig 2004-10-18 00:33:51.000000000 +0200 -+++ acpid.c 2005-08-02 19:22:04.000000000 +0200 -@@ -386,7 +386,8 @@ - umask(0); - - /* get outta the way */ -- chdir("/"); -+ if(chdir("/") < 0) -+ fprintf(stderr, "%s: chdir: %s\n", progname, strerror(errno)); - - return 0; - } ---- Makefile.orig 2004-10-18 00:54:28.000000000 +0200 -+++ Makefile 2005-08-02 19:22:04.000000000 +0200 -@@ -21,7 +21,7 @@ - MAN8 = acpid.8 acpi_listen.8 - MAN8GZ = $(MAN8:.8=.8.gz) - --CFLAGS = -Wall -Werror -g $(DEFS) -+CFLAGS = -Wall -Werror -g $(DEFS) $(EXTRA_CFLAGS) - DEFS = -DVERSION="\"$(VERSION)\"" - - all: $(PROGS) diff --git a/acpid-1.0.6.tar.gz b/acpid-1.0.6.tar.gz deleted file mode 100644 index 628b7b7..0000000 --- a/acpid-1.0.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa3c42224ec702b6cdb69ca6501284cb6dacb87473a076d7337ee9635c96f160 -size 24226 diff --git a/acpid-1.0.8.dif b/acpid-1.0.8.dif new file mode 100644 index 0000000..bff2b77 --- /dev/null +++ b/acpid-1.0.8.dif @@ -0,0 +1,17 @@ +Index: b/Makefile +=================================================================== +--- a/Makefile ++++ b/Makefile +@@ -21,11 +21,11 @@ acpi_listen_OBJS = $(acpi_listen_SRCS:.c + all_SRCS = $(acpid_SRCS) $(acpi_listen_SRCS) + + MAN8 = acpid.8 acpi_listen.8 + MAN8GZ = $(MAN8:.8=.8.gz) + +-CFLAGS = -W -Wall -Werror -Wundef -Wshadow -D_GNU_SOURCE -O2 -g $(DEFS) ++CFLAGS = -W -Wall -Werror -Wundef -Wshadow -D_GNU_SOURCE -O2 -g $(DEFS) $(EXTRA_CFLAGS) + DEFS = -DVERSION="\"$(VERSION)\"" + + all: $(PROGS) + + acpid: $(acpid_OBJS) diff --git a/acpid-1.0.8.tar.gz b/acpid-1.0.8.tar.gz new file mode 100644 index 0000000..3eae5f4 --- /dev/null +++ b/acpid-1.0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d57ae5302c38c37d060a097fa51600fe06fbfffd575641d638407944f126b7b1 +size 26102 diff --git a/acpid.changes b/acpid.changes index 0fcbbe4..71746e7 100644 --- a/acpid.changes +++ b/acpid.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Feb 4 21:10:28 CET 2009 - seife@suse.de + +- update to version 1.0.8: + - various code cleanups, enable stricter compiler warnings + - fix typos in man pages. (acpid.8, acpi_listen.8) + - stop processing ACPI events when a lockfile exists (see acpid.8) + - add -l (--logevents) option to enable logging of all events. + Due to a number of reports of log flooding (bad ACPI BIOS?), the + new default is to NOT log events + - add pidfile support and a -p (--pidfile) option to change it + - close client file descriptors on exec() + - fix a fd leak on error + ------------------------------------------------------------------- Mon Jan 26 11:53:42 CET 2009 - ro@suse.de diff --git a/acpid.spec b/acpid.spec index 1ab2849..b6305d3 100644 --- a/acpid.spec +++ b/acpid.spec @@ -1,5 +1,5 @@ # -# spec file for package acpid (Version 1.0.6) +# spec file for package acpid (Version 1.0.8) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -20,8 +20,8 @@ Name: acpid Url: http://acpid.sourceforge.net/ -Version: 1.0.6 -Release: 90 +Version: 1.0.8 +Release: 1 %define acpi_version 0.09 License: GPL v2 or later Group: System/Daemons @@ -60,7 +60,7 @@ Authors: %prep %setup -b 0 -a 1 -%patch +%patch -p1 %patch1 pushd acpi-%{acpi_version} popd @@ -129,6 +129,17 @@ rm -rf %{buildroot} %ghost %config(noreplace,missingok) %_var/log/acpid %changelog +* Wed Feb 04 2009 seife@suse.de +- update to version 1.0.8: + - various code cleanups, enable stricter compiler warnings + - fix typos in man pages. (acpid.8, acpi_listen.8) + - stop processing ACPI events when a lockfile exists (see acpid.8) + - add -l (--logevents) option to enable logging of all events. + Due to a number of reports of log flooding (bad ACPI BIOS?), the + new default is to NOT log events + - add pidfile support and a -p (--pidfile) option to change it + - close client file descriptors on exec() + - fix a fd leak on error * Mon Jan 26 2009 ro@suse.de - change fillup call from "-Y" to "-y" the boot script has been present in this package for long enough (SLES10-GA) diff --git a/rcacpid b/rcacpid index 1a8c408..fe668bc 100644 --- a/rcacpid +++ b/rcacpid @@ -23,7 +23,6 @@ # Actions for those events are (by SUSE default) configured in the # powersaved configuration. # Additionally this start script loads all needed modules. - ### END INIT INFO # Check for missing binaries (stale symlinks should not happen)