diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-02-21 08:15:11 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-02-21 08:15:11 +0100 |
commit | 9dc80fb91cffb51135e9890e3dcbcdb67f099aa6 (patch) | |
tree | 2e9ad28fec5596e68aa18c51cd2678b3161744f6 /net-analyzer/arpwatch | |
parent | bc755fd061f23cad0bcb93642d86eef88ff58a68 (diff) | |
download | gentoo-9dc80fb91cffb51135e9890e3dcbcdb67f099aa6.tar.gz gentoo-9dc80fb91cffb51135e9890e3dcbcdb67f099aa6.tar.xz |
net-analyzer/arpwatch: Add Debian patch for CVE-2012-2653 (bug #419375 by Michael Weber)
Package-Manager: portage-2.2.27
Diffstat (limited to 'net-analyzer/arpwatch')
-rw-r--r-- | net-analyzer/arpwatch/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/arpwatch/arpwatch-2.1.15-r8.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/net-analyzer/arpwatch/Manifest b/net-analyzer/arpwatch/Manifest index a71337996cf..b25feb35222 100644 --- a/net-analyzer/arpwatch/Manifest +++ b/net-analyzer/arpwatch/Manifest @@ -1,3 +1,4 @@ DIST arpwatch-2.1a15.tar.gz 202729 SHA256 c1df9737e208a96a61fa92ddad83f4b4d9be66f8992f3c917e9edf4b05ff5898 SHA512 f770b5b7954afe910dafb016e6e886a4e785564bcdc0ea0de9d7b1ca6a9a0b219a9d1b50b6f42a67afc2f836e782e8ff85ba5780583015d62c9694ac53f0bf90 WHIRLPOOL e653eb83d8dbc8777c3aaa5920bc1e5b46c64aa740c64a79b24a42abdee4625baa72a51f9f0441549b7325fcb07b94f1964887df1b6d707eddde162e1073691f DIST arpwatch-patchset-0.5.tbz2 127740 SHA256 aa69513ba36cdb9f41862f5f9c47e47d60786d01d302a1e8177f9e1f8aae71d3 SHA512 cd1a71fc39489f3498b7614fa793226cb3dd23dbac88082baab5598d441cd585da2d2f2ee8d40183b810893f4cddd0282f5cc8aa8b6009c40bfbf2c295365dc3 WHIRLPOOL 736be0f0ea18ebd96136c5b629134b0920c3c1a648974eac7f86f57c5d5ee58c1cd284371685562a73468a79b29fc130a668bc9487e85175f61d7a3642f58db9 DIST arpwatch-patchset-0.6.tbz2 128973 SHA256 2bfc7078fc4d5bad6bf7bd5d512df669799d09939ca249c2fe3f9fa3b8969ad8 SHA512 01c8b85e859765783a783c09ed9470b7f109b20f6713bb40ebcdc8e838ea00290df7609aa96ed1a6a2e39250e9735d6cfbd19e444961b79fdd1b04819c729253 WHIRLPOOL 96ae54f3cffe3f5eba8153ff79a6c66956ac95424dfae87e438372a4a27bf9d00136271f1e3c0e56850011cae873b2de57c6af7589fdd5a0253ef482328a602f +DIST arpwatch-patchset-0.7.tar.xz 132868 SHA256 ccc3f84f452306b153175bbdec33f9913848ac57866a4ee52b974d7087b7fe48 SHA512 2cbfa37acd29c30232da9ad0a742ddc9cd35c228fb786c6798555962841006ba0f47e31097722a3303e25f2e7c665b6e93707e49c02a8a9171b484b56a133e00 WHIRLPOOL f6624f459f2172b10beb6eaa15e0e5111566cd360195e4ca08ec4e5962bb1156aaf133701730e8146cb049a9759f7063bbc225d99f824827bb8bb72d3e0cebb3 diff --git a/net-analyzer/arpwatch/arpwatch-2.1.15-r8.ebuild b/net-analyzer/arpwatch/arpwatch-2.1.15-r8.ebuild new file mode 100644 index 00000000000..9780ba09ea4 --- /dev/null +++ b/net-analyzer/arpwatch/arpwatch-2.1.15-r8.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils user versionator + +PATCH_VER="0.7" + +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() { + 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 + 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 +} |