/[smecontribs]/rpms/smeserver-denyhosts/contribs7/smeserver-denyhosts.spec
ViewVC logotype

Diff of /rpms/smeserver-denyhosts/contribs7/smeserver-denyhosts.spec

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

Revision 1.1 by slords, Mon Apr 21 17:25:59 2008 UTC Revision 1.3 by unnilennium, Tue Apr 22 05:19:37 2008 UTC
# Line 1  Line 1 
1  # $Id: smeserver-denyhosts-2.6.spec,v 1.2 2008/04/15 15:18:07 slords Exp $  # $Id: smeserver-denyhosts.spec,v 1.2 2008/04/22 02:07:45 unnilennium Exp $
2  # Authority: unnilennium  # Authority: unnilennium
3  # Name: Jean-Philippe Pialasse  # Name: Jean-Philippe Pialasse
4    
# Line 11  Summary: smeserver-denyhosts Line 11  Summary: smeserver-denyhosts
11    
12  Name: %{name}  Name: %{name}
13  %define version 2.6  %define version 2.6
14  %define release 0.4  %define release 0.6
15  Version:                %{version}  Version:                %{version}
16  Release:                %{release}%{?dist}  Release:                %{release}%{?dist}
17  License:                GPL  License:                GPL
# Line 20  Source:                %{name}-%{version}.tgz Line 20  Source:                %{name}-%{version}.tgz
20  Url:                    http://smeserver.pialasse.com/  Url:                    http://smeserver.pialasse.com/
21  BuildRoot:              /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot:              /var/tmp/%{name}-%{version}-%{release}-buildroot
22  BuildArch:              noarch  BuildArch:              noarch
23    Patch1:                 smeserver-denyhosts-2.6-patch1.patch
24    Patch2:                 smeserver-denyhosts-2.6-patch2.patch
25  BuildRequires:          e-smith-devtools >= 1.13.1-03  BuildRequires:          e-smith-devtools >= 1.13.1-03
26  Requires:               smeserver-release >= 7.0  Requires:               smeserver-release >= 7.0
27    
# Line 35  be sent to a system admin. http://denyho Line 37  be sent to a system admin. http://denyho
37  %prep  %prep
38  %setup  %setup
39    
40    %patch1 -p1
41    %patch2 -p1
42    
43    %build
44    perl createlinks
45    
46    mkdir -p          root/share/denyhosts/data
47    mkdir -p          root/etc/e-smith/db/configuration/defaults/denyhosts
48    echo "service"  > root/etc/e-smith/db/configuration/defaults/denyhosts/type
49    echo "disabled"  > root/etc/e-smith/db/configuration/defaults/denyhosts/status
50    
51    
52  %install  %install
53  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
54  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
# Line 43  be sent to a system admin. http://denyho Line 57  be sent to a system admin. http://denyho
57    
58  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
59  %defattr(-,root,root,-)  %defattr(-,root,root,-)
60    %defattr(-,root,root)
61    %attr(0644,root,root) %config(noreplace) /etc/hosts.evil
62    %attr(0644,root,root) %config(noreplace) /usr/share/denyhosts/data/allowed-hosts
63  %{installdir_denyhosts}/denyhosts  %{installdir_denyhosts}/denyhosts
64    
65  %clean  %clean
66  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
67    
68    
69  %changelog  %changelog
70    * Tue Apr 22 2008 JP PIALASSE tests@pialasse.com 2.6-06
71    - tranlsation of comments into server-manager fucntion
72    - correction  of  expand template  /usr/share/denyhosts/data/ [SME 4200]
73    
74    * Mon Apr 21 2008 JP PIALASSE tests@pialasse.com 2.6-05
75    - corrections to be added on contribs.org
76    - bug for whiteliste, file is moved to /usr/share/denyhosts/data/ [SME 4200]
77    - HTML bug corrected in the server-manager
78    
79    * Wed Apr 02 2008 JP PIALASSE tests@pialasse.com 2.6-04
80    - minor bug changes
81    
82  * Mon Mar 31 2008 JP PIALASSE tests@pialasse.com  2.6-0.3  * Mon Mar 31 2008 JP PIALASSE tests@pialasse.com  2.6-0.3
83  - bug in install scriptlet corrected  - bug in install scriptlet corrected
84  - bug about XML error on install corrected  - bug about XML error on install corrected


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