/[smecontribs]/rpms/smeserver-arpwatch/contribs8/smeserver-arpwatch-0.1-not_supervised.patch
ViewVC logotype

Contents of /rpms/smeserver-arpwatch/contribs8/smeserver-arpwatch-0.1-not_supervised.patch

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


Revision 1.2 - (show annotations) (download)
Tue Jun 17 18:00:43 2014 UTC (10 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Initial import to v9

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-arpwatch-0.1/createlinks mezzanine_patched_smeserver-arpwatch-0.1/createlinks
2 --- smeserver-arpwatch-0.1/createlinks 2009-01-27 00:44:39.000000000 +0100
3 +++ mezzanine_patched_smeserver-arpwatch-0.1/createlinks 2009-01-27 16:15:04.000000000 +0100
4 @@ -6,9 +6,7 @@
5 service_link_enhanced("arpwatch", "K10", "6");
6 service_link_enhanced("arpwatch", "K10", "0");
7
8 -safe_symlink("../daemontools" , 'root/etc/rc.d/init.d/supervise/arpwatch');
9 -safe_symlink("/var/service/arpwatch" , 'root/service/arpwatch');
10 -safe_touch("root/var/service/arpwatch/down");
11 -
12 safe_touch("root/var/lib/arpwatch/arp.dat");
13
14 +templates2events("/etc/sysconfig/arpwatch", "bootstrap-console-save");
15 +
16 diff -Nur -x '*.orig' -x '*.rej' smeserver-arpwatch-0.1/root/etc/e-smith/templates/etc/sysconfig/arpwatch/ALL mezzanine_patched_smeserver-arpwatch-0.1/root/etc/e-smith/templates/etc/sysconfig/arpwatch/ALL
17 --- smeserver-arpwatch-0.1/root/etc/e-smith/templates/etc/sysconfig/arpwatch/ALL 1970-01-01 01:00:00.000000000 +0100
18 +++ mezzanine_patched_smeserver-arpwatch-0.1/root/etc/e-smith/templates/etc/sysconfig/arpwatch/ALL 2009-01-27 16:13:29.000000000 +0100
19 @@ -0,0 +1,7 @@
20 +# -u <username> : defines with what user id arpwatch should run
21 +# -e <email> : the <email> where to send the reports
22 +# -s <from> : the <from>-address
23 +{
24 +$OUT .= "OPTIONS=\"-i ${'InternalInterface'}{'Name'} -f /var/lib/arpwatch/arp.dat -u pcap -e root -s 'Arpwatch@${'DomainName'}'\"\n";
25 +}
26 +
27 diff -Nur -x '*.orig' -x '*.rej' smeserver-arpwatch-0.1/root/var/service/arpwatch/log/run mezzanine_patched_smeserver-arpwatch-0.1/root/var/service/arpwatch/log/run
28 --- smeserver-arpwatch-0.1/root/var/service/arpwatch/log/run 2009-01-27 00:54:58.000000000 +0100
29 +++ mezzanine_patched_smeserver-arpwatch-0.1/root/var/service/arpwatch/log/run 1970-01-01 01:00:00.000000000 +0100
30 @@ -1,24 +0,0 @@
31 -#!/bin/sh
32 -
33 -#----------------------------------------------------------------------
34 -# copyright (C) 2003-2006 Mitel Networks Corporation
35 -#
36 -# This program is free software; you can redistribute it and/or modify
37 -# it under the terms of the GNU General Public License as published by
38 -# the Free Software Foundation; either version 2 of the License, or
39 -# (at your option) any later version.
40 -#
41 -# This program is distributed in the hope that it will be useful,
42 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
43 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44 -# GNU General Public License for more details.
45 -#
46 -# You should have received a copy of the GNU General Public License
47 -# along with this program; if not, write to the Free Software
48 -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
49 -#----------------------------------------------------------------------
50 -exec \
51 - /usr/local/bin/setuidgid smelog \
52 - /usr/local/bin/multilog s5000000 \
53 - /var/log/arpwatch
54 -
55 diff -Nur -x '*.orig' -x '*.rej' smeserver-arpwatch-0.1/root/var/service/arpwatch/run mezzanine_patched_smeserver-arpwatch-0.1/root/var/service/arpwatch/run
56 --- smeserver-arpwatch-0.1/root/var/service/arpwatch/run 2009-01-27 00:41:55.000000000 +0100
57 +++ mezzanine_patched_smeserver-arpwatch-0.1/root/var/service/arpwatch/run 1970-01-01 01:00:00.000000000 +0100
58 @@ -1,8 +0,0 @@
59 -#!/bin/sh
60 -
61 -exec 2>&1
62 -
63 -INTERNAL_IF=$(/sbin/e-smith/db configuration getprop InternalInterface Name)
64 -
65 -/usr/sbin/arpwatch -d -f /var/lib/arpwatch/arp.dat -i $INTERNAL_IF -u pcap -e root -s 'arpwatch'
66 -

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