* 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:
@@ -1 +0,0 @@
|
|||||||
contribs10
|
|
@@ -10,7 +10,7 @@ for my $event (qw(
|
|||||||
{
|
{
|
||||||
templates2events("/etc/bugzilla.conf", $event);
|
templates2events("/etc/bugzilla.conf", $event);
|
||||||
templates2events("/etc/bugzilla/localconfig", $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(
|
for my $event (qw(
|
||||||
@@ -21,6 +21,6 @@ for my $event (qw(
|
|||||||
templates2events("/etc/httpd/conf/httpd.conf", $event);
|
templates2events("/etc/httpd/conf/httpd.conf", $event);
|
||||||
safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
|
safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
|
||||||
event_link("bugzilla", $event, "91");
|
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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -5,22 +5,14 @@
|
|||||||
my $rec;
|
my $rec;
|
||||||
my $pw;
|
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)
|
# Store the Bugzilla password in the configuration database (if not already there)
|
||||||
$service = 'bugzilla';
|
$service = 'bugzilla';
|
||||||
|
|
||||||
$rec = $DB->get($service) || $DB->new_record($service, {type => 'service'});
|
$rec = $DB->get($service) || $DB->new_record($service, {type => 'service'});
|
||||||
|
|
||||||
$pw = $rec->prop('DbPassword');
|
$pw = $rec->prop('DbPassword');
|
||||||
# return "" if $pw;
|
|
||||||
|
|
||||||
$adminpw = $rec->prop('AdminPassword');
|
$adminpw = $rec->prop('AdminPassword');
|
||||||
# return "" if $pw;
|
|
||||||
|
|
||||||
if (! $pw)
|
if (! $pw)
|
||||||
{
|
{
|
||||||
|
@@ -28,7 +28,7 @@ $db_port = 0;
|
|||||||
# MySQL Only: Enter a path to the unix socket for MySQL. If this is
|
# 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
|
# blank, then MySQL's compiled-in default will be used. You probably
|
||||||
# want that.
|
# 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?
|
# Should checksetup.pl try to verify that your database setup is correct?
|
||||||
# (with some combinations of database servers/Perl modules/moonphase this
|
# (with some combinations of database servers/Perl modules/moonphase this
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
Summary: Set up bugzilla for SME Server.
|
Summary: Set up bugzilla for SME Server.
|
||||||
%define name smeserver-bugzilla
|
%define name smeserver-bugzilla
|
||||||
%define version 1.0
|
%define version 1.0
|
||||||
%define release 9
|
%define release 10
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}%{?dist}
|
Release: %{release}%{?dist}
|
||||||
@@ -48,6 +48,9 @@ AutoReqProv: no
|
|||||||
rpm to setup bugzilla
|
rpm to setup bugzilla
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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]
|
- Fix e-smith references in smeserver-bugzilla [SME: 12732]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user