/[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.2 - (hide annotations) (download)
Mon Mar 2 23:53:30 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-phpki-0_1-4_el4_sme
Changes since 1.1: +1 -0 lines
Spec updates

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

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