From owner-svn-ports-all@freebsd.org Sun Jun 16 10:35:11 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A589815BA3C8; Sun, 16 Jun 2019 10:35:11 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 37F2B71D8B; Sun, 16 Jun 2019 10:35:11 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D31ECD442; Sun, 16 Jun 2019 10:35:09 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5GAZ97p083123; Sun, 16 Jun 2019 10:35:09 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5GAZ9Yc083119; Sun, 16 Jun 2019 10:35:09 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201906161035.x5GAZ9Yc083119@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 16 Jun 2019 10:35:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504302 - head/devel/p5-Proc-ProcessTable X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/devel/p5-Proc-ProcessTable X-SVN-Commit-Revision: 504302 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 37F2B71D8B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2019 10:35:11 -0000 Author: sunpoet Date: Sun Jun 16 10:35:08 2019 New Revision: 504302 URL: https://svnweb.freebsd.org/changeset/ports/504302 Log: Update to 0.58 - Reformat pkg-descr - Take maintainership Changes: https://metacpan.org/changes/distribution/Proc-ProcessTable Modified: head/devel/p5-Proc-ProcessTable/Makefile head/devel/p5-Proc-ProcessTable/distinfo head/devel/p5-Proc-ProcessTable/pkg-descr head/devel/p5-Proc-ProcessTable/pkg-plist Modified: head/devel/p5-Proc-ProcessTable/Makefile ============================================================================== --- head/devel/p5-Proc-ProcessTable/Makefile Sun Jun 16 10:35:03 2019 (r504301) +++ head/devel/p5-Proc-ProcessTable/Makefile Sun Jun 16 10:35:08 2019 (r504302) @@ -2,34 +2,30 @@ # $FreeBSD$ PORTNAME= Proc-ProcessTable -PORTVERSION= 0.56 +PORTVERSION= 0.58 CATEGORIES= devel perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:JWB PKGNAMEPREFIX= p5- -MAINTAINER= perl@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Perl interface to the unix process table LICENSE= ART10 GPLv1+ LICENSE_COMB= dual +USES= perl5 +USE_PERL5= configure + OPTIONS_DEFINE= DOCS PORTSCOUT= limit:^[0-9\.]*$$ -USES= perl5 shebangfix -USE_PERL5= configure - -PORTDOCS= README README.freebsd-kvm README.freebsd-procfs - -SHEBANG_FILES= example.pl - post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Proc/ProcessTable/ProcessTable.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) + ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README.freebsd-* ${STAGEDIR}${DOCSDIR} .include Modified: head/devel/p5-Proc-ProcessTable/distinfo ============================================================================== --- head/devel/p5-Proc-ProcessTable/distinfo Sun Jun 16 10:35:03 2019 (r504301) +++ head/devel/p5-Proc-ProcessTable/distinfo Sun Jun 16 10:35:08 2019 (r504302) @@ -1,3 +1,3 @@ -TIMESTAMP = 1549638068 -SHA256 (Proc-ProcessTable-0.56.tar.gz) = 99fb8fd11e4e438399dd362d95b5b2073f1f340e9b3a7f04e76b6c7428170660 -SIZE (Proc-ProcessTable-0.56.tar.gz) = 72944 +TIMESTAMP = 1560671643 +SHA256 (Proc-ProcessTable-0.58.tar.gz) = 8d4215d9c60b42e646c525ebfc63f65386dc0a014fbcc33baf43078668b68260 +SIZE (Proc-ProcessTable-0.58.tar.gz) = 75853 Modified: head/devel/p5-Proc-ProcessTable/pkg-descr ============================================================================== --- head/devel/p5-Proc-ProcessTable/pkg-descr Sun Jun 16 10:35:03 2019 (r504301) +++ head/devel/p5-Proc-ProcessTable/pkg-descr Sun Jun 16 10:35:08 2019 (r504302) @@ -1,23 +1,22 @@ -This module is a first crack at providing a consistent interface to -Unix (and maybe other multitasking OS's) process table information. -The impetus for this came about with my frustration at having to parse -the output of various systems' ps commands to check whether specific -processes were running on different boxes at a large mixed Unix site. -The output format of ps was different on each OS, and sometimes -changed with each new release of an OS. Also, running a ps subprocess -from within a perl or shell script and parsing the output was not a +This module is a first crack at providing a consistent interface to Unix (and +maybe other multitasking OS's) process table information. The impetus for this +came about with my frustration at having to parse the output of various systems' +ps commands to check whether specific processes were running on different boxes +at a larged mixed Unix site. The output format of ps was different on each OS, +and sometimes changed with each new release of an OS. Also, running a ps +subprocess from within a perl or shell script and parsing the output was not a very efficient or aesthetic way to do things. With this module, you can do things like this: - # kill memory pigs - use Proc::ProcessTable; + # kill memory pigs + use Proc::ProcessTable; - $t = new Proc::ProcessTable; - foreach $p ( @{$t->table} ){ - if( $p->pctmem > 95 ){ - $p->kill(9); - } + my $t = Proc::ProcessTable->new; + foreach my $p ( @{$t->table} ) { + if( $p->pctmem > 95 ){ + $p->kill(9); } + } WWW: https://metacpan.org/release/Proc-ProcessTable Modified: head/devel/p5-Proc-ProcessTable/pkg-plist ============================================================================== --- head/devel/p5-Proc-ProcessTable/pkg-plist Sun Jun 16 10:35:03 2019 (r504301) +++ head/devel/p5-Proc-ProcessTable/pkg-plist Sun Jun 16 10:35:08 2019 (r504302) @@ -2,10 +2,12 @@ %%SITE_ARCH%%/Proc/Killfam.pm %%SITE_ARCH%%/Proc/ProcessTable.pm %%SITE_ARCH%%/Proc/ProcessTable/Process.pm -%%SITE_ARCH%%/Proc/example.pl %%SITE_ARCH%%/auto/Proc/ProcessTable/Process/autosplit.ix %%SITE_ARCH%%/auto/Proc/ProcessTable/ProcessTable.so %%PERL5_MAN3%%/Proc::Killall.3.gz %%PERL5_MAN3%%/Proc::Killfam.3.gz %%PERL5_MAN3%%/Proc::ProcessTable.3.gz %%PERL5_MAN3%%/Proc::ProcessTable::Process.3.gz +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.freebsd-kvm +%%PORTDOCS%%%%DOCSDIR%%/README.freebsd-procfs