libxslt: update to 1.1.34

Fixes all known CVEs.

Various Makefile cleanups for consistency between packages.

Added PIC explicitly (was implicit). Removed two extra features.

Removed autoreconf and added PKG_BUILD_PARALLEL for faster compilation.

Roughly matched host configure args with target ones.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-03-19 17:07:29 -07:00
parent 0960a401d8
commit b289809735
4 changed files with 18 additions and 239 deletions
+18 -19
View File
@@ -8,24 +8,22 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libxslt
PKG_VERSION:=1.1.33
PKG_RELEASE:=4
PKG_VERSION:=1.1.34
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:= \
http://xmlsoft.org/sources/ \
ftp://fr.rpmfind.net/pub/libxml/
PKG_HASH:=8e36605144409df979cab43d835002f63988f3dc94d5d3537c12796db90e38c8
PKG_HASH:=98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f
PKG_MAINTAINER:=Jiri Slachta <jiri@slachta.eu>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:xmlsoft:libxslt
PKG_MAINTAINER:=Jiri Slachta <jiri@slachta.eu>
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
HOST_BUILD_DEPENDS:=libxml2/host
include $(INCLUDE_DIR)/package.mk
@@ -67,8 +65,7 @@ define Package/xsltproc/description
XSLT XML transformation utility.
endef
CONFIGURE_ARGS+= \
--disable-silent-rules \
CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
--without-python \
@@ -76,6 +73,18 @@ CONFIGURE_ARGS+= \
--without-debug \
--without-mem-debug \
--without-debugger \
--without-profiler \
--without-plugins
HOST_CONFIGURE_ARGS += \
--with-libxml-prefix=$(STAGING_DIR_HOSTPKG) \
--without-python \
--without-crypto \
--without-debug \
--without-mem-debug \
--without-debugger \
--without-profiler \
--without-plugins
define Build/InstallDev/Xslt
$(INSTALL_DIR) $(1)/usr/bin $(2)/bin $(1)/usr/include/libxslt \
@@ -129,16 +138,6 @@ define Build/InstallDev
$(if $(CONFIG_PACKAGE_libexslt),$(call Build/InstallDev/Exslt,$(1),$(2)))
endef
HOST_CONFIGURE_ARGS+= \
--disable-silent-rules \
--enable-static \
--with-libxml-prefix=$(STAGING_DIR_HOSTPKG) \
--without-python \
--without-crypto \
--without-debug \
--without-mem-debug \
--without-debugger
define Package/libxslt/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) \