Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/arpwatch: arpwatch-2.1.15-r7.ebuild ChangeLog
Date: Wed, 24 Sep 2014 13:01:54
Message-Id: 20140924130151.C602961FC@oystercatcher.gentoo.org
1 jer 14/09/24 13:01:51
2
3 Modified: ChangeLog
4 Added: arpwatch-2.1.15-r7.ebuild
5 Log:
6 Add patch for ignoring 802.1Q (VLAN) packets.
7
8 (Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.67 net-analyzer/arpwatch/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arpwatch/ChangeLog?rev=1.67&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arpwatch/ChangeLog?rev=1.67&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arpwatch/ChangeLog?r1=1.66&r2=1.67
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/arpwatch/ChangeLog,v
20 retrieving revision 1.66
21 retrieving revision 1.67
22 diff -u -r1.66 -r1.67
23 --- ChangeLog 10 Jul 2014 19:33:03 -0000 1.66
24 +++ ChangeLog 24 Sep 2014 13:01:51 -0000 1.67
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-analyzer/arpwatch
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpwatch/ChangeLog,v 1.66 2014/07/10 19:33:03 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpwatch/ChangeLog,v 1.67 2014/09/24 13:01:51 jer Exp $
30 +
31 +*arpwatch-2.1.15-r7 (24 Sep 2014)
32 +
33 + 24 Sep 2014; Jeroen Roovers <jer@g.o> +arpwatch-2.1.15-r7.ebuild:
34 + Add patch for ignoring 802.1Q (VLAN) packets.
35
36 10 Jul 2014; Jeroen Roovers <jer@g.o> arpwatch-2.1.15-r6.ebuild:
37 EAPI bump. Remove die() where not necessary. Remove die() messages.
38
39
40
41 1.1 net-analyzer/arpwatch/arpwatch-2.1.15-r7.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arpwatch/arpwatch-2.1.15-r7.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arpwatch/arpwatch-2.1.15-r7.ebuild?rev=1.1&content-type=text/plain
45
46 Index: arpwatch-2.1.15-r7.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpwatch/arpwatch-2.1.15-r7.ebuild,v 1.1 2014/09/24 13:01:51 jer Exp $
51
52 EAPI=5
53 inherit eutils user versionator
54
55 PATCH_VER="0.6"
56
57 MY_P="${PN}-$(replace_version_separator 2 'a')"
58 DESCRIPTION="An ethernet monitor program that keeps track of ethernet/ip address pairings"
59 HOMEPAGE="http://ee.lbl.gov/"
60 SRC_URI="
61 ftp://ftp.ee.lbl.gov/${MY_P}.tar.gz
62 https://dev.gentoo.org/~jer/arpwatch-patchset-${PATCH_VER}.tbz2
63 "
64
65 LICENSE="BSD GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
68 IUSE="selinux"
69
70 DEPEND="
71 net-libs/libpcap
72 sys-libs/ncurses
73 "
74
75 RDEPEND="
76 ${DEPEND}
77 selinux? ( sec-policy/selinux-arpwatch )
78 "
79
80 S=${WORKDIR}/${MY_P}
81
82 pkg_preinst() {
83 enewuser arpwatch
84 }
85
86 src_prepare() {
87 EPATCH_SOURCE="${WORKDIR}"/arpwatch-patchset/ EPATCH_SUFFIX="patch" epatch
88 cp "${WORKDIR}"/arpwatch-patchset/*.8 . || die
89 }
90
91 src_install () {
92 dosbin arpwatch arpsnmp arp2ethers massagevendor arpfetch bihourly.sh
93 doman arpwatch.8 arpsnmp.8 arp2ethers.8 massagevendor.8 arpfetch.8 bihourly.8
94
95 insinto /usr/share/arpwatch
96 doins ethercodes.dat
97
98 insinto /usr/share/arpwatch/awk
99 doins duplicates.awk euppertolower.awk p.awk e.awk d.awk
100
101 keepdir /var/lib/arpwatch
102 dodoc README CHANGES
103
104 newinitd "${FILESDIR}"/arpwatch.initd arpwatch
105 newconfd "${FILESDIR}"/arpwatch.confd arpwatch
106 }
107
108 pkg_postinst() {
109 fowners arpwatch:0 "${ROOT}"/var/lib/arpwatch
110 }