pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

hw-probe: finish package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Wed Jan 13 09:07:03 2021 +0100
Changeset:	ba7c76517837553b4adefac08577c9d8bcddea3f

Modified Files:
	Makefile
	hw-probe/Makefile
	hw-probe/distinfo

Log Message:
hw-probe: finish package

Fix download, depends, installation.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ba7c76517837553b4adefac08577c9d8bcddea3f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile          | 82 +++++++++++++++++++++++++++++++------------------------
 hw-probe/Makefile | 38 ++++++++++++++++----------
 hw-probe/distinfo |  7 +++--
 3 files changed, 73 insertions(+), 54 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 904e201d90..25b0534639 100644
--- a/Makefile
+++ b/Makefile
@@ -1087,6 +1087,7 @@ SUBDIR+=	gimp-dds
 SUBDIR+=	gin
 SUBDIR+=	git-docs-html
 SUBDIR+=	git-modes-git
+SUBDIR+=	git-multimail
 SUBDIR+=	git-spindle
 SUBDIR+=	gitg
 SUBDIR+=	gitlab
@@ -1168,11 +1169,12 @@ SUBDIR+=	gnuradio-vocoder
 SUBDIR+=	gnuradio-wavelet
 SUBDIR+=	gnuradio-zeromq
 SUBDIR+=	gnutls-guile
-SUBDIR+=	go-ansicolor
-SUBDIR+=	go-aurora
 SUBDIR+=	go-amqp
 SUBDIR+=	go-ansi
+SUBDIR+=	go-ansicolor
+SUBDIR+=	go-ants
 SUBDIR+=	go-audio
+SUBDIR+=	go-aurora
 SUBDIR+=	go-backoff
 SUBDIR+=	go-bindata
 SUBDIR+=	go-bit
@@ -1180,22 +1182,22 @@ SUBDIR+=	go-bpool
 SUBDIR+=	go-brotli
 SUBDIR+=	go-cache
 SUBDIR+=	go-cascadia
-SUBDIR+=	go-copier
 SUBDIR+=	go-circbuf
 SUBDIR+=	go-clir
-SUBDIR+=	go-config
 SUBDIR+=	go-collectd
 SUBDIR+=	go-color
+SUBDIR+=	go-config
+SUBDIR+=	go-copier
+SUBDIR+=	go-current
 SUBDIR+=	go-cyclo
-SUBDIR+=	go-concurrent
-SUBDIR+=	go-douceur-aymerick
 SUBDIR+=	go-dotenv
+SUBDIR+=	go-douceur-aymerick
 SUBDIR+=	go-easyjson
+SUBDIR+=	go-err113
 SUBDIR+=	go-errlog
+SUBDIR+=	go-errorx
 SUBDIR+=	go-eventsource
 SUBDIR+=	go-ewma
-SUBDIR+=	go-err113
-SUBDIR+=	go-errorx
 SUBDIR+=	go-flac-eaburns
 SUBDIR+=	go-flags
 SUBDIR+=	go-freetype
@@ -1209,19 +1211,17 @@ SUBDIR+=	go-goreferrer
 SUBDIR+=	go-gorilla-css
 SUBDIR+=	go-gorilla-mux
 SUBDIR+=	go-gorilla-schema
-SUBDIR+=	go-gorilla-sessions
 SUBDIR+=	go-gorilla-securecookie
+SUBDIR+=	go-gorilla-sessions
 SUBDIR+=	go-gorilla-websocket
 SUBDIR+=	go-gtk2
 SUBDIR+=	go-httpsnoop
-SUBDIR+=	go-ole
-SUBDIR+=	go-opentracing
 SUBDIR+=	go-humanize
+SUBDIR+=	go-imgui
+SUBDIR+=	go-intern
 SUBDIR+=	go-jira
 SUBDIR+=	go-jsonparser
 SUBDIR+=	go-junit-report
-SUBDIR+=	go-imgui
-SUBDIR+=	go-intern
 SUBDIR+=	go-kong
 SUBDIR+=	go-kr-text
 SUBDIR+=	go-log
