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

Annotation of /rpms/smeserver-arpwatch/contribs10/smeserver-arpwatch.spec

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


Revision 1.12 - (hide annotations) (download)
Thu Dec 22 07:54:20 2022 UTC (23 months ago) by terryfage
Branch: MAIN
CVS Tags: smeserver-arpwatch-0_3-9_el7_sme, HEAD
Changes since 1.11: +7 -2 lines
* Thu Dec 22 2022 zsolt vasarhelyi <vasarhelyizsolt@hotmail.com> 0.3-9.sme
- Arpwatch fails on network restart patch [SME: 12261]

1 terryfage 1.12 # $Id: smeserver-arpwatch.spec,v 1.11 2022/07/26 03:35:50 terryfage Exp $
2 brianr 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     Summary: Arpwatch is a tool that monitors ethernet activity
6     %define name smeserver-arpwatch
7     Name: %{name}
8 jcrisp 1.2 %define version 0.3
9 terryfage 1.12 %define release 9
10 brianr 1.1 Version: %{version}
11     Release: %{release}%{?dist}
12     License: GPL
13     Group: Monitoring
14     Source: %{name}-%{version}.tar.gz
15 brianr 1.5 Patch0: smeserver-arpwatch-0.3-Add-in-systemd-stuff.patch
16 brianr 1.6 Patch1: smeserver-arpwatch-0.3-Add-After-in-service-file-to-delay-startup.patch
17 terryfage 1.8 Patch2: smeserver-arpwatch-0.3-Log-bz11949.patch
18 terryfage 1.11 Patch3: smeserver-arpwatch-0.3-Log2-bz11949.patch
19 terryfage 1.12 Patch4: smeserver-arpwatch-bz12261-partof-network-restart5.patch
20 brianr 1.1
21     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
22     BuildArchitectures: noarch
23    
24     BuildRequires: e-smith-devtools
25    
26     Requires: e-smith-base
27     Requires: arpwatch
28    
29     %description
30     Arpwatch is a tool that monitors ethernet activity and keeps
31     a database of ethernet/ip address pairings.
32     It also reports certain changes via email.
33     Arpwatch uses libpcap, a system-independent interface for
34     user-level packet capture.
35    
36     %changelog
37 terryfage 1.12 * Thu Dec 22 2022 zsolt vasarhelyi <vasarhelyizsolt@hotmail.com> 0.3-9.sme
38     - Arpwatch fails on network restart patch [SME: 12261]
39    
40 terryfage 1.11 * Tue Jul 26 2022 zsolt vasarhelyi <vasarhelyizsolt@hotmail.com> 0.3-8.sme
41     - 2nd typo fix added, part of previous patch [SME: 11949]
42    
43 terryfage 1.10 * Tue Jul 19 2022 zsolt vasarhelyi <vasarhelyizsolt@hotmail.com> 0.3-7.sme
44     - typo fix added, part of previous patch [SME: 11949]
45    
46 terryfage 1.8 * Mon Jul 18 2022 zsolt vasarhelyi <vasarhelyizsolt@hotmail.com> 0.3-6.sme
47 terryfage 1.9 - arpwatch logs to messages, typo fix added [SME: 11949]
48 terryfage 1.8
49 brianr 1.7 * Sat Feb 27 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-5.sme
50     - Fix service dropin file with proper extension [SME: 11026]
51    
52 brianr 1.6 * Fri Feb 26 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-4.sme
53     - Add-After-in-service-file-to-delay-startup [SME: 11026]
54    
55 brianr 1.5 * Tue Feb 02 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-3.sme
56     - Add in Createlink stuff for systemd [SME: 11026]
57    
58 brianr 1.4 * Wed Nov 04 2020 Brian Read <brianr@bjsystems.co.uk> 0.3-2.sme
59     - Add in systemd startup for arpwatch to spec file [SME: 11026]
60    
61 jcrisp 1.2 * Mon Oct 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3-1.sme
62 jcrisp 1.3 - based on work by Brian Read [SME: 11026]
63 jcrisp 1.2 - Build for Koozali SME v10
64     - remove createlinks safetouch to fix conflict
65     - remove /var/lib/arpwatch lines in genfilelist
66    
67 brianr 1.1 * Mon Sep 07 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-3.sme
68     - changed the user pcap to arpwatch [SME: 8429]
69    
70     * Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 0.2-1.sme
71     - initial import to SME9 contribs
72    
73     * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [0.1-2]
74     - Add e-smith-devtools as a build dependency
75    
76     * Tue Jan 27 2009 Daniel B. <daniel@firewall-services.com> [0.1-1]
77     - Service not supervised (as the only option to disable forking is -d
78     which also disable email alerts)
79    
80     * Tue Jan 27 2009 Daniel B. <daniel@firewall-services.com> [0.1-0]
81     - Initial release
82    
83     %prep
84    
85     %setup -q -n %{name}-%{version}
86 brianr 1.5 %patch0 -p1
87 brianr 1.6 %patch1 -p1
88 terryfage 1.8 %patch2 -p1
89 terryfage 1.11 %patch3 -p1
90 terryfage 1.12 %patch4 -p1
91 brianr 1.1
92     %build
93     perl createlinks
94    
95     %install
96     /bin/rm -rf $RPM_BUILD_ROOT
97     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
98     /bin/rm -f %{name}-%{version}-filelist
99     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
100     > %{name}-%{version}-filelist
101    
102     %files -f %{name}-%{version}-filelist
103     %defattr(-,root,root)
104    
105     %clean
106     rm -rf $RPM_BUILD_ROOT
107     %pre
108    
109     %post
110 brianr 1.5 #systemctl enable arpwatch
111     #systemctl start arpwatch
112 brianr 1.1
113     %preun
114     if [ $1 -eq 0 ] ; then
115     /sbin/e-smith/db configuration setprop arpwatch status disabled
116 brianr 1.5 #/etc/init.d/arpwatch stop
117 brianr 1.1 fi
118    
119     true

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