auto-import changelog data from acpid-1.0.2-5.src.rpm
Wed Oct 22 2003 Bill Nottingham <notting@redhat.com> 1.0.2-5 - fix handling of sample.conf (#107160) - mark for translations (#107459) Sun Oct 19 2003 Florian La Roche <Florian.LaRoche@redhat.de> - add %clean specfile target Wed Oct 01 2003 Bill Nottingham <notting@redhat.com> 1.0.2-3 - re-enable x86 - don't load the button module Thu Aug 07 2003 Bill Nottingham <notting@redhat.com> 1.0.2-2 - no x86 for now Mon Jul 07 2003 Bill Nottingham <notting@redhat.com> 1.0.2-1 - update to 1.0.2
This commit is contained in:
parent
362041f794
commit
b5f57930ad
@ -1 +1 @@
|
|||||||
acpid-1.0.1.tar.gz
|
acpid-1.0.2.tar.gz
|
||||||
|
21
acpid.init
21
acpid.init
@ -11,8 +11,6 @@
|
|||||||
# Source function library.
|
# Source function library.
|
||||||
. /etc/rc.d/init.d/functions
|
. /etc/rc.d/init.d/functions
|
||||||
|
|
||||||
DAEMON=acpi
|
|
||||||
PROGNAME=${DAEMON}d
|
|
||||||
[ -x /usr/sbin/acpid ] || exit 0
|
[ -x /usr/sbin/acpid ] || exit 0
|
||||||
[ -f /proc/acpi/event ] || exit 0
|
[ -f /proc/acpi/event ] || exit 0
|
||||||
|
|
||||||
@ -24,22 +22,21 @@ RETVAL=0
|
|||||||
|
|
||||||
start() {
|
start() {
|
||||||
# Check if it is already running
|
# Check if it is already running
|
||||||
if [ ! -f /var/lock/subsys/$PROGNAME ]; then
|
if [ ! -f /var/lock/subsys/acpid ]; then
|
||||||
echo -n $"Starting acpi daemon: "
|
echo -n $"Starting acpi daemon: "
|
||||||
modprobe button > /dev/null 2>&1
|
daemon /usr/sbin/acpid
|
||||||
daemon /usr/sbin/$PROGNAME
|
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$PROGNAME
|
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/acpid
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
return $RETVAL
|
return $RETVAL
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
echo -n "Stopping $DAEMON daemon: "
|
echo -n $"Stopping acpi daemon: "
|
||||||
killproc /usr/sbin/$PROGNAME
|
killproc /usr/sbin/acpid
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$PROGNAME
|
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/acpid
|
||||||
echo
|
echo
|
||||||
return $RETVAL
|
return $RETVAL
|
||||||
}
|
}
|
||||||
@ -52,7 +49,7 @@ restart() {
|
|||||||
|
|
||||||
reload() {
|
reload() {
|
||||||
trap "" SIGHUP
|
trap "" SIGHUP
|
||||||
killall -HUP $PROGNAME
|
killall -HUP acpid
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
@ -69,12 +66,12 @@ restart)
|
|||||||
restart
|
restart
|
||||||
;;
|
;;
|
||||||
condrestart)
|
condrestart)
|
||||||
if [ -f /var/lock/subsys/$PROGNAME ]; then
|
if [ -f /var/lock/subsys/acpid ]; then
|
||||||
restart
|
restart
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
status)
|
status)
|
||||||
status $PROGNAME
|
status acpid
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}"
|
echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}"
|
||||||
|
33
acpid.spec
33
acpid.spec
@ -1,16 +1,16 @@
|
|||||||
Summary: ACPI Event Daemon
|
Summary: ACPI Event Daemon
|
||||||
Name: acpid
|
Name: acpid
|
||||||
Version: 1.0.1
|
Version: 1.0.2
|
||||||
Release: 4
|
Release: 5
|
||||||
Copyright: GPL
|
Copyright: GPL
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source: acpid-1.0.1.tar.gz
|
Source: http://prdownloads.sourceforge.net/acpid/acpid-%{version}.tar.gz
|
||||||
Source2: acpid.init
|
Source2: acpid.init
|
||||||
Patch: acpid-1.0.1-pm1.diff
|
Patch: acpid-1.0.1-pm1.diff
|
||||||
Patch2: acpid-1.0.1-conf.patch
|
Patch2: acpid-1.0.1-conf.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
ExclusiveArch: ia64 i386 x86_64
|
ExclusiveArch: ia64 x86_64 i386
|
||||||
URL: http://acpid.sourceforge.net
|
URL: http://acpid.sourceforge.net/
|
||||||
Prereq: /sbin/chkconfig, /sbin/service
|
Prereq: /sbin/chkconfig, /sbin/service
|
||||||
|
|
||||||
|
|
||||||
@ -46,12 +46,16 @@ install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/acpid
|
|||||||
chmod 755 $RPM_BUILD_ROOT/etc/rc.d/init.d/acpid
|
chmod 755 $RPM_BUILD_ROOT/etc/rc.d/init.d/acpid
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir /etc/acpi
|
%dir /etc/acpi
|
||||||
%dir /etc/acpi/events
|
%dir /etc/acpi/events
|
||||||
%dir /etc/acpi/actions
|
%dir /etc/acpi/actions
|
||||||
%attr(0644,root,root) /etc/acpi/events/sample.conf
|
%config %attr(0644,root,root) /etc/acpi/events/sample.conf
|
||||||
/var/log/acpid
|
/var/log/acpid
|
||||||
/usr/sbin/acpid
|
/usr/sbin/acpid
|
||||||
%attr(0755,root,root) /etc/rc.d/init.d/acpid
|
%attr(0755,root,root) /etc/rc.d/init.d/acpid
|
||||||
@ -68,6 +72,23 @@ if [ "$1" = "0" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 22 2003 Bill Nottingham <notting@redhat.com> 1.0.2-5
|
||||||
|
- fix handling of sample.conf (#107160)
|
||||||
|
- mark for translations (#107459)
|
||||||
|
|
||||||
|
* Sun Oct 19 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- add %%clean specfile target
|
||||||
|
|
||||||
|
* Wed Oct 1 2003 Bill Nottingham <notting@redhat.com> 1.0.2-3
|
||||||
|
- re-enable x86
|
||||||
|
- don't load the button module
|
||||||
|
|
||||||
|
* Thu Aug 7 2003 Bill Nottingham <notting@redhat.com> 1.0.2-2
|
||||||
|
- no x86 for now
|
||||||
|
|
||||||
|
* Mon Jul 7 2003 Bill Nottingham <notting@redhat.com> 1.0.2-1
|
||||||
|
- update to 1.0.2
|
||||||
|
|
||||||
* Wed Dec 11 2002 Bill Nottingham <notting@redhat.com> 1.0.1-4
|
* Wed Dec 11 2002 Bill Nottingham <notting@redhat.com> 1.0.1-4
|
||||||
- don't start if /proc/acpi/event isn't there
|
- don't start if /proc/acpi/event isn't there
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user