Add p5-BSD-Sysctl 0.03, fetch sysctl values from BSD-like systems.

PR:		ports/102885
Submitted by:	chinsan <chinsan.tw at gmail.com>
This commit is contained in:
Rong-En Fan 2006-09-05 18:39:30 +00:00
parent 337f0e97da
commit 2257523e83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172351
5 changed files with 50 additions and 0 deletions

View File

@ -388,6 +388,7 @@
SUBDIR += open
SUBDIR += openupsd
SUBDIR += p5-BSD-Jail-Object
SUBDIR += p5-BSD-Sysctl
SUBDIR += p5-Dir-Purge
SUBDIR += p5-File-Stat-Bits
SUBDIR += p5-File-Which

View File

@ -0,0 +1,28 @@
# New ports collection makefile for: sysutils/p5-BSD-Sysctl
# Date created: 2006/09/05
# Whom: chinsan <chinsan.tw@gmail.com>
#
# $FreeBSD$
#
PORTNAME= BSD-Sysctl
PORTVERSION= 0.03
CATEGORIES= sysutils perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/D/DL/DLAND
PKGNAMEPREFIX= p5-
MAINTAINER= chinsan.tw@gmail.com
COMMENT= Fetch sysctl values from BSD-like systems
PERL_CONFIGURE= yes
MAN3= BSD::Sysctl.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500806
IGNORE= requires perl 5.8.6 or later. Install lang/perl5.8 then try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (BSD-Sysctl-0.03.tar.gz) = fb65579e2b4d39c474cdd59d001d1472
SHA256 (BSD-Sysctl-0.03.tar.gz) = aa86ca55df87da0871c33ff072a042b43d28048ac9c041d00c2f814b1407b86a
SIZE (BSD-Sysctl-0.03.tar.gz) = 17633

View File

@ -0,0 +1,10 @@
BSD::Sysctl offers a native Perl interface for fetching sysctl values that
describe the kernel state of BSD-like operating systems. This is around 80
times faster than scraping the output of the sysctl(8) program.
This module handles the conversion of symbolic sysctl variable names to the
internal numeric format, and this information, along with the details of how
to format the results, are cached. Hence, the first call to sysctl requires
three system calls, however, subsequent calls require only one call.
WWW: http://search.cpan.org/dist/BSD-Sysctl/

View File

@ -0,0 +1,8 @@
%%SITE_PERL%%/%%PERL_ARCH%%/BSD/Sysctl.pm
%%SITE_PERL%%/%%PERL_ARCH%%/BSD/bsd-sysctl.pl
%%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD/Sysctl/Sysctl.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD/Sysctl/Sysctl.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD/Sysctl/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD/Sysctl
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/BSD