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

Diff of /rpms/phpki/contribs7/phpki.spec

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

Revision 1.1 by slords, Mon Mar 2 23:38:37 2009 UTC Revision 1.6 by vip-ire, Thu Mar 18 15:29:18 2010 UTC
# Line 1  Line 1 
1    # $Id: phpki.spec,v 1.5 2009/08/26 17:49:59 vip-ire Exp $
2    # Authority: vip-ire
3    # Name: Daniel Berteaud
4    
5  %define         name phpki  %define         name phpki
6  %define         version 0.82  %define         version 0.82
7  %define         release 7  %define         release 11
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}
11  Release:        %{release}%{?dist}  Release:        %{release}%{?dist}
 Distribution:   SME Server  
12  License:        GNU GPL version 2  License:        GNU GPL version 2
13  URL:            http://sourceforge.net/projects/phpki/  URL:            http://sourceforge.net/projects/phpki/
14  Group:          SMEserver/addon  Group:          SMEserver/addon
# Line 23  Patch9:        phpki-0.82-display_root_pem.pat Line 26  Patch9:        phpki-0.82-display_root_pem.pat
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    Patch14:        phpki-0.82-empty_pass_php_5.2.patch
31    
 Packager:       Daniel B.  <daniel@firewall-services.com>  
32  BuildArch:      noarch  BuildArch:      noarch
33  BuildRoot:      /var/tmp/%{name}-%{version}  BuildRoot:      /var/tmp/%{name}-%{version}
34    
35    BuildRequires:  e-smith-devtools
36    
37  Requires:       e-smith-release >= 7.0  Requires:       e-smith-release >= 7.0
38  Requires:       php  Requires:       php
39  Requires:       openssl  Requires:       openssl
# Line 40  With it, you may create and centrally ma Line 47  With it, you may create and centrally ma
47  e-mail clients, SSL servers, and VPN applications.  e-mail clients, SSL servers, and VPN applications.
48    
49  %changelog  %changelog
50    * Thu Mar 18 2010 Daniel B. <daniel@firewall-services.com> [0.82-11]
51    - Fixe empty password with PHP 5.2 (SME 8b5)
52    
53    * Wed Aug 26 2009 Daniel B. <daniel@firewall-services.com> [0.82-10]
54    - Fixe links for CA help page
55    
56    * Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.82-9]
57    - Remove links after uninstall so you can easily re-install the contrib
58      later [SME: 5091]
59    
60    * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [0.82-8]
61    - Add e-smith-devtools as a dependencie
62    
63  * Tue Jan 20 2009 Daniel B. <daniel@firewall-services.com> [0.82-7]  * Tue Jan 20 2009 Daniel B. <daniel@firewall-services.com> [0.82-7]
64  - Don't replace config file on upgrades  - Don't replace config file on upgrades
65    
# Line 85  e-mail clients, SSL servers, and VPN app Line 105  e-mail clients, SSL servers, and VPN app
105  %patch10 -p1  %patch10 -p1
106  %patch11 -p1  %patch11 -p1
107  %patch12 -p1  %patch12 -p1
108    %patch13 -p1
109    %patch14 -p1
110    
111  %build  %build
112  #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.
# Line 137  if [ $1 == 1 ]; then Line 159  if [ $1 == 1 ]; then
159  header(\"Location: ./../index.php\");  header(\"Location: ./../index.php\");
160  ?>  ?>
161  " > /opt/phpki/html/ca/index.php  " > /opt/phpki/html/ca/index.php
   
162  fi  fi
163    
164  %postun  %postun
165    # Remove the links to index.php after uninstall
166    if [ $1 == 0 ]; then
167        %{__rm} -f /opt/phpki/html/index.php
168        %{__rm} -f /opt/phpki/html/setup.php
169        %{__rm} -f /opt/phpki/html/ca/index.php
170    fi
171    
172    
173  true  true


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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