diff --git a/utils/hdparm/Makefile b/utils/hdparm/Makefile index bc1d4622..78b7b990 100644 --- a/utils/hdparm/Makefile +++ b/utils/hdparm/Makefile @@ -8,26 +8,24 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hdparm -PKG_VERSION:=9.52 +PKG_VERSION:=9.58 PKG_RELEASE:=1 -PKG_USE_MIPS16:=0 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/$(PKG_NAME) -PKG_HASH:=c3429cd423e271fa565bf584598fd751dd2e773bb7199a592b06b5a61cec4fb6 -PKG_MAINTAINER:=Richard Kunze +PKG_HASH:=9ae78e883f3ce071d32ee0f1b9a2845a634fc4dd94a434e653fdbef551c5e10f + +PKG_MAINTAINER:=Rosen Penev PKG_LICENSE:=BSD-Style Open Source License include $(INCLUDE_DIR)/package.mk -TARGET_CFLAGS+=-D_GNU_SOURCE - define Package/hdparm SECTION:=utils CATEGORY:=Utilities SUBMENU:=Disc TITLE:=Hard disk drive configuration utilitity - URL:=http://sourceforge.net/projects/hdparm/ + URL:=https://sourceforge.net/projects/hdparm/ endef define Package/hdparm/description diff --git a/utils/hdparm/patches/010-ldflags.patch b/utils/hdparm/patches/010-ldflags.patch new file mode 100644 index 00000000..e4778748 --- /dev/null +++ b/utils/hdparm/patches/010-ldflags.patch @@ -0,0 +1,13 @@ +--- a/Makefile ++++ b/Makefile +@@ -13,9 +13,8 @@ oldmandir = $(manprefix)/man + CC ?= gcc + STRIP ?= strip + +-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) ++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