mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] rtmpdump: update URL
@ 2023-11-14  9:58 Roland Hieber
  2023-11-14 16:35 ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Hieber @ 2023-11-14  9:58 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

The gitweb instance at git.ffmpeg.org no longer allows exporting
snapshot archives. Switch to cloning the Git repository instead.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 rules/rtmpdump.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/rtmpdump.make b/rules/rtmpdump.make
index 95971995d984..5e4695c47d40 100644
--- a/rules/rtmpdump.make
+++ b/rules/rtmpdump.make
@@ -19,7 +19,7 @@ RTMPDUMP_VERSION	:= 2021-02-19-gf1b83c10d8be
 RTMPDUMP_MD5		:= 33390d59c4eac5ae34ac155804d44fb6
 RTMPDUMP		:= rtmpdump-$(RTMPDUMP_VERSION)
 RTMPDUMP_SUFFIX		:= tar.gz
-RTMPDUMP_URL		:= http://git.ffmpeg.org/gitweb/rtmpdump.git/snapshot/$(RTMPDUMP_VERSION).$(RTMPDUMP_SUFFIX)
+RTMPDUMP_URL		:= git://git.ffmpeg.org/rtmpdump.git;tag=$(RTMPDUMP_VERSION)
 RTMPDUMP_SOURCE		:= $(SRCDIR)/$(RTMPDUMP).$(RTMPDUMP_SUFFIX)
 RTMPDUMP_DIR		:= $(BUILDDIR)/$(RTMPDUMP)
 RTMPDUMP_LICENSE	:= LGPL-2.1-or-later AND GPL-2.0-or-later
-- 
2.39.2




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

* Re: [ptxdist] [PATCH] rtmpdump: update URL
  2023-11-14  9:58 [ptxdist] [PATCH] rtmpdump: update URL Roland Hieber
@ 2023-11-14 16:35 ` Michael Olbrich
  2023-11-21 10:49   ` [ptxdist] [PATCH v2] " Roland Hieber
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Olbrich @ 2023-11-14 16:35 UTC (permalink / raw)
  To: Roland Hieber, ptxdist

On Tue, Nov 14, 2023 at 10:58:03AM +0100, Roland Hieber wrote:
> The gitweb instance at git.ffmpeg.org no longer allows exporting
> snapshot archives. Switch to cloning the Git repository instead.

But it should work with http as well, right? That works better for
firewalls.

Michael

> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  rules/rtmpdump.make | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/rules/rtmpdump.make b/rules/rtmpdump.make
> index 95971995d984..5e4695c47d40 100644
> --- a/rules/rtmpdump.make
> +++ b/rules/rtmpdump.make
> @@ -19,7 +19,7 @@ RTMPDUMP_VERSION	:= 2021-02-19-gf1b83c10d8be
>  RTMPDUMP_MD5		:= 33390d59c4eac5ae34ac155804d44fb6
>  RTMPDUMP		:= rtmpdump-$(RTMPDUMP_VERSION)
>  RTMPDUMP_SUFFIX		:= tar.gz
> -RTMPDUMP_URL		:= http://git.ffmpeg.org/gitweb/rtmpdump.git/snapshot/$(RTMPDUMP_VERSION).$(RTMPDUMP_SUFFIX)
> +RTMPDUMP_URL		:= git://git.ffmpeg.org/rtmpdump.git;tag=$(RTMPDUMP_VERSION)
>  RTMPDUMP_SOURCE		:= $(SRCDIR)/$(RTMPDUMP).$(RTMPDUMP_SUFFIX)
>  RTMPDUMP_DIR		:= $(BUILDDIR)/$(RTMPDUMP)
>  RTMPDUMP_LICENSE	:= LGPL-2.1-or-later AND GPL-2.0-or-later
> -- 
> 2.39.2
> 
> 
> 

-- 
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] 4+ messages in thread

* [ptxdist] [PATCH v2] rtmpdump: update URL
  2023-11-14 16:35 ` Michael Olbrich
@ 2023-11-21 10:49   ` Roland Hieber
  2023-11-28  8:37     ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Hieber @ 2023-11-21 10:49 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

The gitweb instance at git.ffmpeg.org no longer allows exporting
snapshot archives. Switch to cloning the Git repo over HTTPS instead,
and update the md5sum because newer Git versions create different path
names inside the tar.gz ("rtmpdump-2021-02-19-gf1b83c10d8be/" instead of
"rtmpdump-2021-02-19-gf1b83c10d8be-f1b83c1/").

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
PATCH v2:
 - git-clone over HTTPS, adapt md5sum

