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/"
];
# 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 = [
"https://www.imagemagick.org/download/"
@ -124,12 +134,6 @@
"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 = [
"https://cdn.mysql.com/Downloads/"

View file

@ -21,19 +21,22 @@ stdenv.mkDerivation rec {
version = "5.1.2";
src = fetchurl {
url = "mirror://metalab/libs/graphics/t1lib-${version}.tar.gz";
sha256 = "0nbvjpnmcznib1nlgg8xckrmsw3haa154byds2h90y2g0nsjh4w2";
url = "mirror://ibiblioPubLinux/libs/graphics/${pname}-${version}.tar.gz";
hash = "sha256-ghMotQVPeJCg0M0vUoJScHBd82QdvUdtWNF+Vu2Ve1k=";
};
inherit patches;
buildInputs = [ libX11 libXaw ];
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; {
description = "A type 1 font rasterizer library for UNIX/X11";
homepage = "http://www.t1lib.org/";
description = "A type 1 font rasterizer library for UNIX/X11";
license = with licenses; [ gpl2 lgpl2 ];
platforms = platforms.unix;
};

View file

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

View file

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

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
version = "0.17";
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";
};

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
version = "0.17";
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";
};

View file

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