OBS User unknown 2009-02-06 19:47:59 +00:00 committed by Git OBS Bridge
parent 7508e78984
commit 587523c06b
7 changed files with 49 additions and 31 deletions

View File

@ -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)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa3c42224ec702b6cdb69ca6501284cb6dacb87473a076d7337ee9635c96f160
size 24226

17
acpid-1.0.8.dif Normal file
View File

@ -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)

3
acpid-1.0.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d57ae5302c38c37d060a097fa51600fe06fbfffd575641d638407944f126b7b1
size 26102

View File

@ -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

View File

@ -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)

View File

@ -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)