diff options
-rw-r--r-- | main/alpine-mirrors/APKBUILD | 19 | ||||
-rw-r--r-- | main/alpine-mirrors/gen-txt.lua | 12 | ||||
-rw-r--r-- | main/alpine-mirrors/mirrors.yaml | 8 |
3 files changed, 15 insertions, 24 deletions
diff --git a/main/alpine-mirrors/APKBUILD b/main/alpine-mirrors/APKBUILD index 85a035cc0a..bff1a901c3 100644 --- a/main/alpine-mirrors/APKBUILD +++ b/main/alpine-mirrors/APKBUILD @@ -1,21 +1,21 @@ # Contributor: Matt Smith <mcs@darkregion.net> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=alpine-mirrors -pkgver=3.3.1 +pkgver=3.4.0 pkgrel=0 pkgdesc="List of Alpine Linux Mirrors" url="http://alpinelinux.org/" arch="noarch" -license="GPL" +license="MIT" depends="" -makedepends="lua lua-yaml" +makedepends="" install="" subpackages="" -source="mirrors.yaml gen-txt.lua" +source="mirrors.yaml" build() { cd "$srcdir" - lua gen-txt.lua < mirrors.yaml > MIRRORS.txt + awk '$1 == "-" && $2 ~ /^http:/ {print $2}' mirrors.yaml > MIRRORS.txt } package() { @@ -25,9 +25,6 @@ package() { "$pkgdir"/usr/share/alpine-mirrors/MIRRORS.txt || return 1 } -md5sums="b8425b15b3ea32de9b711f116bcc9df0 mirrors.yaml -4a3bfe9df4343fb44759a5049fa4bfc6 gen-txt.lua" -sha256sums="bc8f1fdaa93879c9e634c1c41f79ae08410d84da510f32b06b5b110f9d5921d5 mirrors.yaml -87ede8d9104dcef9cbe3f53282a0bc5820bf44a1adcdfbf109e2d4b0385980be gen-txt.lua" -sha512sums="4a8794da5c3e1e405aff11c68bdcd077f485d826fa59dfe548273cd1a27db4af8df85527b6d6d6e346a15bdcc5bc89038890de3ef46078a753416f51f12a0e9f mirrors.yaml -91d51ad685d5cd02670b7f1575698fc3b3309cc52b3318ffcf252a64767b8087c85a10c3461a46272b542850bd7e33f504fbdb42ac2e1f001af837a2dd0179f7 gen-txt.lua" +md5sums="70a97af70fed0442e49b0f55d9677ba0 mirrors.yaml" +sha256sums="1c651cc820355e2da07b1daf8f459a72eef8230a8f9450b743a89984c5d04710 mirrors.yaml" +sha512sums="623d7a2e53f63b806978e368607e1c68545bcf8bdc0638087a90ae8ea1605f1afc74009639082c6ddeaaaf2177bcfc4fb91768c82b09c4cab8a2657ffd4b0af7 mirrors.yaml" diff --git a/main/alpine-mirrors/gen-txt.lua b/main/alpine-mirrors/gen-txt.lua deleted file mode 100644 index cfda91fa8e..0000000000 --- a/main/alpine-mirrors/gen-txt.lua +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/lua - -yaml = require('yaml') - -data = yaml.load(io.stdin:read("*all")) -for _,m in pairs(data) do - for _,url in pairs(m.urls) do - if (url):match("^http://") then - print(url) - end - end -end diff --git a/main/alpine-mirrors/mirrors.yaml b/main/alpine-mirrors/mirrors.yaml index 6622d51f36..fc78432ddb 100644 --- a/main/alpine-mirrors/mirrors.yaml +++ b/main/alpine-mirrors/mirrors.yaml @@ -74,8 +74,14 @@ - name: alpine.mirror.far.fi location: Helsinki, Finland urls: - - http://alpine.mirror.far.fi + - http://alpine.mirror.far.fi/ - name: LASCA - Institute of Computing - UNICAMP location: South America, Brazil, São Paulo, Campinas urls: - http://lasca.ic.unicamp.br/pub/alpine/ +- name: C3SL - Centro de Computação Científica e Software Li + location: South America, Brazil + urls: + - http://alpinelinux.c3sl.ufpr.br/ + - ftp://alpinelinux.c3sl.ufpr.br/alpinelinux/ + - rsync://alpinelinux.c3sl.ufpr.br/alpinelinux/ |