Date: Tuesday, November 23, 2010 @ 11:02:49 Author: tpowa Revision: 100432
upgpkg: hdparm 9.36-1 bump to latest version Modified: hdparm/trunk/PKGBUILD hdparm/trunk/wiper.sh.2_6.max-ranges.patch -------------------------------+ PKGBUILD | 17 +++++++++-------- wiper.sh.2_6.max-ranges.patch | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-11-23 15:47:52 UTC (rev 100431) +++ PKGBUILD 2010-11-23 16:02:49 UTC (rev 100432) @@ -2,7 +2,7 @@ # Maintainer: Paul Mattal <[email protected]> pkgname=hdparm -pkgver=9.35 +pkgver=9.36 pkgrel=1 pkgdesc="A shell utility for manipulating Linux IDE drive/driver parameters" arch=(i686 x86_64) @@ -14,28 +14,29 @@ url="http://sourceforge.net/projects/hdparm/" optdepends=('bash: for wiper.sh script') options=('emptydirs') +md5sums=('d1f19a3a8fa5d83e33729ddac904894d' + '74e368f384166a7710b447573cda120a') build() { cd ${srcdir}/${pkgname}-${pkgver} - + # Fix Range input/output error when wiping Intel G2 and OCZ drives + patch -Np1 -i $srcdir/wiper.sh.2_6.max-ranges.patch + # build make +} +package() { + cd ${srcdir}/${pkgname}-${pkgver} # install mkdir -p ${pkgdir}/{usr,sbin} make DESTDIR=${pkgdir} install install -m755 contrib/idectl ${pkgdir}/sbin install -m755 contrib/ultrabayd ${pkgdir}/sbin - # install wiper.sh script - # Fix Range input/output error when wiping Intel G2 and OCZ drives - patch -Np1 -i $srcdir/wiper.sh.2_6.max-ranges.patch - install -D -m 0644 $srcdir/$pkgname-$pkgver/wiper/README.txt $pkgdir/usr/share/doc/wiper/README.txt install -D -m 0755 $srcdir/$pkgname-$pkgver/wiper/wiper.sh $pkgdir/usr/sbin/wiper.sh #install license file install -D -m 644 LICENSE.TXT $pkgdir/usr/share/licenses/hdparm/LICENSE.TXT } -md5sums=('520996cc36b69212c3907df351296702' - '5b99485ee6881de8e009597bffba7eea') Modified: wiper.sh.2_6.max-ranges.patch =================================================================== --- wiper.sh.2_6.max-ranges.patch 2010-11-23 15:47:52 UTC (rev 100431) +++ wiper.sh.2_6.max-ranges.patch 2010-11-23 16:02:49 UTC (rev 100432) @@ -14,9 +14,9 @@ export verbose=0 commit="" +max_ranges=-1 + destroy_me="" argc=$# arg="" - while [ $argc -gt 0 ]; do @@ -51,6 +52,10 @@ commit=yes elif [ "$1" = "--verbose" ]; then
