NetBSD Problem Report #59005

From www@netbsd.org  Sat Jan 18 19:14:31 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B4B951A923B
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 18 Jan 2025 19:14:31 +0000 (UTC)
Message-Id: <20250118191430.5F76B1A923C@mollari.NetBSD.org>
Date: Sat, 18 Jan 2025 19:14:30 +0000 (UTC)
From: als@thangorodrim.ch
Reply-To: als@thangorodrim.ch
To: gnats-bugs@NetBSD.org
Subject: pkgsrc package cad/eagle original distribution site is gone
X-Send-Pr-Version: www-1.0

>Number:         59005
>Category:       pkg
>Synopsis:       pkgsrc package cad/eagle original distribution site is gone
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 18 19:15:00 +0000 2025
>Originator:     Alexander Schreiber
>Release:        pkgsrc-2024Q3
>Organization:
Not Much
>Environment:
NetBSD 10.1 amd64 - this is not a platform issue
>Description:
"make fetch" for pkgsrc package cad/eagle fails because:
 - it first synthesizes an invalid hostname:
    ftp: Can't LOOKUP `web.cadsoft.de:http': No address associated with hostname
 - when using the correct URL http://web.cadsoft.de/ftp/eagle/program/7.7/eagle-lin32-7.7.0.run
   it turns out that web.cadsoft.de does not resolve
 - whatever cadsoft.de _used_ to be (presumably a CAD software company), the website now
   presents as a suspicious looking "financial portal" platform (maybe real, maybe scam,
   didn't dig to find out) - CadSoft apparently was acquired by AutoDesk in 2016
 - grabbing it from cdn.netbsd.org fails because the source package is not redistributable, so the
   CDN is not supposed to cache it

Looking for the filename finds a download at Autodesk, which acquired CadSoft in 2016 where
it is offered as "Audodesk Eagle" which seems to have been developed until 2020:

http://eagle.autodesk.com/eagle/software-versions/

The Eagle 7.7 32bit Linux version is here: http://eagle.autodesk.com/eagle/software-versions/1
under the URL http://eagle.autodesk.com/eagle/download-software/3  - which is ... not great,
but it appears to be the shell executable installer pkgsrc is looking for.

The 7.7 version is offered as both a 32 and a 64 bit binary, later versions unsurprisingly
are 64 bit only.


Setting severity to low since this must have been broken for years already and nobody
was interested enough to fix it. I only found it because I'm currently trying to do
a "make fetch all" equivalent on pkgsrc distfiles for 2024Q3 ;-)


>How-To-Repeat:
cd $PKGSRCDIR ; cd cad/eagle ; make fetch
>Fix:
I see two approaches:
 1: update the package to (preferred) grab the latest version and tag it as amd64 only
 2: delete the package (more likely, to be honest)

The annoying URL format also sure doesn't help, but I assume that can be dealt with, if
necessary.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.