1 |
jer 13/09/27 13:46:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mtr-9999.ebuild |
5 |
Log: |
6 |
Live ebuild. |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
9 |
|
10 |
Revision Changes Path |
11 |
1.148 net-analyzer/mtr/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mtr/ChangeLog?rev=1.148&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mtr/ChangeLog?rev=1.148&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mtr/ChangeLog?r1=1.147&r2=1.148 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/mtr/ChangeLog,v |
20 |
retrieving revision 1.147 |
21 |
retrieving revision 1.148 |
22 |
diff -u -r1.147 -r1.148 |
23 |
--- ChangeLog 7 Sep 2013 20:16:19 -0000 1.147 |
24 |
+++ ChangeLog 27 Sep 2013 13:46:45 -0000 1.148 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-analyzer/mtr |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/ChangeLog,v 1.147 2013/09/07 20:16:19 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/ChangeLog,v 1.148 2013/09/27 13:46:45 jer Exp $ |
30 |
+ |
31 |
+*mtr-9999 (27 Sep 2013) |
32 |
+ |
33 |
+ 27 Sep 2013; Jeroen Roovers <jer@g.o> +mtr-9999.ebuild: |
34 |
+ Live ebuild. |
35 |
|
36 |
07 Sep 2013; Agostino Sarubbo <ago@g.o> mtr-0.85.ebuild: |
37 |
Stable for sparc, wrt bug #482936 |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-analyzer/mtr/mtr-9999.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mtr/mtr-9999.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mtr/mtr-9999.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mtr-9999.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/mtr-9999.ebuild,v 1.1 2013/09/27 13:46:45 jer Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
inherit eutils autotools flag-o-matic git-r3 |
54 |
|
55 |
DESCRIPTION="My TraceRoute, an Excellent network diagnostic tool" |
56 |
HOMEPAGE="http://www.bitwizard.nl/mtr/" |
57 |
EGIT_REPO_URI="https://github.com/traviscross/mtr.git" |
58 |
SRC_URI="mirror://gentoo/gtk-2.0-for-mtr.m4.bz2" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="" |
63 |
IUSE="gtk ipv6 suid" |
64 |
|
65 |
RDEPEND=" |
66 |
sys-libs/ncurses |
67 |
gtk? ( |
68 |
dev-libs/glib:2 |
69 |
x11-libs/gtk+:2 |
70 |
) |
71 |
" |
72 |
DEPEND=" |
73 |
${RDEPEND} |
74 |
virtual/pkgconfig |
75 |
" |
76 |
|
77 |
DOCS=( AUTHORS FORMATS NEWS README SECURITY TODO ) |
78 |
|
79 |
src_unpack() { |
80 |
git-r3_src_unpack |
81 |
unpack ${A} |
82 |
} |
83 |
|
84 |
src_prepare() { |
85 |
epatch \ |
86 |
"${FILESDIR}"/0.80-impl-dec.patch \ |
87 |
"${FILESDIR}"/0.85-ipv6.patch \ |
88 |
"${FILESDIR}"/0.85-gtk.patch |
89 |
|
90 |
sed -i -e '/^AC_INIT/s|\[[0-9.]*\]|['"${EGIT_VERSION}"']|g' configure.ac || die |
91 |
|
92 |
# Keep this comment and following mv, even in case ebuild does not need |
93 |
# it: kept gtk-2.0.m4 in SRC_URI but you'll have to mv it before autoreconf |
94 |
mv "${WORKDIR}"/gtk-2.0-for-mtr.m4 gtk-2.0.m4 || die #222909 |
95 |
AT_M4DIR="." eautoreconf |
96 |
} |
97 |
|
98 |
src_configure() { |
99 |
# In the source's configure script -lresolv is commented out. Apparently it |
100 |
# is needed for 64bit macos still. |
101 |
[[ ${CHOST} == *-darwin* ]] && append-libs -lresolv |
102 |
econf \ |
103 |
$(use_enable ipv6) \ |
104 |
$(use_with gtk) |
105 |
|
106 |
# It's a bit absurd to have to do this, but the package isn't |
107 |
# actually "configured" and ready to be compiled until this is |
108 |
# done because upstream packaged .o files with the tarball. |
109 |
# Remember to take this out on future versions. |
110 |
emake clean |
111 |
} |
112 |
|
113 |
src_install() { |
114 |
default |
115 |
|
116 |
if use !prefix ; then |
117 |
fowners root:0 /usr/sbin/mtr |
118 |
if use suid; then |
119 |
fperms 4711 /usr/sbin/mtr |
120 |
else |
121 |
fperms 0710 /usr/sbin/mtr |
122 |
fi |
123 |
fi |
124 |
} |