diff options
author | Peter Volkov <pva@gentoo.org> | 2008-05-25 11:53:56 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-05-25 11:53:56 +0000 |
commit | 16a6c47dcd64dc2c46f1e89d504aa5b652af6e95 (patch) | |
tree | 6a3872330d20d6dee9146e84a1ff2f6fc1aaa188 /net-analyzer/mtr | |
parent | Bump dev-haskell/x11 to 1.4.2. (diff) | |
download | gentoo-2-16a6c47dcd64dc2c46f1e89d504aa5b652af6e95.tar.gz gentoo-2-16a6c47dcd64dc2c46f1e89d504aa5b652af6e95.tar.bz2 gentoo-2-16a6c47dcd64dc2c46f1e89d504aa5b652af6e95.zip |
Fixed permitions problems, bug #223017, noticed by Markus Meier.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-analyzer/mtr')
-rw-r--r-- | net-analyzer/mtr/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/mtr/mtr-0.73-r2.ebuild | 57 |
2 files changed, 63 insertions, 1 deletions
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 <pva@gentoo.org> +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/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 +} |