[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2022-07-10 Thread Sam James
commit: c57d1bf1eeffc10a8e2d9a23b3ab32f428d8cc30
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 10 07:42:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 10 07:42:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c57d1bf1

net-analyzer/netselect: drop 0.4-r1

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r1.ebuild | 47 --
 1 file changed, 47 deletions(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r1.ebuild 
b/net-analyzer/netselect/netselect-0.4-r1.ebuild
deleted file mode 100644
index 80066a138a33..
--- a/net-analyzer/netselect/netselect-0.4-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Ultrafast implementation of ping"
-HOMEPAGE="http://apenwarr.ca/netselect/;
-SRC_URI="
-   https://github.com/apenwarr/${PN}/archive/${P}.tar.gz
-   ipv6? ( https://dev.gentoo.org/~jsmolic/distfiles/${P}-ipv6.patch.xz )
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="ipv6"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.4-bsd.patch
-   "${FILESDIR}"/${PN}-0.4-flags.patch
-)
-S=${WORKDIR}/${PN}-${P}
-
-src_prepare() {
-   use ipv6 && eapply "${WORKDIR}"/${PN}-0.4-ipv6.patch
-
-   default
-}
-
-src_compile() {
-   emake CC="$(tc-getCC)" LDFLAGS="${CFLAGS} ${LDFLAGS}"
-}
-
-src_install() {
-   dobin netselect
-
-   if ! use prefix ; then
-   fowners root:wheel /usr/bin/netselect
-   fperms 4711 /usr/bin/netselect
-   fi
-
-   dodoc HISTORY README
-
-   doman netselect.1
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2022-05-19 Thread WANG Xuerui
commit: 7ae673f1971bb31655f6b0618a40db2437f38d3e
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May 19 07:27:08 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May 19 07:28:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ae673f1

net-analyzer/netselect: keyword 0.4-r2 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index c9f3a3a436d4..acf571f4b070 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-10-19 Thread Jakov Smolić
commit: abcc60821a11992093dc6aa395ff51bb91c24eb1
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Oct 19 19:03:46 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Oct 19 19:08:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abcc6082

net-analyzer/netselect: Update SRC_URI

jer@ is retired and I've archived the distfiles in my devspace

Signed-off-by: Jakov Smolić  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r1.ebuild | 2 +-
 net-analyzer/netselect/netselect-0.4-r2.ebuild | 2 +-
 net-analyzer/netselect/netselect-.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r1.ebuild 
b/net-analyzer/netselect/netselect-0.4-r1.ebuild
index cf688a07340..80066a138a3 100644
--- a/net-analyzer/netselect/netselect-0.4-r1.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r1.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="Ultrafast implementation of ping"
 HOMEPAGE="http://apenwarr.ca/netselect/;
 SRC_URI="
https://github.com/apenwarr/${PN}/archive/${P}.tar.gz
-   ipv6? ( https://dev.gentoo.org/~jer/${P}-ipv6.patch.xz )
+   ipv6? ( https://dev.gentoo.org/~jsmolic/distfiles/${P}-ipv6.patch.xz )
 "
 
 LICENSE="BSD"

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index 12cedb9b920..c9f3a3a436d 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="Ultrafast implementation of ping"
 HOMEPAGE="http://apenwarr.ca/netselect/;
 SRC_URI="
https://github.com/apenwarr/${PN}/archive/${P}.tar.gz
-   ipv6? ( https://dev.gentoo.org/~jer/${P}-ipv6.patch.xz )
+   ipv6? ( https://dev.gentoo.org/~jsmolic/distfiles/${P}-ipv6.patch.xz )
 "
 S="${WORKDIR}/${PN}-${P}"
 

diff --git a/net-analyzer/netselect/netselect-.ebuild 
b/net-analyzer/netselect/netselect-.ebuild
index 7fee270c477..5ed3fc2fde6 100644
--- a/net-analyzer/netselect/netselect-.ebuild
+++ b/net-analyzer/netselect/netselect-.ebuild
@@ -8,7 +8,7 @@ inherit fcaps git-r3 toolchain-funcs
 DESCRIPTION="Ultrafast implementation of ping"
 HOMEPAGE="http://apenwarr.ca/netselect/;
 EGIT_REPO_URI="https://github.com/apenwarr/${PN};
-SRC_URI="ipv6? ( https://dev.gentoo.org/~jer/${PN}-0.4-ipv6.patch.xz )"
+SRC_URI="ipv6? ( 
https://dev.gentoo.org/~jsmolic/distfiles/${PN}-0.4-ipv6.patch.xz )"
 S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-09-22 Thread Matt Turner
commit: fcb7414f9defb62d6758e50f16219ce5d7b0eb86
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Sep 23 00:22:21 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Sep 23 01:07:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcb7414f

net-analyzer/netselect: Stabilize 0.4-r2 hppa

Signed-off-by: Matt Turner  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index 7da9915cbdb..12cedb9b920 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-06-17 Thread Yixun Lan
commit: ba1d3c3277296c30bc57c1351a16047db8f9b113
Author: Alex Fan  yahoo  com>
AuthorDate: Thu Jun 17 10:16:19 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jun 17 13:43:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba1d3c32

net-analyzer/netselect: add ~riscv keyword

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alex Fan  yahoo.com>
Signed-off-by: Yixun Lan  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index 19134d444ee..7da9915cbdb 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-04-18 Thread Sam James
commit: d8519a65592ae9afba8b87a8c7fd223e3590c473
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 00:23:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 00:23:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8519a65

net-analyzer/netselect: Stabilize 0.4-r2 ppc64, #783561

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index d93aa3f6124..19134d444ee 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-04-18 Thread Sam James
commit: 968f8eff3f3b8e4e53f77e7f537601e1d0ac075a
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 06:48:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:48:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=968f8eff

net-analyzer/netselect: Stabilize 0.4-r2 ppc, #783561

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index 24e6227eded..d93aa3f6124 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-04-18 Thread Sam James
commit: 226611d15ad6453a589a419b0efa30b82fb58816
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 06:47:51 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:47:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=226611d1

net-analyzer/netselect: Stabilize 0.4-r2 sparc, #783561

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index b1b0c69a950..24e6227eded 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-04-18 Thread Sam James
commit: f53d5dd583d3abe8b5754653d78bc85ae5ebf849
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 06:46:45 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:46:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f53d5dd5

net-analyzer/netselect: Stabilize 0.4-r2 amd64, #783561

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index 9db6ed1681a..b1b0c69a950 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-04-18 Thread Sam James
commit: 669e68208ee684b9fe8b3b78c492743d652293bc
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 06:45:13 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:45:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=669e6820

net-analyzer/netselect: Stabilize 0.4-r2 x86, #783561

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index d5360c1ae31..9db6ed1681a 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-04-18 Thread Sam James
commit: 624b30c4da64128b4c9ba8c06f00dfbcec1bfa7d
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 06:43:56 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:43:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=624b30c4

net-analyzer/netselect: Stabilize 0.4-r2 arm64, #783561

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index c0eb6149480..aa8fa618b12 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-04-18 Thread Sam James
commit: e7ed3c48ce6c15de710e44f3f5e1bef9cdee199d
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 06:44:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:44:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7ed3c48

net-analyzer/netselect: Stabilize 0.4-r2 arm, #783561

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index aa8fa618b12..d5360c1ae31 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-04-03 Thread Sam James
commit: 56c9fc95c9865e7be17355946f8e476cc407bda8
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr  2 02:00:57 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr  3 15:55:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c9fc95

net-analyzer/netselect: drop unused eutils in old

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r1.ebuild 
b/net-analyzer/netselect/netselect-0.4-r1.ebuild
index 11fd0ab2cae..34aafe6fa11 100644
--- a/net-analyzer/netselect/netselect-0.4-r1.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r1.ebuild
@@ -2,7 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils toolchain-funcs
+
+inherit toolchain-funcs
 
 DESCRIPTION="Ultrafast implementation of ping"
 HOMEPAGE="http://apenwarr.ca/netselect/;



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-04-03 Thread Sam James
commit: ef28e3da1c4057107bc9f4820e969bec87188781
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr  2 02:00:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr  3 15:55:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef28e3da

net-analyzer/netselect: add github remote-id

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/metadata.xml | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/net-analyzer/netselect/metadata.xml 
b/net-analyzer/netselect/metadata.xml
index 74c2baebb4e..0c2c6116999 100644
--- a/net-analyzer/netselect/metadata.xml
+++ b/net-analyzer/netselect/metadata.xml
@@ -1,8 +1,11 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-   net...@gentoo.org
-   Gentoo network monitoring and analysis project
-
+   
+   net...@gentoo.org
+   Gentoo network monitoring and analysis project
+   
+   
+   apenwarr/netselect
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-03-15 Thread Sam James
commit: 3d2e2a9cbe04ef4b900241c6ef0135a98f95e929
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 23:35:24 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 23:35:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d2e2a9c

net-analyzer/netselect: drop dead keywords

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index d3d78753312..decda5e572d 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-03-15 Thread Sam James
commit: 75bf552a579f71ee671e10fab2c322d8084fab16
Author: Peter Levine  gmail  com>
AuthorDate: Wed Oct 23 19:13:46 2019 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 23:32:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75bf552a

net-analyzer/netselect: Add filecaps support

Closes: https://bugs.gentoo.org/564902
Closes: https://github.com/gentoo/gentoo/pull/13388
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Peter Levine  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 19 +--
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index 8ac47519b25..e887b8335a1 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit toolchain-funcs
+inherit fcaps toolchain-funcs
 
 DESCRIPTION="Ultrafast implementation of ping"
 HOMEPAGE="http://apenwarr.ca/netselect/;
@@ -23,12 +23,20 @@ PATCHES=(
 
 DOCS=( HISTORY README )
 
+FILECAPS=( -g wheel cap_net_raw /usr/bin/netselect )
+
 S=${WORKDIR}/${PN}-${P}
 
 src_prepare() {
use ipv6 && eapply "${WORKDIR}"/${PN}-0.4-ipv6.patch
 
default
+
+   # Don't warn about "root privileges required" when running as
+   # an unprivileged user with filecaps
+   if ! use prefix && use filecaps; then
+   sed -i -e '/if (geteuid () != 0)/,+2d' "${S}"/netselect.c || die
+   fi
 }
 
 src_compile() {
@@ -38,12 +46,11 @@ src_compile() {
 src_install() {
dobin netselect
 
-   if ! use prefix ; then
-   fowners root:wheel /usr/bin/netselect
-   fperms 4711 /usr/bin/netselect
-   fi
-
einstalldocs
 
doman netselect.1
 }
+
+pkg_postinst() {
+   ! use prefix && fcaps_pkg_postinst
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-03-15 Thread Sam James
commit: 17382e90578b701a3480063af93dfa21b7e2921c
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 23:33:50 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 23:33:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17382e90

net-analyzer/netselect: minor style adjustments

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
index e887b8335a1..d3d78753312 100644
--- a/net-analyzer/netselect/netselect-0.4-r2.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit fcaps toolchain-funcs
 
 DESCRIPTION="Ultrafast implementation of ping"
@@ -10,6 +11,7 @@ SRC_URI="
https://github.com/apenwarr/${PN}/archive/${P}.tar.gz
ipv6? ( https://dev.gentoo.org/~jer/${P}-ipv6.patch.xz )
 "
+S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
@@ -25,8 +27,6 @@ DOCS=( HISTORY README )
 
 FILECAPS=( -g wheel cap_net_raw /usr/bin/netselect )
 
-S=${WORKDIR}/${PN}-${P}
-
 src_prepare() {
use ipv6 && eapply "${WORKDIR}"/${PN}-0.4-ipv6.patch
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-03-15 Thread Sam James
commit: 69c0548447e9e2a35c8cbc897b0579652a116131
Author: Peter Levine  gmail  com>
AuthorDate: Tue Oct 22 07:15:01 2019 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 23:32:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69c05484

net-analyzer/netselect: Bump EAPI to 7

Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Peter Levine  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 49 ++
 1 file changed, 49 insertions(+)

diff --git a/net-analyzer/netselect/netselect-0.4-r2.ebuild 
b/net-analyzer/netselect/netselect-0.4-r2.ebuild
new file mode 100644
index 000..8ac47519b25
--- /dev/null
+++ b/net-analyzer/netselect/netselect-0.4-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Ultrafast implementation of ping"
+HOMEPAGE="http://apenwarr.ca/netselect/;
+SRC_URI="
+   https://github.com/apenwarr/${PN}/archive/${P}.tar.gz
+   ipv6? ( https://dev.gentoo.org/~jer/${P}-ipv6.patch.xz )
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="ipv6"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.4-bsd.patch
+   "${FILESDIR}"/${PN}-0.4-flags.patch
+)
+
+DOCS=( HISTORY README )
+
+S=${WORKDIR}/${PN}-${P}
+
+src_prepare() {
+   use ipv6 && eapply "${WORKDIR}"/${PN}-0.4-ipv6.patch
+
+   default
+}
+
+src_compile() {
+   emake CC="$(tc-getCC)" LDFLAGS="${CFLAGS} ${LDFLAGS}"
+}
+
+src_install() {
+   dobin netselect
+
+   if ! use prefix ; then
+   fowners root:wheel /usr/bin/netselect
+   fperms 4711 /usr/bin/netselect
+   fi
+
+   einstalldocs
+
+   doman netselect.1
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2021-01-06 Thread Fabian Groffen
commit: 91fd924df35cdd473dd7bd08c2a0e8f804b038e6
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 14:34:05 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 14:35:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91fd924d

net-analyzer/netselect: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r1.ebuild 
b/net-analyzer/netselect/netselect-0.4-r1.ebuild
index 8cdec08646a..11fd0ab2cae 100644
--- a/net-analyzer/netselect/netselect-0.4-r1.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2020-08-11 Thread Sam James
commit: 5dea90bffb3fa4fff1ca02874ef8d23afe7b8e8b
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 11 19:05:19 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 11 19:06:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dea90bf

net-analyzer/netselect: Stabilize 0.4-r1 arm64, #736772

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r1.ebuild 
b/net-analyzer/netselect/netselect-0.4-r1.ebuild
index 7ad668d5431..bd049d48552 100644
--- a/net-analyzer/netselect/netselect-0.4-r1.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2020-01-03 Thread Jeroen Roovers
commit: a3e6e55df70c95004b330fb5f530e4e0d1d9456c
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jan  3 10:32:58 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jan  3 10:35:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3e6e55d

net-analyzer/netselect: Add live ebuild

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/netselect/netselect-.ebuild | 52 
 1 file changed, 52 insertions(+)

diff --git a/net-analyzer/netselect/netselect-.ebuild 
b/net-analyzer/netselect/netselect-.ebuild
new file mode 100644
index 000..de08fdebbdf
--- /dev/null
+++ b/net-analyzer/netselect/netselect-.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit git-r3 toolchain-funcs
+
+DESCRIPTION="Ultrafast implementation of ping"
+HOMEPAGE="http://apenwarr.ca/netselect/;
+EGIT_REPO_URI="
+   https://github.com/apenwarr/${PN}
+"
+SRC_URI="
+   ipv6? ( https://dev.gentoo.org/~jer/${PN}-0.4-ipv6.patch.xz )
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE="ipv6"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.4-bsd.patch
+   "${FILESDIR}"/${PN}-0.4-flags.patch
+)
+
+src_unpack() {
+   use ipv6 && unpack ${A}
+   git-r3_src_unpack
+}
+
+src_prepare() {
+   use ipv6 && PATCHES+=( "${WORKDIR}"/${PN}-0.4-ipv6.patch )
+
+   default
+}
+
+src_compile() {
+   emake CC="$(tc-getCC)" LDFLAGS="${CFLAGS} ${LDFLAGS}"
+}
+
+src_install () {
+   dobin netselect
+
+   if ! use prefix ; then
+   fowners root:wheel /usr/bin/netselect
+   fperms 4711 /usr/bin/netselect
+   fi
+
+   dodoc HISTORY README
+
+   doman netselect.1
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2019-10-23 Thread Jeroen Roovers
commit: 436b408551da2c76a8acf779b3c30315b3dccf04
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Oct 23 08:39:19 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Oct 23 08:44:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=436b4085

net-analyzer/netselect: Drop flag-o-matic.eclass

Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/netselect/netselect-0.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4-r1.ebuild 
b/net-analyzer/netselect/netselect-0.4-r1.ebuild
index 20dbb56b53c..f4159861bdb 100644
--- a/net-analyzer/netselect/netselect-0.4-r1.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils flag-o-matic toolchain-funcs
+inherit eutils toolchain-funcs
 
 DESCRIPTION="Ultrafast implementation of ping"
 HOMEPAGE="http://apenwarr.ca/netselect/;



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/, net-analyzer/netselect/files/

2019-10-23 Thread Jeroen Roovers
commit: 3311ad27a34632ddbb2040aba6fd3bc530ba2462
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Oct 23 08:34:00 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Oct 23 08:34:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3311ad27

net-analyzer/netselect: Old

Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/netselect/Manifest|  1 -
 .../netselect/files/netselect-0.3-bsd.patch| 56 --
 .../netselect/files/netselect-0.3-glibc.patch  | 11 -
 net-analyzer/netselect/netselect-0.3-r3.ebuild | 42 
 net-analyzer/netselect/netselect-0.3-r4.ebuild | 42 
 5 files changed, 152 deletions(-)

diff --git a/net-analyzer/netselect/Manifest b/net-analyzer/netselect/Manifest
index c5c1b317a02..b0a81164dab 100644
--- a/net-analyzer/netselect/Manifest
+++ b/net-analyzer/netselect/Manifest
@@ -1,3 +1,2 @@
-DIST netselect-0.3.tar.gz 22047 BLAKE2B 
b0039ee21382f541446c49b3a536e400e70120513217969ffb7168c906c5938d099e5e072f05f68a95829410fd013da386527ee1280938714c00a006ae6a248d
 SHA512 
04a4b79c357a0110dcf377ad04ac729ed7854bec4b064ad16da632367ce1870379546fffc8396ea770bfa580618d7c0495c16b0ba30f736419511b890ce5dca5
 DIST netselect-0.4-ipv6.patch.xz 18272 BLAKE2B 
6197057085e892c156a9fb3a82ac0030a2ff1b4276dde48405de2d2bcfdcef066c4f3eeff174f766af23d2807085f97e459dbffc87b2a2950a472e7964f2e3fc
 SHA512 
422b54df5be45379fe7d6776b6e653a8e49df6fb77421527f2eb6c687597f367ab5cc5206e9823c318f6facd84fb4e8c0dbffbf9641cee593401cb73abea
 DIST netselect-0.4.tar.gz 22095 BLAKE2B 
1dd83c4dcd38ab7b987ead76f4e7e727980bbad91b59c56948e13540307e685984cc11ea94292d38959c8253f1f6ec2e6e6e044302f26b09153717d6e29e96be
 SHA512 
eee9639122b7cc89218c610794d090582aecb3df138bcef41472c8d40c0f7e998b2c4b04aace13795fda5c710ee28cc2c0784a680ad6d1aa6a14eb441a408bfa

diff --git a/net-analyzer/netselect/files/netselect-0.3-bsd.patch 
b/net-analyzer/netselect/files/netselect-0.3-bsd.patch
deleted file mode 100644
index e9624d87215..000
--- a/net-analyzer/netselect/files/netselect-0.3-bsd.patch
+++ /dev/null
@@ -1,56 +0,0 @@
 a/netselect.c
-+++ b/netselect.c
-@@ -39,14 +39,14 @@
-  * hey, great!  Let me know. -- apenwarr
-  */
- 
--#ifdef __EMX__
--# include 
--# include 
--# include 
--# include 
--# include 
--#else
--# include 
-+#ifdef __linux__
-+#include 
-+#include 
-+#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || 
defined(__APPLE__)
-+#if defined(__OpenBSD__)
-+#include 
-+#endif
-+#include 
- #endif
- 
- #include 
-@@ -152,6 +152,7 @@
- extern int optind;
- int hostcount, startcount, endcount = 0, sent_one, lag, min_lag = 100;
- int ch, seq, ttl, max_ttl = 30, min_tries = 10, num_score = 1;
-+int on = 1;
- struct timeval now;
- struct timezone tz;
- OPacket outpacket;  /* last output (udp) packet */
-@@ -234,7 +235,12 @@
- if (verbose >= 1)
-   fprintf(stderr, "Running netselect to choose %d out of %d address%s.\n",
-   num_score, numhosts, numhosts==1 ? "" : "es");
--
-+   
-+   if (setsockopt(sndsock, IPPROTO_IP, IP_HDRINCL, , sizeof(on)) < 0) {
-+perror("IP_HDRINCL");
-+  _exit(EXIT_FAILURE);
-+   }
-+
- /* keep going until most of the hosts have been finished */
- must_continue = numhosts;
- while (must_continue && must_continue >= numhosts/2)
-@@ -712,7 +718,7 @@
- ip->ip_off = 0;
- ip->ip_hl = sizeof(*ip) >> 2;
- ip->ip_p = IPPROTO_UDP;
--ip->ip_len = 0; /* kernel fills this in */
-+ip->ip_len = sizeof(OPacket);
- ip->ip_ttl = ttl;
- ip->ip_v = IPVERSION;
- ip->ip_id = htons(ident + seq);

diff --git a/net-analyzer/netselect/files/netselect-0.3-glibc.patch 
b/net-analyzer/netselect/files/netselect-0.3-glibc.patch
deleted file mode 100644
index 053e5865b34..000
--- a/net-analyzer/netselect/files/netselect-0.3-glibc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/netselect.c
-+++ b/netselect.c
-@@ -780,7 +780,7 @@
- #if !defined(__GLIBC__)
- int fromlen = sizeof(from);
- #else /* __GLIBC__ */
--size_t fromlen = sizeof(from);
-+socklen_t fromlen = sizeof(from);
- #endif/* __GLIBC__ */
- 
- FD_ZERO();

diff --git a/net-analyzer/netselect/netselect-0.3-r3.ebuild 
b/net-analyzer/netselect/netselect-0.3-r3.ebuild
deleted file mode 100644
index 5709db974bb..000
--- a/net-analyzer/netselect/netselect-0.3-r3.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="Ultrafast implementation of ping"
-HOMEPAGE="http://apenwarr.ca/netselect/;
-SRC_URI="${HOMEPAGE}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2019-10-23 Thread Jeroen Roovers
commit: 8ed2ae42d9e1a2c3df7ed8f116d7ab470de4358a
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Oct 23 08:30:21 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Oct 23 08:34:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed2ae42

net-analyzer/netselect: Respect CC, use CFLAGS while linking

Package-Manager: Portage-2.3.77, Repoman-2.3.17
Fixes: https://bugs.gentoo.org/698312
Reported-by: Peter Levine
Signed-off-by: Jeroen Roovers  gentoo.org>

 .../netselect/{netselect-0.4.ebuild => netselect-0.4-r1.ebuild}   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4.ebuild 
b/net-analyzer/netselect/netselect-0.4-r1.ebuild
similarity index 92%
rename from net-analyzer/netselect/netselect-0.4.ebuild
rename to net-analyzer/netselect/netselect-0.4-r1.ebuild
index 18559af3f1e..20dbb56b53c 100644
--- a/net-analyzer/netselect/netselect-0.4.ebuild
+++ b/net-analyzer/netselect/netselect-0.4-r1.ebuild
@@ -26,8 +26,10 @@ src_prepare() {
use ipv6 && eapply "${WORKDIR}"/${PN}-0.4-ipv6.patch
 
default
+}
 
-   tc-export CC
+src_compile() {
+   emake CC="$(tc-getCC)" LDFLAGS="${CFLAGS} ${LDFLAGS}"
 }
 
 src_install () {



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/, net-analyzer/bwping/, net-analyzer/amap/, ...

2019-10-11 Thread Michał Górny
commit: f161beb5a5795bfa93f14dff464fe78d49e8187d
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 11 15:36:32 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 11 15:36:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f161beb5

net-analyzer: Remove *-fbsd KEYWORDS

Signed-off-by: Michał Górny  gentoo.org>

 net-analyzer/amap/amap-5.4-r1.ebuild | 2 +-
 net-analyzer/amap/amap-5.4.ebuild| 2 +-
 net-analyzer/arping/arping-2.17.ebuild   | 2 +-
 net-analyzer/arping/arping-2.19.ebuild   | 2 +-
 net-analyzer/arping/arping-2.20.ebuild   | 2 +-
 net-analyzer/arpwatch/arpwatch-2.1.15-r11.ebuild | 2 +-
 net-analyzer/arpwatch/arpwatch-2.1.15-r8.ebuild  | 2 +-
 net-analyzer/arpwatch/arpwatch-2.1.15-r9.ebuild  | 2 +-
 net-analyzer/bsnmp/bsnmp-1.12-r1.ebuild  | 2 +-
 net-analyzer/bsnmp/bsnmp-1.12.ebuild | 2 +-
 net-analyzer/bwping/bwping-1.15.ebuild   | 2 +-
 net-analyzer/ettercap/ettercap-0.8.2-r2.ebuild   | 2 +-
 net-analyzer/ettercap/ettercap-0.8.3.ebuild  | 2 +-
 net-analyzer/ettercap/ettercap-.ebuild   | 2 +-
 net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild  | 2 +-
 net-analyzer/fail2ban/fail2ban-0.10.4.ebuild | 2 +-
 net-analyzer/fping/fping-2.4_beta2_p161-r2.ebuild| 2 +-
 net-analyzer/fping/fping-3.13.ebuild | 2 +-
 net-analyzer/fping/fping-4.0.ebuild  | 2 +-
 net-analyzer/fping/fping-4.1.ebuild  | 2 +-
 net-analyzer/fping/fping-4.2.ebuild  | 2 +-
 net-analyzer/gnome-nettool/gnome-nettool-3.8.1.ebuild| 2 +-
 net-analyzer/iftop/iftop-1.0_pre4-r2.ebuild  | 2 +-
 net-analyzer/iftop/iftop-1.0_pre4-r3.ebuild  | 2 +-
 net-analyzer/iftop/iftop-1.0_pre4-r4.ebuild  | 2 +-
 net-analyzer/mtr/mtr-0.87.ebuild | 2 +-
 net-analyzer/mtr/mtr-0.92-r1.ebuild  | 2 +-
 net-analyzer/mtr/mtr-0.93-r1.ebuild  | 2 +-
 net-analyzer/netcat/netcat-110-r9.ebuild | 2 +-
 net-analyzer/netcat/netcat-110.20180111.ebuild   | 2 +-
 net-analyzer/netselect/netselect-0.3-r3.ebuild   | 2 +-
 net-analyzer/netselect/netselect-0.3-r4.ebuild   | 2 +-
 net-analyzer/netselect/netselect-0.4.ebuild  | 2 +-
 net-analyzer/ngrep/ngrep-1.45-r3.ebuild  | 2 +-
 net-analyzer/ngrep/ngrep-1.47.ebuild | 2 +-
 net-analyzer/nmap/nmap-7.70.ebuild   | 2 +-
 net-analyzer/nmap/nmap-7.80.ebuild   | 2 +-
 net-analyzer/rrdtool/rrdtool-1.6.0-r1.ebuild | 2 +-
 net-analyzer/rrdtool/rrdtool-1.7.1.ebuild| 2 +-
 net-analyzer/rrdtool/rrdtool-1.7.2.ebuild| 2 +-
 net-analyzer/tcpdump/tcpdump-4.9.2-r1.ebuild | 2 +-
 net-analyzer/tcpdump/tcpdump-4.9.2.ebuild| 2 +-
 net-analyzer/tcpdump/tcpdump-4.9.3.ebuild| 2 +-
 net-analyzer/tcpdump/tcpdump-.ebuild | 2 +-
 net-analyzer/tcptraceroute/tcptraceroute-1.5_beta7-r2.ebuild | 2 +-
 45 files changed, 45 insertions(+), 45 deletions(-)

diff --git a/net-analyzer/amap/amap-5.4-r1.ebuild 
b/net-analyzer/amap/amap-5.4-r1.ebuild
index e29b5860984..9848a4c18f2 100644
--- a/net-analyzer/amap/amap-5.4-r1.ebuild
+++ b/net-analyzer/amap/amap-5.4-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.thc.org/releases/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="libressl ssl"
 
 DEPEND="

diff --git a/net-analyzer/amap/amap-5.4.ebuild 
b/net-analyzer/amap/amap-5.4.ebuild
index 2181149109b..ef97cd2aec1 100644
--- a/net-analyzer/amap/amap-5.4.ebuild
+++ b/net-analyzer/amap/amap-5.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.thc.org/releases/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
+KEYWORDS="amd64 ppc ppc64 x86"
 IUSE="ssl"
 
 DEPEND="

diff --git a/net-analyzer/arping/arping-2.17.ebuild 
b/net-analyzer/arping/arping-2.17.ebuild
index daee9ee7286..afd95c1681b 100644
--- a/net-analyzer/arping/arping-2.17.ebuild
+++ b/net-analyzer/arping/arping-2.17.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://www.habets.pp.se/synscan/files/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="2"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~x86-macos"
 IUSE="test"
 
 CDEPEND="

diff --git a/net-analyzer/arping/arping-2.19.ebuild 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2019-08-02 Thread Mikle Kolyada
commit: 2a76870581acde66a966ad65065ddb06a4acaeeb
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Aug  2 11:19:34 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Aug  2 11:19:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a768705

net-analyzer/netselect: arm stable wrt bug #686864

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-analyzer/netselect/netselect-0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4.ebuild 
b/net-analyzer/netselect/netselect-0.4.ebuild
index 29fb6185a9f..6367b83a0d0 100644
--- a/net-analyzer/netselect/netselect-0.4.ebuild
+++ b/net-analyzer/netselect/netselect-0.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2019-08-02 Thread Mikle Kolyada
commit: 28ac6593e4828d1ba4fbf8d4dc8cfdeb77562397
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Aug  2 11:19:54 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Aug  2 11:19:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28ac6593

net-analyzer/netselect: sh stable wrt bug #686864

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="sh"
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-analyzer/netselect/netselect-0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4.ebuild 
b/net-analyzer/netselect/netselect-0.4.ebuild
index 6367b83a0d0..05f5cc20979 100644
--- a/net-analyzer/netselect/netselect-0.4.ebuild
+++ b/net-analyzer/netselect/netselect-0.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2019-06-06 Thread Agostino Sarubbo
commit: 578edcde37453f08a86255cf9baf0572d228ce68
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun  6 06:45:22 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun  6 06:45:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=578edcde

net-analyzer/netselect: alpha stable wrt bug #686864

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="alpha"

 net-analyzer/netselect/netselect-0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4.ebuild 
b/net-analyzer/netselect/netselect-0.4.ebuild
index 7514a1a4c8e..29fb6185a9f 100644
--- a/net-analyzer/netselect/netselect-0.4.ebuild
+++ b/net-analyzer/netselect/netselect-0.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2019-06-04 Thread Agostino Sarubbo
commit: 7f3fd18e39b720d2153ce76f49e5af51a96c0d2b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jun  4 18:51:07 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jun  4 18:51:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f3fd18e

net-analyzer/netselect: s390 stable wrt bug #686864

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="s390"

 net-analyzer/netselect/netselect-0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4.ebuild 
b/net-analyzer/netselect/netselect-0.4.ebuild
index 1166ddf671b..36d3e8eff8f 100644
--- a/net-analyzer/netselect/netselect-0.4.ebuild
+++ b/net-analyzer/netselect/netselect-0.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2019-05-30 Thread Sergei Trofimovich
commit: 723546fd0c090ae8d7b79433db4cc1b0995d1898
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu May 30 20:32:55 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu May 30 20:32:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=723546fd

net-analyzer/netselect: stable 0.4 for ppc64, bug #686864

Package-Manager: Portage-2.3.67, Repoman-2.3.13
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-analyzer/netselect/netselect-0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4.ebuild 
b/net-analyzer/netselect/netselect-0.4.ebuild
index 06205af357c..911f1daa444 100644
--- a/net-analyzer/netselect/netselect-0.4.ebuild
+++ b/net-analyzer/netselect/netselect-0.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2019-05-30 Thread Sergei Trofimovich
commit: 38d7f5f1169a61146fd669b9601c8d96590231eb
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu May 30 20:29:20 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu May 30 20:29:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38d7f5f1

net-analyzer/netselect: stable 0.4 for ppc, bug #686864

Package-Manager: Portage-2.3.67, Repoman-2.3.13
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-analyzer/netselect/netselect-0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4.ebuild 
b/net-analyzer/netselect/netselect-0.4.ebuild
index 3036d512f46..06205af357c 100644
--- a/net-analyzer/netselect/netselect-0.4.ebuild
+++ b/net-analyzer/netselect/netselect-0.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh 
sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2019-05-30 Thread Sergei Trofimovich
commit: f11eae17372a64d9463a8e3e7b8def152aedf4d0
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu May 30 20:08:43 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu May 30 20:08:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f11eae17

net-analyzer/netselect: stable 0.4 for ia64, bug #686864

Package-Manager: Portage-2.3.67, Repoman-2.3.13
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-analyzer/netselect/netselect-0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4.ebuild 
b/net-analyzer/netselect/netselect-0.4.ebuild
index 68603b9a85a..3036d512f46 100644
--- a/net-analyzer/netselect/netselect-0.4.ebuild
+++ b/net-analyzer/netselect/netselect-0.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2019-05-30 Thread Sergei Trofimovich
commit: 97549dfd0f417d1721f24eba5e6a244b7074eaff
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu May 30 20:03:46 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu May 30 20:04:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97549dfd

net-analyzer/netselect: stable 0.4 for hppa, bug #686864

Package-Manager: Portage-2.3.67, Repoman-2.3.13
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-analyzer/netselect/netselect-0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/netselect/netselect-0.4.ebuild 
b/net-analyzer/netselect/netselect-0.4.ebuild
index c46ff44b24f..68603b9a85a 100644
--- a/net-analyzer/netselect/netselect-0.4.ebuild
+++ b/net-analyzer/netselect/netselect-0.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2019-05-29 Thread Sergei Trofimovich
commit: f78e0193f3df76e603e4698a74d21bd2b8e81e01
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed May 29 16:33:06 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed May 29 18:47:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f78e0193

net-analyzer/netselect: stable 0.4 for sparc, bug #686864

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-analyzer/netselect/netselect-0.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/netselect/netselect-0.4.ebuild 
b/net-analyzer/netselect/netselect-0.4.ebuild
index a6d716516f0..c46ff44b24f 100644
--- a/net-analyzer/netselect/netselect-0.4.ebuild
+++ b/net-analyzer/netselect/netselect-0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos"
 IUSE="ipv6"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/files/, net-analyzer/netselect/

2017-06-10 Thread Jeroen Roovers
commit: 59f08eb272e2a48fc12291c98864ec2ab6e4c2e4
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Jun 10 10:43:46 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Jun 10 10:57:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59f08eb2

net-analyzer/netselect: Version bump.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-analyzer/netselect/Manifest|  1 +
 .../netselect/files/netselect-0.4-bsd.patch| 56 ++
 .../netselect/files/netselect-0.4-flags.patch  | 12 +
 net-analyzer/netselect/netselect-0.4.ebuild| 40 
 4 files changed, 109 insertions(+)

diff --git a/net-analyzer/netselect/Manifest b/net-analyzer/netselect/Manifest
index ecac5649c21..16dea6606f3 100644
--- a/net-analyzer/netselect/Manifest
+++ b/net-analyzer/netselect/Manifest
@@ -1 +1,2 @@
 DIST netselect-0.3.tar.gz 22047 SHA256 
fe81942589d5219d030e5cecfb12787fb6d3613416cb326dea4952bf53f9c978 SHA512 
04a4b79c357a0110dcf377ad04ac729ed7854bec4b064ad16da632367ce1870379546fffc8396ea770bfa580618d7c0495c16b0ba30f736419511b890ce5dca5
 WHIRLPOOL 
2e49cb22b12c88a1d9f42da19b42284ae98d391739bf7bd1e134661b8780ef733b26f5f4be4ed61dce3a4a9922a6a10d9040698fa3f4910ceacc54df4a42afcc
+DIST netselect-0.4.tar.gz 22095 SHA256 
ae343991c94b1fdeb5e7896bb11d357c1dd9297f5d842c507953f57935e15e19 SHA512 
eee9639122b7cc89218c610794d090582aecb3df138bcef41472c8d40c0f7e998b2c4b04aace13795fda5c710ee28cc2c0784a680ad6d1aa6a14eb441a408bfa
 WHIRLPOOL 
26560ff81683c48ad7c94e827029b4b0a127c29b94fe47fe2b95f3736eafeeeaa2c9b1e9f6feff7971a37cd15fdb51814acd195ebafd6e89face3d514eb872c3

diff --git a/net-analyzer/netselect/files/netselect-0.4-bsd.patch 
b/net-analyzer/netselect/files/netselect-0.4-bsd.patch
new file mode 100644
index 000..fd49a17682d
--- /dev/null
+++ b/net-analyzer/netselect/files/netselect-0.4-bsd.patch
@@ -0,0 +1,56 @@
+--- a/netselect.c
 b/netselect.c
+@@ -39,14 +39,14 @@
+  * hey, great!  Let me know. -- apenwarr
+  */
+ 
+-#ifdef __EMX__
+-# include 
+-# include 
+-# include 
+-# include 
+-# include 
+-#else
+-# include 
++#ifdef __linux__
++#include 
++#include 
++#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || 
defined(__APPLE__)
++#if defined(__OpenBSD__)
++#include 
++#endif
++#include 
+ #endif
+ 
+ #include 
+@@ -167,6 +167,7 @@
+ extern int optind;
+ int hostcount, startcount, endcount = 0, sent_one, lag, min_lag = 100;
+ int ch, seq, ttl, max_ttl = 30, num_score = 1;
++int on = 1;
+ int use_icmp = 0;
+ unsigned int min_tries = 10;
+ struct timeval now;
+@@ -234,7 +235,12 @@
+ if (verbose >= 1)
+   fprintf(stderr, "Running netselect to choose %d out of %d address%s.\n",
+   num_score, numhosts, numhosts==1 ? "" : "es");
+-
++   
++   if (setsockopt(sndsock, IPPROTO_IP, IP_HDRINCL, , sizeof(on)) < 0) {
++perror("IP_HDRINCL");
++  _exit(EXIT_FAILURE);
++   }
++
+ /* keep going until most of the hosts have been finished */
+ must_continue = numhosts;
+ while (must_continue && must_continue >= numhosts/2)
+@@ -712,7 +718,7 @@
+ ip->ip_off = 0;
+ ip->ip_hl = sizeof(*ip) >> 2;
+ ip->ip_p = IPPROTO_UDP;
+-ip->ip_len = 0; /* kernel fills this in */
++ip->ip_len = sizeof(OPacket);
+ ip->ip_ttl = ttl;
+ ip->ip_v = IPVERSION;
+ ip->ip_id = htons(ident + seq);

diff --git a/net-analyzer/netselect/files/netselect-0.4-flags.patch 
b/net-analyzer/netselect/files/netselect-0.4-flags.patch
new file mode 100644
index 000..ffcfead8eb3
--- /dev/null
+++ b/net-analyzer/netselect/files/netselect-0.4-flags.patch
@@ -0,0 +1,12 @@
+--- a/Makefile
 b/Makefile
+@@ -3,8 +3,7 @@
+ MANDEST = ${PREFIX}/man/man1
+ 
+ CC = gcc
+-CFLAGS = -O2 -Wall -I. -g
+-LDFLAGS = -g
++CFLAGS += -Wall -I.
+ LIBS = 
+ 
+ ifdef OS2

diff --git a/net-analyzer/netselect/netselect-0.4.ebuild 
b/net-analyzer/netselect/netselect-0.4.ebuild
new file mode 100644
index 000..c28ca36f4c5
--- /dev/null
+++ b/net-analyzer/netselect/netselect-0.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Ultrafast implementation of ping"
+HOMEPAGE="http://apenwarr.ca/netselect/;
+SRC_URI="https://github.com/apenwarr/${PN}/archive/${P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.4-bsd.patch
+   "${FILESDIR}"/${PN}-0.4-flags.patch
+)
+S=${WORKDIR}/${PN}-${P}
+
+src_prepare() {
+   default
+
+   rm -r netinet || die
+
+   tc-export CC
+}
+
+src_install () {
+   dobin netselect
+
+   if ! use prefix ; then
+   fowners root:wheel 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2017-06-10 Thread Jeroen Roovers
commit: a3c092d2955ddeb6b6d0995a0abf27b2443085ff
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Jun 10 10:56:43 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Jun 10 10:57:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3c092d2

net-analyzer/netselect: Add Debian's IPv6 patch.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-analyzer/netselect/Manifest |  1 +
 net-analyzer/netselect/netselect-0.4.ebuild | 10 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/netselect/Manifest b/net-analyzer/netselect/Manifest
index 16dea6606f3..e61c79cd6d2 100644
--- a/net-analyzer/netselect/Manifest
+++ b/net-analyzer/netselect/Manifest
@@ -1,2 +1,3 @@
 DIST netselect-0.3.tar.gz 22047 SHA256 
fe81942589d5219d030e5cecfb12787fb6d3613416cb326dea4952bf53f9c978 SHA512 
04a4b79c357a0110dcf377ad04ac729ed7854bec4b064ad16da632367ce1870379546fffc8396ea770bfa580618d7c0495c16b0ba30f736419511b890ce5dca5
 WHIRLPOOL 
2e49cb22b12c88a1d9f42da19b42284ae98d391739bf7bd1e134661b8780ef733b26f5f4be4ed61dce3a4a9922a6a10d9040698fa3f4910ceacc54df4a42afcc
+DIST netselect-0.4-ipv6.patch.xz 18272 SHA256 
be68354508c6b17927ffe01db2ed2f8e5f259a869d6f209ba8d2e648de01e143 SHA512 
422b54df5be45379fe7d6776b6e653a8e49df6fb77421527f2eb6c687597f367ab5cc5206e9823c318f6facd84fb4e8c0dbffbf9641cee593401cb73abea
 WHIRLPOOL 
c51648b80c5e21388077d76ff793eda78f7986c395965df4c29179280469485bca4c7d1785036a67b2946c2772e26fefc9ee37511c24966739bb1debfc1021d6
 DIST netselect-0.4.tar.gz 22095 SHA256 
ae343991c94b1fdeb5e7896bb11d357c1dd9297f5d842c507953f57935e15e19 SHA512 
eee9639122b7cc89218c610794d090582aecb3df138bcef41472c8d40c0f7e998b2c4b04aace13795fda5c710ee28cc2c0784a680ad6d1aa6a14eb441a408bfa
 WHIRLPOOL 
26560ff81683c48ad7c94e827029b4b0a127c29b94fe47fe2b95f3736eafeeeaa2c9b1e9f6feff7971a37cd15fdb51814acd195ebafd6e89face3d514eb872c3

diff --git a/net-analyzer/netselect/netselect-0.4.ebuild 
b/net-analyzer/netselect/netselect-0.4.ebuild
index c28ca36f4c5..a6d716516f0 100644
--- a/net-analyzer/netselect/netselect-0.4.ebuild
+++ b/net-analyzer/netselect/netselect-0.4.ebuild
@@ -6,11 +6,15 @@ inherit eutils flag-o-matic toolchain-funcs
 
 DESCRIPTION="Ultrafast implementation of ping"
 HOMEPAGE="http://apenwarr.ca/netselect/;
-SRC_URI="https://github.com/apenwarr/${PN}/archive/${P}.tar.gz;
+SRC_URI="
+   https://github.com/apenwarr/${PN}/archive/${P}.tar.gz
+   ipv6? ( https://dev.gentoo.org/~jer/${P}-ipv6.patch.xz )
+"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos"
+IUSE="ipv6"
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.4-bsd.patch
@@ -19,9 +23,9 @@ PATCHES=(
 S=${WORKDIR}/${PN}-${P}
 
 src_prepare() {
-   default
+   use ipv6 && eapply "${WORKDIR}"/${PN}-0.4-ipv6.patch
 
-   rm -r netinet || die
+   default
 
tc-export CC
 }



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netselect/

2017-03-01 Thread Markus Meier
commit: 5819426e8b58eaa228ecc1749945583cfa44201c
Author: Markus Meier  gentoo  org>
AuthorDate: Wed Mar  1 19:52:34 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Wed Mar  1 19:52:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5819426e

net-analyzer/netselect: add ~arm64, bug #509628

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="arm64"

 net-analyzer/netselect/netselect-0.3-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/netselect/netselect-0.3-r4.ebuild 
b/net-analyzer/netselect/netselect-0.3-r4.ebuild
index bf1878bd045..f5909a4d75c 100644
--- a/net-analyzer/netselect/netselect-0.3-r4.ebuild
+++ b/net-analyzer/netselect/netselect-0.3-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -10,7 +10,7 @@ SRC_URI="${HOMEPAGE}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos"
 
 S=${WORKDIR}/${PN}