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

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

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


Revision 1.3 - (hide annotations) (download)
Mon Nov 18 14:59:07 2013 UTC (10 years, 11 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-phpki-0_1-8_el5_sme, HEAD
Changes since 1.2: +9 -4 lines
* Mon Nov 18 2013 Daniel B. <daniel@firewall-services.com> - 0.1-8.sme
- Fix a redirect issue with user-manager and LemonLDAP::NG as SSO

1 vip-ire 1.3 # $Id: smeserver-phpki.spec,v 1.2 2013/05/24 19:53:15 unnilennium Exp $
2 unnilennium 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     Name: smeserver-phpki
6     Version: 0.1
7 vip-ire 1.3 Release: 8%{?dist}
8 unnilennium 1.1 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.gz
14     Patch0: smeserver-phpki-0.1-userpanels.patch
15     Patch1: smeserver-phpki-0.1-signal_events.patch
16     Patch2: smeserver-phpki-0.1-bootstrap-console-save.patch
17     Patch3: smeserver-phpki-0.1-disable_auth_for_public.patch
18     Patch4: smeserver-phpki-0.1-server-manager_menue.patch
19     Patch5: smeserver-phpki-0.1-section_security.patch
20     Patch6: smeserver-phpki-0.1-fix_logrotate_event.patch
21     Patch7: smeserver-phpki-0.1-protect_by_location.patch
22     Patch8: smeserver-phpki-0.1-session_path.patch
23 vip-ire 1.3 Patch9: smeserver-phpki-0.1-fix_redirect_with_user_manager_and_sso.patch
24 unnilennium 1.1
25     BuildRoot: %{_tmppath}/%{name}-%{version}
26     BuildArch: noarch
27    
28     BuildRequires: e-smith-devtools
29    
30     Requires: mod_auth_tkt
31     Requires: e-smith-base
32     Requires: phpki
33 unnilennium 1.2 Requires: php-process
34 unnilennium 1.1
35     %description
36     PHPki is an Open Source Web application for managing a multi-agency PKI for HIPAA compliance.
37     With it, you may create and centrally manage X.509 certificates for use with S/MIME enabled
38     e-mail clients, SSL servers, and VPN applications.
39     This package contains specific configuration for SME server
40    
41    
42     %changelog
43 vip-ire 1.3 * Mon Nov 18 2013 Daniel B. <daniel@firewall-services.com> - 0.1-8.sme
44     - Fix a redirect issue with user-manager and LemonLDAP::NG as SSO
45    
46     * Fri May 24 2013 JP Pialasse <tests@pialasse.com> - 0.1-7.sme
47 unnilennium 1.2 - added php-process as dependency [SME: 7439]
48    
49 vip-ire 1.3 * Thu Oct 13 2011 Daniel B. <daniel@firewall-services.com> - 0.1-6.sme
50 unnilennium 1.1 - 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     %patch2 -p1
79     %patch3 -p1
80     %patch4 -p1
81     %patch5 -p1
82     %patch6 -p1
83     %patch7 -p1
84     %patch8 -p1
85 vip-ire 1.3 %patch9 -p1
86 unnilennium 1.1
87     %build
88     perl createlinks
89    
90     %install
91    
92     %{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-pki/supervise
93     %{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-pki/log/supervise
94     %{__mkdir_p} $RPM_BUILD_ROOT/var/log/httpd-pki
95     %{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/pki-session
96    
97    
98     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
99     /bin/rm -f %{name}-%{version}-filelist
100     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
101     --dir /var/service/httpd-pki 'attr(01755,root,root)' \
102     --file /var/service/httpd-pki/run 'attr(0700,root,root)' \
103     --dir /var/service/httpd-pki/supervise 'attr(0700,root,root)' \
104     --dir /var/service/httpd-pki/log 'attr(0755,root,root)' \
105     --file /var/service/httpd-pki/log/run 'attr(0755,root,root)' \
106     --dir /var/service/httpd-pki/log/supervise 'attr(0700,root,root)' \
107     --dir /var/log/httpd-pki 'attr(0750,smelog,smelog)' \
108     --dir /var/lib/php/pki-session 'attr(0770,root,phpki)' \
109     > %{name}-%{version}-filelist
110    
111    
112     %clean
113     rm -rf $RPM_BUILD_ROOT
114    
115     %files -f %{name}-%{version}-filelist
116     %defattr(-,root,root)
117    
118     %pre
119     #/sbin/e-smith/create-system-user phpki 455 'Phpki User' /opt/phpki /bin/false >& /dev/null || :
120    
121     %preun
122    
123     # Disable services, and stop them
124     if [ $1 = 0 ]; then # Uninstall only, not upgrade
125     db configuration setprop httpd-pki status disabled >& /dev/null || :
126     sv d /service/httpd-pki
127     fi
128    
129     true
130    

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