@@ -1232,14 +1232,16 @@ SUBDIR+=	go-memcache
 SUBDIR+=	go-mp3
 SUBDIR+=	go-mpb
 SUBDIR+=	go-notify
-SUBDIR+=	go-pkcs7
+SUBDIR+=	go-ole
+SUBDIR+=	go-opentracing
 SUBDIR+=	go-param
 SUBDIR+=	go-pass
-SUBDIR+=	go-pathtree
 SUBDIR+=	go-paths-helper
+SUBDIR+=	go-pathtree
 SUBDIR+=	go-pcidb
-SUBDIR+=	go-pio
 SUBDIR+=	go-pgzip
+SUBDIR+=	go-pio
+SUBDIR+=	go-pkcs7
 SUBDIR+=	go-pointer
 SUBDIR+=	go-pool
 SUBDIR+=	go-properties-map
@@ -1258,8 +1260,8 @@ SUBDIR+=	go-tiff
 SUBDIR+=	go-timego
 SUBDIR+=	go-transcoder
 SUBDIR+=	go-trie
-SUBDIR+=	go-upspin
 SUBDIR+=	go-uilive
+SUBDIR+=	go-upspin
 SUBDIR+=	go-uuid
 SUBDIR+=	go-uuid-myesui
 SUBDIR+=	goattracker
@@ -1459,6 +1461,7 @@ SUBDIR+=	hs-blaze-textual
 SUBDIR+=	hs-bytestring-trie
 SUBDIR+=	hs-cabal-query
 SUBDIR+=	hs-cairo
+SUBDIR+=	hs-carp
 SUBDIR+=	hs-categories
 SUBDIR+=	hs-cautious-file
 SUBDIR+=	hs-cereal
@@ -1636,9 +1639,9 @@ SUBDIR+=	hu-go
 SUBDIR+=	hungrycat
 SUBDIR+=	hunspell-dictionaries
 SUBDIR+=	hunspell-uk_UA
+SUBDIR+=	hw-probe
 SUBDIR+=	hypatia
 SUBDIR+=	hyperrogue
-SUBDIR+=	hw-probe
 SUBDIR+=	hztool
 SUBDIR+=	i2pd
 SUBDIR+=	i2pd-git
@@ -1719,6 +1722,7 @@ SUBDIR+=	ised
 SUBDIR+=	islamic-menus
 SUBDIR+=	ispell-dictionaries
 SUBDIR+=	itools
+SUBDIR+=	ivtools
 SUBDIR+=	ja-freewnn-cvs
 SUBDIR+=	ja-ptex
 SUBDIR+=	jabberd14
@@ -2401,6 +2405,7 @@ SUBDIR+=	netkit-tftp
 SUBDIR+=	netlogo
 SUBDIR+=	netquery-git
 SUBDIR+=	netrik
+SUBDIR+=	netwake
 SUBDIR+=	netwib
 SUBDIR+=	netwmpager
 SUBDIR+=	netwox
@@ -2454,6 +2459,7 @@ SUBDIR+=	nuppelvideo
 SUBDIR+=	nuspell
 SUBDIR+=	nuttcp
 SUBDIR+=	nuvie
+SUBDIR+=	nvi2-git
 SUBDIR+=	nvidia-freebsd
 SUBDIR+=	nx-client-bin
 SUBDIR+=	nyh-hoc
@@ -3333,8 +3339,8 @@ SUBDIR+=	py-codecov
 SUBDIR+=	py-codepy
 SUBDIR+=	py-cogent
 SUBDIR+=	py-collectd
-SUBDIR+=	py-coloredlogs
 SUBDIR+=	py-colorcet
+SUBDIR+=	py-coloredlogs
 SUBDIR+=	py-colorlog
 SUBDIR+=	py-colormath
 SUBDIR+=	py-colorpy
@@ -3388,15 +3394,15 @@ SUBDIR+=	py-da
 SUBDIR+=	py-dana
 SUBDIR+=	py-dantic
 SUBDIR+=	py-das
+SUBDIR+=	py-dash-bootstrap-components
 SUBDIR+=	py-dask
