/[smecontribs]/rpms/smeserver-phpki/contribs9/smeserver-phpki.spec
ViewVC logotype

Contents of /rpms/smeserver-phpki/contribs9/smeserver-phpki.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download)
Wed May 3 21:08:27 2017 UTC (7 years ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-phpki-0_2-3_el6_sme, HEAD
Changes since 1.5: +3 -3 lines
* Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.2-3.sme
- update TKT auth parameter for SME 9.2 update [SME: 10267]

1 # $Id: smeserver-phpki.spec,v 1.5 2017/05/03 19:50:22 unnilennium Exp $
2 # Authority: vip-ire
3 # Name: Daniel Berteaud
4
5 Name: smeserver-phpki
6 Version: 0.2
7 Release: 3%{?dist}
8 Summary: php integration into SME server
9
10 Group: Applications/System
11 License: GPL
12 URL: http://phpki.sourceforge.net/
13 Source: %{name}-%{version}.tar.xz
14 Patch0: smeserver-phpki-0.2-fix_redirect_with_user-manager_and_sso.patch
15 Patch1: smeserver-phpki-0.2.bz10267.updatetktauth.patch
16
17 BuildRoot: %{_tmppath}/%{name}-%{version}
18 BuildArch: noarch
19
20 BuildRequires: e-smith-devtools
21
22 Requires: mod_auth_tkt
23 Requires: e-smith-base
24 Requires: phpki
25 Requires: php-process
26 Requires: e-smith-manager >= 2.6.0-22
27
28 %description
29 PHPki is an Open Source Web application for managing a multi-agency PKI for HIPAA compliance.
30 With it, you may create and centrally manage X.509 certificates for use with S/MIME enabled
31 e-mail clients, SSL servers, and VPN applications.
32 This package contains specific configuration for SME server
33
34
35 %changelog
36 * Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.2-3.sme
37 - update TKT auth parameter for SME 9.2 update [SME: 10267]
38
39 * Mon Nov 18 2013 Daniel B. <daniel@firewall-services.com> - 0.2-2.sme
40 - Fix a redirect issue with user-manager and LemonLDAP::NG as SSO
41
42 * Mon Nov 11 2013 Daniel B. <daniel@firewall-services.com> - 0.2-1.sme
43 - Rebuild for SME9
44 - Do not disable httpd-pki service on uninstall
45
46 * Fri May 24 2013 JP Pialasse <tests@pialasse.com> - 0.1-6.sme
47 - added php-process as dependency [SME: 7439]
48
49 * Thu Oct 13 2011 Daniel B. <daniel@firewall-services.com> - 0.1-5.sme
50 - Change session path [SME: 6661]
51
52 * Wed Jul 20 2011 Daniel B. <daniel@firewall-services.com> - 0.1-5.sme
53 - Protect by location (so we can set another location protected by LemonLDAP::NG)
54
55 * Mon Feb 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-4]
56 - Fix logrotate issue (send a sigusr1 signal to httpd-pki)
57
58 * Mon Dec 15 2008 Daniel B. <daniel@firewall-services.com> [0.1-3]
59 - Move server-manager panel to "security" section
60
61 * Wed Dec 10 2008 Daniel B. <daniel@firewall-services.com> [0.1-2]
62 - expand-templates in bootstrap-console-save instead of post-upgrade
63 - Disable authentication for the public part (so CRL can be updated automatically)
64 - Change the name of the menue in server-manager to certificate Management
65
66 * Tue Dec 02 2008 Daniel B. <daniel@firewall-services.com> [0.1-1]
67 - Restrict access to /phpki/ca for admin, ask for a valid user for /phpki
68 - expand-templates on signal events conf-userpanels and domain-modify
69
70 * Thu Nov 27 2008 Daniel B. <daniel@firewall-services.com> [0.1-0]
71 - initial release
72
73
74 %prep
75 %setup -q -n %{name}-%{version}
76 %patch0 -p1
77 %patch1 -p1
78
79 %build
80 perl createlinks
81
82 %install
83
84 %{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-pki/supervise
85 %{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-pki/log/supervise
86 %{__mkdir_p} $RPM_BUILD_ROOT/var/log/httpd-pki
87 %{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/pki-session
88
89
90 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
91 /bin/rm -f %{name}-%{version}-filelist
92 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
93 --dir /var/service/httpd-pki 'attr(01755,root,root)' \
94 --file /var/service/httpd-pki/run 'attr(0700,root,root)' \
95 --dir /var/service/httpd-pki/supervise 'attr(0700,root,root)' \
96 --dir /var/service/httpd-pki/log 'attr(0755,root,root)' \
97 --file /var/service/httpd-pki/log/run 'attr(0755,root,root)' \
98 --dir /var/service/httpd-pki/log/supervise 'attr(0700,root,root)' \
99 --dir /var/log/httpd-pki 'attr(0750,smelog,smelog)' \
100 --dir /var/lib/php/pki-session 'attr(0770,root,phpki)' \
101 > %{name}-%{version}-filelist
102
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %files -f %{name}-%{version}-filelist
108 %defattr(-,root,root)
109
110 %pre
111 #/sbin/e-smith/create-system-user phpki 455 'Phpki User' /opt/phpki /bin/false >& /dev/null || :
112
113 %preun
114
115

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed