mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2] softhsm: fix download URL
@ 2025-04-04 14:53 Michael Tretter
  2025-04-25  8:12 ` Holger Assmann
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Tretter @ 2025-04-04 14:53 UTC (permalink / raw)
  To: ptxdist; +Cc: Michael Tretter

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>
---
v2: keep previous md5sum for cached source downloads
---
 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..4f2670bb900f 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	:= 040b93ca327cbe0a3a8661e7c371ab16 2f6f21d859ad08fec55c61bb4e1747c4
 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [PATCH v2] softhsm: fix download URL
  2025-04-04 14:53 [ptxdist] [PATCH v2] softhsm: fix download URL Michael Tretter
@ 2025-04-25  8:12 ` Holger Assmann
  2025-04-26 10:42   ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Holger Assmann @ 2025-04-25  8:12 UTC (permalink / raw)
  To: ptxdist, Michael Tretter

Hi,

Am 04.04.25 um 16:53 schrieb Michael Tretter:
> +++ 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	:= 040b93ca327cbe0a3a8661e7c371ab16 2f6f21d859ad08fec55c61bb4e1747c4
>  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

In SOFTHSM_URL, you need to replace HOST_SOFTHSM_ with just SOFTHSM_ for
this - and the accompanying host-rule - to work properly.

Greetings,
Holger

-- 
Pengutronix e.K.                         | Holger Assmann              |
Steuerwalder Str. 21                     | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [PATCH v2] softhsm: fix download URL
  2025-04-25  8:12 ` Holger Assmann
@ 2025-04-26 10:42   ` Michael Olbrich
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2025-04-26 10:42 UTC (permalink / raw)
  To: Holger Assmann; +Cc: ptxdist, Michael Tretter

On Fri, Apr 25, 2025 at 10:12:49AM +0200, Holger Assmann wrote:
> Hi,
> 
> Am 04.04.25 um 16:53 schrieb Michael Tretter:
> > +++ 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	:= 040b93ca327cbe0a3a8661e7c371ab16 2f6f21d859ad08fec55c61bb4e1747c4
> >  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
> 
> In SOFTHSM_URL, you need to replace HOST_SOFTHSM_ with just SOFTHSM_ for
> this - and the accompanying host-rule - to work properly.

I'll fix it when I apply the patch.

Michael

> Greetings,
> Holger
> 
> -- 
> Pengutronix e.K.                         | Holger Assmann              |
> Steuerwalder Str. 21                     | http://www.pengutronix.de/  |
> 31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |
> 
> 
> 

-- 
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 |



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-26 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-04 14:53 [ptxdist] [PATCH v2] softhsm: fix download URL Michael Tretter
2025-04-25  8:12 ` Holger Assmann
2025-04-26 10:42   ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox