1 |
brianr |
1.1 |
%define name smeserver-bandwidthd |
2 |
|
|
%define version 2.0.1.2 |
3 |
jpp |
1.6 |
%define release 13 |
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.4 |
Patch6: smeserver-bandwidthd-2.0.1.2-httpd-set-php-version.patch |
19 |
|
|
Patch7: smeserver-bandwidthd-2.0.1.2-Update-Creatlinks-with-systemd-stuff.patch |
20 |
jpp |
1.5 |
Patch8: smeserver-bandwidthd-2.0.1.2-bz11046-php.patch |
21 |
jpp |
1.6 |
Patch9: smeserver-bandwidthd-2.0.1.2-bz11046.patch |
22 |
jpp |
1.5 |
|
23 |
brianr |
1.1 |
BuildArchitectures: noarch |
24 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
25 |
|
|
BuildRequires: e-smith-devtools |
26 |
|
|
Requires: e-smith-release >= 9.0 |
27 |
|
|
Requires: bandwidthd |
28 |
|
|
AutoReqProv: no |
29 |
|
|
|
30 |
|
|
%description |
31 |
|
|
bandwidthd is an application adapted as a contrib for SMEserver |
32 |
|
|
|
33 |
|
|
%changelog |
34 |
jpp |
1.6 |
* Wed Jun 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.2-13.sme |
35 |
|
|
- fix typo for grapCutofff [SME: 11046] |
36 |
|
|
- /etc/bandwidthd.conf to 0664 [SME: 11046] |
37 |
|
|
|
38 |
jpp |
1.5 |
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.2-12.sme |
39 |
|
|
- add php74-php-fpm reload-or-restart [SME: 11046] |
40 |
|
|
|
41 |
brianr |
1.4 |
* Tue Feb 02 2021 Brian Read <brianr@bjsystems.co.uk> 2.0.1.2-11.sme |
42 |
|
|
- Update-Creatlinks-with-systemd-stuff [SME: 11046] |
43 |
|
|
|
44 |
|
|
* Tue Feb 02 2021 BogusDateBot |
45 |
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
46 |
|
|
by assuming the date is correct and changing the weekday. |
47 |
|
|
|
48 |
|
|
* Mon Nov 30 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.1.2-10.sme |
49 |
|
|
- Set $version in httpd.conf [SME: 11046] |
50 |
|
|
|
51 |
brianr |
1.3 |
* Fri Nov 27 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.1.2-9.sme |
52 |
|
|
- Update createlinks for systemd startup [SME: 11046] |
53 |
|
|
- Update httpd with extra loadmodules |
54 |
|
|
|
55 |
brianr |
1.2 |
* Tue Oct 20 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.1.2-8.sme |
56 |
|
|
- Initial import into SME10 tree- [SME: 11046] |
57 |
|
|
- Add in link to createlinks to wrapper for Server Manager panel |
58 |
|
|
- Fix up httpd.conf template to call php-fwp |
59 |
|
|
|
60 |
brianr |
1.1 |
* Sat Dec 17 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.1.2-7.sme |
61 |
|
|
- fix [SME: ] |
62 |
|
|
|
63 |
|
|
* Thu Dec 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.1.2-6.sme |
64 |
|
|
- fix one more time too verbose cronjob and unique IP networks [SME: 8536] |
65 |
|
|
|
66 |
|
|
* Mon Nov 10 2015 JP Pialasse <tests@pialasse.com> 2.0.1.2-5.sme |
67 |
|
|
- fixed cron too verbose [SME: 8536] |
68 |
|
|
- fixed wont restart with single IP network [SME: 8524] |
69 |
|
|
|
70 |
|
|
* Sat Sep 26 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.1.2-2.sme |
71 |
|
|
- removed typo [SME: 8116] |
72 |
|
|
- Added smeserver-bandwidthd-2.0.1.2.cronmysql.patch |
73 |
|
|
|
74 |
|
|
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 2.0.1.2-1.sme |
75 |
|
|
- initial import to SME9 contribs |
76 |
|
|
|
77 |
|
|
* Mon Dec 30 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-6.sme |
78 |
|
|
- add require SSL [SME: 8099] |
79 |
|
|
|
80 |
|
|
* Sun Dec 29 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-4.sme |
81 |
|
|
- fix missing mysql.init |
82 |
|
|
- fix http auth error |
83 |
|
|
|
84 |
|
|
* Fri Dec 27 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-2.sme |
85 |
|
|
- few enhancement and bug fixing |
86 |
|
|
- added link in manager |
87 |
|
|
|
88 |
|
|
* Thu Dec 26 2013 CONTRIB MAKER <tests@pialasse.com> 2.0.1.1-1.sme |
89 |
|
|
- initial release |
90 |
|
|
- builds from unchanged .tar.gz |
91 |
|
|
|
92 |
|
|
%prep |
93 |
|
|
%setup |
94 |
|
|
%patch0 -p1 |
95 |
|
|
%patch1 -p1 |
96 |
|
|
%patch2 -p1 |
97 |
|
|
%patch3 -p1 |
98 |
brianr |
1.2 |
%patch4 -p1 |
99 |
brianr |
1.3 |
%patch5 -p1 |
100 |
brianr |
1.4 |
%patch6 -p1 |
101 |
|
|
%patch7 -p1 |
102 |
jpp |
1.5 |
%patch8 -p1 |
103 |
jpp |
1.6 |
%patch9 -p1 |
104 |
brianr |
1.1 |
|
105 |
|
|
%build |
106 |
|
|
perl createlinks |
107 |
|
|
|
108 |
|
|
%install |
109 |
|
|
rm -rf $RPM_BUILD_ROOT |
110 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
111 |
|
|
rm -f %{name}-%{version}-filelist |
112 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
113 |
|
|
> %{name}-%{version}-filelist |
114 |
|
|
|
115 |
|
|
%clean |
116 |
|
|
rm -rf $RPM_BUILD_ROOT |
117 |
|
|
|
118 |
|
|
%files -f %{name}-%{version}-filelist |
119 |
|
|
%defattr(-,root,root) |
120 |
|
|
|
121 |
|
|
|