hdparm: update to 9.60.

This commit is contained in:
teldra 2020-11-23 07:53:56 +01:00 committed by Jürgen Buchmüller
parent 0ba6fd3c81
commit 21283f50dd
2 changed files with 2 additions and 30 deletions

View File

@ -1,28 +0,0 @@
Drop hardcoded -s flag from LDFLAGS
Drop hardcoded -j4 flag
Use CFLAGS when linking
--- Makefile.orig 2016-12-29 16:15:41.000000000 +0100
+++ Makefile 2017-01-25 19:54:51.449547415 +0100
@@ -15,7 +15,6 @@
CFLAGS := -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS)
-LDFLAGS = -s
#LDFLAGS = -s -static
INSTALL = install
INSTALL_DATA = $(INSTALL) -m 644
@@ -24,11 +23,10 @@
OBJS = hdparm.o identify.o sgio.o sysfs.o geom.o fallocate.o fibmap.o fwdownload.o dvdspeed.o wdidle3.o
-all:
- $(MAKE) -j4 hdparm
+all: hdparm
hdparm: hdparm.h sgio.h $(OBJS)
- $(CC) $(LDFLAGS) -o hdparm $(OBJS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o hdparm $(OBJS)
$(STRIP) hdparm
hdparm.o: hdparm.h sgio.h

View File

@ -1,6 +1,6 @@
# Template file for 'hdparm'
pkgname=hdparm
version=9.58
version=9.60
revision=1
build_style=gnu-makefile
make_install_args="exec_prefix=/usr sbindir=/usr/bin"
@ -9,7 +9,7 @@ maintainer="teldra <teldra@rotce.de>"
license="0BSD" # Upstream is very unclear and names their stuff 'bsd-style'
homepage="https://sourceforge.net/projects/hdparm/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=9ae78e883f3ce071d32ee0f1b9a2845a634fc4dd94a434e653fdbef551c5e10f
checksum=8397739c73e44d5ab96c4aef28fa9c0147276d53a1b5657ce04c4565cf6635cc
post_install() {
vlicense LICENSE.TXT