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

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

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


Revision 1.4 - (hide annotations) (download)
Mon Nov 18 14:55:34 2013 UTC (10 years, 11 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-phpki-0_2-2_el6_sme
Changes since 1.3: +8 -3 lines
* Mon Nov 18 2013 Daniel B. <daniel@firewall-services.com> - 0.2-2.sme
- Fix a redirect issue with user-manager and LemonLDAP::NG as SSO

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

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