From c6254c1a30833939b8f663996dd83674155cfb7c Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Tue, 30 Mar 2004 01:10:54 +0000 Subject: [PATCH] Add jps, a perl wrapper to "ps(1)" that gets its output and maps pids to jails. The wrapper takes all "ps(1)" options and passed then to the "ps(1)" if some specified. When no options specified the wrapper uses default options. No additional software or tools like "jailer(8)" needed. WWW: http://ext.by/jps/ PR: ports/64813 Submitted by: Pavel Novikov --- sysutils/Makefile | 1 + sysutils/jps/Makefile | 23 +++++++++++++++++++++++ sysutils/jps/distinfo | 2 ++ sysutils/jps/pkg-descr | 8 ++++++++ 4 files changed, 34 insertions(+) create mode 100644 sysutils/jps/Makefile create mode 100644 sysutils/jps/distinfo create mode 100644 sysutils/jps/pkg-descr diff --git a/sysutils/Makefile b/sysutils/Makefile index 1b8b92bce178..3f7488af578a 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -164,6 +164,7 @@ SUBDIR += jailer SUBDIR += jailutils SUBDIR += jdiskreport + SUBDIR += jps SUBDIR += jtop SUBDIR += k3b SUBDIR += kcpuload diff --git a/sysutils/jps/Makefile b/sysutils/jps/Makefile new file mode 100644 index 000000000000..84fd06790d78 --- /dev/null +++ b/sysutils/jps/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: jps +# Date created: 27 March 2004 +# Whom: Pavel Novikov +# +# $FreeBSD$ +# + +PORTNAME= jps +PORTVERSION= 1.0 +CATEGORIES= sysutils +MASTER_SITES= http://ext.by/jps/ + +MAINTAINER= pavel@ext.by +COMMENT= Wrapper to ps(1) that maps pids to jails + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey +RUN_DEPENDS= ${BUILD_DEPENDS} + +MAN1= jps.1 +MANCOMPRESSED= yes +PLIST_FILES= bin/jps + +.include diff --git a/sysutils/jps/distinfo b/sysutils/jps/distinfo new file mode 100644 index 000000000000..47c0677d60ee --- /dev/null +++ b/sysutils/jps/distinfo @@ -0,0 +1,2 @@ +MD5 (jps-1.0.tar.gz) = 4e0f1842e6ac9e1849dcf8dbc0cd5d16 +SIZE (jps-1.0.tar.gz) = 2425 diff --git a/sysutils/jps/pkg-descr b/sysutils/jps/pkg-descr new file mode 100644 index 000000000000..d2ee7b69ec85 --- /dev/null +++ b/sysutils/jps/pkg-descr @@ -0,0 +1,8 @@ +This a perl wrapper to "ps(1)" that gets its output and maps pids to jails. + +The wrapper takes all "ps(1)" options and passed then to the "ps(1)" if some +specified. When no options specified the wrapper uses default options. + +No additional software or tools like "jailer(8)" needed. + +WWW: http://ext.by/jps/