-SUBDIR+=	dash-bootstrap-components
-SUBDIR+=	py-datashader
-SUBDIR+=	py-datashape
 SUBDIR+=	py-data-google-auth
 SUBDIR+=	py-dataclasses
 SUBDIR+=	py-dataclasses-json
 SUBDIR+=	py-datamarix
 SUBDIR+=	py-datarray
+SUBDIR+=	py-datashader
+SUBDIR+=	py-datashape
 SUBDIR+=	py-datatree
 SUBDIR+=	py-dbglog
 SUBDIR+=	py-dbus-next
@@ -3447,8 +3453,8 @@ SUBDIR+=	py-django-crispy-forms
 SUBDIR+=	py-django-gitrevision
 SUBDIR+=	py-django-helmholtz
 SUBDIR+=	py-django-idmap
-SUBDIR+=	py-django-jsonfield
 SUBDIR+=	py-django-js-reverse
+SUBDIR+=	py-django-jsonfield
 SUBDIR+=	py-django-markwhat
 SUBDIR+=	py-django-mathjax
 SUBDIR+=	py-django-nose
@@ -3599,7 +3605,6 @@ SUBDIR+=	py-geom
 SUBDIR+=	py-geometry-utils
 SUBDIR+=	py-geopandas
 SUBDIR+=	py-geopy
-SUBDIR+=	py-gooey
 SUBDIR+=	py-geppy
 SUBDIR+=	py-gerrychain
 SUBDIR+=	py-gettext-tools
@@ -3617,6 +3622,7 @@ SUBDIR+=	py-gogo
 SUBDIR+=	py-golangenv
 SUBDIR+=	py-goless
 SUBDIR+=	py-gom
+SUBDIR+=	py-gooey
 SUBDIR+=	py-google-cloud-bigquery
 SUBDIR+=	py-google-cloud-core
 SUBDIR+=	py-google-crc32c
@@ -3654,8 +3660,8 @@ SUBDIR+=	py-gsl
 SUBDIR+=	py-gslodeiv2
 SUBDIR+=	py-gsw
 SUBDIR+=	py-gtk2-docs
-SUBDIR+=	py-gts
 SUBDIR+=	py-gtrie
+SUBDIR+=	py-gts
 SUBDIR+=	py-guppy3
 SUBDIR+=	py-gvar
 SUBDIR+=	py-gwcs
@@ -3687,10 +3693,10 @@ SUBDIR+=	py-hieroglyph
 SUBDIR+=	py-hiphive
 SUBDIR+=	py-hiredis
 SUBDIR+=	py-hmf
-SUBDIR+=	py-homeassistant
-SUBDIR+=	py-honcho
 SUBDIR+=	py-holoviews
 SUBDIR+=	py-holoviz
+SUBDIR+=	py-homeassistant
+SUBDIR+=	py-honcho
 SUBDIR+=	py-hopic
 SUBDIR+=	py-hostlist
 SUBDIR+=	py-html
@@ -3903,8 +3909,8 @@ SUBDIR+=	py-mozterm
 SUBDIR+=	py-mozversion
 SUBDIR+=	py-mpi4py
 SUBDIR+=	py-mpi4y-fft
-SUBDIR+=	py-mplh5canvas
 SUBDIR+=	py-mpld3
+SUBDIR+=	py-mplh5canvas
 SUBDIR+=	py-mpop
 SUBDIR+=	py-msdas
 SUBDIR+=	py-msedge-selenium-tools
@@ -4033,11 +4039,11 @@ SUBDIR+=	py-parserutils
 SUBDIR+=	py-parsimonious
 SUBDIR+=	py-parsy
 SUBDIR+=	py-parver
-SUBDIR+=	py-patool
 SUBDIR+=	py-patch
 SUBDIR+=	py-patch-ng
 SUBDIR+=	py-path-and-address
 SUBDIR+=	py-pathos
+SUBDIR+=	py-patool
 SUBDIR+=	py-pattyrn
 SUBDIR+=	py-pbfalcon
 SUBDIR+=	py-pcapy
