From fb853c80b33abe0ac0a6270c93de8081b42f78c8 Mon Sep 17 00:00:00 2001 From: Peter Volkov Date: Sun, 25 May 2008 11:53:56 +0000 Subject: Fixed permitions problems, bug #223017, noticed by Markus Meier. Package-Manager: portage-2.1.4.4 --- net-analyzer/mtr/ChangeLog | 7 ++++- net-analyzer/mtr/Manifest | 3 +- net-analyzer/mtr/mtr-0.73-r2.ebuild | 57 +++++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 net-analyzer/mtr/mtr-0.73-r2.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/mtr/ChangeLog b/net-analyzer/mtr/ChangeLog index f339abc937de..21f68eb721c3 100644 --- a/net-analyzer/mtr/ChangeLog +++ b/net-analyzer/mtr/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/mtr # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/ChangeLog,v 1.73 2008/05/24 15:37:20 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/ChangeLog,v 1.74 2008/05/25 11:53:56 pva Exp $ + +*mtr-0.73-r2 (25 May 2008) + + 25 May 2008; Peter Volkov +mtr-0.73-r2.ebuild: + Fixed permitions problems, bug #223017, noticed by Markus Meier. *mtr-0.73-r1 (24 May 2008) diff --git a/net-analyzer/mtr/Manifest b/net-analyzer/mtr/Manifest index 0d3a3d5bcfce..dad7bc311ed0 100644 --- a/net-analyzer/mtr/Manifest +++ b/net-analyzer/mtr/Manifest @@ -7,6 +7,7 @@ DIST mtr-0.72.tar.gz 295845 RMD160 69843b82fb2de2b2a597c21a62d8eb9473df31b6 SHA1 DIST mtr-0.73.tar.gz 558744 RMD160 09b9b2cea84b0596bf25a4055cdcb78e8faebc10 SHA1 52cf5bd1a1e6a8e14a0ebb70610bd2be9e597c15 SHA256 30bdf752ac048dd160aa28d5caff1ffe0986dd4df046c397087fa1d8c8e1ab51 EBUILD mtr-0.72.ebuild 1214 RMD160 9cc03b1757cef8b8bb90b36a711912b4ef5120e9 SHA1 eff0b16ca8e5b63fddd263823886a01c23f4dbbd SHA256 cc0578ceb2f07fd527739c0dffe3effb9a3189a8a161d272cdeced1350dc3764 EBUILD mtr-0.73-r1.ebuild 1450 RMD160 acfd28e86010f919be2f2e6f4b20a2cd4aa6d042 SHA1 4b96533ac906aa4a5741bbae16e140446a0c90e7 SHA256 ee30a23dcfb22624d312bfadae085e5608de748ebaa825ccd82c77425a8e8949 +EBUILD mtr-0.73-r2.ebuild 1448 RMD160 8935cef1064fd2085f68d54b5a95ddee61409efa SHA1 4e079e61d9effd72c348aa631d3b164514bb0790 SHA256 7a5338340a6142e6e56dc59ca829f2f07f9a1f6166c374b53fba9a45d1b8ef0f EBUILD mtr-0.73.ebuild 1307 RMD160 db9a12394379e5437002ac22ffd402b868011d02 SHA1 8fac1a6380cf2141823cd018cb9ce6a0d2315fce SHA256 2005719a05f61a6cadd7940180b1ad3ddec7fd3b692274ee89ee07bb2b73e328 -MISC ChangeLog 8640 RMD160 94d204e30c8aef069b8e93a7f9a0b3fe7b5673bd SHA1 639f40ad34f1be6f9ed209b36def1f90b21d131a SHA256 b8109a2862663ba101ffcb9f1ba02af08a9cb301ab3fe71b373991ddca525c20 +MISC ChangeLog 8802 RMD160 6078d552e2275531359a058ae53714ae42be67e1 SHA1 da81dd3488c98e9b8f22732735b0b5053ddae7c6 SHA256 49fcb73cdcbfea0beb66c7db69b18470700dee3e158254b5d89190c4c9a3ead4 MISC metadata.xml 244 RMD160 e017aaa0a93030fffb56cd11f8894d932ca77173 SHA1 6c242450f36154bb9453827b44e6c2dc99ddc634 SHA256 4b90774b23e03ba5cfff56d639ba013394dccf7597849fc010e54f69042b47d9 diff --git a/net-analyzer/mtr/mtr-0.73-r2.ebuild b/net-analyzer/mtr/mtr-0.73-r2.ebuild new file mode 100644 index 000000000000..876f02720022 --- /dev/null +++ b/net-analyzer/mtr/mtr-0.73-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/mtr-0.73-r2.ebuild,v 1.1 2008/05/25 11:53:56 pva Exp $ + +inherit flag-o-matic autotools eutils + +DESCRIPTION="My TraceRoute. Excellent network diagnostic tool." +HOMEPAGE="http://www.bitwizard.nl/mtr/" +SRC_URI="ftp://ftp.bitwizard.nl/mtr/${P}.tar.gz + mirror://gentoo/gtk-2.0-for-mtr.m4.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86" +IUSE="gtk ipv6" + +RDEPEND="sys-libs/ncurses + gtk? ( >=x11-libs/gtk+-2 )" +DEPEND="${RDEPEND} + gtk? ( dev-util/pkgconfig )" + +src_unpack() { + unpack ${A} + cd "${S}" + + mv "${WORKDIR}"/gtk-2.0-for-mtr.m4 gtk-2.0.m4 + epatch "${FILESDIR}"/${P}-am_path_gtk.patch + epatch "${FILESDIR}"/${P}-CVE-2008-2357.patch + AT_M4DIR="." eautoreconf +} + +src_compile() { + local myconf + use gtk || myconf="${myconf} --without-gtk" + + [[ ${CHOST} == *-darwin* ]] && append-flags "-DBIND_8_COMPAT" + + econf ${myconf} \ + $(use_enable gtk gtk2) \ + $(use_enable ipv6) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + # this binary is universal. ie: it does both console and gtk. + emake DESTDIR="${D}" install || die "make install failed" + + insinto /usr/share/${PN} + doins img/mtr_icon.xpm + + fowners root:0 /usr/sbin/mtr + fperms 4710 /usr/sbin/mtr + + dodoc AUTHORS ChangeLog FORMATS NEWS README SECURITY TODO +} -- cgit v1.2.3-65-gdbad