alpine: update to 2.22

Switch to standard tarballs. Remove autoreconf as a result.

Simplify NLS and IPv6 handling. Removed options are default.

Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-02-25 20:45:22 -08:00
parent 192b8a4aa7
commit 1ef307b51a
2 changed files with 7 additions and 83 deletions
+7 -22
View File
@@ -8,21 +8,17 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=alpine
PKG_VERSION:=2.21.9999
PKG_RELEASE:=2
PKG_VERSION:=2.22
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=http://repo.or.cz/alpine.git
PKG_SOURCE_VERSION:=d3e6f3932f2af9deca8eed09e30a55e9bd524362
PKG_MIRROR_HASH:=72f9e8c4c3ecbd5f73f527af98ad23f716fcede3af0ab0400c6e0bc9b1288e30
PKG_SOURCE_URL:=http://alpine.x10host.com/alpine/release/src
PKG_HASH:=849567c1b6f71fde3aaa1c97cf0577b12a525d9e22c0ea47797c4bf1cd2bbfdb
PKG_MAINTAINER:=Antti Seppälä <a.seppala@gmail.com>
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
@@ -80,6 +76,7 @@ CONFIGURE_ARGS += \
--disable-debug \
--disable-mouse \
--with-c-client-target=slx \
$(if $(CONFIG_IPV6),--with,--without)-ipv6
CONFIGURE_VARS += \
top_builddir=$(PKG_BUILD_DIR)
@@ -88,23 +85,11 @@ ifeq ($(BUILD_VARIANT),ssl)
CONFIGURE_ARGS += \
--with-ssl-include-dir=$(STAGING_DIR)/usr/include/openssl/. \
--with-ssl-lib-dir=$(STAGING_DIR)/usr/lib
endif
ifeq ($(BUILD_VARIANT),nossl)
else
CONFIGURE_ARGS += \
--without-ssl
endif
ifeq ($(CONFIG_BUILD_NLS),y)
DISABLE_NLS:=
endif
ifeq ($(CONFIG_IPV6),y)
DISABLE_IPV6:=
else
DISABLE_IPV6:=--without-ipv6
endif
define Build/Compile
( cd $(PKG_BUILD_DIR)/pith ; \
$(HOSTCC) help_h_gen.c -c -o help_h_gen.o ; \
@@ -117,7 +102,7 @@ endef
define Package/alpine/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/$(PKG_NAME)
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/alpine $(1)/usr/bin/
endef
Package/alpine-nossl/install = $(Package/alpine/install)