initial commit of file from CVS for smeserver-yum on Thu 26 Oct 11:26:23 BST 2023
This commit is contained in:
27
root/etc/cron.daily/smeserver-yum
Normal file
27
root/etc/cron.daily/smeserver-yum
Normal file
@@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
#----------------------------------------------------------------------
|
||||
# smeserver-yum daily tasks
|
||||
# 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
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
yum_status=$(/sbin/e-smith/db configuration getprop yum status)
|
||||
yum_status=${yum_status:-disabled}
|
||||
|
||||
[ $yum_status = 'enabled' ] || exit 0
|
||||
|
||||
/usr/bin/systemctl restart yum.service
|
||||
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
enabled
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
no
|
1
root/etc/e-smith/db/configuration/defaults/yum/GPGCheck
Normal file
1
root/etc/e-smith/db/configuration/defaults/yum/GPGCheck
Normal file
@@ -0,0 +1 @@
|
||||
0
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
120
|
@@ -0,0 +1 @@
|
||||
daily
|
1
root/etc/e-smith/db/configuration/defaults/yum/status
Normal file
1
root/etc/e-smith/db/configuration/defaults/yum/status
Normal file
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/yum/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/yum/type
Normal file
@@ -0,0 +1 @@
|
||||
service
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
#Added for bug 8855 and bug 8858
|
||||
#we want to remove the property check4contribsupdates
|
||||
|
||||
|
||||
my $check4contribsupdates = $DB->get_prop('yum','check4contribsupdates');
|
||||
|
||||
if ($check4contribsupdates) {
|
||||
$DB->get('yum')->delete_prop('check4contribsupdates');
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
use POSIX qw(strftime);
|
||||
my $curdate = strftime '%Y%m%d', localtime;
|
||||
my $curVers = 7;
|
||||
my $curVersEOL = 20240630;
|
||||
# we remove the forced value if for a previous release;
|
||||
# also if not after the eol date
|
||||
my $dropit = $DB->get_prop_and_delete('yum','eolversion') if ( (substr($yum{eolversion},0,1)<$curVers) || ( "$curdate" < "$curVersEOL") );
|
||||
}
|
0
root/etc/e-smith/db/yum_available/.gitignore
vendored
Normal file
0
root/etc/e-smith/db/yum_available/.gitignore
vendored
Normal file
0
root/etc/e-smith/db/yum_installed/.gitignore
vendored
Normal file
0
root/etc/e-smith/db/yum_installed/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
|
1
root/etc/e-smith/db/yum_repositories/defaults/base/Name
Normal file
1
root/etc/e-smith/db/yum_repositories/defaults/base/Name
Normal file
@@ -0,0 +1 @@
|
||||
CentOS - os
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/yum_repositories/defaults/base/type
Normal file
1
root/etc/e-smith/db/yum_repositories/defaults/base/type
Normal file
@@ -0,0 +1 @@
|
||||
repository
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
|
@@ -0,0 +1 @@
|
||||
CentOS - centosplus
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
repository
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
|
@@ -0,0 +1 @@
|
||||
CentOS - extras
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
repository
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=fasttrack
|
@@ -0,0 +1 @@
|
||||
CentOS - fasttrack
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
repository
|
@@ -0,0 +1 @@
|
||||
http://rpms.famillecollet.com/enterprise/$releasever/safe/$basearch/
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
http://rpms.famillecollet.com/RPM-GPG-KEY-remi
|
@@ -0,0 +1 @@
|
||||
Remi - safe
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
enabled
|
@@ -0,0 +1 @@
|
||||
repository
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smeaddons-10
|
@@ -0,0 +1 @@
|
||||
SME Server - addons
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
enabled
|
@@ -0,0 +1 @@
|
||||
repository
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smecontribs-10
|
@@ -0,0 +1 @@
|
||||
SME Server - contribs
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
enabled
|
@@ -0,0 +1 @@
|
||||
repository
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smedev-10
|
@@ -0,0 +1 @@
|
||||
SME Server - dev
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
repository
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smeextras-10
|
@@ -0,0 +1 @@
|
||||
SME Server - extras
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
enabled
|
@@ -0,0 +1 @@
|
||||
repository
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smeos-10
|
1
root/etc/e-smith/db/yum_repositories/defaults/smeos/Name
Normal file
1
root/etc/e-smith/db/yum_repositories/defaults/smeos/Name
Normal file
@@ -0,0 +1 @@
|
||||
SME Server - os
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/yum_repositories/defaults/smeos/type
Normal file
1
root/etc/e-smith/db/yum_repositories/defaults/smeos/type
Normal file
@@ -0,0 +1 @@
|
||||
repository
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smetest-10
|
@@ -0,0 +1 @@
|
||||
SME Server - test
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
repository
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smeupdates-testing-10
|
@@ -0,0 +1 @@
|
||||
SME Server - updates testing
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
repository
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user