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: prlw1
Date: Sat Dec 18 15:07:02 UTC 2021
Modified Files:
pkgsrc/sysutils: Makefile
Added Files:
pkgsrc/sysutils/p5-Sys-MemInfo: DESCR Makefile distinfo
pkgsrc/sysutils/p5-Sys-MemInfo/patches: patch-arch_bsd.xs
Log Message:
Add p5-Sys-MemInfo version 0.99
This module return the total amount of free and used physical memory
in bytes in totalmem and freemem variables.
This module has been tested on Linux 3.13.0, UnixWare 7.1.2, AIX5,
OpenBSD 3.8, NetBSD 2.0.2, FreBSD 5.4, HPUX11, Solaris 9, Tru64
5.1, Irix 6.5, MacOS X 10.2 and Windows XP.
It should work on FreeBSD 4 and Windows 9X/ME/NT/200X/Vista.
To generate a diff of this commit:
cvs rdiff -u -r1.976 -r1.977 pkgsrc/sysutils/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/p5-Sys-MemInfo/DESCR \
pkgsrc/sysutils/p5-Sys-MemInfo/Makefile \
pkgsrc/sysutils/p5-Sys-MemInfo/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/p5-Sys-MemInfo/patches/patch-arch_bsd.xs
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.976 pkgsrc/sysutils/Makefile:1.977
--- pkgsrc/sysutils/Makefile:1.976 Sun Dec 12 16:30:55 2021
+++ pkgsrc/sysutils/Makefile Sat Dec 18 15:07:01 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.976 2021/12/12 16:30:55 gutteridge Exp $
+# $NetBSD: Makefile,v 1.977 2021/12/18 15:07:01 prlw1 Exp $
#
COMMENT= System utilities
@@ -499,6 +499,7 @@ SUBDIR+= p5-Sys-CPU
SUBDIR+= p5-Sys-CpuLoad
SUBDIR+= p5-Sys-Filesystem
SUBDIR+= p5-Sys-Hostname-Long
+SUBDIR+= p5-Sys-MemInfo
SUBDIR+= p5-Sys-SigAction
SUBDIR+= p5-Sys-Utmp
SUBDIR+= p5-UPS-Nut
Added files:
Index: pkgsrc/sysutils/p5-Sys-MemInfo/DESCR
diff -u /dev/null pkgsrc/sysutils/p5-Sys-MemInfo/DESCR:1.1
--- /dev/null Sat Dec 18 15:07:02 2021
+++ pkgsrc/sysutils/p5-Sys-MemInfo/DESCR Sat Dec 18 15:07:01 2021
@@ -0,0 +1,8 @@
+This module return the total amount of free and used physical memory
+in bytes in totalmem and freemem variables.
+
+This module has been tested on Linux 3.13.0, UnixWare 7.1.2, AIX5,
+OpenBSD 3.8, NetBSD 2.0.2, FreBSD 5.4, HPUX11, Solaris 9, Tru64
+5.1, Irix 6.5, MacOS X 10.2 and Windows XP.
+
+It should work on FreeBSD 4 and Windows 9X/ME/NT/200X/Vista.
Index: pkgsrc/sysutils/p5-Sys-MemInfo/Makefile
diff -u /dev/null pkgsrc/sysutils/p5-Sys-MemInfo/Makefile:1.1
--- /dev/null Sat Dec 18 15:07:02 2021
+++ pkgsrc/sysutils/p5-Sys-MemInfo/Makefile Sat Dec 18 15:07:01 2021
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2021/12/18 15:07:01 prlw1 Exp $
+
+DISTNAME= Sys-MemInfo-0.99
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= sysutils perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/S/SC/SCRESTO/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://metacpan.org/dist/Sys-MemInfo
+COMMENT= Perl 5 module for querying physical memory usage
+LICENSE= ${PERL5_LICENSE}
+
+PERL5_PACKLIST= auto/Sys/MemInfo/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/p5-Sys-MemInfo/distinfo
diff -u /dev/null pkgsrc/sysutils/p5-Sys-MemInfo/distinfo:1.1
--- /dev/null Sat Dec 18 15:07:02 2021
+++ pkgsrc/sysutils/p5-Sys-MemInfo/distinfo Sat Dec 18 15:07:01 2021
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/12/18 15:07:01 prlw1 Exp $
+
+BLAKE2s (Sys-MemInfo-0.99.tar.gz) = def2083bdad74cbcd8fd5d326f3341569c92e456c3b9c7bdaad3f63a78fc0a79
+SHA512 (Sys-MemInfo-0.99.tar.gz) = ad0f8a12db7f7c643d0eb2d68fb1dcbff43928b786d390243e89d88537bd99360f88af177678ce5141e3870224da80ea5a432c465e8c7ec384abd21014c0e1c0
+Size (Sys-MemInfo-0.99.tar.gz) = 13276 bytes
+SHA1 (patch-arch_bsd.xs) = d838b3bd8c011d7c3cd9a6532ebeb26ab2cadeae
Index: pkgsrc/sysutils/p5-Sys-MemInfo/patches/patch-arch_bsd.xs
diff -u /dev/null pkgsrc/sysutils/p5-Sys-MemInfo/patches/patch-arch_bsd.xs:1.1
--- /dev/null Sat Dec 18 15:07:02 2021
+++ pkgsrc/sysutils/p5-Sys-MemInfo/patches/patch-arch_bsd.xs Sat Dec 18 15:07:01 2021
@@ -0,0 +1,16 @@
+$NetBSD: patch-arch_bsd.xs,v 1.1 2021/12/18 15:07:01 prlw1 Exp $
+
+UVM appeared since NetBSD 2.0.2.
+
+--- arch/bsd.xs.orig 2006-09-16 14:32:56.000000000 +0000
++++ arch/bsd.xs
+@@ -8,6 +8,9 @@ MODULE = Sys::MemInfo PACKAGE = Sys::Mem
+ #include <stdio.h>
+ #include <sys/param.h>
+ #include <sys/sysctl.h>
++#ifdef NETBSD
++#include <uvm/uvm_extern.h>
++#endif
+
+ void
+ availkeys()
Home |
Main Index |
Thread Index |
Old Index