3 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
Trevor Batley
3a948190a4 fix-e-smith-pkg script (#12732) 2024-09-08 17:42:25 +10:00
9 changed files with 22 additions and 18 deletions

View File

@@ -11,7 +11,14 @@ SMEServer Koozali developed git repo for smeserver-bugzilla smecontribs
<br />https://wiki.koozali.org/Bugzilla-contribs
## 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

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

Binary file not shown.

View File

@@ -5,7 +5,7 @@
Summary: Set up bugzilla for SME Server.
%define name smeserver-bugzilla
%define version 1.0
%define release 8
%define release 10
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
@@ -17,9 +17,9 @@ Source: %{name}-%{version}.tar.xz
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
BuildArchitectures: noarch
BuildRequires: e-smith-devtools >= 1.13.1-03
Requires: e-smith-release >= 10.0
Requires: e-smith-apache >= 2.6.0-19
BuildRequires: smeserver-devtools >= 1.13.1-03
Requires: smeserver-release >= 10.0
Requires: smeserver-apache >= 2.6.0-19
Requires: bugzilla >= 3.2.10
Requires: bugzilla-contrib
Requires: bugzilla-doc
@@ -41,13 +41,19 @@ Requires: smeserver-mariadb105
#Requires: perl(Email::MIME::Modifier) >= 1.442
#Requires: perl(URI)
Requires: e-smith-base
Requires: smeserver-base
AutoReqProv: no
%description
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]
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 1.0-8.sme
- Roll up patches and move to git repo [SME: 12338]