From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Michael Tretter <m.tretter@pengutronix.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] softhsm: fix download URL
Date: Fri, 4 Apr 2025 16:33:44 +0200 [thread overview]
Message-ID: <Z-_tyO79YPV2JPPt@pengutronix.de> (raw)
In-Reply-To: <20250404104538.934388-1-m.tretter@pengutronix.de>
On Fri, Apr 04, 2025 at 12:45:38PM +0200, Michael Tretter wrote:
> dist.opendnssec.org is not available anymore. https://www.softhsm.org/
> refers to GitHub for official releases. Update the download URL and
> checksum.
>
> Add an autogen.sh link, since the tarball from GitHub doesn't contain
> the configure script.
>
> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
> ---
> patches/softhsm-2.6.1/autogen.sh | 1 +
> rules/softhsm.make | 4 ++--
> 2 files changed, 3 insertions(+), 2 deletions(-)
> create mode 120000 patches/softhsm-2.6.1/autogen.sh
>
> diff --git a/patches/softhsm-2.6.1/autogen.sh b/patches/softhsm-2.6.1/autogen.sh
> new file mode 120000
> index 000000000000..9f8a4cb7ddcb
> --- /dev/null
> +++ b/patches/softhsm-2.6.1/autogen.sh
> @@ -0,0 +1 @@
> +../autogen.sh
> \ No newline at end of file
> diff --git a/rules/softhsm.make b/rules/softhsm.make
> index bc16dc6a5bee..3d14198b6a26 100644
> --- a/rules/softhsm.make
> +++ b/rules/softhsm.make
> @@ -15,10 +15,10 @@ PACKAGES-$(PTXCONF_SOFTHSM) += softhsm
> # Paths and names
> #
> SOFTHSM_VERSION := 2.6.1
> -SOFTHSM_MD5 := 040b93ca327cbe0a3a8661e7c371ab16
> +SOFTHSM_MD5 := 2f6f21d859ad08fec55c61bb4e1747c4
The archive filename remains the same, so this would break with already
cached archives. Add the new md5 before the old one (with a space as
separator). The way, either one is valid.
And calling autogen.sh for the old one should work as well.
> SOFTHSM := softhsm-$(SOFTHSM_VERSION)
> SOFTHSM_SUFFIX := tar.gz
> -SOFTHSM_URL := https://dist.opendnssec.org/source/$(SOFTHSM).$(SOFTHSM_SUFFIX)
> +SOFTHSM_URL := https://github.com/softhsm/SoftHSMv2/archive/refs/tags/$(HOST_SOFTHSM_VERSION).$(HOST_SOFTHSM_SUFFIX)
> SOFTHSM_SOURCE := $(SRCDIR)/$(SOFTHSM).$(SOFTHSM_SUFFIX)
> SOFTHSM_DIR := $(BUILDDIR)/$(SOFTHSM)
> SOFTHSM_LICENSE := BSD-2-Clause
> --
> 2.39.5
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2025-04-04 14:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-04 10:45 Michael Tretter
2025-04-04 14:33 ` Michael Olbrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z-_tyO79YPV2JPPt@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=m.tretter@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox