3 |
|
|
4 |
Name: bandwidthd |
Name: bandwidthd |
5 |
Version: 2.0.1.1 |
Version: 2.0.1.1 |
6 |
Release: 7%{?dist} |
Release: 8%{?dist} |
7 |
Summary: Tracks network usage and builds html and graphs |
Summary: Tracks network usage and builds html and graphs |
8 |
|
|
9 |
Group: System Environment/Daemons |
Group: System Environment/Daemons |
17 |
Patch0: bandwidthd-destdir.patch |
Patch0: bandwidthd-destdir.patch |
18 |
Patch1: bandwidthd-pgsql.patch |
Patch1: bandwidthd-pgsql.patch |
19 |
Patch2: bandwidthd-mysql.patch |
Patch2: bandwidthd-mysql.patch |
20 |
|
Patch3: bandwidthd-2.0.1.1-mariadb.patch |
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
22 |
BuildRequires: autoconf, gd-devel, libpng-devel |
BuildRequires: autoconf, gd-devel, libpng-devel |
23 |
%{?!_without_pgsql:BuildRequires: postgresql-devel} |
%{?!_without_pgsql:BuildRequires: postgresql-devel} |
60 |
#-b .pgsql |
#-b .pgsql |
61 |
%patch2 -p1 |
%patch2 -p1 |
62 |
#-b .mysql |
#-b .mysql |
63 |
|
%patch3 -p0 |
64 |
|
|
65 |
%build |
%build |
66 |
cp -af /usr/lib/rpm/config.{sub,guess} . |
cp -af /usr/lib/rpm/config.{sub,guess} . |
131 |
%attr(755,root,root) %{_var}/www/%{name}/phphtdocs/*.sh |
%attr(755,root,root) %{_var}/www/%{name}/phphtdocs/*.sh |
132 |
|
|
133 |
%changelog |
%changelog |
134 |
|
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.1-8.sme |
135 |
|
- use ENGINE in place of TYPE for mariadb |
136 |
|
|
137 |
* Thu Jun 03 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.1-7.sme |
* Thu Jun 03 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.1-7.sme |
138 |
- build test ; make -j2 |
- build test ; make -j2 |
139 |
|
|