PATCH v1: https://lore.ptxdist.org/ptxdist/20231114095802.1858942-1-rhi@pengutronix.de
---
 rules/rtmpdump.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/rtmpdump.make b/rules/rtmpdump.make
index 95971995d984..81127c23f61b 100644
--- a/rules/rtmpdump.make
+++ b/rules/rtmpdump.make
@@ -16,10 +16,10 @@ PACKAGES-$(PTXCONF_RTMPDUMP) += rtmpdump
 #
 # No tags: use a fake descriptive commit-ish to include the date
 RTMPDUMP_VERSION	:= 2021-02-19-gf1b83c10d8be
-RTMPDUMP_MD5		:= 33390d59c4eac5ae34ac155804d44fb6
+RTMPDUMP_MD5		:= 33390d59c4eac5ae34ac155804d44fb6 b0f9380fc56d42e5a12094c467188de9
 RTMPDUMP		:= rtmpdump-$(RTMPDUMP_VERSION)
 RTMPDUMP_SUFFIX		:= tar.gz
-RTMPDUMP_URL		:= http://git.ffmpeg.org/gitweb/rtmpdump.git/snapshot/$(RTMPDUMP_VERSION).$(RTMPDUMP_SUFFIX)
+RTMPDUMP_URL		:= git+https://git.ffmpeg.org/rtmpdump.git;tag=$(RTMPDUMP_VERSION)
 RTMPDUMP_SOURCE		:= $(SRCDIR)/$(RTMPDUMP).$(RTMPDUMP_SUFFIX)
 RTMPDUMP_DIR		:= $(BUILDDIR)/$(RTMPDUMP)
 RTMPDUMP_LICENSE	:= LGPL-2.1-or-later AND GPL-2.0-or-later
-- 
2.39.2




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

* Re: [ptxdist] [APPLIED] rtmpdump: update URL
  2023-11-21 10:49   ` [ptxdist] [PATCH v2] " Roland Hieber
@ 2023-11-28  8:37     ` Michael Olbrich
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2023-11-28  8:37 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

Thanks, applied as 8d05d5d64a6183e3e8b7c738ac12952cc71ed34d.

Michael

[sent from post-receive hook]

On Tue, 28 Nov 2023 09:37:02 +0100, Roland Hieber <rhi@pengutronix.de> wrote:
> The gitweb instance at git.ffmpeg.org no longer allows exporting
> snapshot archives. Switch to cloning the Git repo over HTTPS instead,
> and update the md5sum because newer Git versions create different path
> names inside the tar.gz ("rtmpdump-2021-02-19-gf1b83c10d8be/" instead of
> "rtmpdump-2021-02-19-gf1b83c10d8be-f1b83c1/").
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> Message-Id: <20231121104929.3620868-1-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/rtmpdump.make b/rules/rtmpdump.make
> index 95971995d984..81127c23f61b 100644
> --- a/rules/rtmpdump.make
> +++ b/rules/rtmpdump.make
> @@ -16,10 +16,10 @@ PACKAGES-$(PTXCONF_RTMPDUMP) += rtmpdump
>  #
>  # No tags: use a fake descriptive commit-ish to include the date
>  RTMPDUMP_VERSION	:= 2021-02-19-gf1b83c10d8be
> -RTMPDUMP_MD5		:= 33390d59c4eac5ae34ac155804d44fb6
> +RTMPDUMP_MD5		:= 33390d59c4eac5ae34ac155804d44fb6 b0f9380fc56d42e5a12094c467188de9
>  RTMPDUMP		:= rtmpdump-$(RTMPDUMP_VERSION)
>  RTMPDUMP_SUFFIX		:= tar.gz
> -RTMPDUMP_URL		:= http://git.ffmpeg.org/gitweb/rtmpdump.git/snapshot/$(RTMPDUMP_VERSION).$(RTMPDUMP_SUFFIX)
> +RTMPDUMP_URL		:= git+https://git.ffmpeg.org/rtmpdump.git;tag=$(RTMPDUMP_VERSION)
>  RTMPDUMP_SOURCE		:= $(SRCDIR)/$(RTMPDUMP).$(RTMPDUMP_SUFFIX)
>  RTMPDUMP_DIR		:= $(BUILDDIR)/$(RTMPDUMP)
>  RTMPDUMP_LICENSE	:= LGPL-2.1-or-later AND GPL-2.0-or-later



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

end of thread, other threads:[~2023-11-28  8:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-14  9:58 [ptxdist] [PATCH] rtmpdump: update URL Roland Hieber
2023-11-14 16:35 ` Michael Olbrich
2023-11-21 10:49   ` [ptxdist] [PATCH v2] " Roland Hieber
2023-11-28  8:37     ` [ptxdist] [APPLIED] " Michael Olbrich

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