From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 15 Apr 2026 12:14:14 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wCxGA-00CNY0-0W for lore@lore.pengutronix.de; Wed, 15 Apr 2026 12:14:14 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wCxGA-0005Uz-0c; Wed, 15 Apr 2026 12:14:14 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1wCxFt-0005UJ-Gv; Wed, 15 Apr 2026 12:13:57 +0200 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wCxFt-005Ulo-0U; Wed, 15 Apr 2026 12:13:57 +0200 Received: from mol by pty.whiteo.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1wCxFt-0000000BWmN-0CZu; Wed, 15 Apr 2026 12:13:57 +0200 Date: Wed, 15 Apr 2026 12:13:57 +0200 From: Michael Olbrich To: Andreas Helmcke Message-ID: Mail-Followup-To: Andreas Helmcke , ptxdist@pengutronix.de, Christian Melki References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-IRC: #ptxdist @freenode Subject: Re: [ptxdist] Source for opkg, opkg-utils, downloadlinks are broken 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 Cc: Christian Melki , 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.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Hi, On Fri, Apr 10, 2026 at 07:31:23PM +0200, Andreas Helmcke wrote: > I have problems finding a working source for opkg-utils. > > As far as I can tell git.yoctoproject.org killed off their snapshot functionality again. This time also for .tar.gz. Right. Probably a anti AI crawler action :-/. > Trying to fetch snapshots result in > Unsupported snapshot format: opkg-utils-0.7.0.tar.gz > > For opkg tarballs still can be found at: > https://downloads.yoctoproject.org/releases/opkg/ > so opkg.make can be fixed by changing the download url. > > Unfortunately, this doesn't work for opkg-utils, since there are no tarballs for opkg-utils at https://downloads.yoctoproject.org/releases/. > > I tried to switch to git but I do not know how to get it working with opkg-utils. > > The easy way with > HOST_OPKG_UTILS_URL := https://git.yoctoproject.org/opkg-utils;tag=$(HOST_OPKG_UTILS_VERSION) > > doesn't work, because ptdist doesn't recognize that it's an URL to a Git repository because it does not end with .git. > > >From https://ptxdist.de/doc/ref_make_variables.html: > > _URL > .... > Git URLs must either start with ‘git://’ or end with ‘.git’. They have a mandatory tag= option. > > What is the best way to solve the problem? As Christian Melki showed with his patches, you can use 'git+https://' to tell PTXdist that this is a git URL. We should add that to the documentation. In general, for most (if not all) git servers, it is possible to just add the '.git' suffix. It will be ignored by the server. So this should work as well: HOST_OPKG_UTILS_URL := https://git.yoctoproject.org/opkg-utils.git;tag=$(HOST_OPKG_UTILS_VERSION) Michael -- 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 |