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

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

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


Revision 1.9 - (show annotations) (download)
Tue Jul 19 01:36:21 2022 UTC (2 years, 3 months ago) by terryfage
Branch: MAIN
Changes since 1.8: +2 -2 lines
* Mon Jul 18 2022 zsolt vasarhelyi <vasarhelyizsolt@hotmail.com> 0.3-6.sme
- arpwatch logs to messages, typo fix added [SME: 11949]

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

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