@@ -4100,10 +4106,10 @@ SUBDIR+=	py-prody
 SUBDIR+=	py-progressbar
 SUBDIR+=	py-progressbar2
 SUBDIR+=	py-projectq
+SUBDIR+=	py-prometheus-client
 SUBDIR+=	py-promise
 SUBDIR+=	py-property-manager
 SUBDIR+=	py-propyte
-SUBDIR+=	py-prometheus-client
 SUBDIR+=	py-proto-plus
 SUBDIR+=	py-psamm
 SUBDIR+=	py-pseudopy
@@ -4248,8 +4254,8 @@ SUBDIR+=	py-repositoryhandler
 SUBDIR+=	py-repoze.tm2
 SUBDIR+=	py-repoze.who
 SUBDIR+=	py-reproducible
-SUBDIR+=	py-requests-cache
 SUBDIR+=	py-reproject
+SUBDIR+=	py-requests-cache
 SUBDIR+=	py-requirementslib
 SUBDIR+=	py-resonance
 SUBDIR+=	py-restkit
@@ -4399,9 +4405,11 @@ SUBDIR+=	py-sv-geometry
 SUBDIR+=	py-swh-core
 SUBDIR+=	py-swh-deposit
 SUBDIR+=	py-swh-graph
-SUBDIR+=	py-swh-journal
 SUBDIR+=	py-swh-icinga-plugins
+SUBDIR+=	py-swh-indexer
+SUBDIR+=	py-swh-journal
 SUBDIR+=	py-swh-lister
+SUBDIR+=	py-swh-loader-core
 SUBDIR+=	py-swh-loader-debian
 SUBDIR+=	py-swh-loader-dir
 SUBDIR+=	py-swh-loader-git
@@ -4416,6 +4424,7 @@ SUBDIR+=	py-swh-objstorage
 SUBDIR+=	py-swh-objstorage-replayer
 SUBDIR+=	py-swh-scanner
 SUBDIR+=	py-swh-scheduler
+SUBDIR+=	py-swh-search
 SUBDIR+=	py-swh-storage
 SUBDIR+=	py-swh-vault
 SUBDIR+=	py-swh-web
@@ -4454,8 +4463,8 @@ SUBDIR+=	py-telepathy
 SUBDIR+=	py-tenacity
 SUBDIR+=	py-teng
 SUBDIR+=	py-teradata
-SUBDIR+=	py-test-doctestplus
 SUBDIR+=	py-test-datadir
+SUBDIR+=	py-test-doctestplus
 SUBDIR+=	py-test-html
 SUBDIR+=	py-test-metadata
 SUBDIR+=	py-test-mpl
@@ -4464,8 +4473,8 @@ SUBDIR+=	py-test-nbval
 SUBDIR+=	py-test-ordering
 SUBDIR+=	py-test-remotedata
 SUBDIR+=	py-test-repeat
-SUBDIR+=	py-testing-common-database
 SUBDIR+=	py-testfixtures
+SUBDIR+=	py-testing-common-database
 SUBDIR+=	py-tex2pix
 SUBDIR+=	py-texext
 SUBDIR+=	py-texml
@@ -4501,8 +4510,8 @@ SUBDIR+=	py-transaction
 SUBDIR+=	py-translationstring
 SUBDIR+=	py-tribe
 SUBDIR+=	py-trie3
-SUBDIR+=	py-trio
 SUBDIR+=	py-trimesh
+SUBDIR+=	py-trio
 SUBDIR+=	py-trollius
 SUBDIR+=	py-trottersuzuki
 SUBDIR+=	py-trufflehog3
@@ -4519,7 +4528,7 @@ SUBDIR+=	py-txdbus
 SUBDIR+=	py-typedecorator
 SUBDIR+=	py-typedload
 SUBDIR+=	py-typing-inspect
-SUBDIR+=	u-msgpack
+SUBDIR+=	py-u-msgpack
 SUBDIR+=	py-u2flib-server
 SUBDIR+=	py-ua-parser
 SUBDIR+=	py-ubjson
@@ -5427,6 +5436,7 @@ SUBDIR+=	wanderer
 SUBDIR+=	wang-ttf
 SUBDIR+=	wargus
 SUBDIR+=	warsow
