[arch-commits] Commit in hwinfo/repos/community-x86_64 (4 files)
Alexander Rødseth
arodseth at gemini.archlinux.org
Tue Nov 30 17:39:21 UTC 2021
Date: Tuesday, November 30, 2021 @ 17:39:21
Author: arodseth
Revision: 1057867
archrelease: copy trunk to community-x86_64
Added:
hwinfo/repos/community-x86_64/PKGBUILD
(from rev 1057866, hwinfo/trunk/PKGBUILD)
hwinfo/repos/community-x86_64/custom_ioctl.patch
(from rev 1057866, hwinfo/trunk/custom_ioctl.patch)
Deleted:
hwinfo/repos/community-x86_64/PKGBUILD
hwinfo/repos/community-x86_64/custom_ioctl.patch
--------------------+
PKGBUILD | 82 +++++++++++++++++++++++++--------------------------
custom_ioctl.patch | 32 +++++++++----------
2 files changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-30 17:39:13 UTC (rev 1057866)
+++ PKGBUILD 2021-11-30 17:39:21 UTC (rev 1057867)
@@ -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.78
-pkgrel=1
-pkgdesc='Hardware detection tool from openSUSE'
-arch=(x86_64)
-url='https://github.com/openSUSE/hwinfo'
-license=(GPL2)
-depends=('libx86emu=3.4' perl-xml-parser perl-xml-writer)
-makedepends=(flex git sysfsutils)
-options=(!emptydirs)
-source=(custom_ioctl.patch
- "git+$url#commit=ea5711f8b7952f3d279445e5cf1c8aa54b99be33") # tag: 21.78
-b2sums=('f54d3b7332a887d60ea259c4d00b258c9ea5a00de3a7103f750e5794e4d52f2dff9047ef2b0685cc5a76cbe2b6acaf7e08e559083332cd033193681da24e5ec3'
- 'SKIP')
-
-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"
- rmdir "$pkgdir/sbin"
-}
Copied: hwinfo/repos/community-x86_64/PKGBUILD (from rev 1057866, hwinfo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-30 17:39:21 UTC (rev 1057867)
@@ -0,0 +1,41 @@
+# 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.78
+pkgrel=2
+pkgdesc='Hardware detection tool from openSUSE'
+arch=(x86_64)
+url='https://github.com/openSUSE/hwinfo'
+license=(GPL2)
+depends=('libx86emu=3.5' perl-xml-parser perl-xml-writer)
+makedepends=(flex git sysfsutils)
+options=(!emptydirs)
+source=(custom_ioctl.patch
+ "git+$url#commit=ea5711f8b7952f3d279445e5cf1c8aa54b99be33") # tag: 21.78
+b2sums=('f54d3b7332a887d60ea259c4d00b258c9ea5a00de3a7103f750e5794e4d52f2dff9047ef2b0685cc5a76cbe2b6acaf7e08e559083332cd033193681da24e5ec3'
+ 'SKIP')
+
+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"
+ rmdir "$pkgdir/sbin"
+}
Deleted: custom_ioctl.patch
===================================================================
--- custom_ioctl.patch 2021-11-30 17:39:13 UTC (rev 1057866)
+++ custom_ioctl.patch 2021-11-30 17:39:21 UTC (rev 1057867)
@@ -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 1057866, hwinfo/trunk/custom_ioctl.patch)
===================================================================
--- custom_ioctl.patch (rev 0)
+++ custom_ioctl.patch 2021-11-30 17:39:21 UTC (rev 1057867)
@@ -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