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

Alexander Rødseth arodseth at archlinux.org
Mon Feb 1 13:27:04 UTC 2021


    Date: Monday, February 1, 2021 @ 13:27:04
  Author: arodseth
Revision: 840236

archrelease: copy trunk to community-x86_64

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

--------------------+
 PKGBUILD           |   78 +++++++++++++++++++++++++--------------------------
 custom_ioctl.patch |   32 ++++++++++----------
 2 files changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-01 13:27:03 UTC (rev 840235)
+++ PKGBUILD	2021-02-01 13:27:04 UTC (rev 840236)
@@ -1,39 +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, madeye, ranguvar and ninja_pt
-
-pkgname=hwinfo
-pkgver=21.71
-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=("$pkgname-$pkgver.tgz::https://github.com/openSUSE/$pkgname/archive/$pkgver.tar.gz"
-        custom_ioctl.patch)
-sha512sums=('4257ee66c01ef77264d5bb99ecb35a719c1f1be0a43fb4d11923278bf7931efcce8652abcd7a13c0efe74caf3259bef3e7d2f8d882818537c87ec7647f353ad4'
-            '88134fb6a08b86841c6b560afc9b8bb009c45bda1674437ef1b36f3d67ea37056717567252a314812dc30f174f0ad2be8768fba23469df42afbf5ebdd4666a3c')
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -p0 -i ../custom_ioctl.patch
-  echo 'touch changelog' > git2log
-}
-
-build() {
-  make -C $pkgname-$pkgver -j1 \
-    CFLAGS+="-fPIC -I$srcdir/$pkgname-$pkgver/src/hd" \
-    HWINFO_VERSION="$pkgver" \
-    LIBDIR=/usr/lib
-}
-
-package() {
-  make -C $pkgname-$pkgver LIBDIR=/usr/lib DESTDIR="$pkgdir" install
-  mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
-}
-
-# getver: github.com/openSUSE/hwinfo/releases

Copied: hwinfo/repos/community-x86_64/PKGBUILD (from rev 840234, hwinfo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-01 13:27:04 UTC (rev 840236)
@@ -0,0 +1,39 @@
+# 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, madeye, ranguvar and ninja_pt
+
+pkgname=hwinfo
+pkgver=21.72
+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=("$pkgname-$pkgver.tgz::https://github.com/openSUSE/$pkgname/archive/$pkgver.tar.gz"
+        custom_ioctl.patch)
+sha512sums=('28c9c15765f9631c678aab995a355b08add17303db982bcd831383b33e72ffe7abfa7133d5a36cc29beef9a9bb6ded4675caac509417eeea16b313d3f69fc113'
+            '88134fb6a08b86841c6b560afc9b8bb009c45bda1674437ef1b36f3d67ea37056717567252a314812dc30f174f0ad2be8768fba23469df42afbf5ebdd4666a3c')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p0 -i ../custom_ioctl.patch
+  echo 'touch changelog' > git2log
+}
+
+build() {
+  make -C $pkgname-$pkgver -j1 \
+    CFLAGS+="-fPIC -I$srcdir/$pkgname-$pkgver/src/hd" \
+    HWINFO_VERSION="$pkgver" \
+    LIBDIR=/usr/lib
+}
+
+package() {
+  make -C $pkgname-$pkgver LIBDIR=/usr/lib DESTDIR="$pkgdir" install
+  mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
+}
+
+# getver: github.com/openSUSE/hwinfo/releases

Deleted: custom_ioctl.patch
===================================================================
--- custom_ioctl.patch	2021-02-01 13:27:03 UTC (rev 840235)
+++ custom_ioctl.patch	2021-02-01 13:27:04 UTC (rev 840236)
@@ -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 840234, hwinfo/trunk/custom_ioctl.patch)
===================================================================
--- custom_ioctl.patch	                        (rev 0)
+++ custom_ioctl.patch	2021-02-01 13:27:04 UTC (rev 840236)
@@ -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