aboutsummaryrefslogtreecommitdiff
path: root/sysutils/p5-BSD-Jail-Object/pkg-descr
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-08-09 02:53:50 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-08-09 02:53:50 +0000
commit6bb2039abba3609e85c01e2eb4ae184a83e5d1f7 (patch)
treeed823001b06222d46f002cfd68a89893ee82e71d /sysutils/p5-BSD-Jail-Object/pkg-descr
parent4a8a64a1de964ad12edf7985df0078816a984675 (diff)
Notes
Diffstat (limited to 'sysutils/p5-BSD-Jail-Object/pkg-descr')
-rw-r--r--sysutils/p5-BSD-Jail-Object/pkg-descr19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/p5-BSD-Jail-Object/pkg-descr b/sysutils/p5-BSD-Jail-Object/pkg-descr
new file mode 100644
index 000000000000..a4b60539d1d2
--- /dev/null
+++ b/sysutils/p5-BSD-Jail-Object/pkg-descr
@@ -0,0 +1,19 @@
+This is an object oriented perl interface to the FreeBSD jail subsystem.
+
+Here's a replica of the 'jls' utility in just a few lines of perl:
+
+ use BSD::Jail::Object 'jids';
+
+ print " JID IP Address Hostname Path\n";
+ printf "%6d %-15.15s %-29.29s %.74s\n",
+ $_->jid, $_->ip, $_->hostname, $_->path foreach jids( instantiate => 1 );
+
+And here's 'jexec':
+
+ my $j = BSD::Jail::Object->new( $ARGV[0] ) or die $@;
+ $j->attach && chdir('/') && exec $ARGV[1] or exit;
+
+For more info please use 'perldoc' on the module.
+
+Author: Mahlon E. Smith <mahlon@martini.nu>
+WWW: http://search.cpan.org/dist//BSD-Jail-Object/