Bunch of repo updates

This commit is contained in:
Yorhel 2022-12-17 13:06:42 +01:00
parent 47d86c06fd
commit 81c9ec53ff
5 changed files with 42 additions and 1 deletions

View file

@ -65,6 +65,9 @@ case "$1" in
3.16) 3.16)
alp 3.16 "main community" alp 3.16 "main community"
;; ;;
3.17)
alp 3.17 "main community"
;;
old) old)
$0 3.0 $0 3.0
$0 3.1 $0 3.1
@ -79,12 +82,13 @@ case "$1" in
$0 3.10 $0 3.10
$0 3.11 $0 3.11
$0 3.12 $0 3.12
$0 3.13
;; ;;
current) current)
$0 3.13 # till 2022-11-01
$0 3.14 # till 2023-05-01 $0 3.14 # till 2023-05-01
$0 3.15 # till 2023-11-01 $0 3.15 # till 2023-11-01
$0 3.16 # till 2024-05-23 $0 3.16 # till 2024-05-23
$0 3.17 # till 2024-11-22
;; ;;
all) all)
$0 old $0 old

View file

@ -4,6 +4,7 @@
VMIRROR=http://vault.centos.org/ VMIRROR=http://vault.centos.org/
CMIRROR=http://centos.mirrors.ovh.net/ftp.centos.org/ CMIRROR=http://centos.mirrors.ovh.net/ftp.centos.org/
SMIRROR=http://mirror.transip.net/centos-stream/
# Centos 3.1 - 3.6 (doesn't have useful repo metadata) # Centos 3.1 - 3.6 (doesn't have useful repo metadata)
centa() { centa() {
@ -50,6 +51,18 @@ centd() {
index rpm --sys centos-$VER --cat centosplus --mirror "$MIR$DIR/centosplus/x86_64/os/" index rpm --sys centos-$VER --cat centosplus --mirror "$MIR$DIR/centosplus/x86_64/os/"
} }
# CentOS Stream 9+
cente() {
local VER=$1
local DIR=$2
local MIR=${3:-$VMIRROR}
index rpm --sys centos-$VER --cat BaseOS --mirror "$MIR$DIR/BaseOS/x86_64/os/"
index rpm --sys centos-$VER --cat AppStream --mirror "$MIR$DIR/AppStream/x86_64/os/"
index rpm --sys centos-$VER --cat CRB --mirror "$MIR$DIR/CRB/x86_64/os/"
# There's also NFV and RT (with lots of overlap) and HighAvailability and ResilientStorage (with lots of overlap).
# Not sure which of those should be included.
}
case "$1" in case "$1" in
2.1) 2.1)
index rpmdir --sys centos-2.1 --cat core --mirror "${VMIRROR}2.1/final/i386/CentOS/RPMS/" index rpmdir --sys centos-2.1 --cat core --mirror "${VMIRROR}2.1/final/i386/CentOS/RPMS/"
@ -225,6 +238,12 @@ case "$1" in
8.5) 8.5)
centd 8.5 8.5.2111 $CMIRROR centd 8.5 8.5.2111 $CMIRROR
;; ;;
8-stream)
centd 8-stream 8-stream $CMIRROR
;;
9-stream)
cente 9-stream 9-stream $SMIRROR
;;
old) old)
$0 2.1 $0 2.1
$0 3.1 $0 3.1
@ -286,6 +305,8 @@ case "$1" in
;; ;;
current) current)
$0 7.9 # till 2024-06-30 $0 7.9 # till 2024-06-30
$0 8-stream
$0 9-stream
;; ;;
all) all)
$0 old $0 old

View file

@ -137,6 +137,10 @@ case "$1" in
index rpm --sys fedora-36 --cat everything --mirror "${CMIRROR}releases/36/Everything/x86_64/os/" index rpm --sys fedora-36 --cat everything --mirror "${CMIRROR}releases/36/Everything/x86_64/os/"
index rpm --sys fedora-36 --cat everything --mirror "${CMIRROR}updates/36/Everything/x86_64/" index rpm --sys fedora-36 --cat everything --mirror "${CMIRROR}updates/36/Everything/x86_64/"
;; ;;
37)
index rpm --sys fedora-37 --cat everything --mirror "${CMIRROR}releases/37/Everything/x86_64/os/"
index rpm --sys fedora-37 --cat everything --mirror "${CMIRROR}updates/37/Everything/x86_64/"
;;
old) old)
$0 1 $0 1
$0 2 $0 2
@ -176,6 +180,7 @@ case "$1" in
$0 34 $0 34
$0 35 $0 35
$0 36 $0 36
$0 37
;; ;;
all) all)
$0 old $0 old

View file

@ -619,6 +619,12 @@ case $1 in
index_core freebsd-12.3 "${MIR}base.txz" core-base 2021-12-07 index_core freebsd-12.3 "${MIR}base.txz" core-base 2021-12-07
index freebsd2 --sys freebsd-12.3 --mirror "$PKG" index freebsd2 --sys freebsd-12.3 --mirror "$PKG"
;; ;;
12.4)
MIR="${CMIRROR}amd64/12.4-RELEASE/"
PKG="${PMIRROR}FreeBSD:12:amd64/release_4/"
index_core freebsd-12.4 "${MIR}base.txz" core-base 2022-12-05
index freebsd2 --sys freebsd-12.4 --mirror "$PKG"
;;
13.0) 13.0)
MIR="${CMIRROR}amd64/13.0-RELEASE/" MIR="${CMIRROR}amd64/13.0-RELEASE/"
PKG="${PMIRROR}FreeBSD:13:amd64/release_0/" PKG="${PMIRROR}FreeBSD:13:amd64/release_0/"
@ -702,6 +708,7 @@ case $1 in
$0 12.1 $0 12.1
$0 12.2 $0 12.2
$0 12.3 $0 12.3
$0 12.4
$0 13.0 $0 13.0
$0 13.1 $0 13.1
;; ;;

View file

@ -134,6 +134,9 @@ case $1 in
jammy) jammy)
stdrepo jammy $CMIRROR amd64 stdrepo jammy $CMIRROR amd64
;; ;;
kinetic)
stdrepo kinetic $CMIRROR amd64
;;
old) old)
$0 warty $0 warty
$0 hoary $0 hoary
@ -173,6 +176,7 @@ case $1 in
$0 bionic # until 2028-04 $0 bionic # until 2028-04
$0 focal # until 2030-04 $0 focal # until 2030-04
$0 jammy # until 2032-04 $0 jammy # until 2032-04
$0 kinetic # until 2023-07
;; ;;
all) all)
$0 old $0 old