rpms/hdparm/devel hdparm-9.27-timeout-536731.patch, NONE, 1.1 .cvsignore, 1.21, 1.22 hdparm.spec, 1.49, 1.50 sources, 1.23, 1.24
Karsten Hopp
karsten at fedoraproject.org
Fri Dec 11 12:41:02 UTC 2009
Author: karsten
Update of /cvs/extras/rpms/hdparm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10645
Modified Files:
.cvsignore hdparm.spec sources
Added Files:
hdparm-9.27-timeout-536731.patch
Log Message:
- update to 9.27
- enhance security-erase timeout to 12h (#536731)
hdparm-9.27-timeout-536731.patch:
hdparm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE hdparm-9.27-timeout-536731.patch ---
diff -up hdparm-9.27/hdparm.c.sec_timeout hdparm-9.27/hdparm.c
--- hdparm-9.27/hdparm.c.sec_timeout 2009-12-11 12:48:43.000000000 +0100
+++ hdparm-9.27/hdparm.c 2009-12-11 12:47:48.000000000 +0100
@@ -137,7 +137,7 @@ static int please_destroy_my_drive = 0;
const int timeout_12secs = 12;
const int timeout_5mins = (5 * 60);
-const int timeout_2hrs = (2 * 60 * 60);
+const int timeout_12hrs = (12 * 60 * 60);
static int open_flags = O_RDONLY|O_NONBLOCK;
@@ -767,7 +767,7 @@ do_set_security (int fd)
err = errno;
perror("ERASE_PREPARE");
} else {
- if ((do_taskfile_cmd(fd, r, timeout_2hrs))) {
+ if ((do_taskfile_cmd(fd, r, timeout_12hrs))) {
err = errno;
perror("SECURITY_ERASE");
}
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/hdparm/devel/.cvsignore,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -p -r1.21 -r1.22
--- .cvsignore 4 Mar 2009 20:56:05 -0000 1.21
+++ .cvsignore 11 Dec 2009 12:41:01 -0000 1.22
@@ -1 +1 @@
-hdparm-9.12.tar.gz
+hdparm-9.27.tar.gz
Index: hdparm.spec
===================================================================
RCS file: /cvs/extras/rpms/hdparm/devel/hdparm.spec,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -p -r1.49 -r1.50
--- hdparm.spec 20 Aug 2009 13:59:57 -0000 1.49
+++ hdparm.spec 11 Dec 2009 12:41:01 -0000 1.50
@@ -1,11 +1,12 @@
Summary: A utility for displaying and/or setting hard disk parameters
Name: hdparm
-Version: 9.16
-Release: 3%{?dist}
+Version: 9.27
+Release: 1%{?dist}
License: BSD
Group: Applications/System
URL: http://sourceforge.net/projects/hdparm/
Source: http://download.sourceforge.net/hdparm/hdparm-%{version}.tar.gz
+Patch0: hdparm-9.27-timeout-536731.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: s390 s390x
@@ -16,6 +17,7 @@ performance and to spin down hard drives
%prep
%setup -q
+%patch0 -p1
%build
CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} STRIP=/bin/true LDFLAGS=
@@ -37,6 +39,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/hdparm.8*
%changelog
+* Fri Dec 11 2009 Karsten Hopp <karsten at redhat.com> 9.27-1
+- update to 9.27
+- enhance security-erase timeout to 12h (#536731)
+
* Thu Aug 20 2009 Ville Skyttä <ville.skytta at iki.fi> - 9.16-3
- Let rpmbuild strip the executable (#513025).
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/hdparm/devel/sources,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- sources 17 Jul 2009 21:05:49 -0000 1.23
+++ sources 11 Dec 2009 12:41:01 -0000 1.24
@@ -1 +1 @@
-d11e2158c4ca8863de830f686574a4a3 hdparm-9.16.tar.gz
+e652dabb6c9233fb8a23ef60a17a1829 hdparm-9.27.tar.gz
More information about the scm-commits
mailing list