This commit is contained in:
2024-03-25 17:44:36 -04:00
parent 91b6e8e13f
commit fc884e4629
187 changed files with 5039 additions and 130 deletions

View File

@@ -0,0 +1,27 @@
#!/bin/sh
#----------------------------------------------------------------------
# smeserver-update daily tasks
# Copyright (C) 2024 Koozali Foundation, Inc.
# Copyright (C) 2005 Gordon Rowell <gordonr@gormand.com.au>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License or more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#----------------------------------------------------------------------
dnf_status=$(/sbin/e-smith/db configuration getprop dnf status|| echo "disabled")
[ $dnf_status = 'enabled' ] || exit 0
/usr/bin/systemctl restart dnf.service

View File

@@ -0,0 +1,3 @@
[main]
enabled=1

View File

@@ -0,0 +1 @@
disabled

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
disabled

View File

@@ -0,0 +1 @@
no

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@
disabled

View File

@@ -0,0 +1 @@
120

View File

@@ -0,0 +1 @@
daily

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
service

View File

@@ -0,0 +1,28 @@
{
# migrate from yum to dnf key
my $yum = $DB->get("yum");
if ($yum){
my $dnf = $DB->get("dnf") ||
$DB->new_record("dnf", { type => "service" });
$dnf->merge_props($yum->props);
$yum->delete;
}
# tidy EOL tag
use POSIX qw(strftime);
my $curdate = strftime '%Y%m%d', localtime;
my $curVers = 8;
my $curVersEOL = 20290531;
# we remove the forced value if for a previous release;
# also if not after the eol date
my $dropit = $DB->get_prop_and_delete('dnf','eolversion') if ( (substr($dnf{eolversion},0,1)<$curVers) || ( "$curdate" < "$curVersEOL") );
# Added for bug 8855 and bug 8858
# we want to remove the property check4contribsupdates
my $check4contribsupdates = $DB->get_prop('dnf','check4contribsupdates');
if ($check4contribsupdates) {
$DB->get('dnf')->delete_prop('check4contribsupdates');
}
}

View File

View File

View File

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever

View File

@@ -0,0 +1 @@
Rocky Linux $releasever - AppStream

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
repository

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever

View File

@@ -0,0 +1 @@
Rocky Linux $releasever - BaseOS

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
repository

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
https://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch

View File

@@ -0,0 +1 @@
Extra Packages for Enterprise Linux $releasever - $basearch

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
repository

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=extras-$releasever

View File

@@ -0,0 +1 @@
Rocky Linux $releasever - Extras

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
repository

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
http://cdn.remirepo.net/enterprise/$releasever/modular/$basearch/mirror

View File

@@ -0,0 +1 @@
Remi - modular

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
repository

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
http://cdn.remirepo.net/enterprise/$releasever/safe/$basearch/mirror

View File

@@ -0,0 +1 @@
Remi - safe

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
repository

View File

@@ -0,0 +1 @@
no

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
http://cdn.remirepo.net/enterprise/$releasever/remi/$basearch/mirror

View File

@@ -0,0 +1 @@
Remi - base

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
disabled

View File

@@ -0,0 +1 @@
repository

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
https://mirrorlist.koozali.org/mirrorlist/smeaddons-10

View File

@@ -0,0 +1 @@
SME Server - addons

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
repository

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
https://mirrorlist.koozali.org/mirrorlist/smecontribs-10

View File

@@ -0,0 +1 @@
SME Server - contribs

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
repository

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
https://mirrorlist.koozali.org/mirrorlist/smedev-10

View File

@@ -0,0 +1 @@
SME Server - dev

View File

@@ -0,0 +1 @@
no

View File

@@ -0,0 +1 @@
disabled

View File

@@ -0,0 +1 @@
repository

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
https://mirrorlist.koozali.org/mirrorlist/smeextras-10

View File

@@ -0,0 +1 @@
SME Server - extras

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
repository

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
https://mirrorlist.koozali.org/mirrorlist/smeos-10

View File

@@ -0,0 +1 @@
SME Server - os

View File

@@ -0,0 +1 @@
yes

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
repository

Some files were not shown because too many files have changed in this diff Show More