[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2024-04-04 Thread WANG Xuerui
commit: d134ef62be67da054ce06e13a55626d2ec263e1e
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu Apr  4 10:29:29 2024 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu Apr  4 10:30:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d134ef62

sys-apps/hwinfo: keyword 23.2-r1 for ~loong

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

 sys-apps/hwinfo/hwinfo-23.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-23.2-r1.ebuild 
b/sys-apps/hwinfo/hwinfo-23.2-r1.ebuild
index 57bb822ad347..7426bb0ccfdc 100644
--- a/sys-apps/hwinfo/hwinfo-23.2-r1.ebuild
+++ b/sys-apps/hwinfo/hwinfo-23.2-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~riscv x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ppc ~riscv x86 ~amd64-linux ~x86-linux"
 
 RDEPEND="amd64? ( dev-libs/libx86emu:= )
x86? ( dev-libs/libx86emu:= )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2023-12-28 Thread Ben Kohler
commit: 354aeffeb4da01fc93e946604d5eb1ae4fe13341
Author: Francisco Javier Félix  inode64  com>
AuthorDate: Wed Dec 27 15:51:05 2023 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Thu Dec 28 14:08:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=354aeffe

sys-apps/hwinfo: Fix existing preserved libs for dev-libs/libx86emu

For solve this problem:


!!! existing preserved libs:
>>> package: dev-libs/libx86emu-3.5-r1
 *  - /usr/lib64/libx86emu.so.1
 *  - /usr/lib64/libx86emu.so.1.1
 *  used by /usr/lib64/libhd.so.23.2 (sys-apps/hwinfo-23.2)
 

Signed-off-by: INODE64  inode64.com>
Closes: https://github.com/gentoo/gentoo/pull/34503
Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/{hwinfo-23.2.ebuild => hwinfo-23.2-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/hwinfo/hwinfo-23.2.ebuild 
b/sys-apps/hwinfo/hwinfo-23.2-r1.ebuild
similarity index 94%
rename from sys-apps/hwinfo/hwinfo-23.2.ebuild
rename to sys-apps/hwinfo/hwinfo-23.2-r1.ebuild
index 2b1b43e95b83..a52bf7505817 100644
--- a/sys-apps/hwinfo/hwinfo-23.2.ebuild
+++ b/sys-apps/hwinfo/hwinfo-23.2-r1.ebuild
@@ -13,8 +13,8 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~arm64 ppc ~riscv x86 ~amd64-linux ~x86-linux"
 
-RDEPEND="amd64? ( dev-libs/libx86emu )
-   x86? ( dev-libs/libx86emu )"
+RDEPEND="amd64? ( dev-libs/libx86emu:= )
+   x86? ( dev-libs/libx86emu:= )"
 DEPEND="${RDEPEND}
>=sys-kernel/linux-headers-2.6.17"
 BDEPEND="sys-devel/flex"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2023-11-02 Thread Ben Kohler
commit: ced487de3da966a76e9eedb6fe2705983415bda8
Author: Ben Kohler  gentoo  org>
AuthorDate: Thu Nov  2 12:46:06 2023 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Thu Nov  2 12:46:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced487de

sys-apps/hwinfo: drop 22.2-r1, 23.1-r1

Closes: https://bugs.gentoo.org/915332

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest  |  2 --
 sys-apps/hwinfo/hwinfo-22.2-r1.ebuild | 61 ---
 sys-apps/hwinfo/hwinfo-23.1-r1.ebuild | 60 --
 3 files changed, 123 deletions(-)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 7f4845b30d16..c57d4ab8f8f3 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,3 +1 @@
-DIST hwinfo-22.2-1.2.src.rpm 1063515 BLAKE2B 
4baede16a2528421df77de2d6547f7301db8545de712327dc96a435819d2a35bac7d7ddd3bac5b0758d947ceb0360cb09d640154f392a844e8e201339781f4ed
 SHA512 
76384ca7bce779ca92cd17f5312546ca6ff1ffd93be9d35253e65d1efda03bb8d596e89776024a51f9874c57cf2852938fb85c1f5b745d898e0bafe10cdbbdf9
-DIST hwinfo-23.1-1.1.src.rpm 1064746 BLAKE2B 
59b3bac5dd8188abfec76a6f86bf0f9cbab5922900681d987ce3728911065331f730314df23d53dbd08992b4d67d7431b6f9566dcefa574b09956e41ccc8dfb0
 SHA512 
51622e3fff885e83b4f143e1f029915fb4a29b2a4b35d618945dfa8638a36e7e51c0b2edf51ad091a17a2599fd850cbc90c4d744889fcf375a9a7c5683966bdd
 DIST hwinfo-23.2.tar.gz 1237565 BLAKE2B 
86c085c0b58b967f94ded3db4975cd824f69908b3b7fc1d27e2d51cb0e570969a7af2274f55d6eb1d871e1422016deb8007c76199be441ad94486ab18f9bff7a
 SHA512 
86096455cc58ecdd3be4306d61beaea02da39b8ee3b2a99966d4aaf022e276616329ca82550d7903e2aed9b1723a99b2305617fb85df21c1d2024ce46b447af3

diff --git a/sys-apps/hwinfo/hwinfo-22.2-r1.ebuild 
b/sys-apps/hwinfo/hwinfo-22.2-r1.ebuild
deleted file mode 100644
index 8caed913683a..
--- a/sys-apps/hwinfo/hwinfo-22.2-r1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit rpm toolchain-funcs
-
-DESCRIPTION="Hardware detection tool used in SuSE Linux"
-HOMEPAGE="https://github.com/openSUSE/hwinfo/";
-#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
-#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.2.src.rpm";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~riscv x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="
-   amd64? ( dev-libs/libx86emu:= )
-   x86? ( dev-libs/libx86emu:= )"
-DEPEND="${RDEPEND}
-   sys-devel/flex
-   >=sys-kernel/linux-headers-2.6.17"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-src_prepare() {
-   # Respect AR variable.
-   sed -i \
-   -e 's:ar r:$(AR) r:' \
-   src/{,isdn,ids,smp,hd}/Makefile || die
-
-   # Respect LDFLAGS.
-   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
-
-   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
-   sed -i \
-   -e 's:make:$(MAKE):' \
-   -e 's:-pipe -g::' \
-   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
-   Makefile{,.common} || die
-   # Workaround from Arch, if using source tarballs from github
-   # echo 'touch changelog' > git2log
-   default
-}
-
-src_compile() {
-   tc-export AR
-   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}" 
LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-}
-
-src_install() {
-   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
-   keepdir /var/lib/hardware/udi
-
-   dodoc changelog README*
-   docinto examples
-   dodoc doc/example*.c
-   doman doc/*.{1,8}
-}

diff --git a/sys-apps/hwinfo/hwinfo-23.1-r1.ebuild 
b/sys-apps/hwinfo/hwinfo-23.1-r1.ebuild
deleted file mode 100644
index 65e37b38840c..
--- a/sys-apps/hwinfo/hwinfo-23.1-r1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit rpm toolchain-funcs
-
-DESCRIPTION="Hardware detection tool used in SuSE Linux"
-HOMEPAGE="https://github.com/openSUSE/hwinfo/";
-#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
-#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="amd64? ( dev-libs/libx86emu:= )
-   x86? ( dev-libs/libx86emu:= )"
-DEPEND="${RDEPEND}
-   >=sys-kernel/linux-headers-2.6.17"
-BDEPEND="sys-devel/flex"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-src_prepare() {
-   # Respect AR variable.
-   sed -i \
-   -e '

[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2023-11-01 Thread Arthur Zamarin
commit: 0d5904b137e10fab14a6771ab0c60c6f0cc1a731
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Nov  1 19:19:54 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Nov  1 19:19:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d5904b1

sys-apps/hwinfo: Stabilize 23.2 ppc, #916629

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/hwinfo/hwinfo-23.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-23.2.ebuild 
b/sys-apps/hwinfo/hwinfo-23.2.ebuild
index ef462e9dc064..0260def9435e 100644
--- a/sys-apps/hwinfo/hwinfo-23.2.ebuild
+++ b/sys-apps/hwinfo/hwinfo-23.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
 
 RDEPEND="amd64? ( dev-libs/libx86emu )
x86? ( dev-libs/libx86emu )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2023-10-02 Thread Ben Kohler
commit: f16a213c274bd20dce5a6482df9ba1c33937e0fc
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Sat Sep  9 02:15:42 2023 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Mon Oct  2 14:47:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f16a213c

sys-apps/hwinfo: add 23.2

Signed-off-by: Azamat H. Hackimov  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32698
Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest   |  1 +
 sys-apps/hwinfo/hwinfo-23.2.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index a045901b9888..7f4845b30d16 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,2 +1,3 @@
 DIST hwinfo-22.2-1.2.src.rpm 1063515 BLAKE2B 
4baede16a2528421df77de2d6547f7301db8545de712327dc96a435819d2a35bac7d7ddd3bac5b0758d947ceb0360cb09d640154f392a844e8e201339781f4ed
 SHA512 
76384ca7bce779ca92cd17f5312546ca6ff1ffd93be9d35253e65d1efda03bb8d596e89776024a51f9874c57cf2852938fb85c1f5b745d898e0bafe10cdbbdf9
 DIST hwinfo-23.1-1.1.src.rpm 1064746 BLAKE2B 
59b3bac5dd8188abfec76a6f86bf0f9cbab5922900681d987ce3728911065331f730314df23d53dbd08992b4d67d7431b6f9566dcefa574b09956e41ccc8dfb0
 SHA512 
51622e3fff885e83b4f143e1f029915fb4a29b2a4b35d618945dfa8638a36e7e51c0b2edf51ad091a17a2599fd850cbc90c4d744889fcf375a9a7c5683966bdd
+DIST hwinfo-23.2.tar.gz 1237565 BLAKE2B 
86c085c0b58b967f94ded3db4975cd824f69908b3b7fc1d27e2d51cb0e570969a7af2274f55d6eb1d871e1422016deb8007c76199be441ad94486ab18f9bff7a
 SHA512 
86096455cc58ecdd3be4306d61beaea02da39b8ee3b2a99966d4aaf022e276616329ca82550d7903e2aed9b1723a99b2305617fb85df21c1d2024ce46b447af3

diff --git a/sys-apps/hwinfo/hwinfo-23.2.ebuild 
b/sys-apps/hwinfo/hwinfo-23.2.ebuild
new file mode 100644
index ..ef462e9dc064
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-23.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Hardware detection tool used in SuSE Linux"
+HOMEPAGE="https://github.com/openSUSE/hwinfo/";
+SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="amd64? ( dev-libs/libx86emu )
+   x86? ( dev-libs/libx86emu )"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-2.6.17"
+BDEPEND="sys-devel/flex"
+
+src_prepare() {
+   default
+   # Respect AR variable.
+   sed -i \
+   -e 's:ar r:$(AR) r:' \
+   src/{,isdn,ids,smp,hd}/Makefile || die
+
+   # Respect LDFLAGS.
+   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
+
+   # Respect MAKE variable. Skip forced -pipe and -g.
+   sed -i \
+   -e 's:make:$(MAKE):' \
+   -e 's:-pipe -g::' \
+   Makefile{,.common} || die
+   rm -f git2log || die
+}
+
+src_compile() {
+   emake -j1 AR="$(tc-getAR)" CC="$(tc-getCC)" HWINFO_VERSION="${PV}" \
+   RPM_OPT_FLAGS="${CFLAGS}" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}
+
+src_install() {
+   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+   keepdir /var/lib/hardware/udi
+
+   dodoc README*
+   docinto examples
+   dodoc doc/example*.c
+   doman doc/*.{1,8}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2023-09-27 Thread Ben Kohler
commit: b201d522a362c1b7e3649b9a68a8937fe4309762
Author: Ben Kohler  gentoo  org>
AuthorDate: Wed Sep 27 17:26:34 2023 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Wed Sep 27 17:56:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b201d522

sys-apps/hwinfo: add slot operator dep for libx86emu

Closes: https://bugs.gentoo.org/914727

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/{hwinfo-22.2.ebuild => hwinfo-22.2-r1.ebuild} | 4 ++--
 sys-apps/hwinfo/{hwinfo-23.1.ebuild => hwinfo-23.1-r1.ebuild} | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-apps/hwinfo/hwinfo-22.2.ebuild 
b/sys-apps/hwinfo/hwinfo-22.2-r1.ebuild
similarity index 95%
rename from sys-apps/hwinfo/hwinfo-22.2.ebuild
rename to sys-apps/hwinfo/hwinfo-22.2-r1.ebuild
index 4cd975bef396..8caed913683a 100644
--- a/sys-apps/hwinfo/hwinfo-22.2.ebuild
+++ b/sys-apps/hwinfo/hwinfo-22.2-r1.ebuild
@@ -17,8 +17,8 @@ KEYWORDS="amd64 ~arm ~arm64 ppc ~riscv x86 ~amd64-linux 
~x86-linux"
 IUSE=""
 
 RDEPEND="
-   amd64? ( dev-libs/libx86emu )
-   x86? ( dev-libs/libx86emu )"
+   amd64? ( dev-libs/libx86emu:= )
+   x86? ( dev-libs/libx86emu:= )"
 DEPEND="${RDEPEND}
sys-devel/flex
>=sys-kernel/linux-headers-2.6.17"

diff --git a/sys-apps/hwinfo/hwinfo-23.1.ebuild 
b/sys-apps/hwinfo/hwinfo-23.1-r1.ebuild
similarity index 95%
rename from sys-apps/hwinfo/hwinfo-23.1.ebuild
rename to sys-apps/hwinfo/hwinfo-23.1-r1.ebuild
index 3152e42bc576..65e37b38840c 100644
--- a/sys-apps/hwinfo/hwinfo-23.1.ebuild
+++ b/sys-apps/hwinfo/hwinfo-23.1-r1.ebuild
@@ -16,8 +16,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
-RDEPEND="amd64? ( dev-libs/libx86emu )
-   x86? ( dev-libs/libx86emu )"
+RDEPEND="amd64? ( dev-libs/libx86emu:= )
+   x86? ( dev-libs/libx86emu:= )"
 DEPEND="${RDEPEND}
>=sys-kernel/linux-headers-2.6.17"
 BDEPEND="sys-devel/flex"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2023-07-08 Thread Ben Kohler
commit: 3f05ae73ed97abb7c6907bef95d11bb4c2c75190
Author: Ben Kohler  gentoo  org>
AuthorDate: Sat Jul  8 18:41:08 2023 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Sat Jul  8 18:41:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f05ae73

sys-apps/hwinfo: add 23.1

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest   |  1 +
 sys-apps/hwinfo/hwinfo-23.1.ebuild | 60 ++
 2 files changed, 61 insertions(+)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 73b63fadf9b0..99feebef054c 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,3 +1,4 @@
 DIST hwinfo-21.80-1.1.src.rpm 968192 BLAKE2B 
a11a1060137ff89504963c01c4129dcac93e8eea9747ea20272763f648068e8b4fb3f1c31ae761664b1b1ffedf32971b3b27804f125473f0367cc6eed03751bf
 SHA512 
7bf64d9ee6b2381c43ffb22dc5623c8a8ed05c26b4e154c3093a9cb255779a1d482c18cd085b272ce619249743f1c43989337bed142685b4d6c634f4551893ee
 DIST hwinfo-22.1-1.1.src.rpm 969862 BLAKE2B 
f295c941804d3264b45739fa3d1801c2e31d67ce50f49caafeaae5a4dbf809fcfb9b44eaefee6ac9c61f54c1639fe1cf7ba710a9bbae5c4adbc7b5740e706796
 SHA512 
83f5d2dc78dfb10987a57a52f194d5db38ec66e73daad8fdf08386b131cf862b6c7bc3404451550f91363bb3d4090e67ca36aeba001f506075e55721004f2759
 DIST hwinfo-22.2-1.2.src.rpm 1063515 BLAKE2B 
4baede16a2528421df77de2d6547f7301db8545de712327dc96a435819d2a35bac7d7ddd3bac5b0758d947ceb0360cb09d640154f392a844e8e201339781f4ed
 SHA512 
76384ca7bce779ca92cd17f5312546ca6ff1ffd93be9d35253e65d1efda03bb8d596e89776024a51f9874c57cf2852938fb85c1f5b745d898e0bafe10cdbbdf9
+DIST hwinfo-23.1-1.1.src.rpm 1064746 BLAKE2B 
59b3bac5dd8188abfec76a6f86bf0f9cbab5922900681d987ce3728911065331f730314df23d53dbd08992b4d67d7431b6f9566dcefa574b09956e41ccc8dfb0
 SHA512 
51622e3fff885e83b4f143e1f029915fb4a29b2a4b35d618945dfa8638a36e7e51c0b2edf51ad091a17a2599fd850cbc90c4d744889fcf375a9a7c5683966bdd

diff --git a/sys-apps/hwinfo/hwinfo-23.1.ebuild 
b/sys-apps/hwinfo/hwinfo-23.1.ebuild
new file mode 100644
index ..3152e42bc576
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-23.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit rpm toolchain-funcs
+
+DESCRIPTION="Hardware detection tool used in SuSE Linux"
+HOMEPAGE="https://github.com/openSUSE/hwinfo/";
+#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
+#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="amd64? ( dev-libs/libx86emu )
+   x86? ( dev-libs/libx86emu )"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-2.6.17"
+BDEPEND="sys-devel/flex"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+   # Respect AR variable.
+   sed -i \
+   -e 's:ar r:$(AR) r:' \
+   src/{,isdn,ids,smp,hd}/Makefile || die
+
+   # Respect LDFLAGS.
+   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
+
+   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
+   sed -i \
+   -e 's:make:$(MAKE):' \
+   -e 's:-pipe -g::' \
+   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
+   Makefile{,.common} || die
+   # Workaround from Arch, if using source tarballs from github
+   # echo 'touch changelog' > git2log
+   default
+}
+
+src_compile() {
+   tc-export AR
+   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}" 
LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}
+
+src_install() {
+   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+   keepdir /var/lib/hardware/udi
+
+   dodoc changelog README*
+   docinto examples
+   dodoc doc/example*.c
+   doman doc/*.{1,8}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2023-07-08 Thread Ben Kohler
commit: 3b0b4632bc46fd34b164e36c840e4bd69b9bd1df
Author: Ben Kohler  gentoo  org>
AuthorDate: Sat Jul  8 18:43:12 2023 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Sat Jul  8 18:43:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b0b4632

sys-apps/hwinfo: drop 21.80, 22.1, 22.1-r1

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest  |  2 --
 sys-apps/hwinfo/hwinfo-21.80.ebuild   | 61 ---
 sys-apps/hwinfo/hwinfo-22.1-r1.ebuild | 61 ---
 sys-apps/hwinfo/hwinfo-22.1.ebuild| 61 ---
 4 files changed, 185 deletions(-)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 99feebef054c..a045901b9888 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,4 +1,2 @@
-DIST hwinfo-21.80-1.1.src.rpm 968192 BLAKE2B 
a11a1060137ff89504963c01c4129dcac93e8eea9747ea20272763f648068e8b4fb3f1c31ae761664b1b1ffedf32971b3b27804f125473f0367cc6eed03751bf
 SHA512 
7bf64d9ee6b2381c43ffb22dc5623c8a8ed05c26b4e154c3093a9cb255779a1d482c18cd085b272ce619249743f1c43989337bed142685b4d6c634f4551893ee
-DIST hwinfo-22.1-1.1.src.rpm 969862 BLAKE2B 
f295c941804d3264b45739fa3d1801c2e31d67ce50f49caafeaae5a4dbf809fcfb9b44eaefee6ac9c61f54c1639fe1cf7ba710a9bbae5c4adbc7b5740e706796
 SHA512 
83f5d2dc78dfb10987a57a52f194d5db38ec66e73daad8fdf08386b131cf862b6c7bc3404451550f91363bb3d4090e67ca36aeba001f506075e55721004f2759
 DIST hwinfo-22.2-1.2.src.rpm 1063515 BLAKE2B 
4baede16a2528421df77de2d6547f7301db8545de712327dc96a435819d2a35bac7d7ddd3bac5b0758d947ceb0360cb09d640154f392a844e8e201339781f4ed
 SHA512 
76384ca7bce779ca92cd17f5312546ca6ff1ffd93be9d35253e65d1efda03bb8d596e89776024a51f9874c57cf2852938fb85c1f5b745d898e0bafe10cdbbdf9
 DIST hwinfo-23.1-1.1.src.rpm 1064746 BLAKE2B 
59b3bac5dd8188abfec76a6f86bf0f9cbab5922900681d987ce3728911065331f730314df23d53dbd08992b4d67d7431b6f9566dcefa574b09956e41ccc8dfb0
 SHA512 
51622e3fff885e83b4f143e1f029915fb4a29b2a4b35d618945dfa8638a36e7e51c0b2edf51ad091a17a2599fd850cbc90c4d744889fcf375a9a7c5683966bdd

diff --git a/sys-apps/hwinfo/hwinfo-21.80.ebuild 
b/sys-apps/hwinfo/hwinfo-21.80.ebuild
deleted file mode 100644
index eca80e98fb3a..
--- a/sys-apps/hwinfo/hwinfo-21.80.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit rpm toolchain-funcs
-
-DESCRIPTION="Hardware detection tool used in SuSE Linux"
-HOMEPAGE="https://github.com/openSUSE/hwinfo/";
-#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
-#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~riscv x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="
-   amd64? ( dev-libs/libx86emu )
-   x86? ( dev-libs/libx86emu )"
-DEPEND="${RDEPEND}
-   sys-devel/flex
-   >=sys-kernel/linux-headers-2.6.17"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-src_prepare() {
-   # Respect AR variable.
-   sed -i \
-   -e 's:ar r:$(AR) r:' \
-   src/{,isdn,ids,smp,hd}/Makefile || die
-
-   # Respect LDFLAGS.
-   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
-
-   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
-   sed -i \
-   -e 's:make:$(MAKE):' \
-   -e 's:-pipe -g::' \
-   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
-   Makefile{,.common} || die
-   # Workaround from Arch, if using source tarballs from github
-   # echo 'touch changelog' > git2log
-   default
-}
-
-src_compile() {
-   tc-export AR
-   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
-}
-
-src_install() {
-   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
-   keepdir /var/lib/hardware/udi
-
-   dodoc changelog README*
-   docinto examples
-   dodoc doc/example*.c
-   doman doc/*.{1,8}
-}

diff --git a/sys-apps/hwinfo/hwinfo-22.1-r1.ebuild 
b/sys-apps/hwinfo/hwinfo-22.1-r1.ebuild
deleted file mode 100644
index f26f8ed34b55..
--- a/sys-apps/hwinfo/hwinfo-22.1-r1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit rpm toolchain-funcs
-
-DESCRIPTION="Hardware detection tool used in SuSE Linux"
-HOMEPAGE="https://github.com/openSUSE/hwinfo/";
-#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
-#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ppc ~riscv ~x86 ~amd64-l

[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2023-06-01 Thread Ben Kohler
commit: 01a4a12c683d2353c7ddcdcfd4d29ab68feaa862
Author: Ben Kohler  gentoo  org>
AuthorDate: Thu Jun  1 14:46:33 2023 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Thu Jun  1 14:46:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01a4a12c

sys-apps/hwinfo: update SRC_URI

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest   | 2 +-
 sys-apps/hwinfo/hwinfo-22.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 46beec5cc53d..73b63fadf9b0 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,3 +1,3 @@
 DIST hwinfo-21.80-1.1.src.rpm 968192 BLAKE2B 
a11a1060137ff89504963c01c4129dcac93e8eea9747ea20272763f648068e8b4fb3f1c31ae761664b1b1ffedf32971b3b27804f125473f0367cc6eed03751bf
 SHA512 
7bf64d9ee6b2381c43ffb22dc5623c8a8ed05c26b4e154c3093a9cb255779a1d482c18cd085b272ce619249743f1c43989337bed142685b4d6c634f4551893ee
 DIST hwinfo-22.1-1.1.src.rpm 969862 BLAKE2B 
f295c941804d3264b45739fa3d1801c2e31d67ce50f49caafeaae5a4dbf809fcfb9b44eaefee6ac9c61f54c1639fe1cf7ba710a9bbae5c4adbc7b5740e706796
 SHA512 
83f5d2dc78dfb10987a57a52f194d5db38ec66e73daad8fdf08386b131cf862b6c7bc3404451550f91363bb3d4090e67ca36aeba001f506075e55721004f2759
-DIST hwinfo-22.2-1.1.src.rpm 1063003 BLAKE2B 
9c786c7279fea0cbad17399f2f7360fdbb29f597277437edc63c2ca732b54c79f2ba53393a2258c7aa45e79588aa5d133e24f76744d5b62dd6072122432b4708
 SHA512 
88c60f551891685caf4e13e78eebf8e1023f168ef3542c319b7f9509ef5abd1c1c9acfa69e3af20ea9151e20682fa1e0c26042576bb9aca8ee7c2c71d5d5a60d
+DIST hwinfo-22.2-1.2.src.rpm 1063515 BLAKE2B 
4baede16a2528421df77de2d6547f7301db8545de712327dc96a435819d2a35bac7d7ddd3bac5b0758d947ceb0360cb09d640154f392a844e8e201339781f4ed
 SHA512 
76384ca7bce779ca92cd17f5312546ca6ff1ffd93be9d35253e65d1efda03bb8d596e89776024a51f9874c57cf2852938fb85c1f5b745d898e0bafe10cdbbdf9

diff --git a/sys-apps/hwinfo/hwinfo-22.2.ebuild 
b/sys-apps/hwinfo/hwinfo-22.2.ebuild
index b6d2c01fd39f..4cd975bef396 100644
--- a/sys-apps/hwinfo/hwinfo-22.2.ebuild
+++ b/sys-apps/hwinfo/hwinfo-22.2.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="Hardware detection tool used in SuSE Linux"
 HOMEPAGE="https://github.com/openSUSE/hwinfo/";
 #Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
 #SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
+SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.2.src.rpm";
 
 LICENSE="GPL-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2023-05-19 Thread Sam James
commit: f2486374c5b0aa64971019c20108a169cfdf20d2
Author: Sam James  gentoo  org>
AuthorDate: Fri May 19 17:44:32 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May 19 17:44:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2486374

sys-apps/hwinfo: Stabilize 22.2 x86, #906748

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

 sys-apps/hwinfo/hwinfo-22.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-22.2.ebuild 
b/sys-apps/hwinfo/hwinfo-22.2.ebuild
index a1d640170ff5..61cf696cb68d 100644
--- a/sys-apps/hwinfo/hwinfo-22.2.ebuild
+++ b/sys-apps/hwinfo/hwinfo-22.2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ppc ~riscv x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2023-05-19 Thread Sam James
commit: 80c029290ef42ad3a00ccecdc43754d4ea293928
Author: Sam James  gentoo  org>
AuthorDate: Fri May 19 17:44:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May 19 17:44:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80c02929

sys-apps/hwinfo: Stabilize 22.2 amd64, #906748

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

 sys-apps/hwinfo/hwinfo-22.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-22.2.ebuild 
b/sys-apps/hwinfo/hwinfo-22.2.ebuild
index 61cf696cb68d..b6d2c01fd39f 100644
--- a/sys-apps/hwinfo/hwinfo-22.2.ebuild
+++ b/sys-apps/hwinfo/hwinfo-22.2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ppc ~riscv x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~riscv x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2023-01-12 Thread Ben Kohler
commit: 6fe8452d2918daad4bcea1002bbe48afcdfc655f
Author: Ben Kohler  gentoo  org>
AuthorDate: Thu Jan 12 19:02:18 2023 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Thu Jan 12 20:47:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fe8452d

sys-apps/hwinfo: add 22.2

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest   |  1 +
 sys-apps/hwinfo/hwinfo-22.2.ebuild | 61 ++
 2 files changed, 62 insertions(+)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 1096d4aeb0ad..46beec5cc53d 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,2 +1,3 @@
 DIST hwinfo-21.80-1.1.src.rpm 968192 BLAKE2B 
a11a1060137ff89504963c01c4129dcac93e8eea9747ea20272763f648068e8b4fb3f1c31ae761664b1b1ffedf32971b3b27804f125473f0367cc6eed03751bf
 SHA512 
7bf64d9ee6b2381c43ffb22dc5623c8a8ed05c26b4e154c3093a9cb255779a1d482c18cd085b272ce619249743f1c43989337bed142685b4d6c634f4551893ee
 DIST hwinfo-22.1-1.1.src.rpm 969862 BLAKE2B 
f295c941804d3264b45739fa3d1801c2e31d67ce50f49caafeaae5a4dbf809fcfb9b44eaefee6ac9c61f54c1639fe1cf7ba710a9bbae5c4adbc7b5740e706796
 SHA512 
83f5d2dc78dfb10987a57a52f194d5db38ec66e73daad8fdf08386b131cf862b6c7bc3404451550f91363bb3d4090e67ca36aeba001f506075e55721004f2759
+DIST hwinfo-22.2-1.1.src.rpm 1063003 BLAKE2B 
9c786c7279fea0cbad17399f2f7360fdbb29f597277437edc63c2ca732b54c79f2ba53393a2258c7aa45e79588aa5d133e24f76744d5b62dd6072122432b4708
 SHA512 
88c60f551891685caf4e13e78eebf8e1023f168ef3542c319b7f9509ef5abd1c1c9acfa69e3af20ea9151e20682fa1e0c26042576bb9aca8ee7c2c71d5d5a60d

diff --git a/sys-apps/hwinfo/hwinfo-22.2.ebuild 
b/sys-apps/hwinfo/hwinfo-22.2.ebuild
new file mode 100644
index ..a1d640170ff5
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-22.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit rpm toolchain-funcs
+
+DESCRIPTION="Hardware detection tool used in SuSE Linux"
+HOMEPAGE="https://github.com/openSUSE/hwinfo/";
+#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
+#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+   amd64? ( dev-libs/libx86emu )
+   x86? ( dev-libs/libx86emu )"
+DEPEND="${RDEPEND}
+   sys-devel/flex
+   >=sys-kernel/linux-headers-2.6.17"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+   # Respect AR variable.
+   sed -i \
+   -e 's:ar r:$(AR) r:' \
+   src/{,isdn,ids,smp,hd}/Makefile || die
+
+   # Respect LDFLAGS.
+   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
+
+   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
+   sed -i \
+   -e 's:make:$(MAKE):' \
+   -e 's:-pipe -g::' \
+   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
+   Makefile{,.common} || die
+   # Workaround from Arch, if using source tarballs from github
+   # echo 'touch changelog' > git2log
+   default
+}
+
+src_compile() {
+   tc-export AR
+   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}" 
LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}
+
+src_install() {
+   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+   keepdir /var/lib/hardware/udi
+
+   dodoc changelog README*
+   docinto examples
+   dodoc doc/example*.c
+   doman doc/*.{1,8}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-10-04 Thread Ben Kohler
commit: b1d0267a0c42742a05e4a378978dc0e309a7ebc7
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Oct  4 15:48:05 2022 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Oct  4 15:48:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1d0267a

sys-apps/hwinfo: respect EPREFIX in pkgconfig file

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/hwinfo-22.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-22.1-r1.ebuild 
b/sys-apps/hwinfo/hwinfo-22.1-r1.ebuild
index 0ca3f0bdb1a3..f26f8ed34b55 100644
--- a/sys-apps/hwinfo/hwinfo-22.1-r1.ebuild
+++ b/sys-apps/hwinfo/hwinfo-22.1-r1.ebuild
@@ -47,7 +47,7 @@ src_prepare() {
 
 src_compile() {
tc-export AR
-   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}" 
LIBDIR="/usr/$(get_libdir)"
+   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}" 
LIBDIR="${EPREFIX}/usr/$(get_libdir)"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-10-04 Thread Ben Kohler
commit: 4f2cd9cb581c3643136c97bfd1c6dd1a5702839e
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Oct  4 15:24:33 2022 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Oct  4 15:35:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f2cd9cb

sys-apps/hwinfo: fix pkgconfig file for musl

Closes: https://bugs.gentoo.org/874819

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/hwinfo-22.1-r1.ebuild | 61 +++
 1 file changed, 61 insertions(+)

diff --git a/sys-apps/hwinfo/hwinfo-22.1-r1.ebuild 
b/sys-apps/hwinfo/hwinfo-22.1-r1.ebuild
new file mode 100644
index ..0ca3f0bdb1a3
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-22.1-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit rpm toolchain-funcs
+
+DESCRIPTION="Hardware detection tool used in SuSE Linux"
+HOMEPAGE="https://github.com/openSUSE/hwinfo/";
+#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
+#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+   amd64? ( dev-libs/libx86emu )
+   x86? ( dev-libs/libx86emu )"
+DEPEND="${RDEPEND}
+   sys-devel/flex
+   >=sys-kernel/linux-headers-2.6.17"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+   # Respect AR variable.
+   sed -i \
+   -e 's:ar r:$(AR) r:' \
+   src/{,isdn,ids,smp,hd}/Makefile || die
+
+   # Respect LDFLAGS.
+   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
+
+   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
+   sed -i \
+   -e 's:make:$(MAKE):' \
+   -e 's:-pipe -g::' \
+   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
+   Makefile{,.common} || die
+   # Workaround from Arch, if using source tarballs from github
+   # echo 'touch changelog' > git2log
+   default
+}
+
+src_compile() {
+   tc-export AR
+   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}" 
LIBDIR="/usr/$(get_libdir)"
+}
+
+src_install() {
+   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+   keepdir /var/lib/hardware/udi
+
+   dodoc changelog README*
+   docinto examples
+   dodoc doc/example*.c
+   doman doc/*.{1,8}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-09-27 Thread Agostino Sarubbo
commit: dfefbaa722f8d4bc4c82aef2a7033ca726526f22
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Sep 27 07:08:35 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Sep 27 07:08:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfefbaa7

sys-apps/hwinfo: Stabilize 22.1 ppc, #873070

Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/hwinfo/hwinfo-22.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-22.1.ebuild 
b/sys-apps/hwinfo/hwinfo-22.1.ebuild
index 8b4f800063ba..eca80e98fb3a 100644
--- a/sys-apps/hwinfo/hwinfo-22.1.ebuild
+++ b/sys-apps/hwinfo/hwinfo-22.1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~riscv x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-09-26 Thread Jakov Smolić
commit: ce681a5592ebced725d8790e1076c2f2b675b114
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Sep 27 06:04:33 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Sep 27 06:04:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce681a55

sys-apps/hwinfo: Stabilize 22.1 amd64, #873070

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

 sys-apps/hwinfo/hwinfo-22.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-22.1.ebuild 
b/sys-apps/hwinfo/hwinfo-22.1.ebuild
index a54748333293..16eb3b769bf9 100644
--- a/sys-apps/hwinfo/hwinfo-22.1.ebuild
+++ b/sys-apps/hwinfo/hwinfo-22.1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-09-26 Thread Jakov Smolić
commit: c70efc3e243b62cb4424ebe264cc32f6baaacf32
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Sep 27 06:05:02 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Sep 27 06:05:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c70efc3e

sys-apps/hwinfo: Stabilize 22.1 x86, #873070

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

 sys-apps/hwinfo/hwinfo-22.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-22.1.ebuild 
b/sys-apps/hwinfo/hwinfo-22.1.ebuild
index 16eb3b769bf9..8b4f800063ba 100644
--- a/sys-apps/hwinfo/hwinfo-22.1.ebuild
+++ b/sys-apps/hwinfo/hwinfo-22.1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/files/, sys-apps/hwinfo/

2022-08-12 Thread Ben Kohler
commit: 8bd65500a84ee143c032a88f1108fe2271579f99
Author: Ben Kohler  gentoo  org>
AuthorDate: Fri Aug 12 12:17:35 2022 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Fri Aug 12 12:20:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bd65500

sys-apps/hwinfo: drop 21.81, 21.82, 22.0

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest   |  3 --
 sys-apps/hwinfo/files/hwinfo-22.0-glibc-2.36.patch | 30 ---
 sys-apps/hwinfo/hwinfo-21.81.ebuild| 61 -
 sys-apps/hwinfo/hwinfo-21.82.ebuild| 61 -
 sys-apps/hwinfo/hwinfo-22.0.ebuild | 63 --
 5 files changed, 218 deletions(-)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index ea61a3ee3c8c..1096d4aeb0ad 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,5 +1,2 @@
 DIST hwinfo-21.80-1.1.src.rpm 968192 BLAKE2B 
a11a1060137ff89504963c01c4129dcac93e8eea9747ea20272763f648068e8b4fb3f1c31ae761664b1b1ffedf32971b3b27804f125473f0367cc6eed03751bf
 SHA512 
7bf64d9ee6b2381c43ffb22dc5623c8a8ed05c26b4e154c3093a9cb255779a1d482c18cd085b272ce619249743f1c43989337bed142685b4d6c634f4551893ee
-DIST hwinfo-21.81-1.3.src.rpm 967951 BLAKE2B 
af6c390cd327ac2683f6b92a7847c5a0dc99e7553e35b7a5fd07db0a7f60c671a303e85061e1656474792b921e0d1b8ad18591f22a5da557879743d91151509a
 SHA512 
eef89b5c8c029f606d66eb1740c4d046baaf490fc39d42d0137d1c4c5b248b0ddbe34b1532dbcef10f408677f173cfeb11d4c3e801a6a90280e1a6babc245674
-DIST hwinfo-21.82-1.1.src.rpm 968922 BLAKE2B 
5a491e7ca7125b40205dfa0e28350124f3deab6438424289ec44588940c47ddd341c9a7705edd3b9678b80050e26acdad1e9ea4aa7bc47e1af670ae020bfec51
 SHA512 
7221430e67bd76016d535db823e5e66034001c24e49de656365b421ef528bdcdf94ad82399f6a5916e55dc0b9f2dc1873a0e9ae2813025b746999bb2c5bd02df
-DIST hwinfo-22.0-1.1.src.rpm 968737 BLAKE2B 
a4c252b97539ce97a4d56e543c08ea6804dc2678f47d6d60506913e6e26f3f797a61c1613d20d870ec4da7b48c400bb443e7a55ad374c2c0486e5c0d3dca9c7a
 SHA512 
c53f1a1b1dcb9c7e07476a553c86663055853d0e1fffa1d5125b944e63d4f019e992c5ebf5cbbb2685428184bff569f5eb368172535dc2531b38f4d31180753d
 DIST hwinfo-22.1-1.1.src.rpm 969862 BLAKE2B 
f295c941804d3264b45739fa3d1801c2e31d67ce50f49caafeaae5a4dbf809fcfb9b44eaefee6ac9c61f54c1639fe1cf7ba710a9bbae5c4adbc7b5740e706796
 SHA512 
83f5d2dc78dfb10987a57a52f194d5db38ec66e73daad8fdf08386b131cf862b6c7bc3404451550f91363bb3d4090e67ca36aeba001f506075e55721004f2759

diff --git a/sys-apps/hwinfo/files/hwinfo-22.0-glibc-2.36.patch 
b/sys-apps/hwinfo/files/hwinfo-22.0-glibc-2.36.patch
deleted file mode 100644
index e22bc78120c1..
--- a/sys-apps/hwinfo/files/hwinfo-22.0-glibc-2.36.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 327942b7090e77a2a6baac18504ddb3dd3480df3 Mon Sep 17 00:00:00 2001
-From: WANG Xuerui 
-Date: Sat, 6 Aug 2022 18:04:55 +0800
-Subject: [PATCH] fix build with glibc-2.36
-
-See section 2.1 of https://sourceware.org/glibc/wiki/Release/2.36
-("Usage of  and ") for details.
-
-Also, remove a couple of ancient hacks that are no longer relevant after
-the removal of  inclusion.
-
-Signed-off-by: WANG Xuerui 

- src/hd/hd.c | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/src/hd/hd.c b/src/hd/hd.c
-index fa0a5089..159bfaab 100644
 a/src/hd/hd.c
-+++ b/src/hd/hd.c
-@@ -21,9 +21,6 @@
- #include 
- #include 
- #include 
--#define _LINUX_AUDIT_H_
--#define _LINUX_PRIO_TREE_H
--#include 
- 
- /**
-  * @defgroup libhdBUSint Bus scanning code

diff --git a/sys-apps/hwinfo/hwinfo-21.81.ebuild 
b/sys-apps/hwinfo/hwinfo-21.81.ebuild
deleted file mode 100644
index 81c6fd8f65b5..
--- a/sys-apps/hwinfo/hwinfo-21.81.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit rpm toolchain-funcs
-
-DESCRIPTION="Hardware detection tool used in SuSE Linux"
-HOMEPAGE="https://github.com/openSUSE/hwinfo/";
-#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
-#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.3.src.rpm";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="
-   amd64? ( dev-libs/libx86emu )
-   x86? ( dev-libs/libx86emu )"
-DEPEND="${RDEPEND}
-   sys-devel/flex
-   >=sys-kernel/linux-headers-2.6.17"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-src_prepare() {
-   # Respect AR variable.
-   sed -i \
-   -e 's:ar r:$(AR) r:' \
-   src/{,isdn,ids,smp,hd}/Makefile || die
-
-   # Respect LDFLAGS.
-   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
-
-   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
-   sed -i \
-   -e 's:make:$(MAKE

[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-08-12 Thread Ben Kohler
commit: e302421ed29b0449bf862f26cc1108d38721e02a
Author: Ben Kohler  gentoo  org>
AuthorDate: Fri Aug 12 12:17:06 2022 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Fri Aug 12 12:20:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e302421e

sys-apps/hwinfo: add 22.1

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest   |  1 +
 sys-apps/hwinfo/hwinfo-22.1.ebuild | 61 ++
 2 files changed, 62 insertions(+)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index e17ac8bdb782..ea61a3ee3c8c 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -2,3 +2,4 @@ DIST hwinfo-21.80-1.1.src.rpm 968192 BLAKE2B 
a11a1060137ff89504963c01c4129dcac93
 DIST hwinfo-21.81-1.3.src.rpm 967951 BLAKE2B 
af6c390cd327ac2683f6b92a7847c5a0dc99e7553e35b7a5fd07db0a7f60c671a303e85061e1656474792b921e0d1b8ad18591f22a5da557879743d91151509a
 SHA512 
eef89b5c8c029f606d66eb1740c4d046baaf490fc39d42d0137d1c4c5b248b0ddbe34b1532dbcef10f408677f173cfeb11d4c3e801a6a90280e1a6babc245674
 DIST hwinfo-21.82-1.1.src.rpm 968922 BLAKE2B 
5a491e7ca7125b40205dfa0e28350124f3deab6438424289ec44588940c47ddd341c9a7705edd3b9678b80050e26acdad1e9ea4aa7bc47e1af670ae020bfec51
 SHA512 
7221430e67bd76016d535db823e5e66034001c24e49de656365b421ef528bdcdf94ad82399f6a5916e55dc0b9f2dc1873a0e9ae2813025b746999bb2c5bd02df
 DIST hwinfo-22.0-1.1.src.rpm 968737 BLAKE2B 
a4c252b97539ce97a4d56e543c08ea6804dc2678f47d6d60506913e6e26f3f797a61c1613d20d870ec4da7b48c400bb443e7a55ad374c2c0486e5c0d3dca9c7a
 SHA512 
c53f1a1b1dcb9c7e07476a553c86663055853d0e1fffa1d5125b944e63d4f019e992c5ebf5cbbb2685428184bff569f5eb368172535dc2531b38f4d31180753d
+DIST hwinfo-22.1-1.1.src.rpm 969862 BLAKE2B 
f295c941804d3264b45739fa3d1801c2e31d67ce50f49caafeaae5a4dbf809fcfb9b44eaefee6ac9c61f54c1639fe1cf7ba710a9bbae5c4adbc7b5740e706796
 SHA512 
83f5d2dc78dfb10987a57a52f194d5db38ec66e73daad8fdf08386b131cf862b6c7bc3404451550f91363bb3d4090e67ca36aeba001f506075e55721004f2759

diff --git a/sys-apps/hwinfo/hwinfo-22.1.ebuild 
b/sys-apps/hwinfo/hwinfo-22.1.ebuild
new file mode 100644
index ..a54748333293
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-22.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit rpm toolchain-funcs
+
+DESCRIPTION="Hardware detection tool used in SuSE Linux"
+HOMEPAGE="https://github.com/openSUSE/hwinfo/";
+#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
+#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+   amd64? ( dev-libs/libx86emu )
+   x86? ( dev-libs/libx86emu )"
+DEPEND="${RDEPEND}
+   sys-devel/flex
+   >=sys-kernel/linux-headers-2.6.17"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+   # Respect AR variable.
+   sed -i \
+   -e 's:ar r:$(AR) r:' \
+   src/{,isdn,ids,smp,hd}/Makefile || die
+
+   # Respect LDFLAGS.
+   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
+
+   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
+   sed -i \
+   -e 's:make:$(MAKE):' \
+   -e 's:-pipe -g::' \
+   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
+   Makefile{,.common} || die
+   # Workaround from Arch, if using source tarballs from github
+   # echo 'touch changelog' > git2log
+   default
+}
+
+src_compile() {
+   tc-export AR
+   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
+}
+
+src_install() {
+   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+   keepdir /var/lib/hardware/udi
+
+   dodoc changelog README*
+   docinto examples
+   dodoc doc/example*.c
+   doman doc/*.{1,8}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/, sys-apps/hwinfo/files/

2022-08-09 Thread Ben Kohler
commit: c5cade04db2e914a4a29c219743fd601c914fc2b
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Aug  9 10:52:18 2022 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Aug  9 10:54:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5cade04

sys-apps/hwinfo: add 22.0

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest   |  1 +
 sys-apps/hwinfo/files/hwinfo-22.0-glibc-2.36.patch | 30 +++
 sys-apps/hwinfo/hwinfo-22.0.ebuild | 63 ++
 3 files changed, 94 insertions(+)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index e83fa3d068c0..e17ac8bdb782 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,3 +1,4 @@
 DIST hwinfo-21.80-1.1.src.rpm 968192 BLAKE2B 
a11a1060137ff89504963c01c4129dcac93e8eea9747ea20272763f648068e8b4fb3f1c31ae761664b1b1ffedf32971b3b27804f125473f0367cc6eed03751bf
 SHA512 
7bf64d9ee6b2381c43ffb22dc5623c8a8ed05c26b4e154c3093a9cb255779a1d482c18cd085b272ce619249743f1c43989337bed142685b4d6c634f4551893ee
 DIST hwinfo-21.81-1.3.src.rpm 967951 BLAKE2B 
af6c390cd327ac2683f6b92a7847c5a0dc99e7553e35b7a5fd07db0a7f60c671a303e85061e1656474792b921e0d1b8ad18591f22a5da557879743d91151509a
 SHA512 
eef89b5c8c029f606d66eb1740c4d046baaf490fc39d42d0137d1c4c5b248b0ddbe34b1532dbcef10f408677f173cfeb11d4c3e801a6a90280e1a6babc245674
 DIST hwinfo-21.82-1.1.src.rpm 968922 BLAKE2B 
5a491e7ca7125b40205dfa0e28350124f3deab6438424289ec44588940c47ddd341c9a7705edd3b9678b80050e26acdad1e9ea4aa7bc47e1af670ae020bfec51
 SHA512 
7221430e67bd76016d535db823e5e66034001c24e49de656365b421ef528bdcdf94ad82399f6a5916e55dc0b9f2dc1873a0e9ae2813025b746999bb2c5bd02df
+DIST hwinfo-22.0-1.1.src.rpm 968737 BLAKE2B 
a4c252b97539ce97a4d56e543c08ea6804dc2678f47d6d60506913e6e26f3f797a61c1613d20d870ec4da7b48c400bb443e7a55ad374c2c0486e5c0d3dca9c7a
 SHA512 
c53f1a1b1dcb9c7e07476a553c86663055853d0e1fffa1d5125b944e63d4f019e992c5ebf5cbbb2685428184bff569f5eb368172535dc2531b38f4d31180753d

diff --git a/sys-apps/hwinfo/files/hwinfo-22.0-glibc-2.36.patch 
b/sys-apps/hwinfo/files/hwinfo-22.0-glibc-2.36.patch
new file mode 100644
index ..e22bc78120c1
--- /dev/null
+++ b/sys-apps/hwinfo/files/hwinfo-22.0-glibc-2.36.patch
@@ -0,0 +1,30 @@
+From 327942b7090e77a2a6baac18504ddb3dd3480df3 Mon Sep 17 00:00:00 2001
+From: WANG Xuerui 
+Date: Sat, 6 Aug 2022 18:04:55 +0800
+Subject: [PATCH] fix build with glibc-2.36
+
+See section 2.1 of https://sourceware.org/glibc/wiki/Release/2.36
+("Usage of  and ") for details.
+
+Also, remove a couple of ancient hacks that are no longer relevant after
+the removal of  inclusion.
+
+Signed-off-by: WANG Xuerui 
+---
+ src/hd/hd.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/src/hd/hd.c b/src/hd/hd.c
+index fa0a5089..159bfaab 100644
+--- a/src/hd/hd.c
 b/src/hd/hd.c
+@@ -21,9 +21,6 @@
+ #include 
+ #include 
+ #include 
+-#define _LINUX_AUDIT_H_
+-#define _LINUX_PRIO_TREE_H
+-#include 
+ 
+ /**
+  * @defgroup libhdBUSint Bus scanning code

diff --git a/sys-apps/hwinfo/hwinfo-22.0.ebuild 
b/sys-apps/hwinfo/hwinfo-22.0.ebuild
new file mode 100644
index ..d99dfc1dfa86
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-22.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit rpm toolchain-funcs
+
+DESCRIPTION="Hardware detection tool used in SuSE Linux"
+HOMEPAGE="https://github.com/openSUSE/hwinfo/";
+#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
+#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+   amd64? ( dev-libs/libx86emu )
+   x86? ( dev-libs/libx86emu )"
+DEPEND="${RDEPEND}
+   sys-devel/flex
+   >=sys-kernel/linux-headers-2.6.17"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+PATCHES=( "${FILESDIR}"/${P}-glibc-2.36.patch )
+
+src_prepare() {
+   # Respect AR variable.
+   sed -i \
+   -e 's:ar r:$(AR) r:' \
+   src/{,isdn,ids,smp,hd}/Makefile || die
+
+   # Respect LDFLAGS.
+   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
+
+   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
+   sed -i \
+   -e 's:make:$(MAKE):' \
+   -e 's:-pipe -g::' \
+   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
+   Makefile{,.common} || die
+   # Workaround from Arch, if using source tarballs from github
+   # echo 'touch changelog' > git2log
+   default
+}
+
+src_compile() {
+   tc-export AR
+   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
+}
+
+src_install() {
+   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install

[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-07-17 Thread Ben Kohler
commit: b965d3249199bdfbcb92361a91be5bff09c2a4e8
Author: Ben Kohler  gentoo  org>
AuthorDate: Sun Jul 17 13:40:34 2022 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Sun Jul 17 13:41:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b965d324

sys-apps/hwinfo: add 21.82

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest|  1 +
 sys-apps/hwinfo/hwinfo-21.82.ebuild | 61 +
 2 files changed, 62 insertions(+)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index b694d121b74b..e83fa3d068c0 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,2 +1,3 @@
 DIST hwinfo-21.80-1.1.src.rpm 968192 BLAKE2B 
a11a1060137ff89504963c01c4129dcac93e8eea9747ea20272763f648068e8b4fb3f1c31ae761664b1b1ffedf32971b3b27804f125473f0367cc6eed03751bf
 SHA512 
7bf64d9ee6b2381c43ffb22dc5623c8a8ed05c26b4e154c3093a9cb255779a1d482c18cd085b272ce619249743f1c43989337bed142685b4d6c634f4551893ee
 DIST hwinfo-21.81-1.3.src.rpm 967951 BLAKE2B 
af6c390cd327ac2683f6b92a7847c5a0dc99e7553e35b7a5fd07db0a7f60c671a303e85061e1656474792b921e0d1b8ad18591f22a5da557879743d91151509a
 SHA512 
eef89b5c8c029f606d66eb1740c4d046baaf490fc39d42d0137d1c4c5b248b0ddbe34b1532dbcef10f408677f173cfeb11d4c3e801a6a90280e1a6babc245674
+DIST hwinfo-21.82-1.1.src.rpm 968922 BLAKE2B 
5a491e7ca7125b40205dfa0e28350124f3deab6438424289ec44588940c47ddd341c9a7705edd3b9678b80050e26acdad1e9ea4aa7bc47e1af670ae020bfec51
 SHA512 
7221430e67bd76016d535db823e5e66034001c24e49de656365b421ef528bdcdf94ad82399f6a5916e55dc0b9f2dc1873a0e9ae2813025b746999bb2c5bd02df

diff --git a/sys-apps/hwinfo/hwinfo-21.82.ebuild 
b/sys-apps/hwinfo/hwinfo-21.82.ebuild
new file mode 100644
index ..a54748333293
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-21.82.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit rpm toolchain-funcs
+
+DESCRIPTION="Hardware detection tool used in SuSE Linux"
+HOMEPAGE="https://github.com/openSUSE/hwinfo/";
+#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
+#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+   amd64? ( dev-libs/libx86emu )
+   x86? ( dev-libs/libx86emu )"
+DEPEND="${RDEPEND}
+   sys-devel/flex
+   >=sys-kernel/linux-headers-2.6.17"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+   # Respect AR variable.
+   sed -i \
+   -e 's:ar r:$(AR) r:' \
+   src/{,isdn,ids,smp,hd}/Makefile || die
+
+   # Respect LDFLAGS.
+   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
+
+   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
+   sed -i \
+   -e 's:make:$(MAKE):' \
+   -e 's:-pipe -g::' \
+   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
+   Makefile{,.common} || die
+   # Workaround from Arch, if using source tarballs from github
+   # echo 'touch changelog' > git2log
+   default
+}
+
+src_compile() {
+   tc-export AR
+   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
+}
+
+src_install() {
+   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+   keepdir /var/lib/hardware/udi
+
+   dodoc changelog README*
+   docinto examples
+   dodoc doc/example*.c
+   doman doc/*.{1,8}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-06-21 Thread Ben Kohler
commit: 94ce719a486fd54ad3025cfd0c690f6139dfe833
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Jun 21 14:25:20 2022 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Jun 21 14:26:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ce719a

sys-apps/hwinfo: update SRC_URI

Closes: https://bugs.gentoo.org/853313

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest| 2 +-
 sys-apps/hwinfo/hwinfo-21.81.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 87a4a3565711..b694d121b74b 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,2 +1,2 @@
 DIST hwinfo-21.80-1.1.src.rpm 968192 BLAKE2B 
a11a1060137ff89504963c01c4129dcac93e8eea9747ea20272763f648068e8b4fb3f1c31ae761664b1b1ffedf32971b3b27804f125473f0367cc6eed03751bf
 SHA512 
7bf64d9ee6b2381c43ffb22dc5623c8a8ed05c26b4e154c3093a9cb255779a1d482c18cd085b272ce619249743f1c43989337bed142685b4d6c634f4551893ee
-DIST hwinfo-21.81-1.2.src.rpm 967952 BLAKE2B 
bc6938412c3736621f4ab42ed858a34f47dc9fee3ff9ecb1c9ea322ac93cbd897de1be18384ce4474e3f54ae2605baac153dea4c3f243a0557c5d2c5103eb38c
 SHA512 
acd52647de48efe964b6eab8da27c3e44ba27ffedd5ec8b4f891c7684767eadc61018db9c56a528d479045bfe10068ba7d455a4ca48d7896cfa9675ac3ff3cc3
+DIST hwinfo-21.81-1.3.src.rpm 967951 BLAKE2B 
af6c390cd327ac2683f6b92a7847c5a0dc99e7553e35b7a5fd07db0a7f60c671a303e85061e1656474792b921e0d1b8ad18591f22a5da557879743d91151509a
 SHA512 
eef89b5c8c029f606d66eb1740c4d046baaf490fc39d42d0137d1c4c5b248b0ddbe34b1532dbcef10f408677f173cfeb11d4c3e801a6a90280e1a6babc245674

diff --git a/sys-apps/hwinfo/hwinfo-21.81.ebuild 
b/sys-apps/hwinfo/hwinfo-21.81.ebuild
index 699dfb25c9ed..81c6fd8f65b5 100644
--- a/sys-apps/hwinfo/hwinfo-21.81.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.81.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="Hardware detection tool used in SuSE Linux"
 HOMEPAGE="https://github.com/openSUSE/hwinfo/";
 #Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
 #SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.2.src.rpm";
+SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.3.src.rpm";
 
 LICENSE="GPL-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-06-21 Thread Ben Kohler
commit: 32d43edfeebc789977b7ce416fd0e176c1198bbc
Author: Ben Kohler  gentoo  org>
AuthorDate: Wed Jun 15 14:13:41 2022 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Jun 21 12:56:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32d43edf

sys-apps/hwinfo: add 21.81

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest|  1 +
 sys-apps/hwinfo/hwinfo-21.81.ebuild | 61 +
 2 files changed, 62 insertions(+)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index fb6d195bae2f..87a4a3565711 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1 +1,2 @@
 DIST hwinfo-21.80-1.1.src.rpm 968192 BLAKE2B 
a11a1060137ff89504963c01c4129dcac93e8eea9747ea20272763f648068e8b4fb3f1c31ae761664b1b1ffedf32971b3b27804f125473f0367cc6eed03751bf
 SHA512 
7bf64d9ee6b2381c43ffb22dc5623c8a8ed05c26b4e154c3093a9cb255779a1d482c18cd085b272ce619249743f1c43989337bed142685b4d6c634f4551893ee
+DIST hwinfo-21.81-1.2.src.rpm 967952 BLAKE2B 
bc6938412c3736621f4ab42ed858a34f47dc9fee3ff9ecb1c9ea322ac93cbd897de1be18384ce4474e3f54ae2605baac153dea4c3f243a0557c5d2c5103eb38c
 SHA512 
acd52647de48efe964b6eab8da27c3e44ba27ffedd5ec8b4f891c7684767eadc61018db9c56a528d479045bfe10068ba7d455a4ca48d7896cfa9675ac3ff3cc3

diff --git a/sys-apps/hwinfo/hwinfo-21.81.ebuild 
b/sys-apps/hwinfo/hwinfo-21.81.ebuild
new file mode 100644
index ..699dfb25c9ed
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-21.81.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit rpm toolchain-funcs
+
+DESCRIPTION="Hardware detection tool used in SuSE Linux"
+HOMEPAGE="https://github.com/openSUSE/hwinfo/";
+#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
+#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.2.src.rpm";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+   amd64? ( dev-libs/libx86emu )
+   x86? ( dev-libs/libx86emu )"
+DEPEND="${RDEPEND}
+   sys-devel/flex
+   >=sys-kernel/linux-headers-2.6.17"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+   # Respect AR variable.
+   sed -i \
+   -e 's:ar r:$(AR) r:' \
+   src/{,isdn,ids,smp,hd}/Makefile || die
+
+   # Respect LDFLAGS.
+   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
+
+   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
+   sed -i \
+   -e 's:make:$(MAKE):' \
+   -e 's:-pipe -g::' \
+   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
+   Makefile{,.common} || die
+   # Workaround from Arch, if using source tarballs from github
+   # echo 'touch changelog' > git2log
+   default
+}
+
+src_compile() {
+   tc-export AR
+   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
+}
+
+src_install() {
+   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+   keepdir /var/lib/hardware/udi
+
+   dodoc changelog README*
+   docinto examples
+   dodoc doc/example*.c
+   doman doc/*.{1,8}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-05-25 Thread Jakov Smolić
commit: 245f95c7169260d8dae049da84eb1f2946095018
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed May 25 16:48:12 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed May 25 16:49:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245f95c7

sys-apps/hwinfo: keyword 21.80 for ~riscv

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

 sys-apps/hwinfo/hwinfo-21.80.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.80.ebuild 
b/sys-apps/hwinfo/hwinfo-21.80.ebuild
index 650c502fcb99..eca80e98fb3a 100644
--- a/sys-apps/hwinfo/hwinfo-21.80.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.80.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~riscv x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-02-19 Thread Ben Kohler
commit: a99ea543926bdd11cedc5917b14d2e709a3c4113
Author: Ben Kohler  gentoo  org>
AuthorDate: Sat Feb 19 13:11:27 2022 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Sat Feb 19 13:14:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a99ea543

sys-apps/hwinfo: drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest|  1 -
 sys-apps/hwinfo/hwinfo-21.76.ebuild | 61 -
 2 files changed, 62 deletions(-)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 9501ef14e7a5..fb6d195bae2f 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,2 +1 @@
-DIST hwinfo-21.76-1.1.src.rpm 966123 BLAKE2B 
dbacb4d8605e3529eb94dd91b4a480c73c935024cf119ba12fd1be4850dd3f5e07df6a306b39b04b1e830284be73d0fcb476f396f27312b692b0a424190a1388
 SHA512 
990c63574531f74949b60e072bb68069aba99594b57b4b1f71150c96a8630c32a56437968b37bff675a837e08f172e0e18743517566460b8120630d8195f8224
 DIST hwinfo-21.80-1.1.src.rpm 968192 BLAKE2B 
a11a1060137ff89504963c01c4129dcac93e8eea9747ea20272763f648068e8b4fb3f1c31ae761664b1b1ffedf32971b3b27804f125473f0367cc6eed03751bf
 SHA512 
7bf64d9ee6b2381c43ffb22dc5623c8a8ed05c26b4e154c3093a9cb255779a1d482c18cd085b272ce619249743f1c43989337bed142685b4d6c634f4551893ee

diff --git a/sys-apps/hwinfo/hwinfo-21.76.ebuild 
b/sys-apps/hwinfo/hwinfo-21.76.ebuild
deleted file mode 100644
index 09823f8d2035..
--- a/sys-apps/hwinfo/hwinfo-21.76.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit rpm toolchain-funcs
-
-DESCRIPTION="Hardware detection tool used in SuSE Linux"
-HOMEPAGE="https://github.com/openSUSE/hwinfo/";
-#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
-#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="
-   amd64? ( dev-libs/libx86emu )
-   x86? ( dev-libs/libx86emu )"
-DEPEND="${RDEPEND}
-   sys-devel/flex
-   >=sys-kernel/linux-headers-2.6.17"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-src_prepare() {
-   # Respect AR variable.
-   sed -i \
-   -e 's:ar r:$(AR) r:' \
-   src/{,isdn,ids,smp,hd}/Makefile || die
-
-   # Respect LDFLAGS.
-   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
-
-   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
-   sed -i \
-   -e 's:make:$(MAKE):' \
-   -e 's:-pipe -g::' \
-   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
-   Makefile{,.common} || die
-   # Workaround from Arch, if using source tarballs from github
-   # echo 'touch changelog' > git2log
-   default
-}
-
-src_compile() {
-   tc-export AR
-   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
-}
-
-src_install() {
-   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
-   keepdir /var/lib/hardware/udi
-
-   dodoc changelog README*
-   docinto examples
-   dodoc doc/example*.c
-   doman doc/*.{1,8}
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-02-18 Thread Sam James
commit: b287b11a15a1b10914e493312e79f26a26049895
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 18 17:53:52 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 18 17:53:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b287b11a

sys-apps/hwinfo: Stabilize 21.80 ppc, #833612

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

 sys-apps/hwinfo/hwinfo-21.80.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.80.ebuild 
b/sys-apps/hwinfo/hwinfo-21.80.ebuild
index 2bd82cc8fb3d..650c502fcb99 100644
--- a/sys-apps/hwinfo/hwinfo-21.80.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.80.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ppc x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-02-18 Thread Sam James
commit: 88b56b0e2e6b6e8e9c415f7d782ad506e2b8eb32
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 18 17:46:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 18 17:46:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88b56b0e

sys-apps/hwinfo: Stabilize 21.80 amd64, #833612

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

 sys-apps/hwinfo/hwinfo-21.80.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.80.ebuild 
b/sys-apps/hwinfo/hwinfo-21.80.ebuild
index 4361f463e6b5..2bd82cc8fb3d 100644
--- a/sys-apps/hwinfo/hwinfo-21.80.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.80.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-02-18 Thread Sam James
commit: e326708cd4887b4c9e54d687d88cdd96b9f6b643
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 18 17:46:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 18 17:46:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e326708c

sys-apps/hwinfo: Stabilize 21.80 x86, #833612

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

 sys-apps/hwinfo/hwinfo-21.80.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.80.ebuild 
b/sys-apps/hwinfo/hwinfo-21.80.ebuild
index 1ab22c32a378..4361f463e6b5 100644
--- a/sys-apps/hwinfo/hwinfo-21.80.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.80.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-01-21 Thread Arthur Zamarin
commit: 31c4fe17e892de54cb6bf530546c360432c11c92
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 22 06:02:43 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 22 06:02:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31c4fe17

sys-apps/hwinfo: Keyword 21.80 arm64, #831656

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/hwinfo/hwinfo-21.80.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.80.ebuild 
b/sys-apps/hwinfo/hwinfo-21.80.ebuild
index 8335253522ed..1ab22c32a378 100644
--- a/sys-apps/hwinfo/hwinfo-21.80.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.80.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2022-01-07 Thread Ben Kohler
commit: d4def74b0cece9c515e8b46714b42b05095c299c
Author: Ben Kohler  gentoo  org>
AuthorDate: Fri Jan  7 17:08:58 2022 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Fri Jan  7 17:09:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4def74b

sys-apps/hwinfo: bump to 21.80

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest|  1 +
 sys-apps/hwinfo/hwinfo-21.80.ebuild | 61 +
 2 files changed, 62 insertions(+)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 78589443f5be..9501ef14e7a5 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1 +1,2 @@
 DIST hwinfo-21.76-1.1.src.rpm 966123 BLAKE2B 
dbacb4d8605e3529eb94dd91b4a480c73c935024cf119ba12fd1be4850dd3f5e07df6a306b39b04b1e830284be73d0fcb476f396f27312b692b0a424190a1388
 SHA512 
990c63574531f74949b60e072bb68069aba99594b57b4b1f71150c96a8630c32a56437968b37bff675a837e08f172e0e18743517566460b8120630d8195f8224
+DIST hwinfo-21.80-1.1.src.rpm 968192 BLAKE2B 
a11a1060137ff89504963c01c4129dcac93e8eea9747ea20272763f648068e8b4fb3f1c31ae761664b1b1ffedf32971b3b27804f125473f0367cc6eed03751bf
 SHA512 
7bf64d9ee6b2381c43ffb22dc5623c8a8ed05c26b4e154c3093a9cb255779a1d482c18cd085b272ce619249743f1c43989337bed142685b4d6c634f4551893ee

diff --git a/sys-apps/hwinfo/hwinfo-21.80.ebuild 
b/sys-apps/hwinfo/hwinfo-21.80.ebuild
new file mode 100644
index ..8335253522ed
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-21.80.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit rpm toolchain-funcs
+
+DESCRIPTION="Hardware detection tool used in SuSE Linux"
+HOMEPAGE="https://github.com/openSUSE/hwinfo/";
+#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
+#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+   amd64? ( dev-libs/libx86emu )
+   x86? ( dev-libs/libx86emu )"
+DEPEND="${RDEPEND}
+   sys-devel/flex
+   >=sys-kernel/linux-headers-2.6.17"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+   # Respect AR variable.
+   sed -i \
+   -e 's:ar r:$(AR) r:' \
+   src/{,isdn,ids,smp,hd}/Makefile || die
+
+   # Respect LDFLAGS.
+   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
+
+   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
+   sed -i \
+   -e 's:make:$(MAKE):' \
+   -e 's:-pipe -g::' \
+   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
+   Makefile{,.common} || die
+   # Workaround from Arch, if using source tarballs from github
+   # echo 'touch changelog' > git2log
+   default
+}
+
+src_compile() {
+   tc-export AR
+   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
+}
+
+src_install() {
+   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+   keepdir /var/lib/hardware/udi
+
+   dodoc changelog README*
+   docinto examples
+   dodoc doc/example*.c
+   doman doc/*.{1,8}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-09-28 Thread Ben Kohler
commit: 4fb32852e02b082a3b27183ef85118e17c541d54
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Sep 28 12:52:31 2021 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Sep 28 17:33:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fb32852

sys-apps/hwinfo: better homepage

Package-Manager: Portage-3.0.24, Repoman-3.0.3
Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/hwinfo-21.76.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.76.ebuild 
b/sys-apps/hwinfo/hwinfo-21.76.ebuild
index f1d008f7869..09823f8d203 100644
--- a/sys-apps/hwinfo/hwinfo-21.76.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.76.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 inherit rpm toolchain-funcs
 
 DESCRIPTION="Hardware detection tool used in SuSE Linux"
-HOMEPAGE="https://www.opensuse.org/";
+HOMEPAGE="https://github.com/openSUSE/hwinfo/";
 #Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
 #SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-09-28 Thread Ben Kohler
commit: 8f1a11e8712bec63ed238f06ef76e9928c88b80a
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Sep 28 12:52:48 2021 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Sep 28 17:33:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f1a11e8

sys-apps/hwinfo: drop old

Package-Manager: Portage-3.0.24, Repoman-3.0.3
Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest|  1 -
 sys-apps/hwinfo/hwinfo-21.74.ebuild | 61 -
 2 files changed, 62 deletions(-)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index e7cbb79a492..78589443f5b 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,2 +1 @@
-DIST hwinfo-21.74-1.1.src.rpm 967046 BLAKE2B 
305db6eb3184de0e84d166f0e32988ea2a0ec65eceb322c8c451f33ab8656c38a21a74f416ff08442bcbc5fa91fb4fa8439d907c2c244fe62a2048be7f84b181
 SHA512 
1a681b51934fbed229b7daa96b5e4e0d8fc62d480927034d0c95ae8c89dc2ae43214c63cca273379162353aeb2bf81883e7c02006c4f45fd1deab0d74f8a2988
 DIST hwinfo-21.76-1.1.src.rpm 966123 BLAKE2B 
dbacb4d8605e3529eb94dd91b4a480c73c935024cf119ba12fd1be4850dd3f5e07df6a306b39b04b1e830284be73d0fcb476f396f27312b692b0a424190a1388
 SHA512 
990c63574531f74949b60e072bb68069aba99594b57b4b1f71150c96a8630c32a56437968b37bff675a837e08f172e0e18743517566460b8120630d8195f8224

diff --git a/sys-apps/hwinfo/hwinfo-21.74.ebuild 
b/sys-apps/hwinfo/hwinfo-21.74.ebuild
deleted file mode 100644
index f1d008f7869..000
--- a/sys-apps/hwinfo/hwinfo-21.74.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit rpm toolchain-funcs
-
-DESCRIPTION="Hardware detection tool used in SuSE Linux"
-HOMEPAGE="https://www.opensuse.org/";
-#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
-#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="
-   amd64? ( dev-libs/libx86emu )
-   x86? ( dev-libs/libx86emu )"
-DEPEND="${RDEPEND}
-   sys-devel/flex
-   >=sys-kernel/linux-headers-2.6.17"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-src_prepare() {
-   # Respect AR variable.
-   sed -i \
-   -e 's:ar r:$(AR) r:' \
-   src/{,isdn,ids,smp,hd}/Makefile || die
-
-   # Respect LDFLAGS.
-   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
-
-   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
-   sed -i \
-   -e 's:make:$(MAKE):' \
-   -e 's:-pipe -g::' \
-   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
-   Makefile{,.common} || die
-   # Workaround from Arch, if using source tarballs from github
-   # echo 'touch changelog' > git2log
-   default
-}
-
-src_compile() {
-   tc-export AR
-   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
-}
-
-src_install() {
-   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
-   keepdir /var/lib/hardware/udi
-
-   dodoc changelog README*
-   docinto examples
-   dodoc doc/example*.c
-   doman doc/*.{1,8}
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-09-23 Thread Ben Kohler
commit: 4b3aa2cc3b289ea3b76ba547eaf8076c4265f29f
Author: Ben Kohler  gentoo  org>
AuthorDate: Thu Sep 23 18:30:00 2021 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Thu Sep 23 18:31:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b3aa2cc

sys-apps/hwinfo: drop unused inherit

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/hwinfo-21.74.ebuild | 2 +-
 sys-apps/hwinfo/hwinfo-21.76.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.74.ebuild 
b/sys-apps/hwinfo/hwinfo-21.74.ebuild
index 344dcb48ecc..f1d008f7869 100644
--- a/sys-apps/hwinfo/hwinfo-21.74.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.74.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit multilib rpm toolchain-funcs
+inherit rpm toolchain-funcs
 
 DESCRIPTION="Hardware detection tool used in SuSE Linux"
 HOMEPAGE="https://www.opensuse.org/";

diff --git a/sys-apps/hwinfo/hwinfo-21.76.ebuild 
b/sys-apps/hwinfo/hwinfo-21.76.ebuild
index 344dcb48ecc..f1d008f7869 100644
--- a/sys-apps/hwinfo/hwinfo-21.76.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.76.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit multilib rpm toolchain-funcs
+inherit rpm toolchain-funcs
 
 DESCRIPTION="Hardware detection tool used in SuSE Linux"
 HOMEPAGE="https://www.opensuse.org/";



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-09-17 Thread Agostino Sarubbo
commit: 39bbed272fac3f169f94837ac96283c7a7db9e97
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep 17 09:20:06 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep 17 09:20:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39bbed27

sys-apps/hwinfo: x86 stable wrt bug #813231

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/hwinfo/hwinfo-21.76.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.76.ebuild 
b/sys-apps/hwinfo/hwinfo-21.76.ebuild
index eddc0a646c5..02e54630fa9 100644
--- a/sys-apps/hwinfo/hwinfo-21.76.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.76.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-09-17 Thread Agostino Sarubbo
commit: ff645894cc370c1923b6961c753959e1dc553e55
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep 17 09:17:19 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep 17 09:17:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff645894

sys-apps/hwinfo: amd64 stable wrt bug #813231

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/hwinfo/hwinfo-21.76.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.76.ebuild 
b/sys-apps/hwinfo/hwinfo-21.76.ebuild
index b4051eb59a5..eddc0a646c5 100644
--- a/sys-apps/hwinfo/hwinfo-21.76.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.76.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-08-02 Thread Ben Kohler
commit: 1ae6aa337f558364664b4b54bc4e6b82ab81e851
Author: Ben Kohler  gentoo  org>
AuthorDate: Mon Aug  2 12:49:42 2021 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Mon Aug  2 13:30:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ae6aa33

sys-apps/hwinfo: bump to 21.76

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest|  1 +
 sys-apps/hwinfo/hwinfo-21.76.ebuild | 61 +
 2 files changed, 62 insertions(+)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index b91416424b6..e7cbb79a492 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1 +1,2 @@
 DIST hwinfo-21.74-1.1.src.rpm 967046 BLAKE2B 
305db6eb3184de0e84d166f0e32988ea2a0ec65eceb322c8c451f33ab8656c38a21a74f416ff08442bcbc5fa91fb4fa8439d907c2c244fe62a2048be7f84b181
 SHA512 
1a681b51934fbed229b7daa96b5e4e0d8fc62d480927034d0c95ae8c89dc2ae43214c63cca273379162353aeb2bf81883e7c02006c4f45fd1deab0d74f8a2988
+DIST hwinfo-21.76-1.1.src.rpm 966123 BLAKE2B 
dbacb4d8605e3529eb94dd91b4a480c73c935024cf119ba12fd1be4850dd3f5e07df6a306b39b04b1e830284be73d0fcb476f396f27312b692b0a424190a1388
 SHA512 
990c63574531f74949b60e072bb68069aba99594b57b4b1f71150c96a8630c32a56437968b37bff675a837e08f172e0e18743517566460b8120630d8195f8224

diff --git a/sys-apps/hwinfo/hwinfo-21.76.ebuild 
b/sys-apps/hwinfo/hwinfo-21.76.ebuild
new file mode 100644
index 000..b4051eb59a5
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-21.76.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib rpm toolchain-funcs
+
+DESCRIPTION="Hardware detection tool used in SuSE Linux"
+HOMEPAGE="https://www.opensuse.org/";
+#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
+#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+   amd64? ( dev-libs/libx86emu )
+   x86? ( dev-libs/libx86emu )"
+DEPEND="${RDEPEND}
+   sys-devel/flex
+   >=sys-kernel/linux-headers-2.6.17"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+   # Respect AR variable.
+   sed -i \
+   -e 's:ar r:$(AR) r:' \
+   src/{,isdn,ids,smp,hd}/Makefile || die
+
+   # Respect LDFLAGS.
+   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
+
+   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
+   sed -i \
+   -e 's:make:$(MAKE):' \
+   -e 's:-pipe -g::' \
+   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
+   Makefile{,.common} || die
+   # Workaround from Arch, if using source tarballs from github
+   # echo 'touch changelog' > git2log
+   default
+}
+
+src_compile() {
+   tc-export AR
+   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
+}
+
+src_install() {
+   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+   keepdir /var/lib/hardware/udi
+
+   dodoc changelog README*
+   docinto examples
+   dodoc doc/example*.c
+   doman doc/*.{1,8}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-07-13 Thread Ben Kohler
commit: 5de7e2044e1f4854dd8f1920e931ac0f0712aefa
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Jul 13 13:33:12 2021 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Jul 13 13:33:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de7e204

sys-apps/hwinfo: drop old

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest|  1 -
 sys-apps/hwinfo/hwinfo-21.72.ebuild | 59 -
 2 files changed, 60 deletions(-)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 1db9e545afc..b91416424b6 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,2 +1 @@
-DIST hwinfo-21.72-1.3.src.rpm 926285 BLAKE2B 
b8a38b2f04649e268a6d6fbebabd724a0c678e81ea9c09c3453ababa26e91ba5fe55c7feccf157ab81ab676e6610ba1700ef1691bdd06fbcbc1cdd86806282d2
 SHA512 
4e51ee4f8e03eee82317557aa39b5018cc2370b33bfdb280ecb8716687d951f8c34fa7598a1e0eff03025991eee654af488e3343d93167e4cf16380d047c2de3
 DIST hwinfo-21.74-1.1.src.rpm 967046 BLAKE2B 
305db6eb3184de0e84d166f0e32988ea2a0ec65eceb322c8c451f33ab8656c38a21a74f416ff08442bcbc5fa91fb4fa8439d907c2c244fe62a2048be7f84b181
 SHA512 
1a681b51934fbed229b7daa96b5e4e0d8fc62d480927034d0c95ae8c89dc2ae43214c63cca273379162353aeb2bf81883e7c02006c4f45fd1deab0d74f8a2988

diff --git a/sys-apps/hwinfo/hwinfo-21.72.ebuild 
b/sys-apps/hwinfo/hwinfo-21.72.ebuild
deleted file mode 100644
index 56ec5be6e5c..000
--- a/sys-apps/hwinfo/hwinfo-21.72.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib rpm toolchain-funcs
-
-DESCRIPTION="Hardware detection tool used in SuSE Linux"
-HOMEPAGE="https://www.opensuse.org/";
-SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.3.src.rpm";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="
-   amd64? ( dev-libs/libx86emu )
-   x86? ( dev-libs/libx86emu )"
-DEPEND="${RDEPEND}
-   sys-devel/flex
-   >=sys-kernel/linux-headers-2.6.17"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-src_prepare() {
-   # Respect AR variable.
-   sed -i \
-   -e 's:ar r:$(AR) r:' \
-   src/{,isdn,ids,smp,hd}/Makefile || die
-
-   # Respect LDFLAGS.
-   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
-
-   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
-   sed -i \
-   -e 's:make:$(MAKE):' \
-   -e 's:-pipe -g::' \
-   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
-   Makefile{,.common} || die
-   # Workaround from Arch, for using raw tarballs from git
-   echo 'touch changelog' > git2log
-   default
-}
-
-src_compile() {
-   tc-export AR
-   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
-}
-
-src_install() {
-   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
-   keepdir /var/lib/hardware/udi
-
-   dodoc changelog README*
-   docinto examples
-   dodoc doc/example*.c
-   doman doc/*.{1,8}
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-06-25 Thread Sam James
commit: c22f5d782ec66c5a6c0fe2531cde1a13b04049f2
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 25 19:35:51 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 25 19:35:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c22f5d78

sys-apps/hwinfo: Stabilize 21.74 ppc, #798723

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

 sys-apps/hwinfo/hwinfo-21.74.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.74.ebuild 
b/sys-apps/hwinfo/hwinfo-21.74.ebuild
index 02e54630fa9..344dcb48ecc 100644
--- a/sys-apps/hwinfo/hwinfo-21.74.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.74.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-06-25 Thread Sam James
commit: a79fb08c4b98e81b49b7ef5351cf3448d4ab9919
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 25 19:33:29 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 25 19:33:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a79fb08c

sys-apps/hwinfo: Stabilize 21.74 amd64, #798723

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

 sys-apps/hwinfo/hwinfo-21.74.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.74.ebuild 
b/sys-apps/hwinfo/hwinfo-21.74.ebuild
index a111e49a98f..02e54630fa9 100644
--- a/sys-apps/hwinfo/hwinfo-21.74.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.74.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-06-25 Thread Sam James
commit: babab107ffee037834dec727a3505dc9e1e90230
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 25 19:32:26 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 25 19:32:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=babab107

sys-apps/hwinfo: Stabilize 21.74 x86, #798723

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

 sys-apps/hwinfo/hwinfo-21.74.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.74.ebuild 
b/sys-apps/hwinfo/hwinfo-21.74.ebuild
index b4051eb59a5..a111e49a98f 100644
--- a/sys-apps/hwinfo/hwinfo-21.74.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.74.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-05-25 Thread Ben Kohler
commit: cc3b976d68dad78ff2a3c9f3277058e330674ebe
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue May 25 11:10:41 2021 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue May 25 11:11:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc3b976d

sys-apps/hwinfo: bump to 21.74

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest|  1 +
 sys-apps/hwinfo/hwinfo-21.74.ebuild | 61 +
 2 files changed, 62 insertions(+)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 95e7193967d..1db9e545afc 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1 +1,2 @@
 DIST hwinfo-21.72-1.3.src.rpm 926285 BLAKE2B 
b8a38b2f04649e268a6d6fbebabd724a0c678e81ea9c09c3453ababa26e91ba5fe55c7feccf157ab81ab676e6610ba1700ef1691bdd06fbcbc1cdd86806282d2
 SHA512 
4e51ee4f8e03eee82317557aa39b5018cc2370b33bfdb280ecb8716687d951f8c34fa7598a1e0eff03025991eee654af488e3343d93167e4cf16380d047c2de3
+DIST hwinfo-21.74-1.1.src.rpm 967046 BLAKE2B 
305db6eb3184de0e84d166f0e32988ea2a0ec65eceb322c8c451f33ab8656c38a21a74f416ff08442bcbc5fa91fb4fa8439d907c2c244fe62a2048be7f84b181
 SHA512 
1a681b51934fbed229b7daa96b5e4e0d8fc62d480927034d0c95ae8c89dc2ae43214c63cca273379162353aeb2bf81883e7c02006c4f45fd1deab0d74f8a2988

diff --git a/sys-apps/hwinfo/hwinfo-21.74.ebuild 
b/sys-apps/hwinfo/hwinfo-21.74.ebuild
new file mode 100644
index 000..b4051eb59a5
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-21.74.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib rpm toolchain-funcs
+
+DESCRIPTION="Hardware detection tool used in SuSE Linux"
+HOMEPAGE="https://www.opensuse.org/";
+#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
+#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+   amd64? ( dev-libs/libx86emu )
+   x86? ( dev-libs/libx86emu )"
+DEPEND="${RDEPEND}
+   sys-devel/flex
+   >=sys-kernel/linux-headers-2.6.17"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+   # Respect AR variable.
+   sed -i \
+   -e 's:ar r:$(AR) r:' \
+   src/{,isdn,ids,smp,hd}/Makefile || die
+
+   # Respect LDFLAGS.
+   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
+
+   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
+   sed -i \
+   -e 's:make:$(MAKE):' \
+   -e 's:-pipe -g::' \
+   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
+   Makefile{,.common} || die
+   # Workaround from Arch, if using source tarballs from github
+   # echo 'touch changelog' > git2log
+   default
+}
+
+src_compile() {
+   tc-export AR
+   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
+}
+
+src_install() {
+   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+   keepdir /var/lib/hardware/udi
+
+   dodoc changelog README*
+   docinto examples
+   dodoc doc/example*.c
+   doman doc/*.{1,8}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-05-18 Thread Ben Kohler
commit: ad1935d365fb6553bc3e64b0f01bd69b8fb96a43
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue May 18 13:41:25 2021 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue May 18 14:14:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad1935d3

sys-apps/hwinfo: drop old

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest|  2 --
 sys-apps/hwinfo/hwinfo-21.23.ebuild | 56 -
 sys-apps/hwinfo/hwinfo-21.4.ebuild  | 63 -
 3 files changed, 121 deletions(-)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 7182a792023..95e7193967d 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,3 +1 @@
-DIST hwinfo-21.23-1.2.src.rpm 844672 BLAKE2B 
33cfd68c06081d76b33243474b9a72cc5994c749ff57b7fc4f36c88627707068fb86d4825bae66e4e08f730dc8849264f5f31f8717f28400b3d54302ac12b1eb
 SHA512 
d25c955fa5620268a34a857916e0bdbbdb92f8e092735ac453e7bacc6476e00047c9ccef3a5275e5d50cc354bf9e3cffef57af519dc885d0afd3d161ab426629
-DIST hwinfo-21.4-1.1.src.rpm 781525 BLAKE2B 
83c6d0b3d15a7b4354223eef8b976643ec6520842007ce6fb06534360a8994d4aac0975eba059275910f59391e7069b0166b69301006ea78ca4b74c6aefbde7c
 SHA512 
bccac7749751924e1e1a8005e6fd783da7114926b6d9b9a1247b3b26dd680848eb2b85b368c312d08b444c8d7b75036d249daf33afc5b7efbbcc09bfbad4b340
 DIST hwinfo-21.72-1.3.src.rpm 926285 BLAKE2B 
b8a38b2f04649e268a6d6fbebabd724a0c678e81ea9c09c3453ababa26e91ba5fe55c7feccf157ab81ab676e6610ba1700ef1691bdd06fbcbc1cdd86806282d2
 SHA512 
4e51ee4f8e03eee82317557aa39b5018cc2370b33bfdb280ecb8716687d951f8c34fa7598a1e0eff03025991eee654af488e3343d93167e4cf16380d047c2de3

diff --git a/sys-apps/hwinfo/hwinfo-21.23.ebuild 
b/sys-apps/hwinfo/hwinfo-21.23.ebuild
deleted file mode 100644
index 97cc8c3e0a7..000
--- a/sys-apps/hwinfo/hwinfo-21.23.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib rpm toolchain-funcs
-
-DESCRIPTION="Hardware detection tool used in SuSE Linux"
-HOMEPAGE="https://www.opensuse.org/";
-SRC_URI="http://download.opensuse.org/source/factory/repo/oss/suse/src/${P}-1.2.src.rpm";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="
-   amd64? ( dev-libs/libx86emu )
-   x86? ( dev-libs/libx86emu )"
-DEPEND="${RDEPEND}
-   sys-devel/flex
-   >=sys-kernel/linux-headers-2.6.17"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-src_prepare() {
-   # Respect AR variable.
-   sed -i \
-   -e 's:ar r:$(AR) r:' \
-   src/{,isdn,ids,smp,hd}/Makefile || die
-
-   # Respect LDFLAGS.
-   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
-
-   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
-   sed -i \
-   -e 's:make:$(MAKE):' \
-   -e 's:-pipe -g::' \
-   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
-   Makefile{,.common} || die
-   default
-}
-
-src_compile() {
-   tc-export AR
-   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
-}
-
-src_install() {
-   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
-
-   dodoc changelog README*
-   doman doc/*.{1,8}
-   insinto /usr/share/doc/${PF}/examples
-   doins doc/example*.c
-}

diff --git a/sys-apps/hwinfo/hwinfo-21.4.ebuild 
b/sys-apps/hwinfo/hwinfo-21.4.ebuild
deleted file mode 100644
index a63b0e33b3f..000
--- a/sys-apps/hwinfo/hwinfo-21.4.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit multilib rpm toolchain-funcs
-
-DESCRIPTION="hardware detection tool used in SuSE Linux"
-HOMEPAGE="https://www.opensuse.org/";
-SRC_URI="http://download.opensuse.org/source/factory/repo/oss/suse/src/${P}-1.1.src.rpm";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="
-   amd64? ( dev-libs/libx86emu )
-   x86? ( dev-libs/libx86emu )"
-DEPEND="${RDEPEND}
-   sys-devel/flex
-   >=sys-kernel/linux-headers-2.6.17"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-src_prepare() {
-   # Respect AR variable.
-   sed -i \
-   -e 's:ar r:$(AR) r:' \
-   src/{,isdn,ids,smp,hd}/Makefile || die
-
-   # Avoid -I directories for dbus because HAL is obsolete.
-   sed -i -e '/CFLAGS/d' src/hd/Makefile || die
-   # Respect LDFLAGS.
-   sed -i -e 's:$(CC) -shared:& $(LDFLAGS):' src/Makefile || die
-   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
-
-   # Use linux/pci.h directly. #506876
-   sed -i \
-   -e '/#include.*sys\/pci.h/s:sys/pci.h:linux/pci.h:' \
-   src/hd/*.c || 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-04-23 Thread Sam James
commit: fdc05979bbe5d8c2a95830c6643518939c128fe9
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 23 16:13:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 23 16:13:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc05979

sys-apps/hwinfo: Stabilize 21.72 x86, #785070

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

 sys-apps/hwinfo/hwinfo-21.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.72.ebuild 
b/sys-apps/hwinfo/hwinfo-21.72.ebuild
index 19bd84abb9b..56ec5be6e5c 100644
--- a/sys-apps/hwinfo/hwinfo-21.72.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.72.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.3.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-04-22 Thread Sam James
commit: b89d51982d98f96535e819b012733764869979c9
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 22 20:14:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 22 20:14:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b89d5198

sys-apps/hwinfo: Stabilize 21.72 ppc, #785070

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

 sys-apps/hwinfo/hwinfo-21.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.72.ebuild 
b/sys-apps/hwinfo/hwinfo-21.72.ebuild
index 9694dcfc5e1..19bd84abb9b 100644
--- a/sys-apps/hwinfo/hwinfo-21.72.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.72.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.3.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-04-22 Thread Sam James
commit: 73b8e9cd005907b57785cd81acd3c5aab67b3a82
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 22 20:13:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 22 20:13:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73b8e9cd

sys-apps/hwinfo: Stabilize 21.72 amd64, #785070

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

 sys-apps/hwinfo/hwinfo-21.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.72.ebuild 
b/sys-apps/hwinfo/hwinfo-21.72.ebuild
index 0ba8bd09967..9694dcfc5e1 100644
--- a/sys-apps/hwinfo/hwinfo-21.72.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.72.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.3.src.r
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2021-03-23 Thread Ben Kohler
commit: 1a21a9af3690e64251136ee17bd8d94821af6ea9
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Mar 23 19:40:59 2021 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Mar 23 19:41:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a21a9af

sys-apps/hwinfo: bump to 21.72, take package

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/hwinfo/Manifest|  1 +
 sys-apps/hwinfo/hwinfo-21.72.ebuild | 59 +
 sys-apps/hwinfo/metadata.xml|  7 +++--
 3 files changed, 65 insertions(+), 2 deletions(-)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 7a06146360c..7182a792023 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,2 +1,3 @@
 DIST hwinfo-21.23-1.2.src.rpm 844672 BLAKE2B 
33cfd68c06081d76b33243474b9a72cc5994c749ff57b7fc4f36c88627707068fb86d4825bae66e4e08f730dc8849264f5f31f8717f28400b3d54302ac12b1eb
 SHA512 
d25c955fa5620268a34a857916e0bdbbdb92f8e092735ac453e7bacc6476e00047c9ccef3a5275e5d50cc354bf9e3cffef57af519dc885d0afd3d161ab426629
 DIST hwinfo-21.4-1.1.src.rpm 781525 BLAKE2B 
83c6d0b3d15a7b4354223eef8b976643ec6520842007ce6fb06534360a8994d4aac0975eba059275910f59391e7069b0166b69301006ea78ca4b74c6aefbde7c
 SHA512 
bccac7749751924e1e1a8005e6fd783da7114926b6d9b9a1247b3b26dd680848eb2b85b368c312d08b444c8d7b75036d249daf33afc5b7efbbcc09bfbad4b340
+DIST hwinfo-21.72-1.3.src.rpm 926285 BLAKE2B 
b8a38b2f04649e268a6d6fbebabd724a0c678e81ea9c09c3453ababa26e91ba5fe55c7feccf157ab81ab676e6610ba1700ef1691bdd06fbcbc1cdd86806282d2
 SHA512 
4e51ee4f8e03eee82317557aa39b5018cc2370b33bfdb280ecb8716687d951f8c34fa7598a1e0eff03025991eee654af488e3343d93167e4cf16380d047c2de3

diff --git a/sys-apps/hwinfo/hwinfo-21.72.ebuild 
b/sys-apps/hwinfo/hwinfo-21.72.ebuild
new file mode 100644
index 000..0ba8bd09967
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-21.72.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib rpm toolchain-funcs
+
+DESCRIPTION="Hardware detection tool used in SuSE Linux"
+HOMEPAGE="https://www.opensuse.org/";
+SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.3.src.rpm";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+   amd64? ( dev-libs/libx86emu )
+   x86? ( dev-libs/libx86emu )"
+DEPEND="${RDEPEND}
+   sys-devel/flex
+   >=sys-kernel/linux-headers-2.6.17"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+   # Respect AR variable.
+   sed -i \
+   -e 's:ar r:$(AR) r:' \
+   src/{,isdn,ids,smp,hd}/Makefile || die
+
+   # Respect LDFLAGS.
+   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
+
+   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
+   sed -i \
+   -e 's:make:$(MAKE):' \
+   -e 's:-pipe -g::' \
+   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
+   Makefile{,.common} || die
+   # Workaround from Arch, for using raw tarballs from git
+   echo 'touch changelog' > git2log
+   default
+}
+
+src_compile() {
+   tc-export AR
+   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
+}
+
+src_install() {
+   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+   keepdir /var/lib/hardware/udi
+
+   dodoc changelog README*
+   docinto examples
+   dodoc doc/example*.c
+   doman doc/*.{1,8}
+}

diff --git a/sys-apps/hwinfo/metadata.xml b/sys-apps/hwinfo/metadata.xml
index 483ee9fe589..7864c9786d4 100644
--- a/sys-apps/hwinfo/metadata.xml
+++ b/sys-apps/hwinfo/metadata.xml
@@ -2,7 +2,10 @@
 http://www.gentoo.org/dtd/metadata.dtd";>
 
   
-robb...@gentoo.org
-Robin H. Johnson
+bkoh...@gentoo.org
+Ben Kohler
   
+  
+openSUSE/hwinfo
+  
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2018-07-22 Thread Mikle Kolyada
commit: 4eca264e676f5a60c95dbdbdc7f91bbaa3549efc
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Jul 23 01:09:17 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Jul 23 01:09:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eca264e

sys-apps/hwinfo: add ~arm keyword wrt bug #621466

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-apps/hwinfo/hwinfo-21.23.ebuild | 2 +-
 sys-apps/hwinfo/hwinfo-21.4.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.23.ebuild 
b/sys-apps/hwinfo/hwinfo-21.23.ebuild
index 0306e9299fe..a39e2d90169 100644
--- a/sys-apps/hwinfo/hwinfo-21.23.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.23.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://download.opensuse.org/source/factory/repo/oss/suse/src/${P}-1.2.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="

diff --git a/sys-apps/hwinfo/hwinfo-21.4.ebuild 
b/sys-apps/hwinfo/hwinfo-21.4.ebuild
index 1030cd63860..348ba397ad0 100644
--- a/sys-apps/hwinfo/hwinfo-21.4.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://download.opensuse.org/source/factory/repo/oss/suse/src/${P}-1.1.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2018-05-27 Thread Aaron Bauman
commit: d21ef2fd44c0172ebcff5ada2aa17c3163501f8d
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun May 27 13:22:47 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun May 27 16:08:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d21ef2fd

sys-apps/hwinfo: use HTTPs

 sys-apps/hwinfo/hwinfo-21.23.ebuild | 2 +-
 sys-apps/hwinfo/hwinfo-21.4.ebuild  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.23.ebuild 
b/sys-apps/hwinfo/hwinfo-21.23.ebuild
index db0fc04cefe..0306e9299fe 100644
--- a/sys-apps/hwinfo/hwinfo-21.23.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.23.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 inherit multilib rpm toolchain-funcs
 
 DESCRIPTION="Hardware detection tool used in SuSE Linux"
-HOMEPAGE="http://www.opensuse.org/";
+HOMEPAGE="https://www.opensuse.org/";
 
SRC_URI="http://download.opensuse.org/source/factory/repo/oss/suse/src/${P}-1.2.src.rpm";
 
 LICENSE="GPL-2"

diff --git a/sys-apps/hwinfo/hwinfo-21.4.ebuild 
b/sys-apps/hwinfo/hwinfo-21.4.ebuild
index 5606bd11969..1030cd63860 100644
--- a/sys-apps/hwinfo/hwinfo-21.4.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,7 +6,7 @@ EAPI=5
 inherit multilib rpm toolchain-funcs
 
 DESCRIPTION="hardware detection tool used in SuSE Linux"
-HOMEPAGE="http://www.opensuse.org/";
+HOMEPAGE="https://www.opensuse.org/";
 
SRC_URI="http://download.opensuse.org/source/factory/repo/oss/suse/src/${P}-1.1.src.rpm";
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2018-05-21 Thread Mikle Kolyada
commit: 93654cb4a28d85d2024cc132f91acbf5672a8012
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon May 21 16:18:28 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon May 21 16:18:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93654cb4

sys-apps/hwinfo: Drop old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/hwinfo/Manifest   |  2 --
 sys-apps/hwinfo/hwinfo-19.1.ebuild | 56 --
 sys-apps/hwinfo/hwinfo-20.0.ebuild | 61 --
 3 files changed, 119 deletions(-)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 5a6ea0e42d4..7a06146360c 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,4 +1,2 @@
-DIST hwinfo-19.1-1.2.src.rpm 740650 BLAKE2B 
01a4f1e7dba1f4ae56792151d817b8a5dea0c972751eb41673a04434f8248670b3c89f78c2f6c14b919ddcde9ce5dbbd4d45f5dfb57fbc97bdaf65426fda30de
 SHA512 
1e617cac0e2d1872f26ad15b0a4b34474d5e0cc4a9fa715de04b54b829d73b0f54fea99765bf795d759e01e3a84c868149e4e035bef59dcfcc628faa365fee31
-DIST hwinfo-20.0-1.4.src.rpm 741036 BLAKE2B 
981e5a2bc87dcfad4f1374e42ac5ade203434992c7299506ceda19cbff8576a6e20eee54880a90278427b2db9aa79f921b281babbdbc8d0fccd857ef302697eb
 SHA512 
e44dcc0c826630d75b2604f99f6b0ae6c203a52266c2c7e220989424d7a4c99dc34f6157d6e4d385404c0eade3f943f77ddbf007d83b76f132eada6b4bf68cb3
 DIST hwinfo-21.23-1.2.src.rpm 844672 BLAKE2B 
33cfd68c06081d76b33243474b9a72cc5994c749ff57b7fc4f36c88627707068fb86d4825bae66e4e08f730dc8849264f5f31f8717f28400b3d54302ac12b1eb
 SHA512 
d25c955fa5620268a34a857916e0bdbbdb92f8e092735ac453e7bacc6476e00047c9ccef3a5275e5d50cc354bf9e3cffef57af519dc885d0afd3d161ab426629
 DIST hwinfo-21.4-1.1.src.rpm 781525 BLAKE2B 
83c6d0b3d15a7b4354223eef8b976643ec6520842007ce6fb06534360a8994d4aac0975eba059275910f59391e7069b0166b69301006ea78ca4b74c6aefbde7c
 SHA512 
bccac7749751924e1e1a8005e6fd783da7114926b6d9b9a1247b3b26dd680848eb2b85b368c312d08b444c8d7b75036d249daf33afc5b7efbbcc09bfbad4b340

diff --git a/sys-apps/hwinfo/hwinfo-19.1.ebuild 
b/sys-apps/hwinfo/hwinfo-19.1.ebuild
deleted file mode 100644
index d291224361d..000
--- a/sys-apps/hwinfo/hwinfo-19.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit multilib rpm toolchain-funcs
-
-DESCRIPTION="hardware detection tool used in SuSE Linux"
-HOMEPAGE="http://www.opensuse.org/";
-SRC_URI="http://download.opensuse.org/source/factory/repo/oss/suse/src/${P}-1.2.src.rpm";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="amd64? ( dev-libs/libx86emu )
-   x86? ( dev-libs/libx86emu )"
-DEPEND="${RDEPEND}
-   sys-devel/flex
-   >=sys-kernel/linux-headers-2.6.17"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-src_prepare() {
-   # Respect AR variable.
-   sed -i \
-   -e 's:ar r:$(AR) r:' \
-   src/{,isdn,ids,smp,hd}/Makefile || die
-
-   # Avoid -I directories for dbus because HAL is obsolete.
-   sed -i -e '/CFLAGS/d' src/hd/Makefile || die
-   # Respect LDFLAGS.
-   sed -i -e 's:$(CC) -shared:& $(LDFLAGS):' src/Makefile || die
-   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
-
-   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
-   sed -i \
-   -e 's:make:$(MAKE):' \
-   -e 's:-pipe -g::' \
-   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
-   Makefile{,.common} || die
-}
-
-src_compile() {
-   tc-export AR
-   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
-}
-
-src_install() {
-   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
-
-   dodoc changelog README
-   doman doc/hwinfo.8
-   insinto /usr/share/doc/${PF}/examples
-   doins doc/example*.c
-}

diff --git a/sys-apps/hwinfo/hwinfo-20.0.ebuild 
b/sys-apps/hwinfo/hwinfo-20.0.ebuild
deleted file mode 100644
index f67dfea6e88..000
--- a/sys-apps/hwinfo/hwinfo-20.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit multilib rpm toolchain-funcs
-
-DESCRIPTION="hardware detection tool used in SuSE Linux"
-HOMEPAGE="http://www.opensuse.org/";
-SRC_URI="http://download.opensuse.org/source/factory/repo/oss/suse/src/${P}-1.4.src.rpm";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="amd64? ( dev-libs/libx86emu )
-   x86? ( dev-libs/libx86emu )"
-DEPEND="${RDEPEND}
-   sys-devel/flex
-   >=sys-kernel/linux-headers-2.6.17"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-src_prepare() {
-   # Respect AR variable.
-   sed -i \
-   -e 's:ar r:$(AR) r:' \
-   src/{,isdn,ids,smp,hd}/Makefile || die
-
-   # Avoid -I directories for dbus bec

[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2018-03-04 Thread Sergei Trofimovich
commit: e2699eaedc30dcbe97526d2ecec9a0684b7ab709
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Mar  4 10:06:47 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Mar  4 10:08:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2699eae

sys-apps/hwinfo: stable 21.23 for ppc, bug #630354

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc"

 sys-apps/hwinfo/hwinfo-21.23.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.23.ebuild 
b/sys-apps/hwinfo/hwinfo-21.23.ebuild
index 4b1e6c51c45..db0fc04cefe 100644
--- a/sys-apps/hwinfo/hwinfo-21.23.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.23.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://download.opensuse.org/source/factory/repo/oss/suse/src/${P}-1.2.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2017-12-18 Thread Jason Zaman
commit: 9fbd334c52091a9ea787c045c99f594152d381c7
Author: Jason Zaman  gentoo  org>
AuthorDate: Mon Dec 18 16:39:37 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Mon Dec 18 16:40:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fbd334c

sys-apps/hwinfo: amd64 stable

Gentoo-bug: 630354
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-apps/hwinfo/hwinfo-21.23.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.23.ebuild 
b/sys-apps/hwinfo/hwinfo-21.23.ebuild
index 8b43e6bde07..962ab08763b 100644
--- a/sys-apps/hwinfo/hwinfo-21.23.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.23.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ 
SRC_URI="http://download.opensuse.org/source/factory/repo/oss/suse/src/${P}-1.2.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2016-02-09 Thread Justin Lecher
commit: 8b6e13d53c2df47c7dcd4e8711db84a11e48e5c2
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Feb  9 14:56:56 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Feb  9 14:57:04 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b6e13d5

sys-apps/hwinfo: READMEs are renamed

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 sys-apps/hwinfo/hwinfo-21.23.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-21.23.ebuild 
b/sys-apps/hwinfo/hwinfo-21.23.ebuild
index 3805ed7..729a880 100644
--- a/sys-apps/hwinfo/hwinfo-21.23.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.23.ebuild
@@ -50,7 +50,7 @@ src_compile() {
 src_install() {
emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
 
-   dodoc changelog README
+   dodoc changelog README*
doman doc/*.{1,8}
insinto /usr/share/doc/${PF}/examples
doins doc/example*.c



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2016-02-09 Thread Justin Lecher
commit: e74b3949edf41c7eb78e2e94826c6c7e7ae98236
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Feb  9 14:39:10 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Feb  9 14:39:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74b3949

sys-apps/hwinfo: Call default_src_prepare()

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 sys-apps/hwinfo/hwinfo-21.23.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-apps/hwinfo/hwinfo-21.23.ebuild 
b/sys-apps/hwinfo/hwinfo-21.23.ebuild
index f656fe0..3805ed7 100644
--- a/sys-apps/hwinfo/hwinfo-21.23.ebuild
+++ b/sys-apps/hwinfo/hwinfo-21.23.ebuild
@@ -39,6 +39,7 @@ src_prepare() {
-e 's:-pipe -g::' \
-e 's:LDFLAGS.*=:LDFLAGS +=:' \
Makefile{,.common} || die
+   default
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/

2016-02-09 Thread Justin Lecher
commit: afe0bf46ddf20c0b3c1bce8ff8ffc5a90fa5070b
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Feb  9 14:31:10 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Feb  9 14:31:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afe0bf46

sys-apps/hwinfo: Version Bump

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=565300

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 sys-apps/hwinfo/Manifest|  1 +
 sys-apps/hwinfo/hwinfo-21.23.ebuild | 56 +
 2 files changed, 57 insertions(+)

diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 693c239..778c9c4 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,3 +1,4 @@
 DIST hwinfo-19.1-1.2.src.rpm 740650 SHA256 
77b67512f7a7a027200233b6c89be2b777f96b2a6d742b695cb062f9cf4ec258 SHA512 
1e617cac0e2d1872f26ad15b0a4b34474d5e0cc4a9fa715de04b54b829d73b0f54fea99765bf795d759e01e3a84c868149e4e035bef59dcfcc628faa365fee31
 WHIRLPOOL 
e676962b3a1939a575e74372da441b22c15d32745654ba0f8e2420f0687f3e48c355388a2922ddfb07e44396fc5e0100b655ada97eaaaeb9ea53f4d72db99f95
 DIST hwinfo-20.0-1.4.src.rpm 741036 SHA256 
466423b00fda00bc5e927352fb8d2f52b4d4e4b298401cd44c48231951c2a26b SHA512 
e44dcc0c826630d75b2604f99f6b0ae6c203a52266c2c7e220989424d7a4c99dc34f6157d6e4d385404c0eade3f943f77ddbf007d83b76f132eada6b4bf68cb3
 WHIRLPOOL 
5a8e56bbf6ab8aa585ff9774d2870f8fb917a3803614795d542bb76862dde72bdc54205b35f0b0a78ff004cd740e10a23916d412c553b95382b2bec9161c54d9
+DIST hwinfo-21.23-1.2.src.rpm 844672 SHA256 
361ca284d1912f3d1aecdf22737db1c949addb1e48d0f3f3fc3376e95fb7b8ac SHA512 
d25c955fa5620268a34a857916e0bdbbdb92f8e092735ac453e7bacc6476e00047c9ccef3a5275e5d50cc354bf9e3cffef57af519dc885d0afd3d161ab426629
 WHIRLPOOL 
f0c5c2ba91f6fb549a3bf3da8c2f19fef783e8b898523bafe46e9383b77d256c13466ef14fb620b283d4a95360c231378d1f2334f50dcd3d070e4040bcec4370
 DIST hwinfo-21.4-1.1.src.rpm 781525 SHA256 
8109cf0cc8706b0361be6a9f18ee79fc6a16451c5a7982aed22ae811748d1728 SHA512 
bccac7749751924e1e1a8005e6fd783da7114926b6d9b9a1247b3b26dd680848eb2b85b368c312d08b444c8d7b75036d249daf33afc5b7efbbcc09bfbad4b340
 WHIRLPOOL 
e1ce3140a4729006dd7c6e0c7dd7db41596819bcc7a51b774a463dd100e05c9bc5dc0d031b88047bd1d7d93015ab25cc3f769983f8ff14427f96890614b7324a

diff --git a/sys-apps/hwinfo/hwinfo-21.23.ebuild 
b/sys-apps/hwinfo/hwinfo-21.23.ebuild
new file mode 100644
index 000..f656fe0
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-21.23.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit multilib rpm toolchain-funcs
+
+DESCRIPTION="Hardware detection tool used in SuSE Linux"
+HOMEPAGE="http://www.opensuse.org/";
+SRC_URI="http://download.opensuse.org/source/factory/repo/oss/suse/src/${P}-1.2.src.rpm";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+   amd64? ( dev-libs/libx86emu )
+   x86? ( dev-libs/libx86emu )"
+DEPEND="${RDEPEND}
+   sys-devel/flex
+   >=sys-kernel/linux-headers-2.6.17"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+   # Respect AR variable.
+   sed -i \
+   -e 's:ar r:$(AR) r:' \
+   src/{,isdn,ids,smp,hd}/Makefile || die
+
+   # Respect LDFLAGS.
+   sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' 
src/ids/Makefile || die
+
+   # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
+   sed -i \
+   -e 's:make:$(MAKE):' \
+   -e 's:-pipe -g::' \
+   -e 's:LDFLAGS.*=:LDFLAGS +=:' \
+   Makefile{,.common} || die
+}
+
+src_compile() {
+   tc-export AR
+   emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}"
+}
+
+src_install() {
+   emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+
+   dodoc changelog README
+   doman doc/*.{1,8}
+   insinto /usr/share/doc/${PF}/examples
+   doins doc/example*.c
+}