summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2018-05-22 21:56:51 +0300
committerPeter Korsgaard <peter@korsgaard.com>2018-05-22 23:32:47 +0200
commit879aada6c6c4b0331f6231582032f66bd82a3104 (patch)
treeb5e02e09bf22bf2cb0ba2f231e77c64b6bb4dd7f
parent3466298b0fa334e66050fede0629ad0f35baf21e (diff)
downloadbuildroot-879aada6c6c4b0331f6231582032f66bd82a3104.tar.gz
buildroot-879aada6c6c4b0331f6231582032f66bd82a3104.zip
opkg: bump to version 0.3.6
Use upstream provided tarball and hash. The tarball conf/ subdirectory contains symlinks to host automake and libtool scripts. We can't rely on these being present or usable. Remove the symlinks, and keep autoreconf to populate the conf/ subdirectory using Buildroot provided autotools. Cc: Derek Baker <Derek-Baker@idexx.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/opkg/opkg.hash4
-rw-r--r--package/opkg/opkg.mk15
2 files changed, 13 insertions, 6 deletions
diff --git a/package/opkg/opkg.hash b/package/opkg/opkg.hash
index 80f3f0d1d2..321c41dbd0 100644
--- a/package/opkg/opkg.hash
+++ b/package/opkg/opkg.hash
@@ -1,2 +1,2 @@
-# Locally computed
-sha256 2ec7157ccf866e49ca139e3632ba1ca9d61dc24382606b55062e423161a530b0 opkg-v0.3.1.tar.gz
+# From http://downloads.yoctoproject.org/releases/opkg/SHA256SUMS
+sha256 f607f0e61be8cf8a3bbd0d2dccd9ec9e9b6c21dd4307b671c600d6eeaf84d30b opkg-0.3.6.tar.gz
diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
index 0c7e15ea75..4d34c6d4d3 100644
--- a/package/opkg/opkg.mk
+++ b/package/opkg/opkg.mk
@@ -4,15 +4,14 @@
#
################################################################################
-OPKG_VERSION = v0.3.1
-OPKG_SITE = http://git.yoctoproject.org/git/opkg
-OPKG_SITE_METHOD = git
-# Uses PKG_CHECK_MODULES() in configure.ac
+OPKG_VERSION = 0.3.6
+OPKG_SITE = http://downloads.yoctoproject.org/releases/opkg
OPKG_DEPENDENCIES = host-pkgconf libarchive
OPKG_LICENSE = GPL-2.0+
OPKG_LICENSE_FILES = COPYING
OPKG_INSTALL_STAGING = YES
OPKG_CONF_OPTS = --disable-curl
+# Populate the conf/ directory
OPKG_AUTORECONF = YES
# Ensure directory for lockfile exists
@@ -20,6 +19,14 @@ define OPKG_CREATE_LOCKDIR
mkdir -p $(TARGET_DIR)/usr/lib/opkg
endef
+# The conf/ directory contains symlinks to host automake and libtool provided
+# scripts. Don't rely on them being present.
+define OPKG_REMOVE_AUTOTOOLS_SYMLINKS
+ rm $(@D)/conf/*
+endef
+
+OPKG_POST_EXTRACT_HOOKS += OPKG_REMOVE_AUTOTOOLS_SYMLINKS
+
ifeq ($(BR2_PACKAGE_OPKG_GPG_SIGN),y)
OPKG_CONF_OPTS += --enable-gpg
OPKG_CONF_ENV += \
OpenPOWER on IntegriCloud