commit mtr for openSUSE:Factory

2020-10-26 Thread root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2020-10-26 16:19:11

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new.3463 (New)


Package is "mtr"

Mon Oct 26 16:19:11 2020 rev:39 rq:843283 version:0.92

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2019-01-03 18:08:51.660021351 
+0100
+++ /work/SRC/openSUSE:Factory/.mtr.new.3463/mtr.changes2020-10-26 
16:19:45.231101166 +0100
@@ -1,0 +2,8 @@
+Thu Aug 13 13:58:42 UTC 2020 - Malte Kraus 
+
+- Stop requiring group-membership in 'dialout' group to run mtr.
+  Only run chkstat for the mtr-packet binary in %post and %pre
+  since it's the only file that's supposed to be installed with
+  capabilities (depending on security profile).
+
+---



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.3RhyDq/_old  2020-10-26 16:19:45.715101556 +0100
+++ /var/tmp/diff_new_pack.3RhyDq/_new  2020-10-26 16:19:45.719101559 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mtr
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,11 +12,10 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%define _group dialout
 Name:   mtr
 Version:0.92
 Release:0
@@ -37,12 +36,6 @@
 BuildRequires:  update-desktop-files
 Requires(post): permissions
 Recommends: bash-completion
-%if 0%{?suse_version} >= 1330
-Requires:   group(%{_group})
-Requires(pre):  group(%{_group})
-%else
-Requires(pre):  shadow
-%endif
 
 %description
 Mtr is a network diagnostic tool that combines Ping and Traceroute into
@@ -74,9 +67,6 @@
 echo "%{version}" >.tarball-version
 autoreconf -fvi
 
-export CFLAGS="%{optflags} -fpie -fPIE"
-export LDFLAGS="-pie -Wl,-z,relro,-z,now"
-
 %configure \
--disable-silent-rules \
--enable-ipv6 \
@@ -103,31 +93,26 @@
 install -Dm 644 img/mtr_icon.xpm %{buildroot}%{_datadir}/pixmaps/xmtr_icon.xpm
 %suse_update_desktop_file -i xmtr Network Monitor
 
-%if 0%{?suse_version} < 1330
-%pre
-getent group %{_group} >/dev/null || %{_sbindir}/groupadd -r %{_group}
-%endif
-
 %post
-%set_permissions %{_sbindir}/mtr
-%set_permissions %{_sbindir}/xmtr
+%set_permissions %{_sbindir}/mtr-packet
 
 %verifyscript
-%verify_permissions -e %{_sbindir}/mtr
-%verify_permissions -e %{_sbindir}/xmtr
+%verify_permissions -e %{_sbindir}/mtr-packet
 
 %files
-%doc AUTHORS COPYING FORMATS NEWS README SECURITY TODO
+%doc AUTHORS FORMATS NEWS README SECURITY TODO
+%license COPYING
 %{_datadir}/bash-completion/completions/mtr
 %{_mandir}/man8/mtr-packet.8%{ext_man}
 %{_mandir}/man8/mtr.8%{ext_man}
-%verify(not mode caps) %attr(750,root,dialout) %{_sbindir}/mtr-packet
-%verify(not mode caps) %attr(750,root,dialout) %{_sbindir}/mtr
+%verify(not caps) %attr(755,root,root) %{_sbindir}/mtr-packet
+%attr(755,root,root) %{_sbindir}/mtr
 
 %files gtk
-%doc AUTHORS COPYING FORMATS NEWS README SECURITY TODO
+%doc AUTHORS FORMATS NEWS README SECURITY TODO
+%license COPYING
 %{_mandir}/man8/xmtr.8%{ext_man}
