/[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.2 - (hide annotations) (download)
Fri May 24 19:53:15 2013 UTC (11 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-phpki-0_1-7_el5_sme
Changes since 1.1: +6 -3 lines
* Fri May 24 2013 JP Pialasse <tests@pialasse.com> - 0.1-6.sme
- added php-process as dependency [SME: 7439]

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

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