Compare commits

...

5 Commits

Author SHA1 Message Date
Daniel Berteaud 0635327c2e Automatic commit of package [smeserver-zabbix-proxy] release [0.3.1-1]. 5 years ago
Daniel Berteaud 98243d1514 Adapt to be usable with upstream zabbix packages 5 years ago
Daniel Berteaud 57b9e846d4 Adapt spec file for builds with tito 5 years ago
Daniel Berteaud 21723dab21 Configure tito 5 years ago
Daniel Berteaud 8b22aea0ea Initialized to use tito. 5 years ago
  1. 3
      .tito/packages/.readme
  2. 1
      .tito/packages/smeserver-zabbix-proxy
  3. 1
      .tito/releasers.conf
  4. 6
      .tito/tito.props
  5. 4
      root/etc/e-smith/templates/etc/e-smith/sql/init/80zabbix-proxy
  6. 16
      smeserver-zabbix-proxy.spec

@ -0,0 +1,3 @@
the .tito/packages directory contains metadata files
named after their packages. Each file has the latest tagged
version and the project's relative directory.

@ -0,0 +1 @@
../../tito_libs/releasers.conf

@ -0,0 +1,6 @@
[buildconfig]
builder = tito.builder.Builder
tagger = tito.tagger.VersionTagger
changelog_do_not_remove_cherrypick = 0
changelog_format = %s (%ae)
lib_dir = ../tito_libs

@ -3,14 +3,14 @@ my $db = ${'zabbix-proxy'}{'DbName'} || 'zabbix';
my $user = ${'zabbix-proxy'}{'DbUser'} || 'zabbix'; my $user = ${'zabbix-proxy'}{'DbUser'} || 'zabbix';
my $pass = ${'zabbix-proxy'}{'DbPassword'} || 'secret'; my $pass = ${'zabbix-proxy'}{'DbPassword'} || 'secret';
my $schema = `rpm -qd zabbix-server | grep schema | grep mysql`; my $schema = `rpm -qd zabbix-proxy-mysql | grep schema | grep mysql`;
$OUT .= <<"END"; $OUT .= <<"END";
#! /bin/sh #! /bin/sh
if [ \! -d /var/lib/mysql/$db ]; then if [ \! -d /var/lib/mysql/$db ]; then
/usr/bin/mysqladmin create $db /usr/bin/mysqladmin create $db
/usr/bin/mysql $db < $schema gzip -dc $schema | /usr/bin/mysql $db
fi fi
/usr/bin/mysql <<EOF /usr/bin/mysql <<EOF

@ -1,10 +1,7 @@
%define name smeserver-zabbix-proxy
%define version 0.3.0
%define release 1
Summary: sme server integration of zabbix proxy Summary: sme server integration of zabbix proxy
Name: %{name} Name: smeserver-zabbix-proxy
Version: %{version} Version: 0.3.1
Release: %{release}%{?dist} Release: 1%{?dist}
License: GNU GPL version 3 License: GNU GPL version 3
URL: http://www.zabbix.com/ URL: http://www.zabbix.com/
Group: SMEserver/addon Group: SMEserver/addon
@ -15,10 +12,11 @@ BuildRequires: e-smith-devtools
BuildRoot: /var/tmp/%{name}-%{version} BuildRoot: /var/tmp/%{name}-%{version}
Requires: e-smith-release >= 7.0 Requires: e-smith-release >= 7.0
Requires: fping Requires: fping
Requires: zabbix-server-mysql
Requires: zabbix-proxy-mysql Requires: zabbix-proxy-mysql
Requires: smeserver-remoteuseraccess Requires: smeserver-remoteuseraccess
Conflicts: smeserver-zabbix-server Conflicts: smeserver-zabbix-server
Obsoletes: zabbix-server
Obsoletes: zabbix-server-mysql
AutoReqProv: no AutoReqProv: no
%description %description
@ -27,6 +25,10 @@ Zabbix is an entreprise-class open source distributed monitoring
solution solution
%changelog %changelog
* Thu Nov 28 2019 Daniel Berteaud <daniel@firewall-services.com> 0.3.1-1
- new package built with tito
- adapt spec file for tito
- adapt to be used with upstream zabbix packages
* Mon Mar 21 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.3.0-1.sme * Mon Mar 21 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.3.0-1.sme
- Add support for encryption features of Zabbix 3.0 - Add support for encryption features of Zabbix 3.0

Loading…
Cancel
Save