2 Commits

Author SHA1 Message Date
d5c5fab942 * Fri Sep 12 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.0-10.sme
- revert using core mariadb [SME: 13143]
2025-09-12 22:13:44 -04:00
31da96081c Update README with specific Bugzilla links 2024-10-27 15:41:37 +00:00
9 changed files with 15 additions and 14 deletions

View File

@@ -11,7 +11,14 @@ SMEServer Koozali developed git repo for smeserver-bugzilla smecontribs
<br />https://wiki.koozali.org/Bugzilla-contribs <br />https://wiki.koozali.org/Bugzilla-contribs
## Bugzilla ## Bugzilla
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-bugzilla&product=SME%20Contribs&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&classification=Contribs&component=smeserver-bugzilla&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
[Confirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=CONFIRMED&classification=Contribs&component=smeserver-bugzilla&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
[Unconfirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&classification=Contribs&component=smeserver-bugzilla&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
[Need Info](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=NEEDINFO&classification=Contribs&component=smeserver-bugzilla&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
[In Progress](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=IN_PROGRESS&classification=Contribs&component=smeserver-bugzilla&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
[Verified](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=VERIFIED&classification=Contribs&component=smeserver-bugzilla&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
[Resolved](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=RESOLVED&classification=Contribs&component=smeserver-bugzilla&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
## Description ## Description

View File

@@ -1 +0,0 @@
contribs10

View File

@@ -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")
} }

View File

@@ -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)
{ {

View File

@@ -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

Binary file not shown.

View File

@@ -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]