* Fri Sep 12 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.0-10.sme

- revert using core mariadb [SME: 13143]
This commit is contained in:
2025-09-12 22:13:44 -04:00
parent 31da96081c
commit d5c5fab942
7 changed files with 7 additions and 13 deletions

View File

@@ -1 +0,0 @@
contribs10

View File

@@ -10,7 +10,7 @@ for my $event (qw(
{
templates2events("/etc/bugzilla.conf", $event);
templates2events("/etc/bugzilla/localconfig", $event);
templates2events("/etc/e-smith/sql/init105/91bugzilla", $event);
templates2events("/etc/e-smith/sql/init/91bugzilla", $event);
}
for my $event (qw(
@@ -21,6 +21,6 @@ for my $event (qw(
templates2events("/etc/httpd/conf/httpd.conf", $event);
safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
event_link("bugzilla", $event, "91");
safe_symlink("restart","root/etc/e-smith/events/$event/services2adjust/mariadb105-mysql.init")
safe_symlink("restart","root/etc/e-smith/events/$event/services2adjust/mysql.init")
}

View File

@@ -5,22 +5,14 @@
my $rec;
my $pw;
# Enable InnoDB (needed for Bugzilla)
$service = 'mysqld';
$rec = $DB->get($service) || $DB->new_record($service, {type => 'service'});
$rec->set_prop('InnoDB', 'enabled');
# Store the Bugzilla password in the configuration database (if not already there)
$service = 'bugzilla';
$rec = $DB->get($service) || $DB->new_record($service, {type => 'service'});
$pw = $rec->prop('DbPassword');
# return "" if $pw;
$adminpw = $rec->prop('AdminPassword');
# return "" if $pw;
if (! $pw)
{

View File

@@ -28,7 +28,7 @@ $db_port = 0;
# MySQL Only: Enter a path to the unix socket for MySQL. If this is
# blank, then MySQL's compiled-in default will be used. You probably
# want that.
$db_sock = '/var/lib/mysql/mariadb105.sock';
$db_sock = '/var/lib/mysql/mysql.sock';
# Should checksetup.pl try to verify that your database setup is correct?
# (with some combinations of database servers/Perl modules/moonphase this

View File

@@ -5,7 +5,7 @@
Summary: Set up bugzilla for SME Server.
%define name smeserver-bugzilla
%define version 1.0
%define release 9
%define release 10
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
@@ -48,6 +48,9 @@ AutoReqProv: no
rpm to setup bugzilla
%changelog
* Fri Sep 12 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.0-10.sme
- revert using core mariadb [SME: 13143]
* Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 1.0-9.sme
- Fix e-smith references in smeserver-bugzilla [SME: 12732]