X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by lists.alpinelinux.org (Postfix) with ESMTP id 7C533F8161A for ; Fri, 26 Apr 2019 10:47:12 +0000 (UTC) Received: by mail-wm1-f51.google.com with SMTP id y197so3753604wmd.0 for ; Fri, 26 Apr 2019 03:47:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GcdC8olOmfLDIlstoLCcYPccRs3qn9w0U5/17OtFYx4=; b=DwbDJgLjmMjxViV/WC7LsQdbJJHafIXPOuQ9KZiAh6uyG0cJiPsMoqwdkpzWooQslY gitxW5RR7+IWnghOsLajsrNiYgGzsIEn2Psui5BaaypwQG+F5IQ4uQUM61WYz1AG96/t VdIgMijMvzlOgpDwT+EUNt2IbhMA+Fty7yC1nydQAnVauKumo3889T+A0ABIz/Sg++Y7 3UnsPHD1d+fRHQwzbugOgmSG+2/Jd69PEAbOBUBuzYl1WLnxfp7sBBJVr4r3WYENxpVU DaHTKxmOH/k3pOtncnhikStvu3yrFhLmApN8qReCqHRYP9+I9Dm1p/r0hSN/p6QTOETW 8vKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=GcdC8olOmfLDIlstoLCcYPccRs3qn9w0U5/17OtFYx4=; b=gqgdqLg43qYT/WfHXB2pcgRtwLC8eqqHZQAI4IPCT7JFririYpfy9Nqgn6o2FqAPai fwfBJN1lNv+oHDzyWCCBYx7PzJdoUtyginst4c9fto97ncaaLBsWaBbBOkFUVGqqHlf0 6RPAQxll5K4ZYBOWFoFIC0NdsbMbyBTvxuOXfEpmSOfkEZp4IIMAKUi3afMoecnWnK/Z 4SBjgAl9Z7JBqdgQ4QRbVlyasZBQA8hys//yaMfqCtJUKTaC4U1nQDcTnBn9MLY+QKMF bmzRK6NxWLbW92sZpZrKIWABT50KwBZtoVy/ELaK6oMt3Wfrena23ZstRa40WWfu5Ahx FABQ== X-Gm-Message-State: APjAAAW4Oh9amRgSeALkcwKX3tXU17iuR+kxJ8xH94mYWkEd0XcU+yA9 IsS8z+IK0iBYzxbflYW9ik/2RQ9f X-Google-Smtp-Source: APXvYqxmKL5lhIhSRfGtDKjxUCW5lwADrxVjKe6Ln+a3w3If6Z7JYmXf5uU8+LNEx77Wt63Iw6HG9g== X-Received: by 2002:a7b:cb11:: with SMTP id u17mr5593150wmj.144.1556275631441; Fri, 26 Apr 2019 03:47:11 -0700 (PDT) Received: from greyjay.cam.docker.com ([194.72.166.2]) by smtp.gmail.com with ESMTPSA id e16sm32129845wrs.0.2019.04.26.03.47.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Apr 2019 03:47:10 -0700 (PDT) Sender: mort From: Richard Mortier To: alpine-aports@lists.alpinelinux.org Cc: Richard Mortier Subject: [alpine-aports] [PATCH] main/alpine-conf: fix invocation of `openssl` when listing ciphers Date: Fri, 26 Apr 2019 11:47:02 +0100 Message-Id: <20190426104702.36287-1-mort@cantab.net> X-Mailer: git-send-email 2.21.0 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit openssl.1.1.1b appears to have replaced `list-cipher-commands` with `enc-ciphers` --- .../0001-update-lbu-openssl-invocation.patch | 26 +++++++++++++++++++ main/alpine-conf/APKBUILD | 6 +++-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 main/alpine-conf/0001-update-lbu-openssl-invocation.patch diff --git a/main/alpine-conf/0001-update-lbu-openssl-invocation.patch b/main/alpine-conf/0001-update-lbu-openssl-invocation.patch new file mode 100644 index 0000000000..f7087c8da9 --- /dev/null +++ b/main/alpine-conf/0001-update-lbu-openssl-invocation.patch @@ -0,0 +1,26 @@ +From 921a66c96c97634450c456b5ead039a20fa408e8 Mon Sep 17 00:00:00 2001 +From: Richard Mortier +Date: Fri, 26 Apr 2019 10:39:39 +0100 +Subject: [PATCH] lbu: fix invocation of `openssl list-cipher-commands` for + v1.1.1b + +--- + lbu.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lbu.in b/lbu.in +index 61be708..f439cf2 100644 +--- a/lbu.in ++++ b/lbu.in +@@ -126,7 +126,7 @@ check_openssl() { + [ -z "$ENCRYPTION" ] && return 0 + OPENSSL=$(which openssl 2>/dev/null) || die "openssl was not found" + +- $OPENSSL list-cipher-commands | grep "^$ENCRYPTION$" > /dev/null \ ++ $OPENSSL enc -ciphers | grep "^$ENCRYPTION$" > /dev/null \ + || die "Cipher $ENCRYPTION is not supported" + } + +-- +2.21.0 + diff --git a/main/alpine-conf/APKBUILD b/main/alpine-conf/APKBUILD index e705a01210..82c88ffc44 100644 --- a/main/alpine-conf/APKBUILD +++ b/main/alpine-conf/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=alpine-conf pkgver=3.8.1 -pkgrel=4 +pkgrel=5 pkgdesc="Alpine configuration management scripts" url=http://git.alpinelinux.org/cgit/$pkgname arch="all" @@ -12,6 +12,7 @@ source="https://dev.alpinelinux.org/archive/alpine-conf/alpine-conf-$pkgver.tar. 0001-update-kernel-include-regulatory-database.patch 0001-update-kernel-add-modloopfw-option.patch 0001-update-kernel-include-associated-firmware-files-to-m.patch + 0001-update-lbu-openssl-invocation.patch " builddir="$srcdir"/$pkgname-$pkgver @@ -32,4 +33,5 @@ sha512sums="6aa0f0eaab6ee1ff8f9259d5c4e4634bf6d736a2cb52efb3cbabfdfcdd5dcd81b9fe 4b1b88b66a0771720e1991534c0d55b17293d0d9c3e4064d4210c2edd2fcbe8f6691bf5336b5492312df6160aad8f17b4bb4f9174efd4bad342472b3ad2a16bc 0001-setup-alpine-setup-ntp-before-repos.patch 544498b30bd57c84521a4fd5fbd45791b9307dcd29532278f45b61fb14d6405b5454e98fb535fd31331793b806ef897e208c3c6f8bc772dbd55ae2c61abcb402 0001-update-kernel-include-regulatory-database.patch 65f6f79a841ab661ab5fdd41c5e78f4bb74bbc4b1d252291d64cb9d5afa6853133d562c2069bf138b39407c8a0ecc37697b5d17534ded7b8dab8490be6a13698 0001-update-kernel-add-modloopfw-option.patch -bfdaa44b0e02fb49c74ff8a6f3292356a6856a1a8aac005d14fe396f02a1c881658c1d9cfe69216fdf0f7c0cfad547cff57270bb8ab87390f0e1e9addfb68fe9 0001-update-kernel-include-associated-firmware-files-to-m.patch" +bfdaa44b0e02fb49c74ff8a6f3292356a6856a1a8aac005d14fe396f02a1c881658c1d9cfe69216fdf0f7c0cfad547cff57270bb8ab87390f0e1e9addfb68fe9 0001-update-kernel-include-associated-firmware-files-to-m.patch +dd995435797f0a26c86be375adfa0ffef11aa232d1ef620c315bcfaf2ab918222179cbba6d6f46fad7022c3abfff8212ff406028e7919c6a0789085167bf3013 0001-update-lbu-openssl-invocation.patch" -- 2.21.0 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---