pkgsrc-WIP-changes archive

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

Import go-procfs-0.3.0 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Mon Jan 18 23:19:48 2021 +0100
Changeset:	f1540b765f617e0fd9a15c32ae047e439d52c60e

Modified Files:
	Makefile
Added Files:
	go-procfs/DESCR
	go-procfs/Makefile
	go-procfs/PLIST
	go-procfs/buildlink3.mk
	go-procfs/distinfo

Log Message:
Import go-procfs-0.3.0 to wip

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

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

diffstat:
 Makefile                |   1 +
 go-procfs/DESCR         |   3 +
 go-procfs/Makefile      |  20 ++++++
 go-procfs/PLIST         | 163 ++++++++++++++++++++++++++++++++++++++++++++++++
 go-procfs/buildlink3.mk |  18 ++++++
 go-procfs/distinfo      |   6 ++
 6 files changed, 211 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 3b1b6a900f..d79c94e570 100644
--- a/Makefile
+++ b/Makefile
@@ -1255,6 +1255,7 @@ SUBDIR+=	go-pkcs7
 SUBDIR+=	go-pointer
 SUBDIR+=	go-pool
 SUBDIR+=	go-prealloc
+SUBDIR+=	go-procfs
 SUBDIR+=	go-properties-map
 SUBDIR+=	go-protobuf-go
 SUBDIR+=	go-python
