upg jobo-mirror
This commit is contained in:
parent
005731c130
commit
c7bdd6c24f
4 changed files with 77 additions and 29 deletions
|
@ -8,12 +8,13 @@
|
|||
pkgname=jobo-mirror
|
||||
pkgdesc='joborun linux mirrorlist'
|
||||
pkgver=0.1
|
||||
pkgrel=05
|
||||
pkgrel=06
|
||||
groups=(base jobbot)
|
||||
source=('README.txt'
|
||||
'mirrorlist-jobo')
|
||||
backup=(etc/pacman.d/mirrorlist-jobo)
|
||||
depends=('sh')
|
||||
depends=('sh' 'wget')
|
||||
install=$pkgname.install
|
||||
|
||||
package() {
|
||||
cd "$pkgdir"
|
||||
|
@ -28,7 +29,6 @@ arch=(x86_64)
|
|||
license=(ISC)
|
||||
|
||||
sha256sums=(507f355b9881c44f0f6388c8a47c24908d3adafc717e5ee447236c6162b02052 # README.txt
|
||||
4526fa298ba62532828ea564dc939022298d4d3b7b6924e15d8c2d0fb51563ef) # mirrorlist-jobo
|
||||
|
||||
## 6cb822935158358ced0635895f31abf47d667c53ad82cb31f01ac87547aa6ee1 jobo-mirror-0.1-05-x86_64.pkg.tar.lz
|
||||
9c83fe4380d71bfbe9fd7784d14b28ac0740b95a7a6eecbd236d03c6a3bb757f) # mirrorlist-jobo
|
||||
|
||||
## f84e5ec3f2f75483d42c8a9ac5e6d506588ba3de2a7c69752608a8c854727bb2 jobo-mirror-0.1-06-x86_64.pkg.tar.lz
|
||||
|
|
41
jobo-mirror/jobo-mirror.install
Normal file
41
jobo-mirror/jobo-mirror.install
Normal file
|
@ -0,0 +1,41 @@
|
|||
#!/bin/sh
|
||||
|
||||
post_install() {
|
||||
echo " Non-sf compatible packages with an epoch : on the pkgver"
|
||||
echo " can not be placed on SourceForge repositories."
|
||||
echo " This script makes sure that temporarily, if needed they"
|
||||
echo " will be found in your /var/cache/pacman/pkg/ cache"
|
||||
echo " The following script will download a tar ball with 37 pkgs"
|
||||
echo " explode them into /tmp/sf01/ then move them to your cache"
|
||||
echo " "
|
||||
echo " If you do not want this done hit Ctrl-C now, or Enter to"
|
||||
echo " continue"
|
||||
read
|
||||
mkdir -p /tmp/sf01
|
||||
cd /tmp/sf01
|
||||
wget http://downloads.sourceforge.net/joborun/r/non-sf-pkgs.tar.xz
|
||||
tar -xf non-sf-pkgs.tar.xz 2>/dev/null
|
||||
mv -f ./*pkg.tar.*z /var/cache/pacman/pkg/ 2>/dev/null
|
||||
ls -lh /tmp/sf01
|
||||
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
echo " Non-sf compatible packages with an epoch : on the pkgver"
|
||||
echo " can not be placed on SourceForge repositories."
|
||||
echo " This script makes sure that temporarily, if needed they"
|
||||
echo " will be found in your /var/cache/pacman/pkg/ cache"
|
||||
echo " The following script will download a tar ball with 37 pkgs"
|
||||
echo " explode them into /tmp/sf01/ then move them to your cache"
|
||||
echo " "
|
||||
echo " If you do not want this done hit Ctrl-C now, or Enter to"
|
||||
echo " continue"
|
||||
read
|
||||
mkdir -p /tmp/sf01
|
||||
cd /tmp/sf01
|
||||
wget http://downloads.sourceforge.net/joborun/r/non-sf-pkgs.tar.xz
|
||||
tar -xf non-sf-pkgs.tar.xz 2>/dev/null
|
||||
mv -f ./*pkg.tar.*z /var/cache/pacman/pkg/ 2>/dev/null
|
||||
ls -lh /tmp/sf01
|
||||
|
||||
}
|
|
@ -7,7 +7,7 @@
|
|||
# system using our source, as explained in the wiki.
|
||||
|
||||
# ### pacman database only, no packages to download
|
||||
Server = https://git.disroot.org/joborun-pkg/repos/raw/branch/main/
|
||||
# Server = https://git.disroot.org/joborun-pkg/repos/raw/branch/main/
|
||||
|
||||
|
||||
## Unfortunately the following mirrors only partially work
|
||||
|
@ -22,54 +22,54 @@ Server = https://git.disroot.org/joborun-pkg/repos/raw/branch/main/
|
|||
|
||||
##### Start Sourceforge mirrors #####
|
||||
# Sourceforge 1
|
||||
# Server = http://downloads.sourceforge.net/joborun/r
|
||||
Server = http://downloads.sourceforge.net/joborun/r
|
||||
# Sourceforge 2
|
||||
# Server = http://freefr.dl.sourceforge.net/sourceforge/joborun/r
|
||||
Server = http://freefr.dl.sourceforge.net/sourceforge/joborun/r
|
||||
# Sourceforge 3
|
||||
# Server = http://netcologne.dl.sourceforge.net/sourceforge/joborun/r
|
||||
Server = http://netcologne.dl.sourceforge.net/sourceforge/joborun/r
|
||||
# Sourceforge 4
|
||||
# Server = http://newcontinuum.dl.sourceforge.net/sourceforge/joborun/r
|
||||
Server = http://newcontinuum.dl.sourceforge.net/sourceforge/joborun/r
|
||||
# Sourceforge 5
|
||||
# Server = http://razaoinfo.dl.sourceforge.net/sourceforge/joborun/r
|
||||
Server = http://razaoinfo.dl.sourceforge.net/sourceforge/joborun/r
|
||||
# Sourceforge 6
|
||||
# Server = http://cfhcable.dl.sourceforge.net/sourceforge/joborun/r
|
||||
Server = http://cfhcable.dl.sourceforge.net/sourceforge/joborun/r
|
||||
# Sourceforge 7
|
||||
## Server = http://astuteinternet.dl.sourceforge.net/sourceforge/joborun/r
|
||||
#Server = http://astuteinternet.dl.sourceforge.net/sourceforge/joborun/r
|
||||
# Sourceforge 8
|
||||
## Server = http://vorboss.dl.sourceforge.net/sourceforge/joborun/r
|
||||
#Server = http://vorboss.dl.sourceforge.net/sourceforge/joborun/r
|
||||
# Sourceforge 9
|
||||
# Server = http://versaweb.dl.sourceforge.net/sourceforge/joborun/r
|
||||
Server = http://versaweb.dl.sourceforge.net/sourceforge/joborun/r
|
||||
# Sourceforge 10
|
||||
# Server = http://phoenixnap.dl.sourceforge.net/sourceforge/joborun/r
|
||||
Server = http://phoenixnap.dl.sourceforge.net/sourceforge/joborun/r
|
||||
# Sourceforge 11
|
||||
# Server = http://netix.dl.sourceforge.net/sourceforge/joborun/r
|
||||
Server = http://netix.dl.sourceforge.net/sourceforge/joborun/r
|
||||
# Sourceforge 12
|
||||
# Server = http://excellmedia.dl.sourceforge.net/sourceforge/joborun/r
|
||||
Server = http://excellmedia.dl.sourceforge.net/sourceforge/joborun/r
|
||||
# Sourceforge 13
|
||||
# Server = http://liquidtelecom.dl.sourceforge.net/sourceforge/joborun/r
|
||||
Server = http://liquidtelecom.dl.sourceforge.net/sourceforge/joborun/r
|
||||
# Sourceforge 14
|
||||
## Server = https://jztkft.dl.sourceforge.net/project/joborun/r
|
||||
#Server = https://jztkft.dl.sourceforge.net/project/joborun/r
|
||||
# Sourceforge 15
|
||||
## Server = http://sourceforge.mirror.iweb.com/project/joborun/r
|
||||
#Server = http://sourceforge.mirror.iweb.com/project/joborun/r
|
||||
# Sourceforge 16
|
||||
# Server = https://deac-riga.dl.sourceforge.net/project/joborun/r
|
||||
Server = https://deac-riga.dl.sourceforge.net/project/joborun/r
|
||||
# Sourceforge 17
|
||||
# Server = http://tenet.dl.sourceforge.net/project/joborun/r
|
||||
Server = http://tenet.dl.sourceforge.net/project/joborun/r
|
||||
# Sourceforge 18
|
||||
# Server = https://nchc.dl.sourceforge.net/sourceforge/joborun/r
|
||||
Server = https://nchc.dl.sourceforge.net/sourceforge/joborun/r
|
||||
# Sourceforge 19
|
||||
## Server = https://kent.dl.sourceforge.net/sourceforge/joborun/r
|
||||
#Server = https://kent.dl.sourceforge.net/sourceforge/joborun/r
|
||||
# Sourceforge 20
|
||||
# Server = https://jaist.dl.sourceforge.net/sourceforge/joborun/r
|
||||
Server = https://jaist.dl.sourceforge.net/sourceforge/joborun/r
|
||||
##### End Sourceforge mirrors #####
|
||||
|
||||
##### Begin OSDN Mirrors
|
||||
# osdn mirrors once they become available for uploads again
|
||||
# DOWN since July 9th 2023
|
||||
|
||||
## Server = https://osdn.net/projects/joborun/storage/repo/
|
||||
## Server = https://ftp.iij.ad.jp/pub/osdn.jp/storage/g/j/jo/joborun/repo/
|
||||
## Server = https://free.nchc.org.tw/osdn/storage/g/j/jo/joborun/repo/
|
||||
#Server = https://osdn.net/projects/joborun/storage/repo/
|
||||
#Server = https://ftp.iij.ad.jp/pub/osdn.jp/storage/g/j/jo/joborun/repo/
|
||||
#Server = https://free.nchc.org.tw/osdn/storage/g/j/jo/joborun/repo/
|
||||
|
||||
##### End OSDN mirrors #####
|
||||
|
||||
|
|
7
jobo-mirror/non-sf.sh
Normal file
7
jobo-mirror/non-sf.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/sh
|
||||
mkdir -p /tmp/sf01
|
||||
cd /tmp/sf01
|
||||
wget http://downloads.sourceforge.net/joborun/r/non-sf-pkgs.tar.xz
|
||||
tar -xf non-sf-pkgs.tar.xz
|
||||
mv -f *pkg.tar.*z /tmp/sf/
|
||||
|
Loading…
Reference in a new issue