[arch-commits] Commit in hwinfo/repos/community-x86_64 (4 files)

Alexander Rødseth arodseth at archlinux.org
Mon Jul 5 14:33:53 UTC 2021


    Date: Monday, July 5, 2021 @ 14:33:53
  Author: arodseth
Revision: 972361

archrelease: copy trunk to community-x86_64

Added:
  hwinfo/repos/community-x86_64/PKGBUILD
    (from rev 972360, hwinfo/trunk/PKGBUILD)
  hwinfo/repos/community-x86_64/custom_ioctl.patch
    (from rev 972360, hwinfo/trunk/custom_ioctl.patch)
Deleted:
  hwinfo/repos/community-x86_64/PKGBUILD
  hwinfo/repos/community-x86_64/custom_ioctl.patch

--------------------+
 PKGBUILD           |   83 +++++++++++++++++++++++++--------------------------
 custom_ioctl.patch |   32 +++++++++----------
 2 files changed, 58 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-05 14:33:47 UTC (rev 972360)
+++ PKGBUILD	2021-07-05 14:33:53 UTC (rev 972361)
@@ -1,41 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Kaiting Chen <kaitocracy at gmail.com>
-# Contributor: Gergely Imreh <imrehg at gmail.com>
-# Contributor: champus
-# Contributor: madeye
-# Contributor: ranguvar
-# Contributor: ninja_pt
-pkgname=hwinfo
-pkgver=21.74
-pkgrel=1
-pkgdesc='Hardware detection tool from openSUSE'
-arch=(x86_64)
-url='https://github.com/openSUSE/hwinfo'
-license=(GPL2)
-depends=(libx86emu perl-xml-parser perl-xml-writer)
-makedepends=(flex git sysfsutils)
-options=(!emptydirs)
-source=("git+$url#commit=f4de941605355b4be1d38dc2ee0206841474a47c" # tag: 21.74
-        custom_ioctl.patch)
-b2sums=('SKIP'
-        'f54d3b7332a887d60ea259c4d00b258c9ea5a00de3a7103f750e5794e4d52f2dff9047ef2b0685cc5a76cbe2b6acaf7e08e559083332cd033193681da24e5ec3')
-
-prepare() {
-  cd $pkgname
-  patch -p0 -i ../custom_ioctl.patch
-  echo touch changelog > git2log
-}
-
-build() {
-  make -C $pkgname -j1 \
-    CFLAGS+="-fPIC -I$srcdir/$pkgname/src/hd -w" \
-    HWINFO_VERSION="$pkgver" \
-    LIBDIR=/usr/lib
-}
-
-package() {
-  make -C $pkgname DESTDIR="$pkgdir" LIBDIR=/usr/lib install
-  mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
-}
-
-# getver: github.com/openSUSE/hwinfo/releases

Copied: hwinfo/repos/community-x86_64/PKGBUILD (from rev 972360, hwinfo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-05 14:33:53 UTC (rev 972361)
@@ -0,0 +1,42 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Gergely Imreh <imrehg at gmail.com>
+# Contributor: champus
+# Contributor: madeye
+# Contributor: ranguvar
+# Contributor: ninja_pt
+
+pkgname=hwinfo
+pkgver=21.75
+pkgrel=1
+pkgdesc='Hardware detection tool from openSUSE'
+arch=(x86_64)
+url='https://github.com/openSUSE/hwinfo'
+license=(GPL2)
+depends=(libx86emu perl-xml-parser perl-xml-writer)
+makedepends=(flex git sysfsutils)
+options=(!emptydirs)
+source=("git+$url#commit=10cafe2ba9bcacd0d8f31cf9b40195947ed63499" # tag: 21.75
+        custom_ioctl.patch)
+b2sums=('SKIP'
+        'f54d3b7332a887d60ea259c4d00b258c9ea5a00de3a7103f750e5794e4d52f2dff9047ef2b0685cc5a76cbe2b6acaf7e08e559083332cd033193681da24e5ec3')
+
+prepare() {
+  cd $pkgname
+  patch -p0 -i ../custom_ioctl.patch
+  echo touch changelog > git2log
+}
+
+build() {
+  make -C $pkgname -j1 \
+    CFLAGS+="-fPIC -I$srcdir/$pkgname/src/hd -w" \
+    HWINFO_VERSION="$pkgver" \
+    LIBDIR=/usr/lib
+}
+
+package() {
+  make -C $pkgname DESTDIR="$pkgdir" LIBDIR=/usr/lib install
+  mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
+}
+
+# getver: github.com/openSUSE/hwinfo/releases

Deleted: custom_ioctl.patch
===================================================================
--- custom_ioctl.patch	2021-07-05 14:33:47 UTC (rev 972360)
+++ custom_ioctl.patch	2021-07-05 14:33:53 UTC (rev 972361)
@@ -1,16 +0,0 @@
---- src/hd/kbd.c.old	2010-03-15 23:37:52.000000000 +0800
-+++ src/hd/kbd.c	2010-03-22 10:50:58.000000000 +0800
-@@ -146,11 +146,13 @@
-   }
- 
-   if(!dev && (fd = open(DEV_CONSOLE, O_RDWR | O_NONBLOCK | O_NOCTTY)) >= 0) {
-+    /* Removing since TIOCGDEV is not supported by the mainline kernel
-     if(ioctl(fd, TIOCGDEV, &u) != -1) {
-       tty_major = (u >> 8) & 0xfff;
-       tty_minor = (u & 0xff) | ((u >> 12) & 0xfff00);
-       ADD2LOG(DEV_CONSOLE ": major %u, minor %u\n", tty_major, tty_minor);
-     }
-+    */
- 
-     if (0)
- 	    ;

Copied: hwinfo/repos/community-x86_64/custom_ioctl.patch (from rev 972360, hwinfo/trunk/custom_ioctl.patch)
===================================================================
--- custom_ioctl.patch	                        (rev 0)
+++ custom_ioctl.patch	2021-07-05 14:33:53 UTC (rev 972361)
@@ -0,0 +1,16 @@
+--- src/hd/kbd.c.old	2010-03-15 23:37:52.000000000 +0800
++++ src/hd/kbd.c	2010-03-22 10:50:58.000000000 +0800
+@@ -146,11 +146,13 @@
+   }
+ 
+   if(!dev && (fd = open(DEV_CONSOLE, O_RDWR | O_NONBLOCK | O_NOCTTY)) >= 0) {
++    /* Removing since TIOCGDEV is not supported by the mainline kernel
+     if(ioctl(fd, TIOCGDEV, &u) != -1) {
+       tty_major = (u >> 8) & 0xfff;
+       tty_minor = (u & 0xff) | ((u >> 12) & 0xfff00);
+       ADD2LOG(DEV_CONSOLE ": major %u, minor %u\n", tty_major, tty_minor);
+     }
++    */
+ 
+     if (0)
+ 	    ;




More information about the arch-commits mailing list