summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2006-09-24 06:30:51 +0000
committerPeter Volkov <pva@gentoo.org>2006-09-24 06:30:51 +0000
commitbd009082b713df9cd7260fbe7044a2c571797b76 (patch)
treebaadf0507586a9fb9c59e717ff72f799a054b9d0 /net-analyzer/arpwatch
parentVersion bumped. (diff)
downloadhistorical-bd009082b713df9cd7260fbe7044a2c571797b76.tar.gz
historical-bd009082b713df9cd7260fbe7044a2c571797b76.tar.bz2
historical-bd009082b713df9cd7260fbe7044a2c571797b76.zip
Added nofork patch as reported/requested by Dan Davis in bug #125700.
Package-Manager: portage-2.1.1
Diffstat (limited to 'net-analyzer/arpwatch')
-rw-r--r--net-analyzer/arpwatch/ChangeLog7
-rw-r--r--net-analyzer/arpwatch/Manifest16
-rw-r--r--net-analyzer/arpwatch/arpwatch-2.1.15-r2.ebuild81
-rw-r--r--net-analyzer/arpwatch/files/digest-arpwatch-2.1.15-r26
4 files changed, 105 insertions, 5 deletions
diff --git a/net-analyzer/arpwatch/ChangeLog b/net-analyzer/arpwatch/ChangeLog
index 28b84100ec51..71d74a96960f 100644
--- a/net-analyzer/arpwatch/ChangeLog
+++ b/net-analyzer/arpwatch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/arpwatch
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpwatch/ChangeLog,v 1.29 2006/09/23 19:10:29 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpwatch/ChangeLog,v 1.30 2006/09/24 06:30:51 pva Exp $
+
+*arpwatch-2.1.15-r2 (24 Sep 2006)
+
+ 24 Sep 2006; Peter Volkov <pva@gentoo.org> +arpwatch-2.1.15-r2.ebuild:
+ Added nofork patch as reported/requested by Dan Davis in bug #125700.
*arpwatch-2.1.15-r1 (23 Sep 2006)
diff --git a/net-analyzer/arpwatch/Manifest b/net-analyzer/arpwatch/Manifest
index a84638b11e0c..62a47428b43a 100644
--- a/net-analyzer/arpwatch/Manifest
+++ b/net-analyzer/arpwatch/Manifest
@@ -25,6 +25,7 @@ DIST arpwatch-2.1a11.tar.gz 126550 RMD160 e5932b488fbbe34926525e2795f31d2e8b3974
DIST arpwatch-2.1a13.tar.gz 152779 RMD160 80b89d36d9c20e9d0ac272ba7b66494d2888a557 SHA1 03d98e239405529f97b742f04d2a9b837b5da43a SHA256 57025d5d1c883961ad7bbe53e5f0d73fa4b55659c28ee7722dddfc9c1512ee76
DIST arpwatch-2.1a15.tar.gz 202729 RMD160 a27ee53275dcec3cafb85eb3df2451d42ec32b0c SHA1 9dffaec0f132e5bb7aedfc840c5c67068bfbce69 SHA256 c1df9737e208a96a61fa92ddad83f4b4d9be66f8992f3c917e9edf4b05ff5898
DIST arpwatch-patchset-0.1.tbz2 14725 RMD160 00143bb028b4c238b12715dfd40b74f247915cee SHA1 efcf451e422cbb10cc694acce4c94897d5436efb SHA256 5860d6eaba671c2e61dfa843fb103f6d86190ef2040c8eb2fb298d237af53976
+DIST arpwatch-patchset-0.2.tbz2 15087 RMD160 f90ab345cd902b832da88410035d04d996d3cd76 SHA1 4d8d7996a28bbea3202d42f44df944b6a3435586 SHA256 95d37ec744d52995fa44abd86bb6618993bfceec14a6252c7fcdd89f7bdef873
EBUILD arpwatch-2.1.11-r1.ebuild 1606 RMD160 1a472abf216453731c6c89f8cdddd8e7a77a625d SHA1 cc4562a67d9267f208a2037cb8245accced62db7 SHA256 26d9d1c27159a6baa9a310381b181fbfd94564a87060dbd3c855eee80cf72c91
MD5 a00231d8bd68c31f100514738a2d7a03 arpwatch-2.1.11-r1.ebuild 1606
RMD160 1a472abf216453731c6c89f8cdddd8e7a77a625d arpwatch-2.1.11-r1.ebuild 1606
@@ -41,14 +42,18 @@ EBUILD arpwatch-2.1.15-r1.ebuild 2057 RMD160 3e298ef70688795de4c37cbc1b9e2eab7f4
MD5 84fbd1ad3730f708b13661da3af852a8 arpwatch-2.1.15-r1.ebuild 2057
RMD160 3e298ef70688795de4c37cbc1b9e2eab7f4e0075 arpwatch-2.1.15-r1.ebuild 2057
SHA256 6fa3bd98bb61c651a9b3a265af1e4135e41763bd059f3fabab7357ca6452785e arpwatch-2.1.15-r1.ebuild 2057
+EBUILD arpwatch-2.1.15-r2.ebuild 2057 RMD160 32be676d5590af8278020c920fd99b1ecc41e2fb SHA1 5412d92bf4234e06a5ec0c2194377c5842d945ce SHA256 ca77275d6f767111e8303c866264497f1e988546b9ad240a317a2106afba9157
+MD5 feec5b1c18f271b9dff334e34184e320 arpwatch-2.1.15-r2.ebuild 2057
+RMD160 32be676d5590af8278020c920fd99b1ecc41e2fb arpwatch-2.1.15-r2.ebuild 2057
+SHA256 ca77275d6f767111e8303c866264497f1e988546b9ad240a317a2106afba9157 arpwatch-2.1.15-r2.ebuild 2057
EBUILD arpwatch-2.1.15.ebuild 2226 RMD160 9edabc9e2b2ce1add38e08ea645a8ef04677aec8 SHA1 a3cacaf0505e78130728a0d30f71b25c9ec531fb SHA256 e785c3794c43c1455822a97c109418e86b0470776b46850cc53d2e22f4f9bbae
MD5 94f32c95b334d32d0ddc2a175b27d3e2 arpwatch-2.1.15.ebuild 2226
RMD160 9edabc9e2b2ce1add38e08ea645a8ef04677aec8 arpwatch-2.1.15.ebuild 2226
SHA256 e785c3794c43c1455822a97c109418e86b0470776b46850cc53d2e22f4f9bbae arpwatch-2.1.15.ebuild 2226
-MISC ChangeLog 4474 RMD160 8d3701709aaa01d3be57be3fdeeb4a2328886f8f SHA1 e902b754a2c9a71439ac17fae8545417515d137d SHA256 2b4bbe73d8015d32ab2ebbe5eaf6165759b35a76098373f3c1d3cbc29d15ca92
-MD5 1bb5511199c259823789abd1a9fe8d3a ChangeLog 4474
-RMD160 8d3701709aaa01d3be57be3fdeeb4a2328886f8f ChangeLog 4474
-SHA256 2b4bbe73d8015d32ab2ebbe5eaf6165759b35a76098373f3c1d3cbc29d15ca92 ChangeLog 4474
+MISC ChangeLog 4655 RMD160 376c1f7c228fd216f6877a4f4a71a7e227c558f8 SHA1 1384f3bc76a0d066fcb26fa3e968df39d9ba101b SHA256 0a05523bd6abacf68d588b9f1e549901093a70ff07faf286cca13f0d7597f771
+MD5 777ec8a0bc66cd40f00064e190dd3ee8 ChangeLog 4655
+RMD160 376c1f7c228fd216f6877a4f4a71a7e227c558f8 ChangeLog 4655
+SHA256 0a05523bd6abacf68d588b9f1e549901093a70ff07faf286cca13f0d7597f771 ChangeLog 4655
MISC metadata.xml 710 RMD160 886aee2e0f5caa3d1c48daf0af7bef106c11a87b SHA1 577dd460a6f15f5ad111b93ce181b449da1f7ae5 SHA256 60196eb6cbbcb6926cba32eadc9350cd4c536f7b2a62936d9100aab2355e0814
MD5 5be7208eacb14b197c97ef6fc4aa67c7 metadata.xml 710
RMD160 886aee2e0f5caa3d1c48daf0af7bef106c11a87b metadata.xml 710
@@ -68,3 +73,6 @@ SHA256 1d42e291fa15fe08fd805ba3e221103cd2e06f0ba8e5dc9ddc3b4d7c27a117d2 files/di
MD5 cef62c82224a65ed9aff6c02cc05dc8e files/digest-arpwatch-2.1.15-r1 503
RMD160 2a282cf004c43631373379e30d65122427a8712f files/digest-arpwatch-2.1.15-r1 503
SHA256 ec6103037d9a5fe7704c263122889a3dce11e90bfea04e9cc20a8b4b0b1aed09 files/digest-arpwatch-2.1.15-r1 503
+MD5 73e5a75ec88719161d7abf4c970257df files/digest-arpwatch-2.1.15-r2 503
+RMD160 2a40ee1e36bda76c4811bc2eeab25ee7cba20701 files/digest-arpwatch-2.1.15-r2 503
+SHA256 a573d6046553a93b6016893b97481cd5a1fb29a6fc92fad830494640f1900294 files/digest-arpwatch-2.1.15-r2 503
diff --git a/net-analyzer/arpwatch/arpwatch-2.1.15-r2.ebuild b/net-analyzer/arpwatch/arpwatch-2.1.15-r2.ebuild
new file mode 100644
index 000000000000..cd704f904049
--- /dev/null
+++ b/net-analyzer/arpwatch/arpwatch-2.1.15-r2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2006 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-r2.ebuild,v 1.1 2006/09/24 06:30:51 pva Exp $
+
+inherit eutils versionator
+
+PATCH_VER="0.2"
+
+MY_P="${PN}-$(replace_version_separator 2 'a')"
+DESCRIPTION="An ethernet monitor program that keeps track of ethernet/ip address pairings"
+HOMEPAGE="http://www-nrg.ee.lbl.gov/"
+SRC_URI="ftp://ftp.ee.lbl.gov/${MY_P}.tar.gz
+ mirror://gentoo/arpwatch-patchset-${PATCH_VER}.tbz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="selinux"
+
+DEPEND="virtual/libpcap
+ sys-libs/ncurses"
+
+RDEPEND="${DEPEND}
+ selinux? ( sec-policy/selinux-arpwatch )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ EPATCH_SOURCE="${WORKDIR}"/arpwatch-patchset/
+ EPATCH_SUFFIX="patch"
+ epatch
+ mv "${WORKDIR}"/arpwatch-patchset/*.8 .
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+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.init-2 arpwatch
+ newconfd "${FILESDIR}"/arpwatch.confd-2 arpwatch
+}
+
+pkg_config() {
+ enewgroup arpwatch
+ enewuser arpwatch -1 -1 /var/lib/arpwatch arpwatch
+
+ einfo "Setting permitions for data directory"
+ chown -R arpwatch:arpwatch /var/lib/arpwatch
+
+ cat >> /etc/conf.d/arpwatch << EOF
+
+# Uncomment this line if you wish arpwatch to drop privileges.
+ARPUSER="arpwatch"
+EOF
+ einfo "Done."
+}
+
+pkg_postinst() {
+ elog "For security reasons it is better to run arpwatch as an unprivileged user."
+ elog "If you wish to do so, please, run:"
+ elog " emerge --config arpwatch"
+ echo
+ ewarn "Note: some scripts require snmpwalk utility from net-analyzer/net-snmp"
+}
diff --git a/net-analyzer/arpwatch/files/digest-arpwatch-2.1.15-r2 b/net-analyzer/arpwatch/files/digest-arpwatch-2.1.15-r2
new file mode 100644
index 000000000000..c9129f6a2ddf
--- /dev/null
+++ b/net-analyzer/arpwatch/files/digest-arpwatch-2.1.15-r2
@@ -0,0 +1,6 @@
+MD5 cebfeb99c4a7c2a6cee2564770415fe7 arpwatch-2.1a15.tar.gz 202729
+RMD160 a27ee53275dcec3cafb85eb3df2451d42ec32b0c arpwatch-2.1a15.tar.gz 202729
+SHA256 c1df9737e208a96a61fa92ddad83f4b4d9be66f8992f3c917e9edf4b05ff5898 arpwatch-2.1a15.tar.gz 202729
+MD5 bcf9f24eaa4b76ce85545fd549f30d8c arpwatch-patchset-0.2.tbz2 15087
+RMD160 f90ab345cd902b832da88410035d04d996d3cd76 arpwatch-patchset-0.2.tbz2 15087
+SHA256 95d37ec744d52995fa44abd86bb6618993bfceec14a6252c7fcdd89f7bdef873 arpwatch-patchset-0.2.tbz2 15087