Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

29 commits

Author SHA1 Message Date
Miro Hrončok
f0c0e14adb Orphaned for 6+ weeks 2019-01-21 11:19:12 +01:00
Adam Williamson
6d0f8f1098 Rebuild for new libconfig 2018-07-24 13:25:14 -07:00
Fedora Release Engineering
420350b7ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 04:54:13 +00:00
Tomasz Torcz
6b307d5b87 add gcc to BR, due to its removal from default buildroot 2018-02-18 19:40:25 +01:00
Fedora Release Engineering
d76693b413 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 16:09:45 +00:00
Tomasz Torcz
34f6984b09 cleanup systemd requires
https://www.spinics.net/lists/fedora-devel/msg240347.html
2018-01-27 13:54:55 +01:00
Fedora Release Engineering
b261f2dc23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 23:24:22 +00:00
Fedora Release Engineering
bf14592c06 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 12:35:00 +00:00
Fedora Release Engineering
b3e7047c13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 12:34:53 +00:00
Tomasz Torcz
12a00e5cc1 fix FTBFS (rhbz#1307612) 2016-02-14 12:06:19 +01:00
Dennis Gilmore
4951e41586 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 23:44:12 +00:00
Dennis Gilmore
0faf98ff5b - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 10:20:59 +00:00
Tomasz Torcz
7ee4117d1f new upstream version 20141203 2015-05-06 10:20:39 +02:00
Tomasz Torcz
fd12dac015 - new upstream release 2014-10-28 22:12:16 +01:00
64c2820392 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 20:17:47 +00:00
Dennis Gilmore
8fb3c2a098 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 14:55:13 -05:00
Tomasz Torcz
6644d2ca07 latest upstream snapshot, fixes rhbz#1037119 2013-12-04 10:19:10 +01:00
Dennis Gilmore
0e8fa0f8a3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 12:33:51 -05:00
Tomasz Torcz
973a14b98a - package upstream snapshot: - use upstream systemd units and udev rules
- drop sysconfig file
- fix incorrect dates in changelog
2013-05-28 21:47:12 +02:00
Dennis Gilmore
0b20da55f8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 19:01:39 -06:00
Dennis Gilmore
7c1db1d917 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 07:36:18 -05:00
Tomasz Torcz
b6359c37fd drop sysconfig file 2012-06-03 19:46:36 +02:00
Tomasz Torcz
4282064842 add missing BuildReq 2012-02-03 19:23:44 +01:00
Tomasz Torcz
00c8916123 spec cleanup and cruft removal 2012-02-03 19:02:24 +01:00
Dennis Gilmore
7aeb67e7e7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 22:49:29 -06:00
Dennis Gilmore
298b1a8cbf - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 02:58:23 -06:00
Tomasz Torcz
b2ae53e833 * Sun Jan 9 2011 Tomasz Torcz <ttorcz@fedoraproject.org> 20090401-7
- remove bad parentheses in ExecStart= line of systemd unit def
  (thanks Alexandre Silva Lopes, #667073)
2011-01-09 22:10:34 +01:00
Fedora Release Engineering
f8d1b476ce dist-git conversion 2010-07-28 17:39:16 +00:00
d41e075a04 - provide systemd service definition
- resurrect udev rule for systemd interaction
2010-07-17 13:09:08 +00:00
9 changed files with 1 additions and 125 deletions

View file

@ -1 +0,0 @@
hdapsd-20090401.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: hdapsd
# $Id: Makefile,v 1.1 2009/08/29 03:22:36 kevin Exp $
NAME := hdapsd
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

1
dead.package Normal file
View file

@ -0,0 +1 @@
Orphaned for 6+ weeks

View file

@ -1,13 +0,0 @@
# hdapsd starting script
# laptops seldom have >2 HDD, so we care only about first two
start on block-device-added sd[ab][!0-9]
instance
nice -5
script
. /etc/sysconfig/hdapsd
/usr/sbin//hdapsd -b -l -d $1 $HDAPSD_OPTIONS
end script

View file

@ -1,14 +0,0 @@
# hdapsd starting script
# laptops seldom have >2 HDD, so we care only about first two
start on device-added SUBSYSTEM=block DEVNAME=sd[ab][!0-9]
instance $1
expect fork
nice -5
script
. /etc/sysconfig/hdapsd
/usr/sbin/hdapsd -b -l -d $1 $HDAPSD_OPTIONS
end script

View file

@ -1,72 +0,0 @@
Name: hdapsd
Version: 20090401
Release: 5%{?dist}
Summary: Protects hard drives by parking head when fall is detected
Group: Applications/System
License: GPLv2+
URL: http://hdaps.sourceforge.net/
Source0: http://downloads.sourceforge.net/hdaps/hdapsd-%{version}.tar.gz
Source1: hdapsd.event.upstart0.6
Source2: hdapsd.sysconfig
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description
This is a disk protection user-space daemon. It monitors the acceleration
values through the HDAPS/AMS interfaces and automatically initiates disk head
parking if a fall or sliding of the laptop is detected.
HDAPS is typically found in ThinkPad laptops and AMS in Apple laptops.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_sysconfdir}/init/
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig/
cp -p %SOURCE1 %{buildroot}%{_sysconfdir}/init/hdapsd.conf
cp -p %SOURCE2 %{buildroot}%{_sysconfdir}/sysconfig/hdapsd
# remove docs installed by "make install", will be installed in proper dir by %doc
rm -rf %{buildroot}%{_defaultdocdir}/%{name}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_sbindir}/*
%config(noreplace) %{_sysconfdir}/init/hdapsd.conf
%config(noreplace) %{_sysconfdir}/sysconfig/hdapsd
%{_mandir}/man8/hdapsd.8.gz
%doc AUTHORS
%doc COPYING
%doc ChangeLog
%doc README
%changelog
* Mon Dec 07 2009 Tomasz Torcz <ttorcz@fedoraproject.org> 20090401-5
- port initscript file to upstart 0.6, removing custom udev rule
* Fri Sep 04 2009 Tomasz Torcz <ttorcz@fedoraproject.org> 20090401-4
- use version macro in in Source0, as per review suggestion (#505928 #9)
* Tue Jun 21 2009 Tomasz Torcz <ttorcz@fedoraproject.org> 20090401-3
- fixes from review: URL source, proper build root macro
- minor cleanup of event file
* Sun Jun 17 2009 Tomasz Torcz <ttorcz@fedoraproject.org> 20090401-2
- mark upstart event file and udev rule as config files
* Sun Jun 14 2009 Tomasz Torcz <ttorcz@fedoraproject.org> 20090401-1
- initial version

View file

@ -1,2 +0,0 @@
# default sensivity is 15; bump it a little and enable adaptive tuning
HDAPSD_OPTIONS="-s 22 -a"

View file

@ -1 +0,0 @@
hdapsd-20090401-4_fc12:HEAD:hdapsd-20090401-4.fc12.src.rpm:1252079234

View file

@ -1 +0,0 @@
897cee8b0192febd127470f3e9506aeb hdapsd-20090401.tar.gz