-%verify(not mode caps) %attr(750,root,dialout) %{_sbindir}/xmtr
+%attr(755,root,root) %{_sbindir}/xmtr
 %{_includedir}/X11/pixmaps
 %{_datadir}/applications/*
 %{_datadir}/pixmaps/*




commit mtr for openSUSE:Factory

2019-01-03 Thread root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2019-01-03 18:08:50

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new.28833 (New)


Package is "mtr"

Thu Jan  3 18:08:50 2019 rev:38 rq:662453 version:0.92

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2017-11-24 10:56:39.175502533 
+0100
+++ /work/SRC/openSUSE:Factory/.mtr.new.28833/mtr.changes   2019-01-03 
18:08:51.660021351 +0100
@@ -1,0 +2,6 @@
+Tue Dec 18 16:46:39 UTC 2018 - mar...@gmx.de
+
+- Create file ".tarball-version" so mtr shows the proper version
+  information instead of "UNKNOWN".
+
+---



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.mM5EKZ/_old  2019-01-03 18:08:53.088020083 +0100
+++ /var/tmp/diff_new_pack.mM5EKZ/_new  2019-01-03 18:08:53.128020048 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mtr
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,15 +12,16 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define _group dialout
 Name:   mtr
 Version:0.92
 Release:0
 Summary:Ping and Traceroute Network Diagnostic Tool
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Productivity/Networking/Diagnostic
 URL:https://github.com/traviscross/mtr
 Source: ftp://ftp.bitwizard.nl/mtr/%{name}-%{version}.tar.gz
@@ -53,8 +54,8 @@
 
 %package gtk
 Summary:Ping and Traceroute Network Diagnostic Tool
-Group:  Productivity/Networking/Diagnostic
 # needed for mtr-packet
+Group:  Productivity/Networking/Diagnostic
 Requires:   %{name} = %{version}
 Requires:   xdg-utils
 
@@ -70,6 +71,7 @@
 %patch2 -p1
 
 %build
+echo "%{version}" >.tarball-version
 autoreconf -fvi
 
 export CFLAGS="%{optflags} -fpie -fPIE"




commit mtr for openSUSE:Factory

2017-11-24 Thread root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2017-11-24 10:56:34

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new (New)


Package is "mtr"

Fri Nov 24 10:56:34 2017 rev:37 rq:544995 version:0.92

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2017-08-24 18:39:56.354701555 
+0200
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr.changes 2017-11-24 
10:56:39.175502533 +0100
@@ -1,0 +2,5 @@
+Thu Nov 23 14:23:11 UTC 2017 - i...@ilya.pp.ua
+
+- Add Requires/Requires(post) group(dialout) (boo#1067511).
+
+---



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.OgDOnQ/_old  2017-11-24 10:56:40.439456371 +0100
+++ /var/tmp/diff_new_pack.OgDOnQ/_new  2017-11-24 10:56:40.443456225 +0100
@@ -12,17 +12,17 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org
 #
 
-
+%define _group dialout
 Name:   mtr
 Version:0.92
 Release:0
 Summary:Ping and Traceroute Network Diagnostic Tool
 License:GPL-2.0
 Group:  Productivity/Networking/Diagnostic
-Url:https://github.com/traviscross/mtr
+URL:https://github.com/traviscross/mtr
 Source: ftp://ftp.bitwizard.nl/mtr/%{name}-%{version}.tar.gz
 Source1:xmtr.desktop
 Patch1: mtr-0.75-manmtr.patch
@@ -34,8 +34,14 @@
 BuildRequires:  libtool
 BuildRequires:  ncurses-devel
 BuildRequires:  update-desktop-files
-Recommends: bash-completion
 Requires(post): permissions
+Recommends: bash-completion
+%if 0%{?suse_version} >= 1330
+Requires:   group(%{_group})
+Requires(pre):  group(%{_group})
+%else
+Requires(pre):  shadow
+%endif
 
 %description
 Mtr is a network diagnostic tool that combines Ping and Traceroute into
@@ -48,9 +54,9 @@
 %package gtk
 Summary:Ping and Traceroute Network Diagnostic Tool
 Group:  Productivity/Networking/Diagnostic
-Requires:   xdg-utils
 # needed for mtr-packet
 Requires:   %{name} = %{version}
+Requires:   xdg-utils
 
 %description gtk
 Mtr is a network diagnostic tool which combines Ping and Traceroute
@@ -91,10 +97,23 @@
 # xmtr fun
 install -m 4755 xmtr %{buildroot}%{_sbindir}
 install -m 644 xmtr.8 %{buildroot}/%{_mandir}/man8
-install -D -m 644 img/mtr_icon.xpm 
%{buildroot}%{_includedir}/X11/pixmaps/xmtr_icon.xpm
-install -D -m 644 img/mtr_icon.xpm 
%{buildroot}%{_datadir}/pixmaps/xmtr_icon.xpm
+install -Dm 644 img/mtr_icon.xpm 
%{buildroot}%{_includedir}/X11/pixmaps/xmtr_icon.xpm
+install -Dm 644 img/mtr_icon.xpm %{buildroot}%{_datadir}/pixmaps/xmtr_icon.xpm
 %suse_update_desktop_file -i xmtr Network Monitor
 
+%if 0%{?suse_version} < 1330
+%pre
+getent group %{_group} >/dev/null || %{_sbindir}/groupadd -r %{_group}
+%endif
+
+%post
+%set_permissions %{_sbindir}/mtr
+%set_permissions %{_sbindir}/xmtr
+
+%verifyscript
+%verify_permissions -e %{_sbindir}/mtr
+%verify_permissions -e %{_sbindir}/xmtr
+
 %files
 %doc AUTHORS COPYING FORMATS NEWS README SECURITY TODO
 %{_datadir}/bash-completion/completions/mtr
@@ -111,12 +130,4 @@
 %{_datadir}/applications/*
 %{_datadir}/pixmaps/*
 
-%post
-%set_permissions %{_sbindir}/mtr
-%set_permissions %{_sbindir}/xmtr
-
-%verifyscript
-%verify_permissions -e %{_sbindir}/mtr
-%verify_permissions -e %{_sbindir}/xmtr
-
 %changelog




commit mtr for openSUSE:Factory

2017-08-24 Thread root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2017-08-24 18:39:55

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new (New)


Package is "mtr"

Thu Aug 24 18:39:55 2017 rev:36 rq:511039 version:0.92

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2017-04-20 20:58:56.540151811 
+0200
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr.changes 2017-08-24 
18:39:56.354701555 +0200
@@ -1,0 +2,16 @@
+Mon Jul 10 17:52:38 UTC 2017 - plinn...@opensuse.org
+
+- Fix Requires so mtr-gtk installs properly
+
+---
+Mon Jul  3 11:36:32 UTC 2017 - tchva...@suse.com
+
+- Version update to mtr-0.92:
+  * Loads of fixes all around see NEWS file
+- Drop upstream merged patches:
+  * mtr-0.75-sec_snprintf.patch
+  * mtr-0.87-capabilities.patch
+  * mtr-0.87-dont_copy_makefile.patch
+- Refresh patch mtr-0.87-manxmtr.patch
+
+---

Old:

  mtr-0.75-sec_snprintf.patch
  mtr-0.87-capabilities.patch
  mtr-0.87-dont_copy_makefile.patch
  mtr-0.87.tar.gz

New:

  mtr-0.92.tar.gz



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.4c1JNn/_old  2017-08-24 18:39:57.110595066 +0200
+++ /var/tmp/diff_new_pack.4c1JNn/_new  2017-08-24 18:39:57.118593939 +0200
@@ -17,27 +17,25 @@
 
 
 Name:   mtr
-Version:0.87
+Version:0.92
 Release:0
 Summary:Ping and Traceroute Network Diagnostic Tool
 License:GPL-2.0
 Group:  Productivity/Networking/Diagnostic
-Url:http://www.BitWizard.nl/mtr
+Url:https://github.com/traviscross/mtr
 Source: ftp://ftp.bitwizard.nl/mtr/%{name}-%{version}.tar.gz
 Source1:xmtr.desktop
 Patch1: mtr-0.75-manmtr.patch
 Patch2: mtr-0.87-manxmtr.patch
-Patch4: mtr-0.75-sec_snprintf.patch
-Patch5: mtr-0.87-capabilities.patch
-Patch6: mtr-0.87-dont_copy_makefile.patch
+BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gtk2-devel
 BuildRequires:  libcap-devel
+BuildRequires:  libtool
 BuildRequires:  ncurses-devel
 BuildRequires:  update-desktop-files
-BuildRequires:  xorg-x11-devel
+Recommends: bash-completion
 Requires(post): permissions
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Mtr is a network diagnostic tool that combines Ping and Traceroute into
@@ -51,6 +49,8 @@
 Summary:Ping and Traceroute Network Diagnostic Tool
 Group:  Productivity/Networking/Diagnostic
 Requires:   xdg-utils
+# needed for mtr-packet
+Requires:   %{name} = %{version}
 
 %description gtk
 Mtr is a network diagnostic tool which combines Ping and Traceroute
@@ -61,53 +61,51 @@
 %setup -q
 cp mtr.8 xmtr.8
 %patch1
-%patch2 
-%patch4
-%patch5 -p1
-%patch6 -p1
+%patch2 -p1
 
 %build
-autoreconf -vi
+autoreconf -fvi
 
 export CFLAGS="%{optflags} -fpie -fPIE"
 export LDFLAGS="-pie -Wl,-z,relro,-z,now"
 
 %configure \
+   --disable-silent-rules \
--enable-ipv6 \
+   --enable-gtk2 \
--with-gtk \
--disable-gtktest
 make %{?_smp_mflags}
 mv mtr xmtr
 make distclean %{?_smp_mflags}
-#
 # console version
 %configure \
+   --disable-silent-rules \
--enable-ipv6 \
--without-gtk
 make %{?_smp_mflags}
 
 %install
-mkdir -p %{buildroot}%{_sbindir}
-mkdir -p %{buildroot}/%{_mandir}/man8
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
+
+# xmtr fun
 install -m 4755 xmtr %{buildroot}%{_sbindir}
 install -m 644 xmtr.8 %{buildroot}/%{_mandir}/man8
-install -d -m 755 %{buildroot}%{_includedir}/X11/pixmaps/
-install -m 644 img/mtr_icon.xpm 
%{buildroot}%{_includedir}/X11/pixmaps/xmtr_icon.xpm
-install -d -m 755 %{buildroot}%{_datadir}/pixmaps/
-install -m 644 img/mtr_icon.xpm %{buildroot}%{_datadir}/pixmaps/xmtr_icon.xpm
+install -D -m 644 img/mtr_icon.xpm 
%{buildroot}%{_includedir}/X11/pixmaps/xmtr_icon.xpm
+install -D -m 644 img/mtr_icon.xpm 
%{buildroot}%{_datadir}/pixmaps/xmtr_icon.xpm
 %suse_update_desktop_file -i xmtr Network Monitor
 
 %files
-%defattr(-,root,root)
 %doc AUTHORS COPYING FORMATS NEWS README SECURITY TODO
-%doc %{_mandir}/man8/mtr.8*
+%{_datadir}/bash-completion/completions/mtr
+%{_mandir}/man8/mtr-packet.8%{ext_man}
+%{_mandir}/man8/mtr.8%{ext_man}
+%verify(not mode caps) %attr(750,root,dialout) %{_sbindir}/mtr-packet
 %verify(not mode caps) %attr(750,root,dialout) %{_sbindir}/mtr
 
 %files gtk
-%defattr(-,root,root)
 %doc AUTHORS COPYING FORMATS NEWS README SECURITY TODO
-%doc %{_mandir}/man8/xmtr.8*
+%{_mandir}/man8/xmtr.8%{ext_man}
 %verify(not mode caps) %attr(750,root,dialout) %{_sbind

commit mtr for openSUSE:Factory

2017-04-20 Thread root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2017-04-20 20:58:54

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new (New)


Package is "mtr"

Thu Apr 20 20:58:54 2017 rev:35 rq:489314 version:0.87

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2016-12-13 19:33:40.308152123 
+0100
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr.changes 2017-04-20 
20:58:56.540151811 +0200
@@ -1,0 +2,8 @@
+Thu Apr 13 14:47:04 UTC 2017 - kstreit...@suse.com
+
+- add mtr-0.87-dont_copy_makefile.patch in order not to overwrite 
+  generated Makefile with the Makefile.dist in distclean if the
+  second build runs less than 3 seconds. This causes build to fail
+  [bsc#1020147]
+
+---

New:

  mtr-0.87-dont_copy_makefile.patch



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.ZOZo3O/_old  2017-04-20 20:58:57.204057920 +0200
+++ /var/tmp/diff_new_pack.ZOZo3O/_new  2017-04-20 20:58:57.208057354 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mtr
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,7 @@
 Patch2: mtr-0.87-manxmtr.patch
 Patch4: mtr-0.75-sec_snprintf.patch
 Patch5: mtr-0.87-capabilities.patch
+Patch6: mtr-0.87-dont_copy_makefile.patch
 BuildRequires:  automake
 BuildRequires:  gtk2-devel
 BuildRequires:  libcap-devel
@@ -63,6 +64,7 @@
 %patch2 
 %patch4
 %patch5 -p1
+%patch6 -p1
 
 %build
 autoreconf -vi

++ mtr-0.87-dont_copy_makefile.patch ++
>From 119a0e33ee6a023f32b256b8bafa5f972ecc480f Mon Sep 17 00:00:00 2001
From: Michal Sekletar 
Date: Tue, 28 Feb 2017 12:29:55 +0100
Subject: [PATCH] Don't copy Makefile.dist to Makefile in distclean

Note that make doesn't wait for this background task to finish. During
rpm build we are building mtr twice. After first build we call
distclean. If second invocation of configure script runs in less than 3
seconds then the Makefile generated by configure will be overwritten by
background copy. We don't want that and since we are calling configure
explicitly we don't really need this "feature" at all.
---
 Makefile.am | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index fa9a2dd..adf43c0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,7 +44,6 @@ version.h: version.h.tmp Makefile $(mtr_SOURCES)
 
 EXTRA_DIST = SECURITY mtr.8 Makefile Makefile.dist
 distclean-local:
-   (sleep 3; cp Makefile.dist Makefile) &
rm -f *.orig
 
 DISTCLEANFILES = *~
-- 
2.9.3





commit mtr for openSUSE:Factory

2015-10-06 Thread h_root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2015-10-06 13:27:36

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new (New)


Package is "mtr"

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2015-06-15 17:49:03.0 
+0200
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr.changes 2015-10-06 
13:27:44.0 +0200
@@ -1,0 +2,11 @@
+Sat Jun 20 14:36:19 UTC 2015 - lmue...@suse.com
+
+- update to mtr-0.86
+  + Fix unnecessary runtime dependency on glib
+  + Inverted IPINFO define in the code. Removes double negatives.
+  + Fixed failure on IPv4 only systems when IPv6 was available at 
+compile time.
+  + Fixed (longstanding) bug that mtr used 100% cpu when paused.
+- rename and adapt mtr-0.75-manxmtr.patch to mtr-0.86-manxmtr.patch
+
+---

Old:

  mtr-0.75-manxmtr.patch
  mtr-0.85_p20140126.tar.bz2

New:

  mtr-0.86-manxmtr.patch
  mtr-0.86.tar.gz



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.7H3bbG/_old  2015-10-06 13:27:45.0 +0200
+++ /var/tmp/diff_new_pack.7H3bbG/_new  2015-10-06 13:27:45.0 +0200
@@ -17,17 +17,16 @@
 
 
 Name:   mtr
-Version:0.85_p20140126
+Version:0.86
 Release:0
 Summary:Ping and Traceroute Network Diagnostic Tool
 License:GPL-2.0
 Group:  Productivity/Networking/Diagnostic
 Url:http://www.BitWizard.nl/mtr
-#Source: ftp://ftp.bitwizard.nl/mtr/%{name}-%{version}.tar.gz
-Source: http://dev.gentoo.org/~jer/%{name}-%{version}.tar.bz2
+Source: ftp://ftp.bitwizard.nl/mtr/%{name}-%{version}.tar.gz
 Source1:xmtr.desktop
 Patch1: mtr-0.75-manmtr.patch
-Patch2: mtr-0.75-manxmtr.patch
+Patch2: mtr-0.86-manxmtr.patch
 Patch3: mtr-0.75-nonvoid.patch
 Patch4: mtr-0.75-sec_snprintf.patch
 Patch5: mtr-0.82-capabilities.patch

++ mtr-0.75-manmtr.patch ++
--- /var/tmp/diff_new_pack.7H3bbG/_old  2015-10-06 13:27:45.0 +0200
+++ /var/tmp/diff_new_pack.7H3bbG/_new  2015-10-06 13:27:45.0 +0200
@@ -2,10 +2,10 @@
 ===
 --- mtr.8.orig
 +++ mtr.8
-@@ -54,6 +54,14 @@ mtr \- a network diagnostic tool
- 
+@@ -93,6 +93,14 @@ mtr \- a network diagnostic tool
+ ]
+ .I HOSTNAME
  .SH DESCRIPTION
- 
 +This version was compiled 
 +.BR without 
 +.BR GTK .

++ mtr-0.75-nonvoid.patch ++
--- /var/tmp/diff_new_pack.7H3bbG/_old  2015-10-06 13:27:45.0 +0200
+++ /var/tmp/diff_new_pack.7H3bbG/_new  2015-10-06 13:27:45.0 +0200
@@ -2,7 +2,7 @@
 ===
 --- display.c.orig
 +++ display.c
-@@ -37,7 +37,7 @@ extern int DisplayMode;
+@@ -38,7 +38,7 @@ extern int DisplayMode;
  #define mtr_curses_open()
  #define mtr_curses_close()
  #define mtr_curses_redraw()

++ mtr-0.75-sec_snprintf.patch ++
--- /var/tmp/diff_new_pack.7H3bbG/_old  2015-10-06 13:27:45.0 +0200
+++ /var/tmp/diff_new_pack.7H3bbG/_new  2015-10-06 13:27:45.0 +0200
@@ -2,7 +2,7 @@
 ===
 --- dns.c.orig
 +++ dns.c
-@@ -900,7 +900,7 @@ void resendrequest(struct resolve *rp,in
+@@ -962,7 +962,7 @@ void resendrequest(struct resolve *rp,in
} else if (type == T_PTR) {
  switch ( af ) {
  case AF_INET:

++ mtr-0.82-capabilities.patch ++
--- /var/tmp/diff_new_pack.7H3bbG/_old  2015-10-06 13:27:45.0 +0200
+++ /var/tmp/diff_new_pack.7H3bbG/_new  2015-10-06 13:27:45.0 +0200
@@ -28,7 +28,7 @@
  
  #ifdef ENABLE_IPV6
  #define DEFAULT_AF AF_UNSPEC
-@@ -530,6 +533,18 @@
+@@ -555,6 +558,18 @@
  exit( EXIT_FAILURE );
}
  

++ mtr-0.85-crash-with-xml-option.patch ++
--- /var/tmp/diff_new_pack.7H3bbG/_old  2015-10-06 13:27:45.0 +0200
+++ /var/tmp/diff_new_pack.7H3bbG/_new  2015-10-06 13:27:45.0 +0200
@@ -12,7 +12,7 @@
 --- a/report.c
 +++ b/report.c
 @@ -294,7 +294,7 @@ void xml_close(void)
- printf("\n", at+1, name);
+ printf("\n", at+1, name);
  for( i=0; i mtr-0.86-manxmtr.patch ++
--- /work/SRC/openSUSE:Factory/mtr/mtr-0.75-manxmtr.patch   2014-09-03 
20:26:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr-0.86-manxmtr.patch  2015-10-06 
13:27:44.0 +0200
@@ -1,34 +1,29 @@
-Common subdirectories: mtr-0.85_p20140126.old/autom4te.cache and 
mtr-0.85_p20140126/autom4te.cache
-Common subdirectories: mtr-0.85_p20140126.old/.git and mtr-0.85_p20140126/.git
-Common subdirectories: mtr-0.85_p20140126.old/img and mtr-0

commit mtr for openSUSE:Factory

2015-06-15 Thread h_root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2015-06-15 17:48:57

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new (New)


Package is "mtr"

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2014-09-03 20:26:00.0 
+0200
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr.changes 2015-06-15 
17:49:03.0 +0200
@@ -1,0 +2,6 @@
+Fri Jun 12 15:53:18 UTC 2015 - kstreit...@suse.com
+
+- add mtr-0.85-crash-with-xml-option.patch to fix crash if '--xml'
+  option is used [bnc#933854]
+
+---

New:

  mtr-0.85-crash-with-xml-option.patch



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.XI5G6t/_old  2015-06-15 17:49:04.0 +0200
+++ /var/tmp/diff_new_pack.XI5G6t/_new  2015-06-15 17:49:04.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mtr
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,8 @@
 Patch3: mtr-0.75-nonvoid.patch
 Patch4: mtr-0.75-sec_snprintf.patch
 Patch5: mtr-0.82-capabilities.patch
+# PATCH-FIX-UPSTREAM bnc#933854 kstreit...@suse.com -- fix mtr crash with 
--xml option
+Patch6: mtr-0.85-crash-with-xml-option.patch
 BuildRequires:  automake
 BuildRequires:  gtk2-devel
 BuildRequires:  libcap-devel
@@ -66,6 +68,7 @@
 %patch3
 %patch4
 %patch5 -p1
+%patch6 -p1
 
 %build
 autoreconf -vi

++ mtr-0.85-crash-with-xml-option.patch ++
>From 4d1ff4fc1862f01a94f18576c34fb9957f53c936 Mon Sep 17 00:00:00 2001
From: "R.E. Wolff" 
Date: Sun, 15 Mar 2015 18:38:12 +0100
Subject: [PATCH] fix for printing space field in XML.

---
 report.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/report.c b/report.c
index badb765..d6752eb 100644
--- a/report.c
+++ b/report.c
@@ -294,7 +294,7 @@ void xml_close(void)
 printf("\n", at+1, name);
 for( i=0; i");
   strcat(name, data_fields[j].format);



commit mtr for openSUSE:Factory

2014-09-03 Thread h_root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2014-09-03 18:23:15

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new (New)


Package is "mtr"

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2014-07-29 16:48:57.0 
+0200
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr.changes 2014-09-03 
20:26:00.0 +0200
@@ -1,0 +2,12 @@
+Tue Sep  2 15:12:28 UTC 2014 - kstreit...@novell.com
+
+- cleaned up by spec-cleaner
+- xmtr moved from bin to sbin and use capabilities. Fixes bnc#878729
+- version bump to 0.85_p20140126:
+  * snapshot taken from Gentoo
+  * this works with gtk properly
+- refreshed patches:
+  * mtr-0.75-manxmtr.patch
+  * mtr-0.82-capabilities.patch
+
+---

Old:

  mtr-0.85.tar.gz
  mtr.gif

New:

  mtr-0.85_p20140126.tar.bz2



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.kzDxOv/_old  2014-09-03 20:26:02.0 +0200
+++ /var/tmp/diff_new_pack.kzDxOv/_new  2014-09-03 20:26:02.0 +0200
@@ -17,30 +17,28 @@
 
 
 Name:   mtr
+Version:0.85_p20140126
+Release:0
 Summary:Ping and Traceroute Network Diagnostic Tool
 License:GPL-2.0
 Group:  Productivity/Networking/Diagnostic
-Version:0.85
-Release:0
 Url:http://www.BitWizard.nl/mtr
-
-#DL-URL:   ftp://ftp.bitwizard.nl/mtr/
-Source: ftp://ftp.bitwizard.nl/mtr/%name-%version.tar.gz
+#Source: ftp://ftp.bitwizard.nl/mtr/%{name}-%{version}.tar.gz
+Source: http://dev.gentoo.org/~jer/%{name}-%{version}.tar.bz2
 Source1:xmtr.desktop
 Patch1: mtr-0.75-manmtr.patch
 Patch2: mtr-0.75-manxmtr.patch
 Patch3: mtr-0.75-nonvoid.patch
 Patch4: mtr-0.75-sec_snprintf.patch
 Patch5: mtr-0.82-capabilities.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  automake
 BuildRequires:  gtk2-devel
 BuildRequires:  libcap-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  update-desktop-files
 BuildRequires:  xorg-x11-devel
-Icon:   mtr.gif
-PreReq: permissions
+Requires(post): permissions
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Mtr is a network diagnostic tool that combines Ping and Traceroute into
@@ -53,24 +51,13 @@
 %package gtk
 Summary:Ping and Traceroute Network Diagnostic Tool
 Group:  Productivity/Networking/Diagnostic
+Requires:   xdg-utils
 
 %description gtk
 Mtr is a network diagnostic tool which combines Ping and Traceroute
 into one program. This package contains mtr with a GTK interface.
 You'll find the text mode version in the mtr package.
 
-%define _xorg7libs %_lib
-%define _xorg7libs32 lib
-%define _xorg7bin bin
-%define _xorg7mandir %_mandir
-%define _xorg7pixmaps include
-%define _xorg7libshare share
-%define _xorg7xkb /usr/share/X11/xkb
-%define _xorg7termcap /usr/lib/X11/etc
-%define _xorg7include /usr/include/xorg
-%define _xorg7fonts /usr/share/fonts
-%define _xorg7prefix /usr
-
 %prep
 %setup -q 
 cp mtr.8 xmtr.8
@@ -81,66 +68,58 @@
 %patch5 -p1
 
 %build
-aclocal -I /usr/share/aclocal
-autoconf
-automake --foreign -a
-#
-# GTK version
-CFLAGS="$RPM_OPT_FLAGS" ./configure \
-   --enable-gtk2 \
-   --prefix=%{_xorg7prefix}
-make && mv mtr xmtr  
-make distclean
+autoreconf -vi
+
+export CFLAGS="%{optflags} -fpie -fPIE"
+export LDFLAGS="-pie -Wl,-z,relro,-z,now"
+
+%configure \
+   --enable-ipv6 \
+   --with-gtk \
+   --disable-gtktest
+make %{?_smp_mflags}
+mv mtr xmtr
+make distclean %{?_smp_mflags}
 #
 # console version
-export CFLAGS="$RPM_OPT_FLAGS -fpie -fPIE" 
-export LDFLAGS="-pie -Wl,-z,relro,-z,now"
-./configure \
-   --prefix=/usr \
-   --mandir=%{_mandir} \
+%configure \
+   --enable-ipv6 \
--without-gtk
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
-mkdir -p $RPM_BUILD_ROOT/usr/sbin
-mkdir -p $RPM_BUILD_ROOT/usr/%{_xorg7bin}
-mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
-make DESTDIR=$RPM_BUILD_ROOT install
-install -m 4755 xmtr $RPM_BUILD_ROOT/usr/%{_xorg7bin}
-install -m 644 xmtr.8 $RPM_BUILD_ROOT/%{_mandir}/man8
-install -d -m 755 $RPM_BUILD_ROOT/usr/%{_xorg7pixmaps}/X11/pixmaps/
-install -m 644 img/mtr_icon.xpm 
$RPM_BUILD_ROOT/usr/%{_xorg7pixmaps}/X11/pixmaps/xmtr_icon.xpm
-install -d -m 755 $RPM_BUILD_ROOT/usr/share/pixmaps/
-install -m 644 img/mtr_icon.xpm $RPM_BUILD_ROOT/usr/share/pixmaps/xmtr_icon.xpm
+mkdir -p %{buildroot}%{_sbindir}
+mkdir -p %{buildroot}/%{_mandir}/man8
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+install -m 4755 xmtr %{buildroot}%{_sbindir}
+install -m 644 xm

commit mtr for openSUSE:Factory

2014-07-29 Thread h_root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2014-07-29 16:48:33

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new (New)


Package is "mtr"

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2014-07-24 00:42:01.0 
+0200
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr.changes 2014-07-29 
16:48:57.0 +0200
@@ -1,0 +2,10 @@
+Tue Jul 22 09:12:17 UTC 2014 - jeng...@inai.de
+
+- Update to new upstream release 0.85
+* Add -z / --show-ip support
+* Made report wide switch properly to displayreport mode.
+* Fixed gtk field order. Bug #701513
+* Enable IPv6 resolvers.
+- Refresh patches to clear fuzz in applying them
+
+---

Old:

  mtr-0.82.tar.bz2

New:

  mtr-0.85.tar.gz



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.qx0WZq/_old  2014-07-29 16:48:58.0 +0200
+++ /var/tmp/diff_new_pack.qx0WZq/_new  2014-07-29 16:48:58.0 +0200
@@ -17,19 +17,15 @@
 
 
 Name:   mtr
-BuildRequires:  automake
-BuildRequires:  gtk2-devel
-BuildRequires:  libcap-devel
-BuildRequires:  ncurses-devel
-BuildRequires:  update-desktop-files
-BuildRequires:  xorg-x11-devel
 Summary:Ping and Traceroute Network Diagnostic Tool
 License:GPL-2.0
 Group:  Productivity/Networking/Diagnostic
-Version:0.82
+Version:0.85
 Release:0
 Url:http://www.BitWizard.nl/mtr
-Source: %{name}-%{version}.tar.bz2
+
+#DL-URL:   ftp://ftp.bitwizard.nl/mtr/
+Source: ftp://ftp.bitwizard.nl/mtr/%name-%version.tar.gz
 Source1:xmtr.desktop
 Patch1: mtr-0.75-manmtr.patch
 Patch2: mtr-0.75-manxmtr.patch
@@ -37,6 +33,12 @@
 Patch4: mtr-0.75-sec_snprintf.patch
 Patch5: mtr-0.82-capabilities.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  automake
+BuildRequires:  gtk2-devel
+BuildRequires:  libcap-devel
+BuildRequires:  ncurses-devel
+BuildRequires:  update-desktop-files
+BuildRequires:  xorg-x11-devel
 Icon:   mtr.gif
 PreReq: permissions
 
@@ -73,7 +75,7 @@
 %setup -q 
 cp mtr.8 xmtr.8
 %patch1
-%patch2
+%patch2 -p1
 %patch3
 %patch4
 %patch5 -p1
@@ -116,7 +118,11 @@
 %defattr(-,root,root)
 %doc AUTHORS COPYING FORMATS NEWS README SECURITY TODO
 %doc %{_mandir}/man8/mtr.8*
+%if 0%{?suse_version} <= 1130
+%verify(not mode) %attr(755,root,dialout) /usr/sbin/mtr
+%else
 %verify(not mode caps) %attr(750,root,dialout) /usr/sbin/mtr
+%endif
 
 %files gtk
 %defattr(-,root,root)

++ mtr-0.75-manxmtr.patch ++
--- /var/tmp/diff_new_pack.qx0WZq/_old  2014-07-29 16:48:58.0 +0200
+++ /var/tmp/diff_new_pack.qx0WZq/_new  2014-07-29 16:48:58.0 +0200
@@ -1,7 +1,11 @@
-Index: xmtr.8
+---
+ xmtr.8 |   34 +-
+ 1 file changed, 17 insertions(+), 17 deletions(-)
+
+Index: mtr-0.85/xmtr.8
 ===
 xmtr.8.orig
-+++ xmtr.8
+--- mtr-0.85.orig/xmtr.8
 mtr-0.85/xmtr.8
 @@ -2,11 +2,11 @@
  
  
@@ -12,41 +16,41 @@
  
  .SH SYNOPSIS
 -.B mtr 
-+.B xmtr 
++.B xmtr
  [\c
- .B \-hvrctglspeniu46\c
+ .B \-hvrctglspeniuTP46\c
  ]
-@@ -57,7 +57,7 @@ mtr \- a network diagnostic tool
+@@ -69,7 +69,7 @@ mtr \- a network diagnostic tool
  
  .SH DESCRIPTION
  
 -.B mtr 
-+.B xmtr 
++.B xmtr
  combines the functionality of the 
  .B traceroute
  and 
-@@ -66,9 +66,9 @@ programs in a single network diagnostic
+@@ -78,9 +78,9 @@ programs in a single network diagnostic
  
  .PP
  As 
 -.B mtr 
-+.B xmtr 
++.B xmtr
  starts, it investigates the network connection between the host 
 -.B mtr
 +.B xmtr
  runs on and 
  .BR HOSTNAME . 
- by sending packets with purposly low TTLs. It continues to send
-@@ -95,7 +95,7 @@ Print the summary of command line argume
+ by sending packets with purposely low TTLs. It continues to send
+@@ -111,7 +111,7 @@ Print the summary of command line argume
  .TP
  .B \-\-version
  .br
 -Print the installed version of mtr.  
-+Print the installed version of xmtr.  
++Print the installed version of xmtr.
  
  .TP
  .B \-r
-@@ -103,11 +103,11 @@ Print the installed version of mtr.
+@@ -119,11 +119,11 @@ Print the installed version of mtr.
  .B \-\-report
  .br
  This option puts 
@@ -60,7 +64,7 @@
  will run for the number of cycles specified by the 
  .B \-c
  option, and then print statistics and exit.  
-@@ -115,9 +115,9 @@ option, and then print statistics and ex
+@@ -131,9 +131,9 @@ option, and then print statistics and ex
  \c
  This mode is useful for generating statistics about network quality.  
  Note that each running instance 

commit mtr for openSUSE:Factory

2014-07-23 Thread h_root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2014-07-23 22:06:51

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new (New)


Package is "mtr"

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2014-03-14 15:17:19.0 
+0100
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr.changes 2014-07-24 
00:42:01.0 +0200
@@ -1,0 +2,6 @@
+Tue Jul 22 07:52:22 UTC 2014 - meiss...@suse.com
+
+- correct mode of mtr to match "secure" permission.
+- "not verify caps" to avoid patchrpm check breakage
+
+---



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.zqX1qq/_old  2014-07-24 00:42:02.0 +0200
+++ /var/tmp/diff_new_pack.zqX1qq/_new  2014-07-24 00:42:02.0 +0200
@@ -112,14 +112,11 @@
 install -m 644 img/mtr_icon.xpm $RPM_BUILD_ROOT/usr/share/pixmaps/xmtr_icon.xpm
 %suse_update_desktop_file -i xmtr Network Monitor
 
-%clean
-rm -rf  %{buildroot}
-
 %files
 %defattr(-,root,root)
 %doc AUTHORS COPYING FORMATS NEWS README SECURITY TODO
 %doc %{_mandir}/man8/mtr.8*
-%verify(not mode) %attr(755,root,dialout) /usr/sbin/mtr
+%verify(not mode caps) %attr(750,root,dialout) /usr/sbin/mtr
 
 %files gtk
 %defattr(-,root,root)
@@ -136,6 +133,7 @@
 %else
 %set_permissions /usr/sbin/mtr
 %endif
+
 %verifyscript
 %verify_permissions -e /usr/sbin/mtr
 


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mtr for openSUSE:Factory

2014-03-14 Thread h_root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2014-03-14 15:17:18

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new (New)


Package is "mtr"

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2012-05-26 09:27:28.0 
+0200
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr.changes 2014-03-14 
15:17:19.0 +0100
@@ -1,0 +2,6 @@
+Wed Mar 12 10:26:00 UTC 2014 - meiss...@suse.com
+
+- mtr-0.82-capabilities.patch: Add patch to use and drop capabilities
+  instead of setuid. bnc#865351
+
+---

New:

  mtr-0.82-capabilities.patch



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.kILAhe/_old  2014-03-14 15:17:19.0 +0100
+++ /var/tmp/diff_new_pack.kILAhe/_new  2014-03-14 15:17:19.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mtr
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,6 +19,7 @@
 Name:   mtr
 BuildRequires:  automake
 BuildRequires:  gtk2-devel
+BuildRequires:  libcap-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  update-desktop-files
 BuildRequires:  xorg-x11-devel
@@ -34,6 +35,7 @@
 Patch2: mtr-0.75-manxmtr.patch
 Patch3: mtr-0.75-nonvoid.patch
 Patch4: mtr-0.75-sec_snprintf.patch
+Patch5: mtr-0.82-capabilities.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Icon:   mtr.gif
 PreReq: permissions
@@ -74,6 +76,7 @@
 %patch2
 %patch3
 %patch4
+%patch5 -p1
 
 %build
 aclocal -I /usr/share/aclocal

++ mtr-0.82-capabilities.patch ++
Index: mtr-0.82/configure.in
===
--- mtr-0.82.orig/configure.in
+++ mtr-0.82/configure.in
@@ -27,6 +27,10 @@ AC_CHECK_HEADERS(socket.h sys/socket.h s
 # pull in anything if we don't refer to anything in the lib). 
 AC_CHECK_LIB(termcap, tgetent)
 
+AC_CHECK_LIB(cap, cap_init,
+   AC_DEFINE(HAVE_CAPABILITIES, 1, capability support)
+   LIBS="$LIBS -lcap", AC_MSG_WARN(No capability support available.))
+
 AC_CHECK_FUNC(initscr, , 
   AC_CHECK_LIB(ncurses, initscr, , 
 AC_CHECK_LIB(curses, initscr, , 
Index: mtr-0.82/mtr.c
===
--- mtr-0.82.orig/mtr.c
+++ mtr-0.82/mtr.c
@@ -35,6 +35,9 @@
 #include "report.h"
 #include "net.h"
 
+#ifdef HAVE_CAPABILITIES
+#include 
+#endif
 
 #ifdef ENABLE_IPV6
 #define DEFAULT_AF AF_UNSPEC
@@ -343,6 +346,18 @@ int main(int argc, char **argv)
 exit( EXIT_FAILURE );
   }
 
+   /* ported from ping */
+#ifdef HAVE_CAPABILITIES
+   {
+   cap_t caps = cap_init();
+   if (cap_set_proc(caps) < 0) {
+   fprintf (stderr, "mtr: Unable to drop capabilities.\n");
+   exit(1);
+   }
+   cap_free(caps);
+   }
+#endif
+
   /*  Now drop to user permissions  */
   if (setgid(getgid()) || setuid(getuid())) {
 fprintf (stderr, "mtr: Unable to drop permissions.\n");

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mtr for openSUSE:Factory

2012-05-26 Thread h_root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2012-05-26 09:27:23

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new (New)


Package is "mtr", Maintainer is "vdziewie...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2012-01-27 15:22:25.0 
+0100
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr.changes 2012-05-26 
09:27:28.0 +0200
@@ -1,0 +2,6 @@
+Fri May 25 13:39:36 UTC 2012 - pu...@suse.com
+
+- run_permissions macro is obsolete: use set_permissions
+  (bnc#764102) 
+
+---



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.DlL5mx/_old  2012-05-26 09:27:31.0 +0200
+++ /var/tmp/diff_new_pack.DlL5mx/_new  2012-05-26 09:27:31.0 +0200
@@ -16,7 +16,6 @@
 #
 
 
-
 Name:   mtr
 BuildRequires:  automake
 BuildRequires:  gtk2-devel
@@ -49,6 +48,7 @@
 
 %package gtk
 Summary:Ping and Traceroute Network Diagnostic Tool
+Group:  Productivity/Networking/Diagnostic
 
 %description gtk
 Mtr is a network diagnostic tool which combines Ping and Traceroute
@@ -128,7 +128,11 @@
 /usr/share/pixmaps/*
 
 %post
+%if 0%{?suse_version} <= 1130
 %run_permissions
+%else
+%set_permissions /usr/sbin/mtr
+%endif
 %verifyscript
 %verify_permissions -e /usr/sbin/mtr
 


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mtr for openSUSE:Factory

2012-01-27 Thread h_root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2012-01-27 15:22:23

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new (New)


Package is "mtr", Maintainer is "pu...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2011-12-25 17:37:13.0 
+0100
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr.changes 2012-01-27 
15:22:25.0 +0100
@@ -1,0 +2,5 @@
+Tue Jan 24 00:55:32 UTC 2012 - crrodrig...@opensuse.org
+
+- build mtr binary with PIE and full RELRO 
+
+---



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.D3OySu/_old  2012-01-27 15:22:25.0 +0100
+++ /var/tmp/diff_new_pack.D3OySu/_new  2012-01-27 15:22:25.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mtr
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
 #
 
 
+
 Name:   mtr
 BuildRequires:  automake
 BuildRequires:  gtk2-devel
@@ -87,7 +88,9 @@
 make distclean
 #
 # console version
-CFLAGS="$RPM_OPT_FLAGS" ./configure \
+export CFLAGS="$RPM_OPT_FLAGS -fpie -fPIE" 
+export LDFLAGS="-pie -Wl,-z,relro,-z,now"
+./configure \
--prefix=/usr \
--mandir=%{_mandir} \
--without-gtk


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mtr for openSUSE:Factory

2011-12-25 Thread h_root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2011-12-25 17:37:08

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new (New)


Package is "mtr", Maintainer is "pu...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2011-12-21 17:00:20.0 
+0100
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr.changes 2011-12-25 
17:37:13.0 +0100
@@ -1,0 +2,5 @@
+Wed Dec 21 10:31:41 UTC 2011 - co...@suse.com
+
+- remove call to suse_update_config (very old work around)
+
+---



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.KSs89E/_old  2011-12-25 17:37:14.0 +0100
+++ /var/tmp/diff_new_pack.KSs89E/_new  2011-12-25 17:37:14.0 +0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   mtr
 BuildRequires:  automake
 BuildRequires:  gtk2-devel
@@ -74,7 +75,6 @@
 %patch4
 
 %build
-%{?suse_update_config:%{suse_update_config}}
 aclocal -I /usr/share/aclocal
 autoconf
 automake --foreign -a


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mtr for openSUSE:Factory

2011-12-21 Thread h_root
Hello community,

here is the log from the commit of package mtr for openSUSE:Factory checked in 
at 2011-12-21 17:00:18

Comparing /work/SRC/openSUSE:Factory/mtr (Old)
 and  /work/SRC/openSUSE:Factory/.mtr.new (New)


Package is "mtr", Maintainer is "pu...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/mtr/mtr.changes  2011-10-11 17:04:15.0 
+0200
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr.changes 2011-12-21 
17:00:20.0 +0100
@@ -1,0 +2,13 @@
+Thu Dec 15 10:36:54 UTC 2011 - pu...@suse.com
+
+- update to mtr-0.82
+  * Enable decoding of ICMP extensions for MPLS for curses and 
+report interfaces. Use the -e flag or press 'e' to enable it.
+- fix spec license to GPL-2 (bnc#735559)
+
+---
+Fri Dec  2 15:51:13 UTC 2011 - co...@suse.com
+
+- add automake as buildrequire to avoid implicit dependency
+
+---

Old:

  mtr-0.81.tar.bz2

New:

  mtr-0.82.tar.bz2



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.ygtzXx/_old  2011-12-21 17:00:21.0 +0100
+++ /var/tmp/diff_new_pack.ygtzXx/_new  2011-12-21 17:00:21.0 +0100
@@ -15,19 +15,17 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-
 Name:   mtr
+BuildRequires:  automake
 BuildRequires:  gtk2-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  update-desktop-files
 BuildRequires:  xorg-x11-devel
 Summary:Ping and Traceroute Network Diagnostic Tool
-Version:0.81
-Release:2
+License:GPL-2.0
 Group:  Productivity/Networking/Diagnostic
-License:GPLv2+
+Version:0.82
+Release:0
 Url:http://www.BitWizard.nl/mtr
 Source: %{name}-%{version}.tar.bz2
 Source1:xmtr.desktop
@@ -48,9 +46,7 @@
 Find the graphical version in the mtr-gtk package.
 
 %package gtk
-License:GPLv2+
 Summary:Ping and Traceroute Network Diagnostic Tool
-Group:  Productivity/Networking/Diagnostic
 
 %description gtk
 Mtr is a network diagnostic tool which combines Ping and Traceroute

++ mtr-0.75-manxmtr.patch ++
--- /var/tmp/diff_new_pack.ygtzXx/_old  2011-12-21 17:00:21.0 +0100
+++ /var/tmp/diff_new_pack.ygtzXx/_new  2011-12-21 17:00:21.0 +0100
@@ -14,9 +14,9 @@
 -.B mtr 
 +.B xmtr 
  [\c
- .B \-hvrctglspniu46\c
+ .B \-hvrctglspeniu46\c
  ]
-@@ -54,7 +54,7 @@ mtr \- a network diagnostic tool
+@@ -57,7 +57,7 @@ mtr \- a network diagnostic tool
  
  .SH DESCRIPTION
  
@@ -25,7 +25,7 @@
  combines the functionality of the 
  .B traceroute
  and 
-@@ -63,9 +63,9 @@ programs in a single network diagnostic
+@@ -66,9 +66,9 @@ programs in a single network diagnostic
  
  .PP
  As 
@@ -37,7 +37,7 @@
  runs on and 
  .BR HOSTNAME . 
  by sending packets with purposly low TTLs. It continues to send
-@@ -92,7 +92,7 @@ Print the summary of command line argume
+@@ -95,7 +95,7 @@ Print the summary of command line argume
  .TP
  .B \-\-version
  .br
@@ -46,7 +46,7 @@
  
  .TP
  .B \-r
-@@ -100,11 +100,11 @@ Print the installed version of mtr.
+@@ -103,11 +103,11 @@ Print the installed version of mtr.
  .B \-\-report
  .br
  This option puts 
@@ -60,7 +60,7 @@
  will run for the number of cycles specified by the 
  .B \-c
  option, and then print statistics and exit.  
-@@ -112,9 +112,9 @@ option, and then print statistics and ex
+@@ -115,9 +115,9 @@ option, and then print statistics and ex
  \c
  This mode is useful for generating statistics about network quality.  
  Note that each running instance of 
@@ -72,7 +72,7 @@
  to measure the quality of your network may result in decreased
  network performance.  
  
-@@ -157,7 +157,7 @@ packetsize upto that number.
+@@ -160,7 +160,7 @@ packetsize upto that number.
  .B \-\-curses
  .br
  Use this option to force 
@@ -81,7 +81,7 @@
  to use the curses based terminal
  interface (if available).
  
-@@ -167,7 +167,7 @@ interface (if available).
+@@ -180,7 +180,7 @@ that are encoded in the response packets
  .B \-\-no-dns
  .br
  Use this option to force 
@@ -90,7 +90,7 @@
  to display numeric IP numbers and not try to resolve the
  host names. 
  
-@@ -187,10 +187,10 @@ Example:
+@@ -200,10 +200,10 @@ Example:
  .B \-\-gtk
  .br
  Use this option to force
@@ -103,7 +103,7 @@
  was built for this to work.  See the GTK+ web page at 
  .B http://www.gimp.org/gtk/
  for more information about GTK+.
-@@ -201,7 +201,7 @@ for more information about GTK+.
+@@ -214,7 +214,7 @@ for more information about GTK+.
  .B \-\-split
  .br
  Use this option to set
@@ -112,7 +112,7 @@
  to spit out a format that is suitable for a split-user interface.
  
  .T

commit mtr for openSUSE:Factory

2011-10-11 Thread h_root

Hello community,

here is the log from the commit of package mtr for openSUSE:Factory
checked in at Tue Oct 11 17:04:28 CEST 2011.




--- openSUSE:Factory/mtr/mtr.changes2011-09-23 02:13:35.0 +0200
+++ /mounts/work_src_done/STABLE/mtr/mtr.changes2011-10-10 
13:26:24.0 +0200
@@ -1,0 +2,6 @@
+Mon Oct 10 11:25:00 UTC 2011 - pu...@suse.com
+
+- update to mtr-0.81
+  - Fix for https://bugs.launchpad.net/mtr/+bug/776211
+
+---

calling whatdependson for head-i586


Old:

  mtr-0.80.tar.bz2

New:

  mtr-0.81.tar.bz2



Other differences:
--
++ mtr.spec ++
--- /var/tmp/diff_new_pack.ohD0R4/_old  2011-10-11 17:04:13.0 +0200
+++ /var/tmp/diff_new_pack.ohD0R4/_new  2011-10-11 17:04:13.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package mtr (Version 0.80)
+# spec file for package mtr
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 BuildRequires:  update-desktop-files
 BuildRequires:  xorg-x11-devel
 Summary:Ping and Traceroute Network Diagnostic Tool
-Version:0.80
+Version:0.81
 Release:2
 Group:  Productivity/Networking/Diagnostic
 License:GPLv2+

++ mtr-0.80.tar.bz2 -> mtr-0.81.tar.bz2 ++
 15868 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/mtr-0.80/NEWS new/mtr-0.81/NEWS
--- old/mtr-0.80/NEWS   2010-07-13 08:11:56.0 +0200
+++ new/mtr-0.81/NEWS   2011-10-07 00:55:02.0 +0200
@@ -1,4 +1,7 @@
 WHAT'S NEW?
+  V0.81 Fix for https://bugs.launchpad.net/mtr/+bug/776211
+don't have time right now to integrate some submitted patches. 
+Sorry.
   V0.80 Some compilation fixes for BSD by Jeremy Chadwick 
 
   V0.78/0.79 some compilation fixes for BSD&others by 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/mtr-0.80/config.h.in new/mtr-0.81/config.h.in
--- old/mtr-0.80/config.h.in2010-07-13 08:12:40.0 +0200
+++ new/mtr-0.81/config.h.in2011-06-27 17:52:41.0 +0200
@@ -127,6 +127,9 @@
 /* Define to the one symbol short name of this package. */
 #undef PACKAGE_TARNAME
 
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/mtr-0.80/config.status.lineno new/mtr-0.81/config.status.lineno
--- old/mtr-0.80/config.status.lineno   2010-05-31 16:25:51.0 +0200
+++ new/mtr-0.81/config.status.lineno   1970-01-01 01:00:00.0 +0100
@@ -1,1058 +0,0 @@
-#! /bin/sh
-# Generated by configure.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=${CONFIG_SHELL-/bin/sh}
-## - ##
-## M4sh Initialization.  ##
-## - ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
-  emulate sh
-  NULLCMD=:
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2>/dev/null` in
-  *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  echo "#! /bin/sh" >conf$$.sh
-  echo  "exit 0"   >>conf$$.sh
-  chmod +x conf$$.sh
-  if (PATH="/