diff options
author | Peter Volkov <pva@gentoo.org> | 2006-09-11 13:53:03 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2006-09-11 13:53:03 +0000 |
commit | 95f7dde9124b0be46ece2e691b751dfb34079367 (patch) | |
tree | 5a651f7d2752d2a3b0beaeeb7b5632595bde2811 | |
parent | * goes stable on amd64 wrt security bug #146486 (diff) | |
download | gentoo-2-95f7dde9124b0be46ece2e691b751dfb34079367.tar.gz gentoo-2-95f7dde9124b0be46ece2e691b751dfb34079367.tar.bz2 gentoo-2-95f7dde9124b0be46ece2e691b751dfb34079367.zip |
Fixed broken in 2.1.13 redhat and debian patchset. Thank Rajiv Aaron Manglani for report in bug #147090. Added longdescription in metadata.xml
(Portage version: 2.1-r2)
-rw-r--r-- | net-analyzer/arpwatch/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/arpwatch/arpwatch-2.1.15.ebuild | 83 | ||||
-rw-r--r-- | net-analyzer/arpwatch/files/digest-arpwatch-2.1.15 | 6 | ||||
-rw-r--r-- | net-analyzer/arpwatch/metadata.xml | 8 |
4 files changed, 105 insertions, 1 deletions
diff --git a/net-analyzer/arpwatch/ChangeLog b/net-analyzer/arpwatch/ChangeLog index d06e5096e9bd..e7909a4cc90d 100644 --- a/net-analyzer/arpwatch/ChangeLog +++ b/net-analyzer/arpwatch/ChangeLog @@ -1,6 +1,13 @@ # 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.26 2006/09/09 23:33:56 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpwatch/ChangeLog,v 1.27 2006/09/11 13:53:03 pva Exp $ + +*arpwatch-2.1.15 (11 Sep 2006) + + 11 Sep 2006; Peter Volkov <pva@gentoo.org> metadata.xml, + +arpwatch-2.1.15.ebuild: + Fixed broken in 2.1.13 redhat and debian patchset. Thank Rajiv Aaron + Manglani for report in bug #147090. Added longdescription in metadata.xml 09 Sep 2006; <ticho@gentoo.org> arpwatch-2.1.13-r3.ebuild: Stable on x86, bug #125700. diff --git a/net-analyzer/arpwatch/arpwatch-2.1.15.ebuild b/net-analyzer/arpwatch/arpwatch-2.1.15.ebuild new file mode 100644 index 000000000000..4dd3f98cc35c --- /dev/null +++ b/net-analyzer/arpwatch/arpwatch-2.1.15.ebuild @@ -0,0 +1,83 @@ +# 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.ebuild,v 1.1 2006/09/11 13:53:03 pva Exp $ + +inherit eutils versionator + +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/${P}-debian-and-redhat-patchset.diff.bz2" + +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}" + +# einfo "Patching arpwatch with debian and redhat patches" +# gzip -dc "${DISTDIR}"/${P}.diff.gz | patch -s + + epatch "${WORKDIR}"/${P}-debian-and-redhat-patchset.diff +} + +src_compile() { + local myconf + myconf="${myconf} --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man" + + econf \ + ${myconf} || die "econf failed" + emake || die "emake failed" +} + +pkg_preinst() { + enewgroup arpwatch + enewuser arpwatch -1 -1 /var/lib/arpwatch arpwatch +} + +src_install () { + + dodir /var/lib/arpwatch /usr/sbin + diropts -g arpwatch -o arpwatch + keepdir /var/lib/arpwatch + + make DESTDIR="${D}" install || die "install failed" + doman *.8 + dodoc README CHANGES + + exeinto /usr/share/doc/${PF}/ + exeopts -m0755 -o arpwatch -g arpwatch + doexe arp2ethers arpfetch bihourly.sh massagevendor massagevendor-old + + insinto /usr/share/doc/${PF}/ + insopts -m0644 -o arpwatch -g arpwatch + doins d.awk duplicates.awk e.awk euppertolower.awk p.awk + + insinto /usr/share/arpwatch + insopts -m0644 -o arpwatch -g arpwatch + doins ethercodes.dat + + newinitd "${FILESDIR}"/arpwatch.init arpwatch + newconfd "${FILESDIR}"/arpwatch.confd arpwatch +} + +pkg_postinst() { + einfo "If you want arpwatch to start at boot then type:" + einfo " rc-update add arpwatch default" + einfo "To enable arpwatch to run as a user please uncomment" + einfo "the appropriate line in /etc/conf.d/arpwatch" + einfo "Some scripts that come with the package are in:" + einfo "/usr/share/doc/${PF}/" +} diff --git a/net-analyzer/arpwatch/files/digest-arpwatch-2.1.15 b/net-analyzer/arpwatch/files/digest-arpwatch-2.1.15 new file mode 100644 index 000000000000..7e9861694752 --- /dev/null +++ b/net-analyzer/arpwatch/files/digest-arpwatch-2.1.15 @@ -0,0 +1,6 @@ +MD5 c2e578dc71a89152f17ab9149bc33caa arpwatch-2.1.15-debian-and-redhat-patchset.diff.bz2 9218 +RMD160 f0ba40e1124e60687ca84907bb8e90cc6a5fd28b arpwatch-2.1.15-debian-and-redhat-patchset.diff.bz2 9218 +SHA256 2ad215c7757152df385f95597a9b39907adf14df7da7cce8d1a8554fc4a38647 arpwatch-2.1.15-debian-and-redhat-patchset.diff.bz2 9218 +MD5 cebfeb99c4a7c2a6cee2564770415fe7 arpwatch-2.1a15.tar.gz 202729 +RMD160 a27ee53275dcec3cafb85eb3df2451d42ec32b0c arpwatch-2.1a15.tar.gz 202729 +SHA256 c1df9737e208a96a61fa92ddad83f4b4d9be66f8992f3c917e9edf4b05ff5898 arpwatch-2.1a15.tar.gz 202729 diff --git a/net-analyzer/arpwatch/metadata.xml b/net-analyzer/arpwatch/metadata.xml index 03aa50bab7e3..4fc697499bf6 100644 --- a/net-analyzer/arpwatch/metadata.xml +++ b/net-analyzer/arpwatch/metadata.xml @@ -2,4 +2,12 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>netmon</herd> + <longdescription lang="en"> + The arpwatch package contains arpwatch and arpsnmp. Arpwatch and arpsnmp + are both network monitoring tools. Both utilities monitor Ethernet or + FDDI network traffic and build databases of Ethernet/IP address pairs, + and can report certain changes via email. Install the arpwatch package + if you need networking monitoring devices which will automatically keep + track of the IP addresses on your network. + </longdescription> </pkgmetadata> |