From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 007D8138334 for ; Tue, 21 May 2019 14:28:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF452E07A7; Tue, 21 May 2019 14:28:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D1707E07A7 for ; Tue, 21 May 2019 14:28:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 914DE344CFE for ; Tue, 21 May 2019 14:28:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 73CB757B for ; Tue, 21 May 2019 14:28:34 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1558448891.a2d1f0c672088831531c92508f8e4bf6a3e6480c.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: /, travis/ X-VCS-Repository: proj/portage-utils X-VCS-Files: .travis.yml travis/install-blake2.sh X-VCS-Directories: travis/ / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: a2d1f0c672088831531c92508f8e4bf6a3e6480c X-VCS-Branch: master Date: Tue, 21 May 2019 14:28:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3f2e2d52-e845-4e49-aff9-8b9a219ad042 X-Archives-Hash: 8aa0b826b4f0f06843622237c28185b7 commit: a2d1f0c672088831531c92508f8e4bf6a3e6480c Author: Fabian Groffen gentoo org> AuthorDate: Tue May 21 14:28:11 2019 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Tue May 21 14:28:11 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=a2d1f0c6 travis: attempt to install blake2 Signed-off-by: Fabian Groffen gentoo.org> .travis.yml | 1 + travis/install-blake2.sh | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/.travis.yml b/.travis.yml index fb4c521..5e788a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,4 +24,5 @@ addons: before_install: - ./travis/install-iniparser.sh + - ./travis/install-blake2.sh script: ./travis/main.sh diff --git a/travis/install-blake2.sh b/travis/install-blake2.sh new file mode 100755 index 0000000..1ee6f1e --- /dev/null +++ b/travis/install-blake2.sh @@ -0,0 +1,27 @@ +#!/bin/bash -e + +. "${0%/*}"/lib.sh + +main() { + local pv="0.98.1" + local S="libb2-${pv}" + travis_fold start dep-blake2 + rm -rf libb2* + v mkdir -p ../sysroot + v wget https://github.com/BLAKE2/libb2/releases/download/v${pv}/libb2-${pv}.tar.gz + v tar xf libb2-${pv}.tar.gz + ( + cd "${S}" + ./configure \ + --enable-static \ + --disable-shared \ + --prefix=/ \ + --libdir=/ \ + --includedir=/ + m + m DESTDIR=../../sysroot install + ) + v rm -rf libb2* + travis_fold end dep-blake2 +} +main "$@"