*BSD repo updates

This commit is contained in:
Yorhel 2025-01-09 13:24:00 +01:00
parent 147911b750
commit 1f8bd0ef9a
3 changed files with 21 additions and 6 deletions

View file

@ -666,6 +666,12 @@ case $1 in
index_core freebsd-14.1 "${MIR}base.txz" core-base 2024-06-04 index_core freebsd-14.1 "${MIR}base.txz" core-base 2024-06-04
index freebsd2 --sys freebsd-14.1 --mirror "$PKG" index freebsd2 --sys freebsd-14.1 --mirror "$PKG"
;; ;;
14.2)
MIR="${CMIRROR}amd64/14.2-RELEASE/"
PKG="${PMIRROR}FreeBSD:14:amd64/release_2/"
index_core freebsd-14.2 "${MIR}base.txz" core-base 2024-12-03
index freebsd2 --sys freebsd-14.2 --mirror "$PKG"
;;
old) old)
$0 1.0 $0 1.0
$0 2.0.5 $0 2.0.5
@ -745,5 +751,6 @@ case $1 in
$0 13.4 $0 13.4
$0 14.0 $0 14.0
$0 14.1 $0 14.1
$0 14.2
;; ;;
esac esac

View file

@ -257,6 +257,10 @@ case $1 in
index_base 8.2 2020-03-31 tgz $AMIRROR index_base 8.2 2020-03-31 tgz $AMIRROR
;; ;;
8.3)
index_base 8.3 2024-05-04 tgz $AMIRROR
;;
9.0) 9.0)
index_base 9.0 2020-02-14 index_base 9.0 2020-02-14
;; ;;
@ -281,6 +285,10 @@ case $1 in
index_base 10.0 2024-03-28 index_base 10.0 2024-03-28
;; ;;
10.1)
index_base 10.1 2024-12-16
;;
old) old)
$0 1.3 $0 1.3
$0 1.3.2 $0 1.3.2
@ -341,11 +349,13 @@ case $1 in
$0 8.0 $0 8.0
$0 8.1 $0 8.1
$0 8.2 $0 8.2
$0 8.3
$0 9.0 $0 9.0
$0 9.1 $0 9.1
$0 9.2 $0 9.2
$0 9.3 $0 9.3
$0 9.4 $0 9.4
$0 10.0 $0 10.0
$0 10.1
;; ;;
esac esac

View file

@ -31,12 +31,10 @@ TUWF::set(
TUWF::hook before => sub { TUWF::hook before => sub {
if(tuwf->{_TUWF}{http}) { if(tuwf->resFile("$ROOT/www", tuwf->reqPath)) {
if(tuwf->resFile("$ROOT/www", tuwf->reqPath)) { tuwf->resHeader('Cache-Control' => 'max-age=31536000');
tuwf->resHeader('Cache-Control' => 'max-age=31536000'); tuwf->done;
tuwf->done; }
}
}
}; };