diff options
author | Przemyslaw Pawelczyk <przemoc@zoho.com> | 2017-01-14 00:44:16 +0100 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-01-16 07:10:31 +0000 |
commit | 2d6473f71605603ced5e534fb683dadac3e37fe7 (patch) | |
tree | 7e53a9ea568cf76ef17f4cc3cdcdc2d7a786d792 /main/hdparm | |
parent | 731810e7dc3e843903d8568dea789c198c4fa614 (diff) | |
download | aports-2d6473f71605603ced5e534fb683dadac3e37fe7.tar.bz2 aports-2d6473f71605603ced5e534fb683dadac3e37fe7.tar.xz |
main/hdparm: Upgrade to 9.50. Modernize APKBUILD.
Quote from Changelog:
hdparm-9.50:
- minor fixes for sanitize device stuff.
hdparm-9.49:
- add ACS-3 overprovisioning support, courtesy of Intel.
- fix bug in display of security section and use updated erase-time values from ACS-3, courtesy of Patrick Higgins.
- increase timeout on fwdownload to 2 minutes, courtesy of Rusy Carruth.
- fix bugs from devslp patch.
Diffstat (limited to 'main/hdparm')
-rw-r--r-- | main/hdparm/APKBUILD | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/main/hdparm/APKBUILD b/main/hdparm/APKBUILD index 3ac6be1ccc..f3d303a991 100644 --- a/main/hdparm/APKBUILD +++ b/main/hdparm/APKBUILD @@ -1,34 +1,25 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=hdparm -pkgver=9.48 +pkgver=9.50 pkgrel=0 pkgdesc="A shell utility for manipulating Linux IDE drive/driver parameters" url="http://sourceforge.net/projects/hdparm/" arch="all" license="BSD" -depends="" makedepends="linux-headers " subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" export CFLAGS="$CFLAGS -D_GNU_SOURCE" make || return 1 } package() { - cd "$_builddir" + cd "$builddir" mkdir -p "$pkgdir"/usr "$pkgdir"/sbin make DESTDIR="$pkgdir" install || return 1 install -m755 contrib/idectl "$pkgdir"/sbin || return 1 @@ -36,6 +27,6 @@ package() { install -D -m 644 LICENSE.TXT $pkgdir/usr/share/licenses/hdparm/LICENSE.TXT || return 1 } -md5sums="213efdbe7471fad3408198918e164354 hdparm-9.48.tar.gz" -sha256sums="ce97b4a71cb04146f54cf6f69787e7f97ddfda9836dc803b459d3b3df3a4fbee hdparm-9.48.tar.gz" -sha512sums="5b8908a762d892c403406da4798202bed95f035396e3c49f04da910fa53a6b442a7d7c9cb1e5d786d7c8c5a1b681c8d1db10f1bd8dad09600a6f3811fbf8afb7 hdparm-9.48.tar.gz" +md5sums="d380062ad6c4b40076736efbb640f1f5 hdparm-9.50.tar.gz" +sha256sums="0892b44bd817c251264a24f6ecbbb010958033e0395d2030f25f1c5608ac780e hdparm-9.50.tar.gz" +sha512sums="e781da560f4ff7c75934b262b1be896765055ab0d90f9f637df2b7a13865a8dff0316811eae889e2bb09cbea08599b8f65e1fd1ef92f1f17e0fa728afda73fbc hdparm-9.50.tar.gz" |