1 |
# $Id: phpki.spec,v 1.2 2009/03/02 23:53:29 slords Exp $ |
# $Id: phpki.spec,v 1.3 2009/03/03 18:36:43 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 9 |
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} |
45 |
e-mail clients, SSL servers, and VPN applications. |
e-mail clients, SSL servers, and VPN applications. |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
|
* Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.82-9] |
49 |
|
- Remove links after uninstall so you can easily re-install the contrib |
50 |
|
later [SME: 5091] |
51 |
|
|
52 |
* 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] |
53 |
- Add e-smith-devtools as a dependencie |
- Add e-smith-devtools as a dependencie |
54 |
|
|
149 |
header(\"Location: ./../index.php\"); |
header(\"Location: ./../index.php\"); |
150 |
?> |
?> |
151 |
" > /opt/phpki/html/ca/index.php |
" > /opt/phpki/html/ca/index.php |
|
|
|
152 |
fi |
fi |
153 |
|
|
154 |
%postun |
%postun |
155 |
|
# Remove the links to index.php after uninstall |
156 |
|
if [ $1 == 0 ]; then |
157 |
|
%{__rm} -f /opt/phpki/html/index.php |
158 |
|
%{__rm} -f /opt/phpki/html/setup.php |
159 |
|
%{__rm} -f /opt/phpki/html/ca/index.php |
160 |
|
fi |
161 |
|
|
162 |
|
|
163 |
true |
true |