treewide: fix invalid gentoo/distfiles urls (#257808)

* nettools: fix url; avoid gentoo/distfiles which now uses hashed directories

* pax-utils: fix url; avoid gentoo/distfiles which now uses hashed directories

The project doesn't seem to publish the exact tarball which was relied
on, but we can fetch the sources from the original repository.  (This
implies some rebuilds.)

* mtx: fix url; avoid gentoo/distfiles which now uses hashed directories

* vlan: fix url; avoid gentoo/distfiles which now uses hashed directories
This commit is contained in:
Damien Diederen 2023-09-28 20:54:54 +02:00 committed by GitHub
parent d90e8fdfb7
commit b5213d5b0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 7 deletions

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "2.10";
src = fetchurl {
url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz";
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-smJDWlJB6Jv6UcPKvVEzdTlS96e3uT8y4Iy52W9YDWk=";
};

View file

@ -1,6 +1,6 @@
{ stdenv
, lib
, fetchurl
, fetchgit
, buildPackages
, docbook_xml_dtd_44
, docbook_xsl
@ -18,9 +18,10 @@ stdenv.mkDerivation rec {
pname = "pax-utils";
version = "1.3.7";
src = fetchurl {
url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz";
sha256 = "sha256-EINi0pZo0lz3sMrcY7FaTBz8DbxxrcFRszxf597Ok5o=";
src = fetchgit {
url = "https://anongit.gentoo.org/git/proj/pax-utils.git";
rev = "v${version}";
hash = "sha256-WyNng+UtfRz1+Eu4gwXLxUvBAg+m3mdrc8GdEPYRKVE=";
};
strictDeps = true;

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "1.3.12";
src = fetchurl {
url = "mirror://gentoo/distfiles/mtx-${version}.tar.gz";
url = "mirror://sourceforge/${pname}/${pname}-stable/${version}/${pname}-${version}.tar.gz";
sha256 = "0261c5e90b98b6138cd23dadecbc7bc6e2830235145ed2740290e1f35672d843";
};

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "1.9";
src = fetchurl {
url = "mirror://gentoo/distfiles/vlan.${version}.tar.gz";
url = "https://www.candelatech.com/~greear/${pname}/${pname}.${version}.tar.gz";
sha256 = "1jjc5f26hj7bk8nkjxsa8znfxcf8pgry2ipnwmj2fr6ky0dhm3rv";
};