summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-07-10 19:33:03 +0000
committerJeroen Roovers <jer@gentoo.org>2014-07-10 19:33:03 +0000
commitaae6de72bcabf74dde5c66130b700cba4b471fc2 (patch)
treecc1a00e5aaadd3b632ace1bdb05dbc6d978e8223 /net-analyzer/arpwatch
parentVersion bump. (diff)
downloadgentoo-2-aae6de72bcabf74dde5c66130b700cba4b471fc2.tar.gz
gentoo-2-aae6de72bcabf74dde5c66130b700cba4b471fc2.tar.bz2
gentoo-2-aae6de72bcabf74dde5c66130b700cba4b471fc2.zip
EAPI bump. Remove die() where not necessary. Remove die() messages.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer/arpwatch')
-rw-r--r--net-analyzer/arpwatch/ChangeLog7
-rw-r--r--net-analyzer/arpwatch/arpwatch-2.1.15-r6.ebuild33
2 files changed, 18 insertions, 22 deletions
diff --git a/net-analyzer/arpwatch/ChangeLog b/net-analyzer/arpwatch/ChangeLog
index 5fe3f68e59aa..50d1fdfff48a 100644
--- a/net-analyzer/arpwatch/ChangeLog
+++ b/net-analyzer/arpwatch/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/arpwatch
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpwatch/ChangeLog,v 1.65 2013/02/16 17:47:11 jer Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpwatch/ChangeLog,v 1.66 2014/07/10 19:33:03 jer Exp $
+
+ 10 Jul 2014; Jeroen Roovers <jer@gentoo.org> arpwatch-2.1.15-r6.ebuild:
+ EAPI bump. Remove die() where not necessary. Remove die() messages.
16 Feb 2013; Jeroen Roovers <jer@gentoo.org> -arpwatch-2.1.15-r5.ebuild,
arpwatch-2.1.15-r6.ebuild:
diff --git a/net-analyzer/arpwatch/arpwatch-2.1.15-r6.ebuild b/net-analyzer/arpwatch/arpwatch-2.1.15-r6.ebuild
index 331bcfd705f3..16b2443f9ae6 100644
--- a/net-analyzer/arpwatch/arpwatch-2.1.15-r6.ebuild
+++ b/net-analyzer/arpwatch/arpwatch-2.1.15-r6.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpwatch/arpwatch-2.1.15-r6.ebuild,v 1.10 2013/02/16 17:47:11 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpwatch/arpwatch-2.1.15-r6.ebuild,v 1.11 2014/07/10 19:33:03 jer Exp $
-EAPI="2"
+EAPI=5
inherit eutils user versionator
PATCH_VER="0.5"
@@ -31,34 +31,27 @@ pkg_preinst() {
}
src_prepare() {
- EPATCH_SOURCE="${WORKDIR}"/arpwatch-patchset/
- EPATCH_SUFFIX="patch"
- epatch
- cp "${WORKDIR}"/arpwatch-patchset/*.8 . || die "Failed to get man-pages from arpwatch-patchset."
+ EPATCH_SOURCE="${WORKDIR}"/arpwatch-patchset/ EPATCH_SUFFIX="patch" epatch
+ cp "${WORKDIR}"/arpwatch-patchset/*.8 . || die
}
src_install () {
- dosbin arpwatch arpsnmp arp2ethers massagevendor arpfetch bihourly.sh || die
- doman arpwatch.8 arpsnmp.8 arp2ethers.8 massagevendor.8 arpfetch.8 bihourly.8 || die
+ dosbin arpwatch arpsnmp arp2ethers massagevendor arpfetch bihourly.sh
+ doman arpwatch.8 arpsnmp.8 arp2ethers.8 massagevendor.8 arpfetch.8 bihourly.8
insinto /usr/share/arpwatch
- doins ethercodes.dat || die
+ doins ethercodes.dat
insinto /usr/share/arpwatch/awk
- doins duplicates.awk euppertolower.awk p.awk e.awk d.awk || die
+ doins duplicates.awk euppertolower.awk p.awk e.awk d.awk
keepdir /var/lib/arpwatch
- dodoc README CHANGES || die
+ dodoc README CHANGES
- newinitd "${FILESDIR}"/arpwatch.initd arpwatch || die
- newconfd "${FILESDIR}"/arpwatch.confd arpwatch || die
+ newinitd "${FILESDIR}"/arpwatch.initd arpwatch
+ newconfd "${FILESDIR}"/arpwatch.confd arpwatch
}
pkg_postinst() {
- # Workaround bug #141619 put this in src_install when bug'll be fixed.
- chown arpwatch:0 "${ROOT}var/lib/arpwatch"
-
- elog "For security reasons arpwatch by default runs as an unprivileged user."
- elog
- elog "Note: some scripts require snmpwalk utility from net-analyzer/net-snmp"
+ fowners arpwatch:0 "${ROOT}"/var/lib/arpwatch
}