From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 31 Aug 2023 12:31:45 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qbexm-00FpDq-Kn for lore@lore.pengutronix.de; Thu, 31 Aug 2023 12:31:45 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qbexj-0001Vw-Ls; Thu, 31 Aug 2023 12:31:43 +0200 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qbex9-0001T0-PH; Thu, 31 Aug 2023 12:31:07 +0200 Received: from rhi by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1qbex9-0005v3-EW; Thu, 31 Aug 2023 12:31:07 +0200 Date: Thu, 31 Aug 2023 12:31:07 +0200 From: Roland Hieber To: Christian Melki , ptxdist@pengutronix.de Message-ID: <20230831103107.bbyat6kh72f2zp5f@pengutronix.de> References: <20230811173859.1426260-1-christian.melki@t2data.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Subject: Re: [ptxdist] [PATCH] libcap-ng: Add another fetch option. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Mon, Aug 28, 2023 at 05:35:51PM +0200, Michael Olbrich wrote: > On Fri, Aug 11, 2023 at 07:38:59PM +0200, Christian Melki wrote: > > people.redhat.com is down again. > > Not a lot depend on it but libcap-ng is common in a lot of builds. > > The github variant doesn't come in a "make dist" release. > > A debian mirror of the source might do. > > The problem with the Debian pool is, that it only contains the archives for > the releases currently available in a Debian release. So the archive may > disappear. And as a secondary URL, 'ptxdist urlcheck' will not fail while > the primary URL is available. Another option is to use the pool URLs from snapshot.debian.org, see for example rules/lsof.make: https://snapshot.debian.org/archive/debian/20190908T172415Z/pool/main/l/lsof/$(LSOF_TARBALL) (I think the timestamp in the URL can just be any valid timestamp.) - Roland > The server seems to be back now anyway. So I'd like to stick to just the > original URL for now. I'll reconsider if this happens more often, but it > doesn't look like it so far from what I can tell from my regular checks. > > Michael > > > Signed-off-by: Christian Melki > > --- > > rules/libcap-ng.make | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/rules/libcap-ng.make b/rules/libcap-ng.make > > index 530af64ef..64786e872 100644 > > --- a/rules/libcap-ng.make > > +++ b/rules/libcap-ng.make > > @@ -18,7 +18,9 @@ LIBCAP_NG_VERSION := 0.8.3 > > LIBCAP_NG_MD5 := cdfc750af32f681293e43c5c1bd427c8 > > LIBCAP_NG := libcap-ng-$(LIBCAP_NG_VERSION) > > LIBCAP_NG_SUFFIX := tar.gz > > -LIBCAP_NG_URL := http://people.redhat.com/sgrubb/libcap-ng/$(LIBCAP_NG).$(LIBCAP_NG_SUFFIX) > > +LIBCAP_NG_URL := \ > > + https://people.redhat.com/sgrubb/libcap-ng/$(LIBCAP_NG).$(LIBCAP_NG_SUFFIX) \ > > + https://deb.debian.org/debian/pool/main/libc/libcap-ng/libcap-ng_$(LIBCAP_NG_VERSION).orig.$(LIBCAP_NG_SUFFIX) > > LIBCAP_NG_SOURCE := $(SRCDIR)/$(LIBCAP_NG).$(LIBCAP_NG_SUFFIX) > > LIBCAP_NG_DIR := $(BUILDDIR)/$(LIBCAP_NG) > > LIBCAP_NG_LICENSE := LGPL-2.1-or-later AND GPL-2.0-or-later > > -- > > 2.34.1 > > > > > > > > -- > 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 | > > -- Roland Hieber, Pengutronix e.K. | r.hieber@pengutronix.de | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |