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