aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-03-30 09:10:54 +0800
committerpav <pav@FreeBSD.org>2004-03-30 09:10:54 +0800
commit217af90214741bbf4251011a341a7729adeef733 (patch)
tree66650d5975e6526a679bbb219e17c4664262ef48 /sysutils
parent407c5d53f30b722c612d99c86db5d0c6ad083d4d (diff)
downloadfreebsd-ports-gnome-217af90214741bbf4251011a341a7729adeef733.tar.gz
freebsd-ports-gnome-217af90214741bbf4251011a341a7729adeef733.tar.zst
freebsd-ports-gnome-217af90214741bbf4251011a341a7729adeef733.zip
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 <pavel@ext.by>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/jps/Makefile23
-rw-r--r--sysutils/jps/distinfo2
-rw-r--r--sysutils/jps/pkg-descr8
4 files changed, 34 insertions, 0 deletions
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 <bsd.port.mk>
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/