Information about running processes on BSD platforms

WWW:	http://search.cpan.org/dist/BSD-Process/
This commit is contained in:
Steve Wills 2011-04-12 02:43:33 +00:00
parent 94adca4af9
commit 0532c4a226
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272564
6 changed files with 59 additions and 0 deletions

View file

@ -564,6 +564,7 @@
SUBDIR += openipmi SUBDIR += openipmi
SUBDIR += openupsd SUBDIR += openupsd
SUBDIR += p5-BSD-Jail-Object SUBDIR += p5-BSD-Jail-Object
SUBDIR += p5-BSD-Process
SUBDIR += p5-BSD-Sysctl SUBDIR += p5-BSD-Sysctl
SUBDIR += p5-Brackup SUBDIR += p5-Brackup
SUBDIR += p5-Dir-Purge SUBDIR += p5-Dir-Purge

View file

@ -0,0 +1,31 @@
# New ports collection makefile for: p5-BSD-Process
# Date created: 2011-04-11
# Whom: Steve Wills <swills@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= BSD-Process
PORTVERSION= 0.06
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DLAND
PKGNAMEPREFIX= p5-
MAINTAINER= swills@FreeBSD.org
COMMENT= Information about running processes on BSD platforms
BUILD_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor
RUN_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor
USE_PERL5= yes
PERL_CONFIGURE= yes
MAN3= BSD::Process.3
post-install:
.for script in procinfo showprocattr topten
@${INSTALL_SCRIPT} ${WRKSRC}/eg/${script} ${PREFIX}/bin
.endfor
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (BSD-Process-0.06.tar.gz) = 6bdd6902900152659d48e5fca11f62e2561f7408e4aecbea1b1a8b3f9e513ac6
SIZE (BSD-Process-0.06.tar.gz) = 25727

View file

@ -0,0 +1,12 @@
--- Process.xs.orig 2011-04-11 22:08:32.577420432 -0400
+++ Process.xs 2011-04-11 22:10:26.129419839 -0400
@@ -287,7 +287,9 @@
hv_store(h, "advlock", 7, newSViv(NO_FREEBSD_4x(P_FLAG(P_ADVLOCK))), 0);
hv_store(h, "controlt", 8, newSViv(NO_FREEBSD_4x(P_FLAG(P_CONTROLT))), 0);
hv_store(h, "kthread", 7, newSViv(NO_FREEBSD_4x(P_FLAG(P_KTHREAD))), 0);
+#if __FreeBSD_version < 802501
hv_store(h, "noload", 6, newSViv(NO_FREEBSD_4x(P_FLAG(P_NOLOAD))), 0);
+#endif
hv_store(h, "ppwait", 6, newSViv(NO_FREEBSD_4x(P_FLAG(P_PPWAIT))), 0);
hv_store(h, "profil", 6, newSViv(NO_FREEBSD_4x(P_FLAG(P_PROFIL))), 0);
hv_store(h, "stopprof", 8, newSViv(NO_FREEBSD_4x(P_FLAG(P_STOPPROF))), 0);

View file

@ -0,0 +1,3 @@
Information about running processes on BSD platforms
WWW: http://search.cpan.org/dist/BSD-Process/

View file

@ -0,0 +1,10 @@
bin/procinfo
bin/showprocattr
bin/topten
%%SITE_PERL%%/%%PERL_ARCH%%/BSD/Process.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD/Process/Process.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD/Process/Process.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD/Process/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD/Process
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/BSD