diff --git a/go-procfs/DESCR b/go-procfs/DESCR
new file mode 100644
index 0000000000..535d436002
--- /dev/null
+++ b/go-procfs/DESCR
@@ -0,0 +1,3 @@
+This package provides functions to retrieve
+system kernel, and process metrics from the
+pseudo-filesystems /proc and /sys.
diff --git a/go-procfs/Makefile b/go-procfs/Makefile
new file mode 100644
index 0000000000..86ea1ec2fa
--- /dev/null
+++ b/go-procfs/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	go-procfs-0.3.0
+GITHUB_PROJECT=	procfs
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=prometheus/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/prometheus/procfs/
+COMMENT=	Procfs provides functions to /proc and /sys
+LICENSE=	apache-2.0
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/prometheus/procfs
+
+.include "../../devel/go-sync/buildlink3.mk"
+.include "../../devel/go-sys/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-procfs/PLIST b/go-procfs/PLIST
new file mode 100644
index 0000000000..46ea65fedf
--- /dev/null
+++ b/go-procfs/PLIST
@@ -0,0 +1,163 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/prometheus/procfs.a
+gopkg/pkg/${GO_PLATFORM}/github.com/prometheus/procfs/bcache.a
+gopkg/pkg/${GO_PLATFORM}/github.com/prometheus/procfs/blockdevice.a
+gopkg/pkg/${GO_PLATFORM}/github.com/prometheus/procfs/btrfs.a
+gopkg/pkg/${GO_PLATFORM}/github.com/prometheus/procfs/internal/fs.a
+gopkg/pkg/${GO_PLATFORM}/github.com/prometheus/procfs/internal/util.a
+gopkg/pkg/${GO_PLATFORM}/github.com/prometheus/procfs/iscsi.a
+gopkg/pkg/${GO_PLATFORM}/github.com/prometheus/procfs/nfs.a
+gopkg/pkg/${GO_PLATFORM}/github.com/prometheus/procfs/sysfs.a
+gopkg/pkg/${GO_PLATFORM}/github.com/prometheus/procfs/xfs.a
+gopkg/src/github.com/prometheus/procfs/CODE_OF_CONDUCT.md
+gopkg/src/github.com/prometheus/procfs/CONTRIBUTING.md
+gopkg/src/github.com/prometheus/procfs/LICENSE
+gopkg/src/github.com/prometheus/procfs/MAINTAINERS.md
+gopkg/src/github.com/prometheus/procfs/Makefile
+gopkg/src/github.com/prometheus/procfs/Makefile.common
+gopkg/src/github.com/prometheus/procfs/NOTICE
+gopkg/src/github.com/prometheus/procfs/README.md
+gopkg/src/github.com/prometheus/procfs/arp.go
+gopkg/src/github.com/prometheus/procfs/arp_test.go
+gopkg/src/github.com/prometheus/procfs/bcache/bcache.go
+gopkg/src/github.com/prometheus/procfs/bcache/get.go
+gopkg/src/github.com/prometheus/procfs/bcache/get_test.go
+gopkg/src/github.com/prometheus/procfs/blockdevice/stats.go
+gopkg/src/github.com/prometheus/procfs/blockdevice/stats_test.go
+gopkg/src/github.com/prometheus/procfs/btrfs/btrfs.go
+gopkg/src/github.com/prometheus/procfs/btrfs/get.go
+gopkg/src/github.com/prometheus/procfs/btrfs/get_test.go
+gopkg/src/github.com/prometheus/procfs/buddyinfo.go
+gopkg/src/github.com/prometheus/procfs/buddyinfo_test.go
+gopkg/src/github.com/prometheus/procfs/cpuinfo.go
+gopkg/src/github.com/prometheus/procfs/cpuinfo_armx.go
+gopkg/src/github.com/prometheus/procfs/cpuinfo_mipsx.go
+gopkg/src/github.com/prometheus/procfs/cpuinfo_others.go
+gopkg/src/github.com/prometheus/procfs/cpuinfo_ppcx.go
+gopkg/src/github.com/prometheus/procfs/cpuinfo_riscvx.go
+gopkg/src/github.com/prometheus/procfs/cpuinfo_s390x.go
+gopkg/src/github.com/prometheus/procfs/cpuinfo_test.go
+gopkg/src/github.com/prometheus/procfs/cpuinfo_x86.go
+gopkg/src/github.com/prometheus/procfs/crypto.go
+gopkg/src/github.com/prometheus/procfs/crypto_test.go
+gopkg/src/github.com/prometheus/procfs/doc.go
+gopkg/src/github.com/prometheus/procfs/fixtures.ttar
+gopkg/src/github.com/prometheus/procfs/fs.go
+gopkg/src/github.com/prometheus/procfs/fs_test.go
+gopkg/src/github.com/prometheus/procfs/fscache.go
+gopkg/src/github.com/prometheus/procfs/fscache_test.go
+gopkg/src/github.com/prometheus/procfs/go.mod
+gopkg/src/github.com/prometheus/procfs/go.sum
+gopkg/src/github.com/prometheus/procfs/internal/fs/fs.go
+gopkg/src/github.com/prometheus/procfs/internal/fs/fs_test.go
+gopkg/src/github.com/prometheus/procfs/internal/util/parse.go
+gopkg/src/github.com/prometheus/procfs/internal/util/readfile.go
+gopkg/src/github.com/prometheus/procfs/internal/util/sysreadfile.go
+gopkg/src/github.com/prometheus/procfs/internal/util/sysreadfile_compat.go
+gopkg/src/github.com/prometheus/procfs/internal/util/valueparser.go
+gopkg/src/github.com/prometheus/procfs/internal/util/valueparser_test.go
+gopkg/src/github.com/prometheus/procfs/ipvs.go
+gopkg/src/github.com/prometheus/procfs/ipvs_test.go
+gopkg/src/github.com/prometheus/procfs/iscsi/get.go
+gopkg/src/github.com/prometheus/procfs/iscsi/get_test.go
+gopkg/src/github.com/prometheus/procfs/iscsi/iscsi.go
+gopkg/src/github.com/prometheus/procfs/kernel_random.go
+gopkg/src/github.com/prometheus/procfs/kernel_random_test.go
+gopkg/src/github.com/prometheus/procfs/loadavg.go
+gopkg/src/github.com/prometheus/procfs/loadavg_test.go
+gopkg/src/github.com/prometheus/procfs/mdstat.go
+gopkg/src/github.com/prometheus/procfs/mdstat_test.go
+gopkg/src/github.com/prometheus/procfs/meminfo.go
+gopkg/src/github.com/prometheus/procfs/meminfo_test.go
+gopkg/src/github.com/prometheus/procfs/mountinfo.go
+gopkg/src/github.com/prometheus/procfs/mountinfo_test.go
+gopkg/src/github.com/prometheus/procfs/mountstats.go
+gopkg/src/github.com/prometheus/procfs/mountstats_test.go
+gopkg/src/github.com/prometheus/procfs/net_conntrackstat.go
+gopkg/src/github.com/prometheus/procfs/net_conntrackstat_test.go
+gopkg/src/github.com/prometheus/procfs/net_dev.go
+gopkg/src/github.com/prometheus/procfs/net_dev_test.go
+gopkg/src/github.com/prometheus/procfs/net_protocols.go
+gopkg/src/github.com/prometheus/procfs/net_protocols_test.go
+gopkg/src/github.com/prometheus/procfs/net_sockstat.go
+gopkg/src/github.com/prometheus/procfs/net_sockstat_test.go
+gopkg/src/github.com/prometheus/procfs/net_softnet.go
+gopkg/src/github.com/prometheus/procfs/net_softnet_test.go
+gopkg/src/github.com/prometheus/procfs/net_udp.go
+gopkg/src/github.com/prometheus/procfs/net_udp_test.go
+gopkg/src/github.com/prometheus/procfs/net_unix.go
+gopkg/src/github.com/prometheus/procfs/net_unix_test.go
+gopkg/src/github.com/prometheus/procfs/nfs/nfs.go
+gopkg/src/github.com/prometheus/procfs/nfs/parse.go
+gopkg/src/github.com/prometheus/procfs/nfs/parse_nfs.go
+gopkg/src/github.com/prometheus/procfs/nfs/parse_nfs_test.go
+gopkg/src/github.com/prometheus/procfs/nfs/parse_nfsd.go
+gopkg/src/github.com/prometheus/procfs/nfs/parse_nfsd_test.go
+gopkg/src/github.com/prometheus/procfs/proc.go
+gopkg/src/github.com/prometheus/procfs/proc_cgroup.go
+gopkg/src/github.com/prometheus/procfs/proc_cgroup_test.go
+gopkg/src/github.com/prometheus/procfs/proc_environ.go
+gopkg/src/github.com/prometheus/procfs/proc_environ_test.go
+gopkg/src/github.com/prometheus/procfs/proc_fdinfo.go
+gopkg/src/github.com/prometheus/procfs/proc_fdinfo_test.go
+gopkg/src/github.com/prometheus/procfs/proc_io.go
+gopkg/src/github.com/prometheus/procfs/proc_io_test.go
+gopkg/src/github.com/prometheus/procfs/proc_limits.go
+gopkg/src/github.com/prometheus/procfs/proc_limits_test.go
+gopkg/src/github.com/prometheus/procfs/proc_maps.go
+gopkg/src/github.com/prometheus/procfs/proc_maps32_test.go
+gopkg/src/github.com/prometheus/procfs/proc_maps64_test.go
+gopkg/src/github.com/prometheus/procfs/proc_ns.go
+gopkg/src/github.com/prometheus/procfs/proc_ns_test.go
+gopkg/src/github.com/prometheus/procfs/proc_psi.go
+gopkg/src/github.com/prometheus/procfs/proc_psi_test.go
+gopkg/src/github.com/prometheus/procfs/proc_smaps.go
+gopkg/src/github.com/prometheus/procfs/proc_smaps_test.go
+gopkg/src/github.com/prometheus/procfs/proc_stat.go
+gopkg/src/github.com/prometheus/procfs/proc_stat_test.go
+gopkg/src/github.com/prometheus/procfs/proc_status.go
+gopkg/src/github.com/prometheus/procfs/proc_status_test.go
+gopkg/src/github.com/prometheus/procfs/proc_test.go
+gopkg/src/github.com/prometheus/procfs/schedstat.go
+gopkg/src/github.com/prometheus/procfs/schedstat_test.go
+gopkg/src/github.com/prometheus/procfs/scripts/check_license.sh
+gopkg/src/github.com/prometheus/procfs/stat.go
+gopkg/src/github.com/prometheus/procfs/stat_test.go
+gopkg/src/github.com/prometheus/procfs/swaps.go
+gopkg/src/github.com/prometheus/procfs/swaps_test.go
+gopkg/src/github.com/prometheus/procfs/sysfs/.gitignore
+gopkg/src/github.com/prometheus/procfs/sysfs/class_cooling_device.go
+gopkg/src/github.com/prometheus/procfs/sysfs/class_cooling_device_test.go
+gopkg/src/github.com/prometheus/procfs/sysfs/class_fibrechannel.go
+gopkg/src/github.com/prometheus/procfs/sysfs/class_fibrechannel_test.go
+gopkg/src/github.com/prometheus/procfs/sysfs/class_infiniband.go
+gopkg/src/github.com/prometheus/procfs/sysfs/class_infiniband_test.go
+gopkg/src/github.com/prometheus/procfs/sysfs/class_power_supply.go
+gopkg/src/github.com/prometheus/procfs/sysfs/class_power_supply_test.go
+gopkg/src/github.com/prometheus/procfs/sysfs/class_powercap.go
+gopkg/src/github.com/prometheus/procfs/sysfs/class_powercap_test.go
+gopkg/src/github.com/prometheus/procfs/sysfs/class_thermal.go
+gopkg/src/github.com/prometheus/procfs/sysfs/class_thermal_test.go
+gopkg/src/github.com/prometheus/procfs/sysfs/clocksource.go
+gopkg/src/github.com/prometheus/procfs/sysfs/clocksource_test.go
+gopkg/src/github.com/prometheus/procfs/sysfs/doc.go
+gopkg/src/github.com/prometheus/procfs/sysfs/fs.go
+gopkg/src/github.com/prometheus/procfs/sysfs/fs_test.go
+gopkg/src/github.com/prometheus/procfs/sysfs/net_class.go
+gopkg/src/github.com/prometheus/procfs/sysfs/net_class_test.go
+gopkg/src/github.com/prometheus/procfs/sysfs/system_cpu.go
+gopkg/src/github.com/prometheus/procfs/sysfs/system_cpu_test.go
+gopkg/src/github.com/prometheus/procfs/sysfs/vmstat_numa.go
+gopkg/src/github.com/prometheus/procfs/sysfs/vmstat_numa_test.go
+gopkg/src/github.com/prometheus/procfs/sysfs/vulnerability.go
+gopkg/src/github.com/prometheus/procfs/ttar
+gopkg/src/github.com/prometheus/procfs/vm.go
+gopkg/src/github.com/prometheus/procfs/vm_test.go
+gopkg/src/github.com/prometheus/procfs/xfrm.go
+gopkg/src/github.com/prometheus/procfs/xfrm_test.go
+gopkg/src/github.com/prometheus/procfs/xfs/parse.go
+gopkg/src/github.com/prometheus/procfs/xfs/parse_test.go
+gopkg/src/github.com/prometheus/procfs/xfs/xfs.go
+gopkg/src/github.com/prometheus/procfs/xfs/xfs_test.go
+gopkg/src/github.com/prometheus/procfs/zoneinfo.go
+gopkg/src/github.com/prometheus/procfs/zoneinfo_test.go
diff --git a/go-procfs/buildlink3.mk b/go-procfs/buildlink3.mk
new file mode 100644
index 0000000000..3213b5eeac
--- /dev/null
+++ b/go-procfs/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-procfs
+
+.if !defined(GO_PROCFS_BUILDLINK3_MK)
+GO_PROCFS_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-procfs=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-procfs?=		build
+
+BUILDLINK_API_DEPENDS.go-procfs+=	go-procfs>=0.3.0
+BUILDLINK_PKGSRCDIR.go-procfs?=		../../wip/go-procfs
+
+.include "../../devel/go-sync/buildlink3.mk"
+.include "../../devel/go-sys/buildlink3.mk"
+.endif	# GO_PROCFS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-procfs
diff --git a/go-procfs/distinfo b/go-procfs/distinfo
new file mode 100644
index 0000000000..69979e4f34
--- /dev/null
+++ b/go-procfs/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-procfs-0.3.0.tar.gz) = 57f3a87aae1fb78c9bfc13af6812eedb0d249d2d
+RMD160 (go-procfs-0.3.0.tar.gz) = efc4c42eabe9ee4124f36bd065a96742940a9c71
+SHA512 (go-procfs-0.3.0.tar.gz) = cb20d1983a3acc5643954d64e789589985ec818f11099f70a3d9ccb094112f8d181b7da9014f4e8718cc314ac4feb919451c098f4fb4fcdc759d06193a979f66
+Size (go-procfs-0.3.0.tar.gz) = 162214 bytes


Home | Main Index | Thread Index | Old Index