/[smecontribs]/rpms/smeserver-arpwatch/contribs9/smeserver-arpwatch.spec
ViewVC logotype

Diff of /rpms/smeserver-arpwatch/contribs9/smeserver-arpwatch.spec

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

Revision 1.2 by vip-ire, Tue Nov 12 18:45:08 2013 UTC Revision 1.4 by stephdl, Mon Sep 7 19:16:40 2015 UTC
# Line 1  Line 1 
1  # $Id: smeserver-arpwatch.spec,v 1.1 2013/11/12 18:44:35 vip-ire Exp $  # $Id: smeserver-arpwatch.spec,v 1.3 2014/06/17 18:46:23 unnilennium Exp $
2  # Authority: vip-ire  # Authority: vip-ire
3  # Name: Daniel Berteaud  # Name: Daniel Berteaud
4    
# Line 6  Summary: Arpwatch is a tool that monitor Line 6  Summary: Arpwatch is a tool that monitor
6  %define name smeserver-arpwatch  %define name smeserver-arpwatch
7  Name: %{name}  Name: %{name}
8  %define version 0.2  %define version 0.2
9  %define release 1  %define release 2
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
13  Group: Monitoring  Group: Monitoring
14  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.gz
15    
16    #REM contribs9 Patch0:         smeserver-arpwatch-0.2-not_supervised.patch
17    
18  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 29  Arpwatch uses libpcap, a system-independ Line 31  Arpwatch uses libpcap, a system-independ
31  user-level packet capture.  user-level packet capture.
32    
33  %changelog  %changelog
34  * Tue Nov 12 2013 Daniel B. <daniel@firewall-services.com> [0.2-1]  * Mon Sep 07 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-2.sme
35  - Rebuild for SME9  - changed the user pcap to arpwatch [SME: 8429]
36    
37    * Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 0.2-1.sme
38    - initial import to SME9 contribs
39    
40  * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [0.1-2]  * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [0.1-2]
41  - Add e-smith-devtools as a build dependency  - Add e-smith-devtools as a build dependency
# Line 45  user-level packet capture. Line 50  user-level packet capture.
50  %prep  %prep
51    
52  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
53    #REM contribs9 %patch0 -p1
54    
55  %build  %build
56  perl createlinks  perl createlinks
# Line 54  perl createlinks Line 60  perl createlinks
60  (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)
61  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
62  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
63          --dir /var/lib/arpwatch  'attr(0750,pcap,pcap)' \          --dir /var/lib/arpwatch  'attr(0750,arpwatch,arpwatch)' \
64          --file /var/lib/arpwatch/arp.dat 'attr(0750,pcap,pcap) %config(noreplace)' \          --file /var/lib/arpwatch/arp.dat 'attr(0750,arpwatch,arpwatch) %config(noreplace)' \
65          > %{name}-%{version}-filelist          > %{name}-%{version}-filelist
66    
67  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
# Line 63  perl createlinks Line 69  perl createlinks
69    
70  %clean  %clean
71  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
72    %pre
73    
74  %post  %post
75    


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