From: Peter Volkov Date: Mon, 11 Dec 2006 10:31:31 +0000 (+0000) Subject: Added patches to disable reports of new station and disable reverse DNS lookups.... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=904eb40b2969b0dc71ae5d6951f64a275db4e37b;p=gentoo.git Added patches to disable reports of new station and disable reverse DNS lookups. Thank Mario Santana for providing them. Cleaned out old versions. Package-Manager: portage-2.1.1-r2 --- diff --git a/net-analyzer/arpwatch/Manifest b/net-analyzer/arpwatch/Manifest index 01d8674b4946..3643ff517b33 100644 --- a/net-analyzer/arpwatch/Manifest +++ b/net-analyzer/arpwatch/Manifest @@ -27,10 +27,10 @@ EBUILD arpwatch-2.1.15-r2.ebuild 2054 RMD160 5f9654b2202eeaa46c66ae11de79e48ce99 MD5 ad38edca3b95f53b7b63cbd197a9c9e8 arpwatch-2.1.15-r2.ebuild 2054 RMD160 5f9654b2202eeaa46c66ae11de79e48ce9978354 arpwatch-2.1.15-r2.ebuild 2054 SHA256 d1264baeb974db004aede28ecba837a7f997c3d176a31d87255b80271f31c434 arpwatch-2.1.15-r2.ebuild 2054 -EBUILD arpwatch-2.1.15-r3.ebuild 2109 RMD160 1d85692a8d7c3b20a60ed18a5aeb4487e8ffb9b1 SHA1 eb129b6958d4fe6f59987203131637ef86fdb1c3 SHA256 97c24b08c3af74e6039b0013cfd8b43260660e23784d82b5e422352c00d14467 -MD5 f988450db82c80fcfc2260818329c951 arpwatch-2.1.15-r3.ebuild 2109 -RMD160 1d85692a8d7c3b20a60ed18a5aeb4487e8ffb9b1 arpwatch-2.1.15-r3.ebuild 2109 -SHA256 97c24b08c3af74e6039b0013cfd8b43260660e23784d82b5e422352c00d14467 arpwatch-2.1.15-r3.ebuild 2109 +EBUILD arpwatch-2.1.15-r3.ebuild 2052 RMD160 3710a93c9c8bfb80b431b9c2e0bd8eec81b712da SHA1 6907de34259cf646c0a2506b1c9520e230a88afd SHA256 3ec1b6fcec8d655f099aa0748b35de53699e5447ab970370bdcfdc94a228f2a3 +MD5 edaa22e0c6a93d1f4991a371980f7501 arpwatch-2.1.15-r3.ebuild 2052 +RMD160 3710a93c9c8bfb80b431b9c2e0bd8eec81b712da arpwatch-2.1.15-r3.ebuild 2052 +SHA256 3ec1b6fcec8d655f099aa0748b35de53699e5447ab970370bdcfdc94a228f2a3 arpwatch-2.1.15-r3.ebuild 2052 MISC ChangeLog 5806 RMD160 ef5640ef69ca0c285d9106b651813c6bdde64800 SHA1 70a395803f223cfbc1a40ed7b05fae4fc7945bc7 SHA256 66455ddcdef928b24be702000d7cdef45af70efe18ce8b86e779847d8dcc1536 MD5 643cd17b275a1d2169853388c9f73c47 ChangeLog 5806 RMD160 ef5640ef69ca0c285d9106b651813c6bdde64800 ChangeLog 5806 diff --git a/net-analyzer/arpwatch/arpwatch-2.1.13-r2.ebuild b/net-analyzer/arpwatch/arpwatch-2.1.13-r2.ebuild deleted file mode 100644 index b649477bce9c..000000000000 --- a/net-analyzer/arpwatch/arpwatch-2.1.13-r2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# 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.13-r2.ebuild,v 1.3 2006/06/14 10:36:22 pva Exp $ - -inherit eutils versionator - -#MY_P=${PN}-${PV%.*}a${PV##*.} -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}.diff.gz" - -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 )" - -pkg_setup() { - enewgroup arpwatch - enewuser arpwatch -1 -1 /var/lib/arpwatch 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 -} - -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" -} - -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 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/arpwatch-2.1.13-r3.ebuild b/net-analyzer/arpwatch/arpwatch-2.1.13-r3.ebuild deleted file mode 100644 index af6b27e5337b..000000000000 --- a/net-analyzer/arpwatch/arpwatch-2.1.13-r3.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# 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.13-r3.ebuild,v 1.7 2006/10/04 12:06:34 blubb Exp $ - -inherit eutils versionator - -#MY_P=${PN}-${PV%.*}a${PV##*.} -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}.diff.gz" - -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 )" - -pkg_setup() { - enewgroup arpwatch - enewuser arpwatch -1 -1 /var/lib/arpwatch 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 ${FILESDIR}/${P}-lostparams.patch -} - -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" -} - -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 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/arpwatch-2.1.15-r1.ebuild b/net-analyzer/arpwatch/arpwatch-2.1.15-r1.ebuild deleted file mode 100644 index 7740bd0e5b2a..000000000000 --- a/net-analyzer/arpwatch/arpwatch-2.1.15-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# 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-r1.ebuild,v 1.1 2006/09/23 19:10:29 pva Exp $ - -inherit eutils versionator - -PATCH_VER="0.1" - -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/arpwatch-2.1.15.ebuild b/net-analyzer/arpwatch/arpwatch-2.1.15.ebuild deleted file mode 100644 index 4dd3f98cc35c..000000000000 --- a/net-analyzer/arpwatch/arpwatch-2.1.15.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# 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/arpwatch-2.1.13-lostparams.patch b/net-analyzer/arpwatch/files/arpwatch-2.1.13-lostparams.patch deleted file mode 100644 index b7cb6bcb4d5a..000000000000 --- a/net-analyzer/arpwatch/files/arpwatch-2.1.13-lostparams.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- ./arpwatch.c.orig 2006-02-01 19:30:30.000000000 +0100 -+++ ./arpwatch.c 2006-02-01 19:27:25.000000000 +0100 -@@ -191,7 +191,7 @@ - interface = NULL; - rfilename = NULL; - pd = NULL; -- while ((op = getopt(argc, argv, "df:i:n:Nr:u:")) != EOF) -+ while ((op = getopt(argc, argv, "adf:i:m:n:Nr:s:u:")) != EOF) - switch (op) { - - case 'a': -@@ -235,6 +235,10 @@ - rfilename = optarg; - break; - -+ case 's': -+ path_sendmail = optarg; -+ break; -+ - case 'u': - if ( optarg ) { - serveruser = strdup(optarg); -@@ -245,10 +249,6 @@ - } - break; - -- case 's': -- path_sendmail = optarg; -- break; -- - default: - usage(); - } -@@ -800,7 +800,7 @@ - extern char version[]; - - (void)fprintf(stderr, "Version %s\n", version); -- (void)fprintf(stderr, "usage: %s [-dN] [-f datafile] [-i interface]" -- " [-n net[/width]] [-r file] [-u username]\n", prog); -+ (void)fprintf(stderr, "usage: %s [-adN] [-f datafile] [-i interface]" -+ " [-m addr] [-n net[/width]] [-r file] [-s path_sendmail] [-u username]\n", prog); - exit(1); - } diff --git a/net-analyzer/arpwatch/files/digest-arpwatch-2.1.13-r2 b/net-analyzer/arpwatch/files/digest-arpwatch-2.1.13-r2 deleted file mode 100644 index 5f5a242d0ab0..000000000000 --- a/net-analyzer/arpwatch/files/digest-arpwatch-2.1.13-r2 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 8808ec9f2b2b2c22000e3f4542e7ce0e arpwatch-2.1.13.diff.gz 7863 -RMD160 568f02d76463d1d4a32b43d79a678f9a5453c4b0 arpwatch-2.1.13.diff.gz 7863 -SHA256 7a3904570888e77eee7487c9456ceaa3029fd936928ef8684209f332ae5aa7ed arpwatch-2.1.13.diff.gz 7863 -MD5 b9ff9739cdd2c0e9807b2d05860e4811 arpwatch-2.1a13.tar.gz 152779 -RMD160 80b89d36d9c20e9d0ac272ba7b66494d2888a557 arpwatch-2.1a13.tar.gz 152779 -SHA256 57025d5d1c883961ad7bbe53e5f0d73fa4b55659c28ee7722dddfc9c1512ee76 arpwatch-2.1a13.tar.gz 152779 diff --git a/net-analyzer/arpwatch/files/digest-arpwatch-2.1.13-r3 b/net-analyzer/arpwatch/files/digest-arpwatch-2.1.13-r3 deleted file mode 100644 index 5f5a242d0ab0..000000000000 --- a/net-analyzer/arpwatch/files/digest-arpwatch-2.1.13-r3 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 8808ec9f2b2b2c22000e3f4542e7ce0e arpwatch-2.1.13.diff.gz 7863 -RMD160 568f02d76463d1d4a32b43d79a678f9a5453c4b0 arpwatch-2.1.13.diff.gz 7863 -SHA256 7a3904570888e77eee7487c9456ceaa3029fd936928ef8684209f332ae5aa7ed arpwatch-2.1.13.diff.gz 7863 -MD5 b9ff9739cdd2c0e9807b2d05860e4811 arpwatch-2.1a13.tar.gz 152779 -RMD160 80b89d36d9c20e9d0ac272ba7b66494d2888a557 arpwatch-2.1a13.tar.gz 152779 -SHA256 57025d5d1c883961ad7bbe53e5f0d73fa4b55659c28ee7722dddfc9c1512ee76 arpwatch-2.1a13.tar.gz 152779 diff --git a/net-analyzer/arpwatch/files/digest-arpwatch-2.1.15 b/net-analyzer/arpwatch/files/digest-arpwatch-2.1.15 deleted file mode 100644 index 7e9861694752..000000000000 --- a/net-analyzer/arpwatch/files/digest-arpwatch-2.1.15 +++ /dev/null @@ -1,6 +0,0 @@ -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/files/digest-arpwatch-2.1.15-r1 b/net-analyzer/arpwatch/files/digest-arpwatch-2.1.15-r1 deleted file mode 100644 index a851e3f042c4..000000000000 --- a/net-analyzer/arpwatch/files/digest-arpwatch-2.1.15-r1 +++ /dev/null @@ -1,6 +0,0 @@ -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 b82bd7155cf0226d7ca591c60cdc5e18 arpwatch-patchset-0.1.tbz2 14725 -RMD160 00143bb028b4c238b12715dfd40b74f247915cee arpwatch-patchset-0.1.tbz2 14725 -SHA256 5860d6eaba671c2e61dfa843fb103f6d86190ef2040c8eb2fb298d237af53976 arpwatch-patchset-0.1.tbz2 14725