/[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.2 - (hide annotations) (download)
Mon Nov 11 17:12:18 2013 UTC (11 years ago) by vip-ire
Branch: MAIN
Changes since 1.1: +2 -2 lines
Adjust the spec file to use tar.xz instead of tar.gz

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

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