summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-10-20 17:41:42 +0200
committerJeroen Roovers <jer@gentoo.org>2017-10-20 17:41:42 +0200
commit8bcb4df691249edabc337cbc90d407bc86dad0e5 (patch)
tree40f22ac1e8ba5278e717b65fc247167a92dc613f /net-analyzer
parentsys-apps/gawk: Stable on amd64 (diff)
downloadgentoo-8bcb4df691249edabc337cbc90d407bc86dad0e5.tar.gz
gentoo-8bcb4df691249edabc337cbc90d407bc86dad0e5.tar.bz2
gentoo-8bcb4df691249edabc337cbc90d407bc86dad0e5.zip
net-analyzer/arpwatch: EAPI bump with fixed patchset.
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/arpwatch/Manifest1
-rw-r--r--net-analyzer/arpwatch/arpwatch-2.1.15-r9.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/net-analyzer/arpwatch/Manifest b/net-analyzer/arpwatch/Manifest
index fc03570d091a..7ccaaec4ddfd 100644
--- a/net-analyzer/arpwatch/Manifest
+++ b/net-analyzer/arpwatch/Manifest
@@ -1,2 +1,3 @@
DIST arpwatch-2.1a15.tar.gz 202729 SHA256 c1df9737e208a96a61fa92ddad83f4b4d9be66f8992f3c917e9edf4b05ff5898 SHA512 f770b5b7954afe910dafb016e6e886a4e785564bcdc0ea0de9d7b1ca6a9a0b219a9d1b50b6f42a67afc2f836e782e8ff85ba5780583015d62c9694ac53f0bf90 WHIRLPOOL e653eb83d8dbc8777c3aaa5920bc1e5b46c64aa740c64a79b24a42abdee4625baa72a51f9f0441549b7325fcb07b94f1964887df1b6d707eddde162e1073691f
DIST arpwatch-patchset-0.7.tar.xz 132868 SHA256 ccc3f84f452306b153175bbdec33f9913848ac57866a4ee52b974d7087b7fe48 SHA512 2cbfa37acd29c30232da9ad0a742ddc9cd35c228fb786c6798555962841006ba0f47e31097722a3303e25f2e7c665b6e93707e49c02a8a9171b484b56a133e00 WHIRLPOOL f6624f459f2172b10beb6eaa15e0e5111566cd360195e4ca08ec4e5962bb1156aaf133701730e8146cb049a9759f7063bbc225d99f824827bb8bb72d3e0cebb3
+DIST arpwatch-patchset-0.8.tar.xz 131692 SHA256 de504e93277696b35c2e184a3ff6cf28f4ff559a549873af3cb4aa8b0965e00f SHA512 3e8f1c043f09fbeacadb40c1db47fb907314ed18bb3fb506c6c510977fd0e6dd9950becc830cf7c10911a7eec97e56e0af8c8c3d7df811e8ab820290973ea0b0 WHIRLPOOL 9b8efd22dc3f5500868c092bc4c3a022094b2e134b9098dcb2596aca8ba411592ecfb1f54d7f01fcf117d3109ed4c2c3db21225970bc15a8c437da93a9181dcb
diff --git a/net-analyzer/arpwatch/arpwatch-2.1.15-r9.ebuild b/net-analyzer/arpwatch/arpwatch-2.1.15-r9.ebuild
new file mode 100644
index 000000000000..8fdf28d149d3
--- /dev/null
+++ b/net-analyzer/arpwatch/arpwatch-2.1.15-r9.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit user versionator
+
+PATCH_VER="0.8"
+MY_P="${PN}-$(replace_version_separator 2 'a')"
+
+DESCRIPTION="An ethernet monitor program that keeps track of ethernet/IP address pairings"
+HOMEPAGE="http://ee.lbl.gov/"
+SRC_URI="
+ ftp://ftp.ee.lbl.gov/${MY_P}.tar.gz
+ https://dev.gentoo.org/~jer/arpwatch-patchset-${PATCH_VER}.tar.xz
+"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="selinux"
+
+DEPEND="
+ net-libs/libpcap
+ sys-libs/ncurses:*
+"
+RDEPEND="
+ ${DEPEND}
+ selinux? ( sec-policy/selinux-arpwatch )
+"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_preinst() {
+ enewuser arpwatch
+}
+
+src_prepare() {
+ eapply "${WORKDIR}"/arpwatch-patchset/*.patch
+ eapply_user
+
+ cp "${WORKDIR}"/arpwatch-patchset/*.8 . || die
+}
+
+src_install () {
+ 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
+
+ insinto /usr/share/arpwatch/awk
+ doins duplicates.awk euppertolower.awk p.awk e.awk d.awk
+
+ keepdir /var/lib/arpwatch
+ dodoc README CHANGES
+
+ newinitd "${FILESDIR}"/arpwatch.initd arpwatch
+ newconfd "${FILESDIR}"/arpwatch.confd arpwatch
+}
+
+pkg_postinst() {
+ fowners arpwatch:0 "${ROOT}"/var/lib/arpwatch
+}