From 24d47092580c269223ebb31e2dff0ad80b60a03c Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 06:04:30 +0000 Subject: [PATCH] =?UTF-8?q?auto-import=20changelog=20data=20from=20hdparm-?= =?UTF-8?q?3.9-6.src.rpm=20Wed=20Jul=2019=202000=20Bernhard=20Rosenkr=E4nz?= =?UTF-8?q?er=20=20-=20disable=20readahead=20(#14268)=20-?= =?UTF-8?q?=20add=20comment=20in=20/etc/sysconfig/harddisks=20about=20poss?= =?UTF-8?q?ible=20extra=20parameters=20Thu=20Jul=2013=202000=20Prospector?= =?UTF-8?q?=20=20-=20automatic=20rebuild=20Wed=20Jul?= =?UTF-8?q?=2012=202000=20Trond=20Eivind=20Glomsr=F8d=20?= =?UTF-8?q?=20-=20disable=2032=20bit=20interfacing=20(#13730)=20Tue=20Jun?= =?UTF-8?q?=2027=202000=20Trond=20Eivind=20Glomsr=F8d=20?= =?UTF-8?q?=20-=20use=20%{=5Ftmppath}=20-=20add=20/etc/sysconfig/harddisks?= =?UTF-8?q?,=20a=20new=20file=20for=20hardisk=20optimization=20=20=20=20?= =?UTF-8?q?=20parameters=20Sun=20Jun=2018=202000=20Bernhard=20Rosenkr=E4nz?= =?UTF-8?q?er=20=20-=20FHSify=20Sun=20Apr=2009=202000=20B?= =?UTF-8?q?ernhard=20Rosenkr=E4nzer=20=20-=20Fix=20compil?= =?UTF-8?q?ation=20with=20kernel=202.3.*=20Thu=20Feb=2017=202000=20Bernhar?= =?UTF-8?q?d=20Rosenkr=E4nzer=20=20-=203.9=20-=20handle?= =?UTF-8?q?=20RPM=5FOPT=5FFLAGS=20Thu=20Feb=2017=202000=20Bernhard=20Rosen?= =?UTF-8?q?kr=E4nzer=20=20-=20Use=20O=5FNONBLOCK=20when?= =?UTF-8?q?=20opening=20devices=20so=20we=20can=20manipulate=20CD-ROM=20dr?= =?UTF-8?q?ives=20=20=20=20=20with=20no=20media=20inserted,=20even=20when?= =?UTF-8?q?=20running=20a=20current=20kernel=20(Bug=20#6457)=20Sat=20Feb?= =?UTF-8?q?=2005=202000=20Bill=20Nottingham=20=20-=20b?= =?UTF-8?q?uild=20as=20non-root=20user=20(#6458)=20Fri=20Feb=2004=202000?= =?UTF-8?q?=20Bernhard=20Rosenkr=E4nzer=20=20-=20deal=20w?= =?UTF-8?q?ith=20RPM=20compressing=20man=20pages=20Fri=20Nov=2019=201999?= =?UTF-8?q?=20Bernhard=20Rosenkraenzer=20=20-=203.6=20Thu?= =?UTF-8?q?=20Aug=2012=201999=20Cristian=20Gafton=20=20?= =?UTF-8?q?-=20version=203.5=20Wed=20Mar=2024=201999=20Cristian=20Gafton?= =?UTF-8?q?=20=20-=20added=20patches=20from=20UP=20Sun?= =?UTF-8?q?=20Mar=2021=201999=20Cristian=20Gafton=20=20?= =?UTF-8?q?-=20auto=20rebuild=20in=20the=20new=20build=20environment=20(re?= =?UTF-8?q?lease=204)=20Tue=20Dec=2029=201998=20Cristian=20Gafton=20=20-=20build=20for=206.0=20Fri=20Apr=2024=201998?= =?UTF-8?q?=20Prospector=20System=20=20-=20translations?= =?UTF-8?q?=20modified=20for=20de,=20fr,=20tr=20Wed=20Apr=2008=201998=20Er?= =?UTF-8?q?ik=20Troan=20=20-=20updated=20to=203.3=20-=20bu?= =?UTF-8?q?ild=20rooted=20Fri=20Oct=2031=201997=20Donnie=20Barnes=20=20-=20fixed=20spelling=20error=20in=20summary=20Mon?= =?UTF-8?q?=20Jun=2002=201997=20Erik=20Troan=20=20-=20buil?= =?UTF-8?q?t=20against=20glibc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cvsignore | 1 + hdparm.spec | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 111 insertions(+) create mode 100644 hdparm.spec diff --git a/.cvsignore b/.cvsignore index e69de29..f7e87ef 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +hdparm-3.9.tar.gz diff --git a/hdparm.spec b/hdparm.spec new file mode 100644 index 0000000..e0f077f --- /dev/null +++ b/hdparm.spec @@ -0,0 +1,109 @@ +Summary: A utility for displaying and/or setting hard disk parameters. +Name: hdparm +Version: 3.9 +Release: 6 +Copyright: distributable +Group: Applications/System +Source: ftp://metalab.unc.edu/pub/Linux/system/hardware/hdparm-%{version}.tar.gz +Source1: hdparm-sysconfig +Patch0: hdparm-3.3.sparc.patch +Patch1: hdparm-3.9-kernel23.patch +Buildroot: %{_tmppath}/%{name}-%{version}-root + +%description +Hdparm is a useful system utility for setting (E)IDE hard drive +parameters. For example, hdparm can be used to tweak hard drive +performance and to spin down hard drives for power conservation. + +%prep +%setup -q +%patch0 -p1 -b .sparc +%patch1 -p1 -b .kernel23 + +%build +perl -pi -e "s,-O2,$RPM_OPT_FLAGS,g" Makefile +make + +%install +mkdir -p $RPM_BUILD_ROOT/sbin +mkdir -p $RPM_BUILD_ROOT/usr/doc +mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8 +install -c -s -m 755 hdparm $RPM_BUILD_ROOT/sbin/hdparm +install -c -m 644 hdparm.8 $RPM_BUILD_ROOT/%{_mandir}/man8 +mkdir -p $RPM_BUILD_ROOT/etc/sysconfig +install -m 644 %SOURCE1 $RPM_BUILD_ROOT/etc/sysconfig/harddisks + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc hdparm-3.9.lsm Changelog +%config /etc/sysconfig/harddisks +/sbin/hdparm +%{_mandir}/man8/hdparm.8* + +%changelog +* Wed Jul 19 2000 Bernhard Rosenkränzer +- disable readahead (#14268) +- add comment in /etc/sysconfig/harddisks about possible extra parameters + +* Thu Jul 13 2000 Prospector +- automatic rebuild + +* Wed Jul 12 2000 Trond Eivind Glomsrød +- disable 32 bit interfacing (#13730) + +* Tue Jun 27 2000 Trond Eivind Glomsrød +- use %%{_tmppath} +- add /etc/sysconfig/harddisks, a new file for hardisk + optimization parameters + +* Mon Jun 18 2000 Bernhard Rosenkränzer +- FHSify + +* Sun Apr 9 2000 Bernhard Rosenkränzer +- Fix compilation with kernel 2.3.* + +* Thu Feb 17 2000 Bernhard Rosenkränzer +- 3.9 +- handle RPM_OPT_FLAGS + +* Thu Feb 17 2000 Bernhard Rosenkränzer +- Use O_NONBLOCK when opening devices so we can manipulate CD-ROM drives + with no media inserted, even when running a current kernel (Bug #6457) + +* Sat Feb 5 2000 Bill Nottingham +- build as non-root user (#6458) + +* Fri Feb 4 2000 Bernhard Rosenkränzer +- deal with RPM compressing man pages + +* Fri Nov 19 1999 Bernhard Rosenkraenzer +- 3.6 + +* Thu Aug 12 1999 Cristian Gafton +- version 3.5 + +* Wed Mar 24 1999 Cristian Gafton +- added patches from UP + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 4) + +* Tue Dec 29 1998 Cristian Gafton +- build for 6.0 + +* Fri Apr 24 1998 Prospector System +- translations modified for de, fr, tr + +* Wed Apr 08 1998 Erik Troan +- updated to 3.3 +- build rooted + +* Fri Oct 31 1997 Donnie Barnes +- fixed spelling error in summary + +* Mon Jun 02 1997 Erik Troan +- built against glibc + diff --git a/sources b/sources index e69de29..218ee5d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e0acf444f8d2fff2cb83cf080e1115e1 hdparm-3.9.tar.gz