+SUBDIR+=	wasi-libc-git
 SUBDIR+=	watch
 SUBDIR+=	wbox
 SUBDIR+=	wcstools
diff --git a/hw-probe/Makefile b/hw-probe/Makefile
index 05d3f8892d..b2df56a77b 100644
--- a/hw-probe/Makefile
+++ b/hw-probe/Makefile
@@ -1,36 +1,44 @@
 # $NetBSD$
 
-DISTNAME=	hw-probe-${PORTVERSION}
-PORTVERSION=	1.6-beta
+DISTNAME=	hw-probe
+PKGNAME=	hw-probe-1.6beta
 CATEGORIES=	sysutils perl5
-GITHUB_PROJECT=	linuxhw
-MASTER_SITES=	${MASTER_SITE_GITHUB:=hw-probe/}
+MASTER_SITES=	http://bsd-hardware.info/
+EXTRACT_SUFX=	# empty
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://bsd-hardware.info
+HOMEPAGE=	https://bsd-hardware.info/
 COMMENT=	Check operability of computer hardware and find drivers
+LICENSE=	gnu-lgpl-v2.1 OR original-bsd
 
-LICENSE=	gnu-lgpl-v2.1 OR 4-clause-bsd
+DEPENDS+=	curl-[0-9]*:../../www/curl
+DEPENDS+=	usbutil-[0-9]*:../../sysutils/usbutil
+DEPENDS+=	mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts
+DEPENDS+=	smartmontools-[0-9]*:../../sysutils/smartmontools
 
-DEPENDS=	curl:../../www/curl \
-		usbutil:../../sysutils/usbutil \
-		mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts \
-		smartmontools:../../sysutils/smartmontools
+DIST_SUBDIR=	${PKGNAME_NOREV}
+
+WRKSRC=		${WRKDIR}
+
+REPLACE_PERL+=	hw-probe
+
+USE_TOOLS+=	perl:run
+
+INSTALLATION_DIRS+=	bin
 
 NO_BUILD=	yes
 
-.include "<../../mk/bsd.prefs.mk>"
+.include "../../mk/bsd.prefs.mk"
 
 .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "aarch64")
-DEPENDS+=	dmidecode:../../sysutils/dmidecode
+DEPENDS+=	dmidecode-[0-9]*:../../sysutils/dmidecode
 .endif
 
 .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64")
-DEPENDS+=	cpuid:../../sysutils/cpuid
+DEPENDS+=	cpuid-[0-9]*:../../sysutils/cpuid
 .endif
 
 do-install:
-	${MKDIR} ${DESTDIR}${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/hw-probe.pl ${DESTDIR}${PREFIX}/bin/hw-probe
+	${INSTALL_SCRIPT} ${WRKSRC}/hw-probe ${DESTDIR}${PREFIX}/bin/hw-probe
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/hw-probe/distinfo b/hw-probe/distinfo
index d9b3821ed5..a607c609b3 100644
--- a/hw-probe/distinfo
+++ b/hw-probe/distinfo
@@ -1,5 +1,6 @@
 $NetBSD$
 
-TIMESTAMP = 1590737484
-SHA256 (hw-probe-1.6-beta.tar.gz) = 1e23464e57717b469e06c9a51f3a86fc76bd09388cdc82c4cb8b0d4cd1d5cae7
-SIZE (hw-probe-1.6-beta.tar.gz) = 143569
\ No newline at end of file
+SHA1 (hw-probe-1.6beta/hw-probe) = f7a387dc01e0e920895ba0bf6f0779554b011e81
+RMD160 (hw-probe-1.6beta/hw-probe) = 32d861cd2ca8f4c05d653362cb7fda2bef09c799
+SHA512 (hw-probe-1.6beta/hw-probe) = b41f78b96d68358efa6ac829bdc77cf09f0adaf3c39946795d89057caadea381fd1c5cb4742e41ad6292de39378705beae9e77a32d97d2ab1b20473ed6fedca3
+Size (hw-probe-1.6beta/hw-probe) = 515074 bytes


Home | Main Index | Thread Index | Old Index