Merge pull request #164046 from AndersonTorres/metalab-mirrors

Change metalab mirrors to ibiblioPubLinux ones
This commit is contained in:
Anderson Torres 2022-03-14 08:26:42 -03:00 committed by GitHub
commit 8590804259
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 31 additions and 26 deletions

View file

@ -98,6 +98,16 @@
"http://www.ring.gr.jp/pub/net/" "http://www.ring.gr.jp/pub/net/"
]; ];
# IBiblio (former metalab/sunsite)
# Most of the time the expressions refer to the /pub/Linux/ subdirectory;
# however there are other useful files outside it
ibiblioPubLinux = [
"https://www.ibiblio.org/pub/Linux/"
"ftp://ftp.ibiblio.org/pub/linux/"
"ftp://ftp.gwdg.de/pub/linux/metalab/"
"ftp://ftp.metalab.unc.edu/pub/linux/"
];
# ImageMagick mirrors, see https://www.imagemagick.org/script/mirror.php # ImageMagick mirrors, see https://www.imagemagick.org/script/mirror.php
imagemagick = [ imagemagick = [
"https://www.imagemagick.org/download/" "https://www.imagemagick.org/download/"
@ -124,12 +134,6 @@
"ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/" "ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/"
]; ];
# Metalab, now IBiblio
metalab = [
"ftp://ftp.gwdg.de/pub/linux/metalab/"
"ftp://ftp.metalab.unc.edu/pub/linux/"
];
# MySQL # MySQL
mysql = [ mysql = [
"https://cdn.mysql.com/Downloads/" "https://cdn.mysql.com/Downloads/"

View file

@ -21,19 +21,22 @@ stdenv.mkDerivation rec {
version = "5.1.2"; version = "5.1.2";
src = fetchurl { src = fetchurl {
url = "mirror://metalab/libs/graphics/t1lib-${version}.tar.gz"; url = "mirror://ibiblioPubLinux/libs/graphics/${pname}-${version}.tar.gz";
sha256 = "0nbvjpnmcznib1nlgg8xckrmsw3haa154byds2h90y2g0nsjh4w2"; hash = "sha256-ghMotQVPeJCg0M0vUoJScHBd82QdvUdtWNF+Vu2Ve1k=";
}; };
inherit patches; inherit patches;
buildInputs = [ libX11 libXaw ]; buildInputs = [ libX11 libXaw ];
buildFlags = [ "without_doc" ]; buildFlags = [ "without_doc" ];
postInstall = lib.optionalString (!stdenv.isDarwin) "chmod +x $out/lib/*.so.*"; # ?? postInstall = lib.optionalString (!stdenv.isDarwin) ''
# ??
chmod +x $out/lib/*.so.*
'';
meta = with lib; { meta = with lib; {
description = "A type 1 font rasterizer library for UNIX/X11";
homepage = "http://www.t1lib.org/"; homepage = "http://www.t1lib.org/";
description = "A type 1 font rasterizer library for UNIX/X11";
license = with licenses; [ gpl2 lgpl2 ]; license = with licenses; [ gpl2 lgpl2 ];
platforms = platforms.unix; platforms = platforms.unix;
}; };

View file

@ -5,13 +5,14 @@ stdenv.mkDerivation rec {
version = "2.17"; version = "2.17";
src = fetchurl { src = fetchurl {
url = "ftp://metalab.unc.edu/pub/Linux/games/bsd-games-${version}.tar.gz"; url = "mirror://ibiblioPubLinux/games/${pname}-${version}.tar.gz";
sha256 = "0q7zdyyfvn15y0w4g54kq3gza89h61py727m8slmw73cxx594vq6"; hash = "sha256-Bm+SSu9sHF6pRvWI428wMCH138CTlEc48CXY7bxv/2A=";
}; };
buildInputs = [ ncurses openssl flex bison ]; buildInputs = [ ncurses openssl flex bison ];
patches = [ patches = [
# Remove UTMPX support on Makefrag file
(fetchurl { (fetchurl {
url = "http://svn.exactcode.de/t2/trunk/package/games/bsd-games/dm-noutmpx.patch"; url = "http://svn.exactcode.de/t2/trunk/package/games/bsd-games/dm-noutmpx.patch";
sha256 = "1k3qp3jj0dksjr4dnppv6dvkwslrgk9c7p2n9vipqildpxgqp7w2"; sha256 = "1k3qp3jj0dksjr4dnppv6dvkwslrgk9c7p2n9vipqildpxgqp7w2";

View file

@ -5,8 +5,8 @@ stdenv.mkDerivation rec {
version = "1.3"; version = "1.3";
src = fetchurl { src = fetchurl {
url = "http://sunsite.unc.edu/pub/linux/utils/terminal/forktty-${version}.tgz"; url = "mirror://ibiblioPubLinux/utils/terminal/${pname}-${version}.tgz";
sha256 = "sha256-6xc5eshCuCIOsDh0r2DizKAeypGH0TRRotZ4itsvpVk="; hash = "sha256-6xc5eshCuCIOsDh0r2DizKAeypGH0TRRotZ4itsvpVk=";
}; };
preBuild = '' preBuild = ''

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
version = "0.17"; version = "0.17";
src = fetchurl { src = fetchurl {
url = "mirror://metalab/system/network/finger/bsd-finger-${version}.tar.gz"; url = "mirror://ibiblioPubLinux/system/network/finger/bsd-finger-${version}.tar.gz";
sha256 = "1yhkiv0in588il7f84k2xiy78g9lv12ll0y7047gazhiimk5v244"; sha256 = "1yhkiv0in588il7f84k2xiy78g9lv12ll0y7047gazhiimk5v244";
}; };

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
version = "0.17"; version = "0.17";
src = fetchurl { src = fetchurl {
url = "mirror://metalab/system/network/finger/bsd-finger-${version}.tar.gz"; url = "mirror://ibiblioPubLinux/system/network/finger/bsd-finger-${version}.tar.gz";
sha256 = "1yhkiv0in588il7f84k2xiy78g9lv12ll0y7047gazhiimk5v244"; sha256 = "1yhkiv0in588il7f84k2xiy78g9lv12ll0y7047gazhiimk5v244";
}; };

View file

@ -5,8 +5,8 @@ stdenv.mkDerivation rec {
version = "1.1"; version = "1.1";
src = fetchurl { src = fetchurl {
url = "mirror://metalab/system/network/misc/wakelan-${version}.tar.gz"; url = "mirror://ibiblioPubLinux/system/network/misc/${pname}-${version}.tar.gz";
sha256 = "0vydqpf44146ir6k87gmqaq6xy66xhc1gkr3nsd7jj3nhy7ypx9x"; hash = "sha256-PfXrj4d2SHmatiPPFxjsxvhusML1HTRNjoYEQtzFzW8=";
}; };
preInstall = '' preInstall = ''
@ -15,15 +15,12 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Send a wake-on-lan packet"; description = "Send a wake-on-lan packet";
longDescription = ''
longDescription = WakeLan sends a properly formatted UDP packet across the
'' WakeLan sends a properly formatted UDP packet across the network which will cause a wake-on-lan enabled computer to
network which will cause a wake-on-lan enabled computer to power on.
power on. '';
'';
license = lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
maintainers = [ lib.maintainers.viric ]; maintainers = [ lib.maintainers.viric ];
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
}; };