pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils
Module Name: pkgsrc
Committed By: bsiegert
Date: Thu Dec 26 18:33:23 UTC 2024
Modified Files:
pkgsrc/sysutils: Makefile
Added Files:
pkgsrc/sysutils/hwdata: DESCR Makefile PLIST buildlink3.mk distinfo
pkgsrc/sysutils/hwdata/patches: patch-Makefile
Log Message:
New package, hwdata-0.390.
hwdata contains various hardware identification and configuration data,
such as the pci.ids and usb.ids database.
To generate a diff of this commit:
cvs rdiff -u -r1.1138 -r1.1139 pkgsrc/sysutils/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/hwdata/DESCR \
pkgsrc/sysutils/hwdata/Makefile pkgsrc/sysutils/hwdata/PLIST \
pkgsrc/sysutils/hwdata/buildlink3.mk pkgsrc/sysutils/hwdata/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/hwdata/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/Makefile
diff -u pkgsrc/sysutils/Makefile:1.1138 pkgsrc/sysutils/Makefile:1.1139
--- pkgsrc/sysutils/Makefile:1.1138 Wed Dec 25 21:12:38 2024
+++ pkgsrc/sysutils/Makefile Thu Dec 26 18:33:22 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1138 2024/12/25 21:12:38 pin Exp $
+# $NetBSD: Makefile,v 1.1139 2024/12/26 18:33:22 bsiegert Exp $
#
COMMENT= System utilities
@@ -369,6 +369,7 @@ SUBDIR+= hs-temporary
SUBDIR+= hs-typed-process
SUBDIR+= htop
SUBDIR+= hw-probe
+SUBDIR+= hwdata
SUBDIR+= hytctl
SUBDIR+= i2ocfg
SUBDIR+= i3status
Added files:
Index: pkgsrc/sysutils/hwdata/DESCR
diff -u /dev/null pkgsrc/sysutils/hwdata/DESCR:1.1
--- /dev/null Thu Dec 26 18:33:23 2024
+++ pkgsrc/sysutils/hwdata/DESCR Thu Dec 26 18:33:22 2024
@@ -0,0 +1,2 @@
+hwdata contains various hardware identification and configuration data,
+such as the pci.ids and usb.ids database.
Index: pkgsrc/sysutils/hwdata/Makefile
diff -u /dev/null pkgsrc/sysutils/hwdata/Makefile:1.1
--- /dev/null Thu Dec 26 18:33:23 2024
+++ pkgsrc/sysutils/hwdata/Makefile Thu Dec 26 18:33:23 2024
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2024/12/26 18:33:23 bsiegert Exp $
+
+DISTNAME= hwdata-0.390
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=vcrhonek/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= bsiegert%NetBSD.org@localhost
+HOMEPAGE= https://github.com/vcrhonek/hwdata/
+COMMENT= Hardware identification and config data
+LICENSE= gnu-gpl-v2 OR x11
+
+HAS_CONFIGURE= yes
+USE_TOOLS+= gmake
+USE_LANGUAGES= # none
+
+CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
+CONFIGURE_ARGS+= --datarootdir=${PREFIX:Q}/share
+CONFIGURE_ARGS+= --disable-blacklist
+
+PKGCONFIG_OVERRIDE+= hwdata.pc.in
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/hwdata/PLIST
diff -u /dev/null pkgsrc/sysutils/hwdata/PLIST:1.1
--- /dev/null Thu Dec 26 18:33:23 2024
+++ pkgsrc/sysutils/hwdata/PLIST Thu Dec 26 18:33:23 2024
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2024/12/26 18:33:23 bsiegert Exp $
+share/hwdata/iab.txt
+share/hwdata/oui.txt
+share/hwdata/pci.ids
+share/hwdata/pnp.ids
+share/hwdata/usb.ids
+share/pkgconfig/hwdata.pc
Index: pkgsrc/sysutils/hwdata/buildlink3.mk
diff -u /dev/null pkgsrc/sysutils/hwdata/buildlink3.mk:1.1
--- /dev/null Thu Dec 26 18:33:23 2024
+++ pkgsrc/sysutils/hwdata/buildlink3.mk Thu Dec 26 18:33:23 2024
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2024/12/26 18:33:23 bsiegert Exp $
+
+BUILDLINK_TREE+= hwdata
+
+.if !defined(HWDATA_BUILDLINK3_MK)
+HWDATA_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.hwdata?= build
+
+BUILDLINK_API_DEPENDS.hwdata+= hwdata>=0.390
+BUILDLINK_PKGSRCDIR.hwdata?= ../../sysutils/hwdata
+.endif # HWDATA_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hwdata
Index: pkgsrc/sysutils/hwdata/distinfo
diff -u /dev/null pkgsrc/sysutils/hwdata/distinfo:1.1
--- /dev/null Thu Dec 26 18:33:23 2024
+++ pkgsrc/sysutils/hwdata/distinfo Thu Dec 26 18:33:23 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/12/26 18:33:23 bsiegert Exp $
+
+BLAKE2s (hwdata-0.390.tar.gz) = b19ecb6815a195190e63f1bc78562afeddb085cda06c2e6285169f7a8785cc7a
+SHA512 (hwdata-0.390.tar.gz) = c9cbe0e41001a0d61b164d6544e57d66be7b4230434d2c395d182f41f96e6c3831e443c933f5a29bd0a2fefabbfc232a9efa772d04b89972da5d4d2eb7882443
+Size (hwdata-0.390.tar.gz) = 2473831 bytes
+SHA1 (patch-Makefile) = e778e08ad9fc467219f594d8b9c3a678362f6afe
Index: pkgsrc/sysutils/hwdata/patches/patch-Makefile
diff -u /dev/null pkgsrc/sysutils/hwdata/patches/patch-Makefile:1.1
--- /dev/null Thu Dec 26 18:33:23 2024
+++ pkgsrc/sysutils/hwdata/patches/patch-Makefile Thu Dec 26 18:33:23 2024
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile,v 1.1 2024/12/26 18:33:23 bsiegert Exp $
+
+Avoid syntax error in Makefile.
+
+--- Makefile.orig 2024-12-03 10:47:33.000000000 +0000
++++ Makefile
+@@ -45,9 +45,7 @@ hwdata.pc: hwdata.pc.in
+
+ install: Makefile.inc hwdata.pc
+ mkdir -p -m 755 $(DESTDIR)$(datadir)/$(NAME)
+- for foo in $(IDFILES) ; do \
+- install -m 644 $$foo $(DESTDIR)$(datadir)/$(NAME) ;\
+- done
++ install -m 644 $(IDFILES) $(DESTDIR)$(datadir)/$(NAME)
+ @if [ "$(blacklist)" = true ]; then \
+ mkdir -p -m 755 $(DESTDIR)$(libdir)/modprobe.d ;\
+ install -m 644 -T blacklist.conf $(DESTDIR)$(libdir)/modprobe.d/dist-blacklist.conf ;\
Home |
Main Index |
Thread Index |
Old Index