fetchurl: collate samba project urls into a mirror
This commit is contained in:
parent
b65e6e873f
commit
33a8a51657
@ -11,13 +11,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
mainSrc = fetchurl {
|
||||
# signed with key 0048 C8B0 26D4 C96F 0E58 9C2F 6C85 9FB1 4B96 A8C5
|
||||
url = "http://rsync.samba.org/ftp/rsync/src/rsync-${version}.tar.gz";
|
||||
url = "mirror://samba/rsync/src/rsync-${version}.tar.gz";
|
||||
sha256 = "0896iah6w72q5izpxgkai75bn40dqkqifi2ivcxjzr2zrx7kdr3x";
|
||||
};
|
||||
|
||||
patchesSrc = fetchurl {
|
||||
# signed with key 0048 C8B0 26D4 C96F 0E58 9C2F 6C85 9FB1 4B96 A8C5
|
||||
url = "http://rsync.samba.org/ftp/rsync/rsync-patches-${version}.tar.gz";
|
||||
url = "mirror://samba/rsync/rsync-patches-${version}.tar.gz";
|
||||
sha256 = "0iij996xbyn20yr4w3kv3rw3cx4jwkg2k85x6w5hb5xlgsis8zjl";
|
||||
};
|
||||
|
||||
|
@ -137,6 +137,11 @@ rec {
|
||||
http://www.centervenus.com/mirrors/nongnu/
|
||||
];
|
||||
|
||||
samba = [
|
||||
http://samba.org/ftp/
|
||||
http://ftp.riken.jp/net/samba
|
||||
];
|
||||
|
||||
# BitlBee mirrors, see http://www.bitlbee.org/main.php/mirrors.html .
|
||||
bitlbee = [
|
||||
http://get.bitlbee.org/
|
||||
|
@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
|
||||
name = "ctdb-2.5.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://samba.org/ftp/ctdb/${name}.tar.gz";
|
||||
url = "mirror://samba/ctdb/${name}.tar.gz";
|
||||
sha256 = "09fb29ngxnh1crsqchykg23bl6s4fifvxwq4gwg1y742mmnjp9fy";
|
||||
};
|
||||
|
||||
|
@ -6,10 +6,7 @@ stdenv.mkDerivation rec {
|
||||
name = "ldb-1.1.19";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"http://samba.org/ftp/ldb/${name}.tar.gz"
|
||||
"http://distfiles.exherbo.org/distfiles/${name}.tar.gz"
|
||||
];
|
||||
url = "mirror://samba/ldb/${name}.tar.gz";
|
||||
sha256 = "1p2815z9sjack08pcdbv4xzp1fvr4lxcn30rj0wh3py4ly6ji1h0";
|
||||
};
|
||||
|
||||
|
@ -6,10 +6,7 @@ stdenv.mkDerivation rec {
|
||||
name = "ntdb-1.0";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"http://samba.org/ftp/tdb/${name}.tar.gz"
|
||||
"http://ftp.riken.jp/net/samba/tdb/${name}.tar.gz"
|
||||
];
|
||||
url = "mirror://samba/tdb/${name}.tar.gz";
|
||||
sha256 = "0jdzgrz5sr25k83yrw7wqb3r0yj1v04z4s3lhsmnr5z6n5ifhyl1";
|
||||
};
|
||||
|
||||
|
@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
|
||||
name = "talloc-2.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://samba.org/ftp/talloc/${name}.tar.gz";
|
||||
url = "mirror://samba/talloc/${name}.tar.gz";
|
||||
sha256 = "0x31id42b425dbxv5whrqlc6dj14ph7wzs3wsp1ggi537dncwa9y";
|
||||
};
|
||||
|
||||
|
@ -6,10 +6,7 @@ stdenv.mkDerivation rec {
|
||||
name = "tdb-1.3.4";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"http://samba.org/ftp/tdb/${name}.tar.gz"
|
||||
"http://distfiles.exherbo.org/distfiles/${name}.tar.gz"
|
||||
];
|
||||
url = "mirror://samba/tdb/${name}.tar.gz";
|
||||
sha256 = "0a8pa4ar7dxkbsgv1447av2rn35a1m6l1v2s9hgz3ccwni9wv1gm";
|
||||
};
|
||||
|
||||
|
@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
|
||||
name = "tevent-0.9.22";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://samba.org/ftp/tevent/${name}.tar.gz";
|
||||
url = "mirror://samba/tevent/${name}.tar.gz";
|
||||
sha256 = "0myyi3lwsi6f3f0a5qw8rjpm2d5yf18pw4vljdwyi885l411sksl";
|
||||
};
|
||||
|
||||
|
@ -5,7 +5,7 @@ let
|
||||
stdenv.mkDerivation {
|
||||
name = "ccache-3.2.1";
|
||||
src = fetchurl {
|
||||
url = http://samba.org/ftp/ccache/ccache-3.2.1.tar.xz;
|
||||
url = mirror://samba/ccache/ccache-3.2.1.tar.xz;
|
||||
sha256 = "17dxb0adha2bqzb2r8rcc3kl9mk7y6vrvlh181liivrc3m7g6al7";
|
||||
};
|
||||
|
||||
|
@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
|
||||
name = "cifs-utils-6.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/${name}.tar.bz2";
|
||||
url = "mirror://samba/pub/linux-cifs/cifs-utils/${name}.tar.bz2";
|
||||
sha256 = "1qz6d2xg4z1if0hy7qwyzgcr59l0alkhci6gxgjdldglda967z1q";
|
||||
};
|
||||
|
||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
name = "samba-3.6.24";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://samba.org/samba/ftp/stable/${name}.tar.gz";
|
||||
url = "mirror://samba/pub/samba/stable/${name}.tar.gz";
|
||||
sha256 = "19rln8m1k359bz6dhmlv39kzyjg7p296dz4y4mq1jwrlnw2bvl0i";
|
||||
};
|
||||
|
||||
|
@ -34,10 +34,7 @@ stdenv.mkDerivation rec {
|
||||
name = "samba-4.1.16";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"http://samba.org/samba/ftp/stable/${name}.tar.gz"
|
||||
"http://distfiles.exherbo.org/distfiles/${name}.tar.gz"
|
||||
];
|
||||
url = "mirror://samba/pub/samba/stable/${name}.tar.gz";
|
||||
sha256 = "0yx840qg5q6syq81439v3pbwawacm7nwnnvph85za9gsgcb9r80j";
|
||||
};
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
stdenv.mkDerivation {
|
||||
name = "rzip-2.1";
|
||||
src = fetchurl {
|
||||
url = http://rzip.samba.org/ftp/rzip/rzip-2.1.tar.gz;
|
||||
url = mirror://samba/rzip/rzip-2.1.tar.gz;
|
||||
sha256 = "4bb96f4d58ccf16749ed3f836957ce97dbcff3e3ee5fd50266229a48f89815b7";
|
||||
};
|
||||
buildInputs = [ bzip2 ];
|
||||
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
||||
name = "ppp-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}ftp/ppp/${name}.tar.gz";
|
||||
url = "mirror://samba/ppp/${name}.tar.gz";
|
||||
sha256 = "019m00q85nrgdpjlhb9021a3iw3pr4a0913gp4h9k7r9r7z7lca3";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user