1 |
%define name smeserver-bandwidthd |
2 |
%define version 2.0.1.2 |
3 |
%define release 18 |
4 |
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 |
Patch4: smeserver-bandwidthd-2.0.1.2-Alter-link-in-createlinks-to-wrapper.patch |
17 |
Patch5: smeserver-bandwidthd-2.0.1.2-Update-createlinks-for-systemd-startup.patch |
18 |
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 |
Patch8: smeserver-bandwidthd-2.0.1.2-bz11046-php.patch |
21 |
Patch9: smeserver-bandwidthd-2.0.1.2-bz11046.patch |
22 |
Patch10: smeserver-bandwidthd-2.0.1.2-bz12001-backup.patch |
23 |
Patch11: smeserver-bandwidthd-2.0.1.2-bz12037-24syntax.patch |
24 |
Patch12: smeserver-bandwidthd-2.0.1.2-bz12251.patch |
25 |
Patch13: smeserver-bandwidthd-2.0.1.2-bz12697.patch |
26 |
|
27 |
BuildArchitectures: noarch |
28 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
29 |
BuildRequires: e-smith-devtools |
30 |
Requires: e-smith-release >= 10.0 |
31 |
Requires: e-smith-apache >= 2.6.0-19 |
32 |
Requires: bandwidthd |
33 |
AutoReqProv: no |
34 |
|
35 |
%description |
36 |
bandwidthd is an application adapted as a contrib for SMEserver |
37 |
|
38 |
%changelog |
39 |
* Tue May 28 2024 Jean-Philippe Pialasse <jpp@koozali.org> 2.0.1.2-18.sme |
40 |
- expand config and restart on ip-up event [SME: 12697] |
41 |
also add external Gateway to monitor |
42 |
|
43 |
* Tue Dec 27 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.2-17.sme |
44 |
- fix Can't modify constant item in scalar assignment [SME: 12292] |
45 |
|
46 |
* Fri Dec 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.2-16.sme |
47 |
- fix preset disabled [SME: 12251] |
48 |
|
49 |
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 2.0.1.2-15.sme |
50 |
- Re-build and link to latest devtools [SME: 11997] |
51 |
|
52 |
* Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.2-14.sme |
53 |
- add to core backup [SME: 11046] |
54 |
- access syntax for httpd 2.4 [SME: 12037] |
55 |
|
56 |
* Wed Jun 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.2-13.sme |
57 |
- Re-build and link to latest devtools typo for grapCutofff [SME: 11046] |
58 |
- /etc/bandwidthd.conf to 0664 [SME: 11046] |
59 |
|
60 |
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.2-12.sme |
61 |
- add php74-php-fpm reload-or-restart [SME: 11046] |
62 |
|
63 |
* Tue Feb 02 2021 Brian Read <brianr@bjsystems.co.uk> 2.0.1.2-11.sme |
64 |
- Update-Creatlinks-with-systemd-stuff [SME: 11046] |
65 |
|
66 |
* Tue Feb 02 2021 BogusDateBot |
67 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
68 |
by assuming the date is correct and changing the weekday. |
69 |
|
70 |
* Mon Nov 30 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.1.2-10.sme |
71 |
- Set $version in httpd.conf [SME: 11046] |
72 |
|
73 |
* Fri Nov 27 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.1.2-9.sme |
74 |
- Update createlinks for systemd startup [SME: 11046] |
75 |
- Update httpd with extra loadmodules |
76 |
|
77 |
* Tue Oct 20 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.1.2-8.sme |
78 |
- Initial import into SME10 tree- [SME: 11046] |
79 |
- Add in link to createlinks to wrapper for Server Manager panel |
80 |
- Fix up httpd.conf template to call php-fwp |
81 |
|
82 |
* Sat Dec 17 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.1.2-7.sme |
83 |
- Re-build and link to latest devtools [SME: 11997] |
84 |
|
85 |
* Thu Dec 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.1.2-6.sme |
86 |
- Re-build and link to latest devtools one more time too verbose cronjob and unique IP networks [SME: 8536] |
87 |
|
88 |
* Tue Nov 10 2015 JP Pialasse <tests@pialasse.com> 2.0.1.2-5.sme |
89 |
Mon Nov 10 2015 --> Mon Nov 09 2015 or Tue Nov 10 2015 or Mon Nov 16 2015 or .... |
90 |
- Re-build and link to latest devtoolsed cron too verbose [SME: 8536] |
91 |
- Re-build and link to latest devtoolsed wont restart with single IP network [SME: 8524] |
92 |
|
93 |
* Sat Sep 26 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.1.2-2.sme |
94 |
- removed typo [SME: 8116] |
95 |
- Added smeserver-bandwidthd-2.0.1.2.cronmysql.patch |
96 |
|
97 |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 2.0.1.2-1.sme |
98 |
- initial import to SME9 contribs |
99 |
|
100 |
* Mon Dec 30 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-6.sme |
101 |
- add require SSL [SME: 8099] |
102 |
|
103 |
* Sun Dec 29 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-4.sme |
104 |
- Re-build and link to latest devtools missing mysql.init |
105 |
- Re-build and link to latest devtools http auth error |
106 |
|
107 |
* Fri Dec 27 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-2.sme |
108 |
- few enhancement and bug fixing |
109 |
- added link in manager |
110 |
|
111 |
* Thu Dec 26 2013 CONTRIB MAKER <tests@pialasse.com> 2.0.1.1-1.sme |
112 |
- initial release |
113 |
- builds from unchanged .tar.gz |
114 |
|
115 |
%prep |
116 |
%setup |
117 |
%patch0 -p1 |
118 |
%patch1 -p1 |
119 |
%patch2 -p1 |
120 |
%patch3 -p1 |
121 |
%patch4 -p1 |
122 |
%patch5 -p1 |
123 |
%patch6 -p1 |
124 |
%patch7 -p1 |
125 |
%patch8 -p1 |
126 |
%patch9 -p1 |
127 |
%patch10 -p1 |
128 |
%patch11 -p1 |
129 |
%patch12 -p1 |
130 |
|
131 |
%build |
132 |
perl createlinks |
133 |
|
134 |
%install |
135 |
rm -rf $RPM_BUILD_ROOT |
136 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
137 |
rm -f %{name}-%{version}-filelist |
138 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
139 |
> %{name}-%{version}-filelist |
140 |
|
141 |
%clean |
142 |
rm -rf $RPM_BUILD_ROOT |
143 |
|
144 |
%files -f %{name}-%{version}-filelist |
145 |
%defattr(-,root,root) |
146 |
|
147 |
|