[gentoo-commits] repo/gentoo:master commit in: sys-block/scsiping/

2022-10-21 Thread Ionen Wolkens
commit: 0afad01798cb68522e50068b98ee5b5cde6c0119
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Fri Oct 21 12:42:42 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Oct 21 12:47:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0afad017

sys-block/scsiping: drop c2x workaround

Changed the way test for this, and upon closer look
this one wasn't needed.

Signed-off-by: Ionen Wolkens  gentoo.org>

 sys-block/scsiping/scsiping-0.0.1-r2.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys-block/scsiping/scsiping-0.0.1-r2.ebuild 
b/sys-block/scsiping/scsiping-0.0.1-r2.ebuild
index 99a85623be4e..60cb71ea6eb4 100644
--- a/sys-block/scsiping/scsiping-0.0.1-r2.ebuild
+++ b/sys-block/scsiping/scsiping-0.0.1-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit flag-o-matic toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="SCSIPing pings a host on the SCSI-chain"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
@@ -24,8 +24,6 @@ src_prepare() {
 }
 
 src_compile() {
-   append-cflags -std=gnu89 # old codebase, incompatible with c2x
-
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-block/scsiping/

2022-10-11 Thread Ionen Wolkens
commit: e71743c438c307629d14ab99b494c716e8008300
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Oct 11 08:26:10 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Oct 11 08:56:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e71743c4

sys-block/scsiping: pass -std=gnu89

Does not build with `clang -std=c2x`, early workaround for
when this will become a default.

(not actively hunting for these, merely revisiting packages
previously looked at for clang16 even if not an issue "yet").

wrt CPPFLAGS, upon closer look it was respected and this
just duplicated it

Signed-off-by: Ionen Wolkens  gentoo.org>

 sys-block/scsiping/scsiping-0.0.1-r2.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-block/scsiping/scsiping-0.0.1-r2.ebuild 
b/sys-block/scsiping/scsiping-0.0.1-r2.ebuild
index d3777024a378..99a85623be4e 100644
--- a/sys-block/scsiping/scsiping-0.0.1-r2.ebuild
+++ b/sys-block/scsiping/scsiping-0.0.1-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="SCSIPing pings a host on the SCSI-chain"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
@@ -24,7 +24,9 @@ src_prepare() {
 }
 
 src_compile() {
-   emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}" 
LDFLAGS="${LDFLAGS}"
+   append-cflags -std=gnu89 # old codebase, incompatible with c2x
+
+   emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sys-block/scsiping/

2022-09-28 Thread Ionen Wolkens
commit: 7523ad5331213568f3428343016080f7e961f099
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Wed Sep 28 21:21:06 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Sep 28 21:22:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7523ad53

sys-block/scsiping: revbump for previous clang16 fix

Can potentially fix issues on "successful" gcc builds too.

Signed-off-by: Ionen Wolkens  gentoo.org>

 sys-block/scsiping/{scsiping-0.0.1-r1.ebuild => scsiping-0.0.1-r2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild 
b/sys-block/scsiping/scsiping-0.0.1-r2.ebuild
similarity index 100%
rename from sys-block/scsiping/scsiping-0.0.1-r1.ebuild
rename to sys-block/scsiping/scsiping-0.0.1-r2.ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-block/scsiping/

2022-09-27 Thread Ionen Wolkens
commit: 5f3a7d49a6ce95d321a89863a7fa8023ae798383
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Wed Sep 28 00:20:10 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Sep 28 02:34:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f3a7d49

sys-block/scsiping: EAPI7->8, respect CC, remove dead HOMEPAGE

Closes: https://bugs.gentoo.org/725768
Signed-off-by: Ionen Wolkens  gentoo.org>

 sys-block/scsiping/scsiping-0.0.1-r1.ebuild | 15 +--
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild 
b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
index c3cc60f5cb01..745fd177ef62 100644
--- a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
+++ b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
@@ -1,23 +1,26 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
+inherit toolchain-funcs
 
 DESCRIPTION="SCSIPing pings a host on the SCSI-chain"
-HOMEPAGE="https://www.vanheusden.com/Linux/;
-SRC_URI="https://www.vanheusden.com/Linux/${P}.tgz;
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
+SRC_URI="mirror://gentoo/${P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ppc x86"
 
 src_prepare() {
-   sed -i -e '/strip scsiping/d' "${S}"/Makefile
default
+
+   sed -i '/strip scsiping/d' Makefile || die
 }
 
 src_compile() {
-   emake DEBUG='' CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+   emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}" 
LDFLAGS="${LDFLAGS}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sys-block/scsiping/, sys-block/scsiping/files/

2022-09-27 Thread Ionen Wolkens
commit: 4153ee687b291e4ce63a3826a85ec044b736a492
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Wed Sep 28 00:31:29 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Sep 28 02:34:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4153ee68

sys-block/scsiping: fix build with clang16

Previous commit let this respect CC, so maybe clang
will be used now...

Closes: https://bugs.gentoo.org/870445
Signed-off-by: Ionen Wolkens  gentoo.org>

 sys-block/scsiping/files/scsiping-0.0.1-clang16.patch | 8 
 sys-block/scsiping/scsiping-0.0.1-r1.ebuild   | 4 
 2 files changed, 12 insertions(+)

diff --git a/sys-block/scsiping/files/scsiping-0.0.1-clang16.patch 
b/sys-block/scsiping/files/scsiping-0.0.1-clang16.patch
new file mode 100644
index ..9e57d9cc4aa0
--- /dev/null
+++ b/sys-block/scsiping/files/scsiping-0.0.1-clang16.patch
@@ -0,0 +1,8 @@
+https://bugs.gentoo.org/870445
+--- a/main.c
 b/main.c
+@@ -2,2 +2,4 @@
+ #include 
++#include 
++#include 
+ #include 

diff --git a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild 
b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
index 745fd177ef62..d3777024a378 100644
--- a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
+++ b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
@@ -13,6 +13,10 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ppc x86"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-clang16.patch
+)
+
 src_prepare() {
default
 



[gentoo-commits] repo/gentoo:master commit in: sys-block/scsiping/

2021-05-29 Thread David Seifert
commit: 49d9c51ada5e17cf7a4ff87244e2cd6812926f10
Author: Sam James  gentoo  org>
AuthorDate: Sat May 29 19:03:00 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May 29 19:03:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49d9c51a

sys-block/scsiping: ebuild tidying

Package-Manager: Portage-3.0.18-prefix, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>
Signed-off-by: David Seifert  gentoo.org>

 sys-block/scsiping/scsiping-0.0.1-r1.ebuild | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild 
b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
index c2d0e009579..c3cc60f5cb0 100644
--- a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
+++ b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,12 +6,10 @@ EAPI=7
 DESCRIPTION="SCSIPing pings a host on the SCSI-chain"
 HOMEPAGE="https://www.vanheusden.com/Linux/;
 SRC_URI="https://www.vanheusden.com/Linux/${P}.tgz;
+
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ppc x86"
-IUSE=""
-RDEPEND=""
-DEPEND="${RDEPEND}"
 
 src_prepare() {
sed -i -e '/strip scsiping/d' "${S}"/Makefile



[gentoo-commits] repo/gentoo:master commit in: sys-block/scsiping/

2019-11-23 Thread Michał Górny
commit: 1d62f95a7aaa6f941c9f62f1fd472f1481983d4d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 23 18:30:50 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 23 18:30:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d62f95a

sys-block/scsiping: Drop EAPI 0 ebuild

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

 sys-block/scsiping/scsiping-0.0.1.ebuild | 31 ---
 1 file changed, 31 deletions(-)

diff --git a/sys-block/scsiping/scsiping-0.0.1.ebuild 
b/sys-block/scsiping/scsiping-0.0.1.ebuild
deleted file mode 100644
index 9c9e4810bdc..000
--- a/sys-block/scsiping/scsiping-0.0.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-DESCRIPTION="SCSIPing pings a host on the SCSI-chain"
-HOMEPAGE="http://www.vanheusden.com/Linux/;
-SRC_URI="http://www.vanheusden.com/Linux/${P}.tgz;
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-RDEPEND=""
-DEPEND="${RDEPEND}"
-
-src_unpack() {
-   unpack ${A}
-   sed -i -e '/strip scsiping/d' ${S}/Makefile
-}
-
-src_compile() {
-   emake DEBUG='' CFLAGS="${CFLAGS}"
-}
-
-src_install() {
-   dosbin scsiping
-}
-
-pkg_postinst() {
-   ewarn "WARNING: using scsiping on a device with mounted partitions may 
be hazardous to your system!"
-}



[gentoo-commits] repo/gentoo:master commit in: sys-block/scsiping/

2019-11-23 Thread Michał Górny
commit: 80f6cf45c151e324747815e3c63cd88052ca7a7b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 23 18:30:37 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 23 18:30:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80f6cf45

sys-block/scsiping: Stabilize 0.0.1-r1 everywhere

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

 sys-block/scsiping/scsiping-0.0.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild 
b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
index 4879d3b7f73..c2d0e009579 100644
--- a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
+++ b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.vanheusden.com/Linux/;
 SRC_URI="https://www.vanheusden.com/Linux/${P}.tgz;
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ppc x86"
 IUSE=""
 RDEPEND=""
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: sys-block/scsiping/

2019-11-07 Thread Robin H. Johnson
commit: e35496a92c76888f64aed8c64075bfc955626c82
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Fri Nov  8 00:43:23 2019 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Fri Nov  8 00:43:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e35496a9

sys-block/scsiping: EAPI7 bump

Fixes: https://bugs.gentoo.org/show_bug.cgi?id=697200
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-block/scsiping/scsiping-0.0.1-r1.ebuild | 31 +
 1 file changed, 31 insertions(+)

diff --git a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild 
b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
new file mode 100644
index 000..4879d3b7f73
--- /dev/null
+++ b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="SCSIPing pings a host on the SCSI-chain"
+HOMEPAGE="https://www.vanheusden.com/Linux/;
+SRC_URI="https://www.vanheusden.com/Linux/${P}.tgz;
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   sed -i -e '/strip scsiping/d' "${S}"/Makefile
+   default
+}
+
+src_compile() {
+   emake DEBUG='' CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+   dosbin scsiping
+}
+
+pkg_postinst() {
+   ewarn "WARNING: using scsiping on a device with mounted partitions may 
be hazardous to your system!"
+}