1 |
brianr |
1.1 |
%define name smeserver-bandwidthd |
2 |
|
|
%define version 2.0.1.2 |
3 |
brianr |
1.3 |
%define release 9 |
4 |
brianr |
1.1 |
Summary: bandwidthd is a helpdesk system |
5 |
|
|
Name: %{name} |
6 |
|
|
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
Distribution: SME Server |
9 |
|
|
License: GNU GPL version 2 |
10 |
|
|
Group: SMEserver/addon |
11 |
|
|
Source: smeserver-bandwidthd-%{version}.tar.gz |
12 |
|
|
Patch0: smeserver-bandwidthd-2.0.1.2.cronmysql.patch |
13 |
|
|
Patch1: smeserver-bandwidthd-2.0.1.2-b8536.patch |
14 |
|
|
Patch2: smeserver-bandwidthd-2.0.1.2-b8524.patch |
15 |
|
|
Patch3: smeserver-bandwidthd-2.0.1.2-8536.patch |
16 |
brianr |
1.2 |
Patch4: smeserver-bandwidthd-2.0.1.2-Alter-link-in-createlinks-to-wrapper.patch |
17 |
brianr |
1.3 |
Patch5: smeserver-bandwidthd-2.0.1.2-Update-createlinks-for-systemd-startup.patch |
18 |
brianr |
1.1 |
BuildArchitectures: noarch |
19 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
20 |
|
|
BuildRequires: e-smith-devtools |
21 |
|
|
Requires: e-smith-release >= 9.0 |
22 |
|
|
Requires: bandwidthd |
23 |
|
|
AutoReqProv: no |
24 |
|
|
|
25 |
|
|
%description |
26 |
|
|
bandwidthd is an application adapted as a contrib for SMEserver |
27 |
|
|
|
28 |
|
|
%changelog |
29 |
brianr |
1.3 |
* Fri Nov 27 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.1.2-9.sme |
30 |
|
|
- Update createlinks for systemd startup [SME: 11046] |
31 |
|
|
- Update httpd with extra loadmodules |
32 |
|
|
|
33 |
brianr |
1.2 |
* Tue Oct 20 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.1.2-8.sme |
34 |
|
|
- Initial import into SME10 tree- [SME: 11046] |
35 |
|
|
- Add in link to createlinks to wrapper for Server Manager panel |
36 |
|
|
- Fix up httpd.conf template to call php-fwp |
37 |
|
|
|
38 |
brianr |
1.1 |
* Sat Dec 17 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.1.2-7.sme |
39 |
|
|
- fix [SME: ] |
40 |
|
|
|
41 |
|
|
* Thu Dec 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.1.2-6.sme |
42 |
|
|
- fix one more time too verbose cronjob and unique IP networks [SME: 8536] |
43 |
|
|
|
44 |
|
|
* Mon Nov 10 2015 JP Pialasse <tests@pialasse.com> 2.0.1.2-5.sme |
45 |
|
|
- fixed cron too verbose [SME: 8536] |
46 |
|
|
- fixed wont restart with single IP network [SME: 8524] |
47 |
|
|
|
48 |
|
|
* Sat Sep 26 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.1.2-2.sme |
49 |
|
|
- removed typo [SME: 8116] |
50 |
|
|
- Added smeserver-bandwidthd-2.0.1.2.cronmysql.patch |
51 |
|
|
|
52 |
|
|
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 2.0.1.2-1.sme |
53 |
|
|
- initial import to SME9 contribs |
54 |
|
|
|
55 |
|
|
* Mon Dec 30 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-6.sme |
56 |
|
|
- add require SSL [SME: 8099] |
57 |
|
|
|
58 |
|
|
* Sun Dec 29 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-4.sme |
59 |
|
|
- fix missing mysql.init |
60 |
|
|
- fix http auth error |
61 |
|
|
|
62 |
|
|
* Fri Dec 27 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-2.sme |
63 |
|
|
- few enhancement and bug fixing |
64 |
|
|
- added link in manager |
65 |
|
|
|
66 |
|
|
* Thu Dec 26 2013 CONTRIB MAKER <tests@pialasse.com> 2.0.1.1-1.sme |
67 |
|
|
- initial release |
68 |
|
|
- builds from unchanged .tar.gz |
69 |
|
|
|
70 |
|
|
%prep |
71 |
|
|
%setup |
72 |
|
|
%patch0 -p1 |
73 |
|
|
%patch1 -p1 |
74 |
|
|
%patch2 -p1 |
75 |
|
|
%patch3 -p1 |
76 |
brianr |
1.2 |
%patch4 -p1 |
77 |
brianr |
1.3 |
%patch5 -p1 |
78 |
brianr |
1.1 |
|
79 |
|
|
%build |
80 |
|
|
perl createlinks |
81 |
|
|
|
82 |
|
|
%install |
83 |
|
|
rm -rf $RPM_BUILD_ROOT |
84 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
85 |
|
|
rm -f %{name}-%{version}-filelist |
86 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
87 |
|
|
> %{name}-%{version}-filelist |
88 |
|
|
|
89 |
|
|
%clean |
90 |
|
|
rm -rf $RPM_BUILD_ROOT |
91 |
|
|
|
92 |
|
|
%files -f %{name}-%{version}-filelist |
93 |
|
|
%defattr(-,root,root) |
94 |
|
|
|
95 |
|
|
|