1 |
# $Id: e-smith-manager.spec,v 1.2 2016/03/18 11:10:13 vip-ire Exp $ |
# $Id: e-smith-manager.spec,v 1.12 2016/06/15 17:46:24 unnilennium Exp $ |
2 |
|
|
3 |
Summary: e-smith manager navigation module |
Summary: e-smith manager navigation module |
4 |
%define name e-smith-manager |
%define name e-smith-manager |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.8.0 |
%define version 2.8.0 |
7 |
%define release 3 |
%define release 12 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
|
Patch0: e-smith-manager-2.8.0-fixsyntax.patch |
14 |
|
Patch1: e-smith-manager-2.8.0-manager_suid_wrapper.patch |
15 |
|
Patch2: e-smith-manager-2.8.0-fix_logout.patch |
16 |
|
Patch3: e-smith-manager-2.8.0-newTKTsyntax.patch |
17 |
|
Patch4: e-smith-manager-2.8.0-no_index_for_manager_common.patch |
18 |
|
Patch5: e-smith-manager-2.8.0-koozali.org |
19 |
|
Patch6: e-smith-manager-2.8.0-Koozali_manager.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
22 |
BuildRequires: gettext |
BuildRequires: gettext |
23 |
BuildArchitectures: noarch |
BuildRequires: gcc |
24 |
Requires: e-smith-lib >= 1.18.0-26 |
Requires: e-smith-lib >= 1.18.0-26 |
25 |
Requires: mod_auth_tkt |
Requires: mod_auth_tkt |
26 |
Requires: pwauth |
Requires: pwauth |
29 |
AutoReqProv: no |
AutoReqProv: no |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Tue Jul 19 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-12.sme |
33 |
|
- Update server-manager to Koozali branding [SME: 9676] |
34 |
|
- We thanks John Crisp for his wonderful work. |
35 |
|
|
36 |
|
* Wed Jun 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-11.sme |
37 |
|
- change link for donation to koozali.org [SME: 9599] |
38 |
|
|
39 |
|
* Wed Jun 15 2016 Daniel Berteaud <daniel@firewall-services.com> 2.8.0-10.sme |
40 |
|
- Fix syntax for removing Indexes options [SME: 9587] |
41 |
|
|
42 |
|
* Wed Jun 15 2016 Daniel Berteaud <daniel@firewall-services.com> 2.8.0-9.sme |
43 |
|
- Remove index option for manager's resources [SME: 9587] |
44 |
|
|
45 |
|
* Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-8.sme |
46 |
|
- fix 307 redirection to http when https is used [SME: 8825] [SME: 9583] |
47 |
|
- update syntaxe for TKT Auth |
48 |
|
- bump 8 for typo |
49 |
|
|
50 |
|
* Wed Jun 1 2016 Daniel Berteaud <daniel@firewall-services.com> 2.8.0-6.sme |
51 |
|
- Fix a syntax error in server-manager's logout script [SME: 9527] |
52 |
|
|
53 |
|
* Wed May 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.8.0-5.sme |
54 |
|
- Add a C wrapper to execute manager's cgi to replace perl-suid [SME: 9393] |
55 |
|
|
56 |
|
* Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-4.sme |
57 |
|
- fix syntax for httpd 2.4 [SME: 9365] |
58 |
|
|
59 |
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-3.sme |
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-3.sme |
60 |
- rebuild for Bug [SME: 9347] |
- rebuild for Bug [SME: 9347] |
61 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
719 |
|
|
720 |
%prep |
%prep |
721 |
%setup |
%setup |
722 |
|
%patch0 -p1 |
723 |
|
%patch1 -p1 |
724 |
|
%patch2 -p1 |
725 |
|
%patch3 -p1 |
726 |
|
%patch4 -p1 |
727 |
|
%patch5 -p1 |
728 |
|
%patch6 -p1 |
729 |
|
|
730 |
%build |
%build |
731 |
perl createlinks |
perl createlinks |
732 |
|
gcc -o root/etc/e-smith/web/functions/wrapper manager.c |
733 |
mkdir -p root/home/e-smith/db/navigation |
mkdir -p root/home/e-smith/db/navigation |
734 |
mkdir -p root/etc/e-smith/web/common/css |
mkdir -p root/etc/e-smith/web/common/css |
735 |
|
|
743 |
mkdir -p root/etc/e-smith/web/panels/manager/html |
mkdir -p root/etc/e-smith/web/panels/manager/html |
744 |
for file in index initial |
for file in index initial |
745 |
do |
do |
746 |
ln -s ../../../functions/${file}.cgi root/etc/e-smith/web/panels/manager/html/${file}.cgi |
ln -s ../../../functions/wrapper root/etc/e-smith/web/panels/manager/html/${file}.cgi |
747 |
done |
done |
748 |
|
|
749 |
# Force creation of potentially empty directories |
# Force creation of potentially empty directories |
774 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
775 |
--file /etc/e-smith/web/common/cgi-bin/login 'attr(0755,root,root)' \ |
--file /etc/e-smith/web/common/cgi-bin/login 'attr(0755,root,root)' \ |
776 |
--file /etc/e-smith/web/common/cgi-bin/logout 'attr(0755,root,root)' \ |
--file /etc/e-smith/web/common/cgi-bin/logout 'attr(0755,root,root)' \ |
777 |
|
--file /etc/e-smith/web/functions/wrapper 'attr(4750,root,admin)' \ |
778 |
--dir /var/service/httpd-admin 'attr(01755,root,root)' \ |
--dir /var/service/httpd-admin 'attr(01755,root,root)' \ |
779 |
--file /var/service/httpd-admin/down 'attr(0644,root,root)' \ |
--file /var/service/httpd-admin/down 'attr(0644,root,root)' \ |
780 |
--file /var/service/httpd-admin/run 'attr(0755,root,root)' \ |
--file /var/service/httpd-admin/run 'attr(0755,root,root)' \ |