Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2019 10:35:09 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504302 - head/devel/p5-Proc-ProcessTable
Message-ID:  <201906161035.x5GAZ9Yc083119@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906161035.x5GAZ9Yc083119>