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

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

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


Revision 1.4 - (hide annotations) (download)
Thu Oct 13 16:02:58 2011 UTC (12 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-phpki-0_1-6_el4_sme, HEAD
Changes since 1.3: +9 -2 lines
* Thu Oct 13 2011 Daniel B. <daniel@firewall-services.com> - 0.1-5.sme
- Change session path [SME: 6661]

1 vip-ire 1.4 # $Id: smeserver-phpki.spec,v 1.3 2011/07/20 09:06:39 vip-ire Exp $
2 slords 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     Name: smeserver-phpki
6     Version: 0.1
7 vip-ire 1.4 Release: 6%{?dist}
8 slords 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 vip-ire 1.3 Patch7: smeserver-phpki-0.1-protect_by_location.patch
22 vip-ire 1.4 Patch8: smeserver-phpki-0.1-session_path.patch
23 slords 1.1
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    
33    
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 vip-ire 1.4 * Thu Oct 13 2011 Daniel B. <daniel@firewall-services.com> - 0.1-5.sme
43     - Change session path [SME: 6661]
44    
45 vip-ire 1.3 * Wed Jul 20 2011 Daniel B. <daniel@firewall-services.com> - 0.1-5.sme
46     - Protect by location (so we can set another location protected by LemonLDAP::NG)
47    
48 slords 1.1 * Mon Feb 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-4]
49     - Fix logrotate issue (send a sigusr1 signal to httpd-pki)
50    
51     * Mon Dec 15 2008 Daniel B. <daniel@firewall-services.com> [0.1-3]
52     - Move server-manager panel to "security" section
53    
54     * Wed Dec 10 2008 Daniel B. <daniel@firewall-services.com> [0.1-2]
55     - expand-templates in bootstrap-console-save instead of post-upgrade
56     - Disable authentication for the public part (so CRL can be updated automatically)
57     - Change the name of the menue in server-manager to certificate Management
58    
59     * Tue Dec 02 2008 Daniel B. <daniel@firewall-services.com> [0.1-1]
60     - Restrict access to /phpki/ca for admin, ask for a valid user for /phpki
61     - expand-templates on signal events conf-userpanels and domain-modify
62    
63     * Thu Nov 27 2008 Daniel B. <daniel@firewall-services.com> [0.1-0]
64     - initial release
65    
66    
67     %prep
68     %setup -q -n %{name}-%{version}
69     %patch0 -p1
70     %patch1 -p1
71     %patch2 -p1
72     %patch3 -p1
73     %patch4 -p1
74     %patch5 -p1
75     %patch6 -p1
76 vip-ire 1.3 %patch7 -p1
77 vip-ire 1.4 %patch8 -p1
78 slords 1.1
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 vip-ire 1.4 %{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/pki-session
88 slords 1.1
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 vip-ire 1.4 --dir /var/lib/php/pki-session 'attr(0770,root,phpki)' \
101 slords 1.1 > %{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     # Disable services, and stop them
116     if [ $1 = 0 ]; then # Uninstall only, not upgrade
117     db configuration setprop httpd-pki status disabled >& /dev/null || :
118     sv d /service/httpd-pki
119     fi
120    
121     true
122    

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