generated from smedev/Template-for-SMEServer-Core-Package
Compare commits
9 Commits
11_0_0-13_
...
11_0_0-19_
Author | SHA1 | Date | |
---|---|---|---|
52d7e44832 | |||
377c8b0512 | |||
64597f4c33 | |||
5f44cf7d38 | |||
ac0a7a9851 | |||
453572ac38 | |||
844bdb5f22 | |||
4506fb1cf5 | |||
0881ba0058 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@
|
||||
*.log
|
||||
*spec-20*
|
||||
*.tar.xz
|
||||
*.bak
|
||||
|
@@ -6,7 +6,14 @@ SMEServer Koozali developed git repo for smeserver-update core
|
||||
<br />https://wiki.koozali.org/smeserver-update
|
||||
|
||||
## Bugzilla
|
||||
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-update&product=SME%20Server%2011.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
|
||||
Show list of outstanding bugs:
|
||||
[All](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=NEEDINFO&bug_status=IN_PROGRESS&bug_status=RESOLVED&bug_status=VERIFIED&cf_package=smeserver-update&classification=SME+Server&list_id=105756&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Confirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=CONFIRMED&cf_package=smeserver-update&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Unconfirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&cf_package=smeserver-update&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Need info](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=NEEDINFO&cf_package=smeserver-update&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[In progress](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=IN_PROGRESS&cf_package=smeserver-update&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Resolved](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=RESOLVED&cf_package=smeserver-update&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Verified](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=VERIFIED&cf_package=smeserver-update&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
|
||||
## Description
|
||||
|
||||
|
@@ -1 +0,0 @@
|
||||
sme10
|
@@ -24,6 +24,11 @@ for ( qw(bootstrap-console-save dnf-update smeserver-update-update) )
|
||||
event_link("rpm-import-keys", $_, "10");
|
||||
}
|
||||
|
||||
for ( qw(post-install post-upgrade console-save))
|
||||
{
|
||||
event_link("dnf_modules", $_, "70");
|
||||
}
|
||||
|
||||
my $event= "smeserver-update-update";
|
||||
# systemd-specific action mandatory for this package-update event
|
||||
event_link("systemd-reload", $event, "89");
|
||||
@@ -31,8 +36,6 @@ event_link("systemd-default", $event, "88");
|
||||
templates2events("/etc/rsyslog.conf",$event);
|
||||
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog");
|
||||
|
||||
event_link("dnf_modules", 'post-install', "70");
|
||||
|
||||
#--------------------------------------------------
|
||||
# functions for manager panel
|
||||
#--------------------------------------------------
|
||||
|
@@ -1 +1 @@
|
||||
Rocky Linux $releasever - AppStream
|
||||
Rocky Linux - AppStream
|
||||
|
@@ -1 +1 @@
|
||||
Rocky Linux $releasever - BaseOS
|
||||
Rocky Linux - BaseOS
|
||||
|
@@ -1 +1 @@
|
||||
Rocky Linux $releasever - Extras
|
||||
Rocky Linux - Extras
|
||||
|
@@ -0,0 +1 @@
|
||||
https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=PowerTools-$releasever
|
@@ -0,0 +1 @@
|
||||
Rocky Linux - PowerTools
|
@@ -1 +1 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smeaddons-10
|
||||
https://mirrorlist.koozali.org/mirrorlist/smeaddons-11
|
||||
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
yes
|
@@ -0,0 +1 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smecontribs-testing-11
|
@@ -0,0 +1 @@
|
||||
SME Server - contribs-testing
|
@@ -0,0 +1 @@
|
||||
no
|
@@ -0,0 +1 @@
|
||||
disabled
|
@@ -0,0 +1 @@
|
||||
repository
|
@@ -1 +1 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smecontribs-10
|
||||
https://mirrorlist.koozali.org/mirrorlist/smecontribs-11
|
||||
|
@@ -1 +1 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smedev-10
|
||||
https://mirrorlist.koozali.org/mirrorlist/smedev-11
|
||||
|
@@ -1 +1 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smeos-10
|
||||
https://mirrorlist.koozali.org/mirrorlist/smeos-11
|
||||
|
@@ -1 +1 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smetest-10
|
||||
https://mirrorlist.koozali.org/mirrorlist/smetest-11
|
||||
|
@@ -1 +1 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smeupdates-testing-10
|
||||
https://mirrorlist.koozali.org/mirrorlist/smeupdates-testing-11
|
||||
|
@@ -1 +0,0 @@
|
||||
https://mirrorlist.koozali.org/mirrorlist/smeupdates-10
|
@@ -1 +0,0 @@
|
||||
SME Server - updates
|
@@ -1,5 +1,5 @@
|
||||
{
|
||||
for my $name ( qw(appstream baseos extras remi-safe remi-modular) )
|
||||
for my $name ( qw(appstream baseos powertools extras remi-safe remi-modular) )
|
||||
{
|
||||
my $repo = $DB->get($name) or next;
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{
|
||||
for my $name ( qw(addons contrib dungog fws base centosplus fasttrack updates) )
|
||||
for my $name ( qw(addons contrib dungog fws base centosplus fasttrack updates smeupdates openfusion) )
|
||||
{
|
||||
my $repo = $DB->get($name);
|
||||
$repo->delete if $repo;
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
for my $name ( qw(smeaddons smecontribs smedev smeextras smeos smetest
|
||||
smeupdates smeupdates-testing) )
|
||||
for my $name ( qw(smeaddons smecontribs smecontribs-testing smedev smeextras smeos smetest
|
||||
smeupdates-testing) )
|
||||
{
|
||||
my $repo = $DB->get($name) or next;
|
||||
|
||||
|
@@ -40,8 +40,8 @@
|
||||
my $curdate = strftime '%Y%m%d', localtime;
|
||||
# return unless EOL is reached
|
||||
return unless ( "$curdate" >= "$curVersEOL");
|
||||
my %equiv=(appstream=>'AppStream', baseos=> 'BaseOS', extras=>'extras' );
|
||||
for my $name ( qw(appstream baseos extras) )
|
||||
my %equiv=(appstream=>'AppStream', baseos=> 'BaseOS', extras=>'extras', powertools=>'PowerTools' );
|
||||
for my $name ( qw(appstream baseos extras powertools) )
|
||||
{
|
||||
my $repo = $DB->get($name) or next;
|
||||
my $rname = $equiv{$name} || $name;
|
||||
|
@@ -6,7 +6,7 @@ base.read_all_repos()
|
||||
base.fill_sack()
|
||||
|
||||
module_base = dnf.module.module_base.ModuleBase(base)
|
||||
module_base.switch_to(['php:remi-8.3'])
|
||||
module_base.switch_to(['php:remi-8.4'])
|
||||
module_base.switch_to(['perl:5.26'])
|
||||
module_base.switch_to(['python36:3.6'])
|
||||
module_base.switch_to(['mariadb:10.5'])
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
my $deltaRpm = $dnf{DeltaRpmProcess} || 'disabled';
|
||||
$deltaRpm = '0' if ($deltaRpm eq 'disabled');
|
||||
$deltaRpm = '2' if ($deltaRpm eq 'enabled');
|
||||
$deltaRpm = '1' if ($deltaRpm eq 'enabled');
|
||||
$OUT .= "deltarpm=$deltaRpm";
|
||||
}
|
||||
|
@@ -2,4 +2,4 @@
|
||||
if $programname startswith "dnf_update_dbs" then /var/log/dnf/dnf-update.log
|
||||
& stop
|
||||
if $programname startswith "dnf-automatic" then stop
|
||||
if $programname startswith "dnf-makecache" theb stop
|
||||
if $programname startswith "dnf-makecache" then stop
|
||||
|
@@ -53,7 +53,7 @@ servicenames['mariadb']='mariadb',
|
||||
servicenames['nut']='nut',
|
||||
servicenames['openldap']='ldap',
|
||||
servicenames['openssh']='sshd',
|
||||
servicenames['php']='httpd-e-smith', 'php72-php-fpm', 'php73-php-fpm', 'php74-php-fpm', 'php80-php-fpm', 'php81-php-fpm', 'php82-php-fpm', 'php83-php-fpm',
|
||||
servicenames['php']='httpd-e-smith', 'php72-php-fpm', 'php73-php-fpm', 'php74-php-fpm', 'php80-php-fpm', 'php81-php-fpm', 'php82-php-fpm', 'php83-php-fpm', 'php84-php-fpm',
|
||||
servicenames['proftp']='ftp',
|
||||
servicenames['samba']='smb',
|
||||
servicenames['spamassassin']='spamassassin',
|
||||
|
@@ -5,6 +5,7 @@ After=network-pre.target networking.service
|
||||
[Service]
|
||||
Type=forking
|
||||
SyslogIdentifier=dnf_update_dbs
|
||||
ExecStartPre=-/etc/e-smith/events/actions/dnf_modules
|
||||
ExecStartPre=/sbin/e-smith/service-status dnf
|
||||
ExecStart=/sbin/e-smith/dnf_update_dbs
|
||||
TimeoutSec=0
|
||||
|
@@ -180,7 +180,7 @@ sub get_status
|
||||
{
|
||||
my ($fm, $prop, $localise) = @_;
|
||||
|
||||
my $status = $db->get_prop("yum", $prop) || 'disabled';
|
||||
my $status = $db->get_prop("dnf", $prop) || 'disabled';
|
||||
|
||||
return $status unless $localise;
|
||||
|
||||
@@ -196,7 +196,7 @@ sub change_settings
|
||||
PackageFunctions
|
||||
) )
|
||||
{
|
||||
$db->set_prop('yum', $param, $q->param("yum_$param"));
|
||||
$db->set_prop('dnf', $param, $q->param("yum_$param"));
|
||||
}
|
||||
|
||||
my $check4updates = $q->param("yum_check4updates");
|
||||
@@ -204,21 +204,21 @@ sub change_settings
|
||||
|
||||
if ($check4updates ne 'disabled') { $status = 'enabled'; }
|
||||
|
||||
$db->set_prop('yum', 'check4updates', $check4updates);
|
||||
$db->set_prop('dnf', 'check4updates', $check4updates);
|
||||
|
||||
my $deltarpm = $q->param("yum_DeltaRpmProcess");
|
||||
$db->set_prop('yum', 'DeltaRpmProcess', $deltarpm);
|
||||
$db->set_prop('dnf', 'DeltaRpmProcess', $deltarpm);
|
||||
|
||||
my $downloadonly = $q->param("yum_DownloadOnly");
|
||||
if ($downloadonly ne 'disabled') { $status = 'enabled'; }
|
||||
|
||||
$db->set_prop('yum', 'DownloadOnly', $downloadonly);
|
||||
$db->set_prop('dnf', 'DownloadOnly', $downloadonly);
|
||||
|
||||
my $AutoInstallUpdates = $q->param("yum_AutoInstallUpdates");
|
||||
if ($AutoInstallUpdates ne 'disabled') { $status = 'enabled'; }
|
||||
|
||||
$db->set_prop('yum', 'AutoInstallUpdates', $AutoInstallUpdates);
|
||||
$db->set_prop('yum', 'status', $status);
|
||||
$db->set_prop('dnf', 'AutoInstallUpdates', $AutoInstallUpdates);
|
||||
$db->set_prop('dnf', 'status', $status);
|
||||
|
||||
my %selected = map {$_ => 1} $q->param('SelectedRepositories');
|
||||
|
||||
|
30
root/usr/share/rpm-gpg-keys/RPM-GPG-KEY-sme11
Normal file
30
root/usr/share/rpm-gpg-keys/RPM-GPG-KEY-sme11
Normal file
@@ -0,0 +1,30 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQENBGaPPbUBCACrfh7C6hG/ZryuDpoK23V2mMHe37hHsMUKojsRulrvPKsICE0t
|
||||
QFqpppDp+dfJeOEbdA6gI5LZxlsIyAIZ6eYIpCPvjuEWRa9prVbb5y5HKRCq87NW
|
||||
gTCRwARMiOmAJZ7N+IreyUF8nEBy0JePL2vDt1UsF4OrV5w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s+JbHLP0zetkQ0jLBxRld5w8FUj/m0CdzpJK71kxx04N7WtFs0LLsAEQEAAYkB
|
||||
NgQYAQgAIBYhBATzQ/ljyNxKs+iy5M4aI/dEkiooBQJmjz21AhsMAAoJEM4aI/dE
|
||||
kiooLHIH/3T0jJCIaZW8qbcrlxccxjYJT6s1WkQgshg2NCOvih63kHe3szx7L2mE
|
||||
DMsKmopkRA8uGJOYRSAj2VKf2f+PFCRLi6vpEjIeB13/nBKyYyRsZCKtexlQyRpc
|
||||
elRiwcJ9C7bXCZn1ILoleonahnACfWnHh4gVBO85kDdKbrk+tMYqaQd7jGKW/zNB
|
||||
snDSb4ZzfXnKf4RYJSxfS2w3Jf0byO8AlqScunuxVjcOhOlNU8yCWxxVh5kyzmkr
|
||||
YTBb5TPc9ibtcTKOUMQRz6gKh+jhepKi1Didt1xreu2hLSEghW4NYEnOC4nkwb1g
|
||||
n+ECJ+ckVRagPFo6Ws4J5wWIRblF9aY=
|
||||
=c/Xf
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
@@ -2,7 +2,7 @@
|
||||
Summary: Koozali SME Server rpm updater
|
||||
Name: %{name}
|
||||
%define version 11.0.0
|
||||
%define release 13
|
||||
%define release 19
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
License: GPL
|
||||
@@ -68,6 +68,28 @@ mkdir -p root/etc/yum.smerepos.d
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 05 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-19.sme
|
||||
- set module php 84 [SME: 12952]
|
||||
- remove openfusion repo [SME: 12882]
|
||||
|
||||
* Sat Feb 15 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-18.sme
|
||||
- fix deltarpm is now a bolean [SME: 12755]
|
||||
|
||||
* Sat Dec 21 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-17.sme
|
||||
- set our prefered modules on different events and dnf.service run [SME: 12618]
|
||||
- update old manager to use dnf key instead of yum for settings [SME: 12831]
|
||||
- clean rocky yum_repositories property Name content [SME: 12806]
|
||||
|
||||
* Sat Nov 30 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-16.sme
|
||||
- remove smeupdates and add smecontribs-testing [SME: 12804]
|
||||
|
||||
* Fri Nov 15 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-15.sme
|
||||
- add PowerTools repo needed for openldap-server [SME: 12790]
|
||||
- add SME 11 gpg key
|
||||
|
||||
* Mon Sep 02 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-14.sme
|
||||
- fix typo in rsyslog.conf [SME: 12668]
|
||||
|
||||
* Wed Aug 21 2024 Brian Read <brianr@koozali.org> 11.0.0-13.sme
|
||||
- Fix error in createlinks - link to restart yum should be dnf [SME: 12723]
|
||||
|
||||
|
Reference in New Issue
Block a user