1 |
# $Id: phpki.spec,v 1.2 2009/03/02 23:53:29 slords Exp $ |
# $Id: phpki.spec,v 1.4 2009/03/23 12:35:20 vip-ire Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
5 |
%define name phpki |
%define name phpki |
6 |
%define version 0.82 |
%define version 0.82 |
7 |
%define release 8 |
%define release 10 |
8 |
Summary: Phpki is a simple certificate management suite |
Summary: Phpki is a simple certificate management suite |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
26 |
Patch10: phpki-0.82-disable_download_after_create.patch |
Patch10: phpki-0.82-disable_download_after_create.patch |
27 |
Patch11: phpki-0.82-remove_security_warning.patch |
Patch11: phpki-0.82-remove_security_warning.patch |
28 |
Patch12: phpki-0.82-remove_email_from_upload_file_name.patch2 |
Patch12: phpki-0.82-remove_email_from_upload_file_name.patch2 |
29 |
|
Patch13: phpki-0.82-ca_help.patch |
30 |
|
|
31 |
BuildArch: noarch |
BuildArch: noarch |
32 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
46 |
e-mail clients, SSL servers, and VPN applications. |
e-mail clients, SSL servers, and VPN applications. |
47 |
|
|
48 |
%changelog |
%changelog |
49 |
|
* Wed Aug 26 2009 Daniel B. <daniel@firewall-services.com> [0.82-10] |
50 |
|
- Fixe links for CA help page |
51 |
|
|
52 |
|
* Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.82-9] |
53 |
|
- Remove links after uninstall so you can easily re-install the contrib |
54 |
|
later [SME: 5091] |
55 |
|
|
56 |
* Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [0.82-8] |
* Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [0.82-8] |
57 |
- Add e-smith-devtools as a dependencie |
- Add e-smith-devtools as a dependencie |
58 |
|
|
101 |
%patch10 -p1 |
%patch10 -p1 |
102 |
%patch11 -p1 |
%patch11 -p1 |
103 |
%patch12 -p1 |
%patch12 -p1 |
104 |
|
%patch13 -p1 |
105 |
|
|
106 |
%build |
%build |
107 |
#drop in an unchanged .tgz, if required rename directory here, eg remove version number. |
#drop in an unchanged .tgz, if required rename directory here, eg remove version number. |
154 |
header(\"Location: ./../index.php\"); |
header(\"Location: ./../index.php\"); |
155 |
?> |
?> |
156 |
" > /opt/phpki/html/ca/index.php |
" > /opt/phpki/html/ca/index.php |
|
|
|
157 |
fi |
fi |
158 |
|
|
159 |
%postun |
%postun |
160 |
|
# Remove the links to index.php after uninstall |
161 |
|
if [ $1 == 0 ]; then |
162 |
|
%{__rm} -f /opt/phpki/html/index.php |
163 |
|
%{__rm} -f /opt/phpki/html/setup.php |
164 |
|
%{__rm} -f /opt/phpki/html/ca/index.php |
165 |
|
fi |
166 |
|
|
167 |
|
|
168 |
true |
true |