From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 8 08:30:54 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D827D16A4DE for ; Tue, 8 Aug 2006 08:30:53 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C66743DFA for ; Tue, 8 Aug 2006 08:30:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k788UHAU046828 for ; Tue, 8 Aug 2006 08:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k788UHkU046826; Tue, 8 Aug 2006 08:30:17 GMT (envelope-from gnats) Resent-Date: Tue, 8 Aug 2006 08:30:17 GMT Resent-Message-Id: <200608080830.k788UHkU046826@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Mahlon E. Smith" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE2B316A4E0 for ; Tue, 8 Aug 2006 08:21:42 +0000 (UTC) (envelope-from mahlon@happymaggot.stinkymeat.net) Received: from happymaggot.stinkymeat.net (c-24-20-225-100.hsd1.mn.comcast.net [24.20.225.100]) by mx1.FreeBSD.org (Postfix) with SMTP id DB7EA43D8C for ; Tue, 8 Aug 2006 08:21:20 +0000 (GMT) (envelope-from mahlon@happymaggot.stinkymeat.net) Received: (qmail 1268 invoked by uid 1001); 8 Aug 2006 08:20:05 -0000 Message-Id: <20060808082005.1267.qmail@happymaggot.stinkymeat.net> Date: 8 Aug 2006 08:20:05 -0000 From: "Mahlon E. Smith" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/101643: New port: sysutils/p5-BSD-Jail-Object X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Mahlon E. Smith" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2006 08:30:54 -0000 >Number: 101643 >Category: ports >Synopsis: New port: sysutils/p5-BSD-Jail-Object >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Aug 08 08:30:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Mahlon E. Smith >Release: FreeBSD 6.1-BETA4 i386 >Organization: Spime Solutions Group >Environment: System: FreeBSD happymaggot.stinkymeat.net 6.1-BETA4 FreeBSD 6.1-BETA4 #0: Fri Apr 7 19:01:27 PDT 2006 root@happymaggot.stinkymeat.net:/usr/src/sys/i386/compile/MAGGOT i386 >Description: This is an object oriented perl interface to the FreeBSD jail subsystem. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-BSD-Jail-Object # p5-BSD-Jail-Object/.arch-ids # p5-BSD-Jail-Object/.arch-ids/=id # p5-BSD-Jail-Object/.arch-ids/Makefile.id # p5-BSD-Jail-Object/.arch-ids/pkg-descr.id # p5-BSD-Jail-Object/.arch-ids/pkg-plist.id # p5-BSD-Jail-Object/.arch-ids/distinfo.id # p5-BSD-Jail-Object/Makefile # p5-BSD-Jail-Object/pkg-descr # p5-BSD-Jail-Object/pkg-plist # p5-BSD-Jail-Object/distinfo # echo c - p5-BSD-Jail-Object mkdir -p p5-BSD-Jail-Object > /dev/null 2>&1 echo c - p5-BSD-Jail-Object/.arch-ids mkdir -p p5-BSD-Jail-Object/.arch-ids > /dev/null 2>&1 echo x - p5-BSD-Jail-Object/.arch-ids/=id sed 's/^X//' >p5-BSD-Jail-Object/.arch-ids/=id << 'END-of-p5-BSD-Jail-Object/.arch-ids/=id' XMahlon E. Smith Sat Jul 8 01:11:39 2006 63500.0 END-of-p5-BSD-Jail-Object/.arch-ids/=id echo x - p5-BSD-Jail-Object/.arch-ids/Makefile.id sed 's/^X//' >p5-BSD-Jail-Object/.arch-ids/Makefile.id << 'END-of-p5-BSD-Jail-Object/.arch-ids/Makefile.id' XMahlon E. Smith Sat Jul 8 01:11:45 2006 63502.0 END-of-p5-BSD-Jail-Object/.arch-ids/Makefile.id echo x - p5-BSD-Jail-Object/.arch-ids/pkg-descr.id sed 's/^X//' >p5-BSD-Jail-Object/.arch-ids/pkg-descr.id << 'END-of-p5-BSD-Jail-Object/.arch-ids/pkg-descr.id' XMahlon E. Smith Sat Jul 8 01:11:45 2006 63502.1 END-of-p5-BSD-Jail-Object/.arch-ids/pkg-descr.id echo x - p5-BSD-Jail-Object/.arch-ids/pkg-plist.id sed 's/^X//' >p5-BSD-Jail-Object/.arch-ids/pkg-plist.id << 'END-of-p5-BSD-Jail-Object/.arch-ids/pkg-plist.id' XMahlon E. Smith Sat Jul 8 01:11:45 2006 63502.2 END-of-p5-BSD-Jail-Object/.arch-ids/pkg-plist.id echo x - p5-BSD-Jail-Object/.arch-ids/distinfo.id sed 's/^X//' >p5-BSD-Jail-Object/.arch-ids/distinfo.id << 'END-of-p5-BSD-Jail-Object/.arch-ids/distinfo.id' XMahlon E. Smith Mon Aug 7 23:12:15 2006 97242.0 END-of-p5-BSD-Jail-Object/.arch-ids/distinfo.id echo x - p5-BSD-Jail-Object/Makefile sed 's/^X//' >p5-BSD-Jail-Object/Makefile << 'END-of-p5-BSD-Jail-Object/Makefile' X# New ports collection makefile for: sysutils/p5-BSD-Jail-Object X# Date created: 2006-08-07 X# Whom: Mahlon E. Smith X# X# $FreeBSD$ X# X XPORTNAME= BSD-Jail-Object XPORTVERSION= 0.02 XPORTREVISION= 1 XCATEGORIES= sysutils perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= ../../authors/id/M/MA/MAHLON XPKGNAMEPREFIX= p5- X XMAINTAINER= mahlon@martini.nu XCOMMENT= An object oriented perl interface to jail(2) X XEXTRACT_DEPENDS=\ X ${SITE_PERL}/Inline.pm:${PORTSDIR}/devel/p5-Inline X XPERL_CONFIGURE= yes X XMAN3= BSD::Jail::Object.3 X X.include END-of-p5-BSD-Jail-Object/Makefile echo x - p5-BSD-Jail-Object/pkg-descr sed 's/^X//' >p5-BSD-Jail-Object/pkg-descr << 'END-of-p5-BSD-Jail-Object/pkg-descr' XThis is an object oriented perl interface to the FreeBSD jail subsystem. X XHere's a replica of the 'jls' utility in just a few lines of perl: X X use BSD::Jail::Object 'jids'; X X print " JID IP Address Hostname Path\n"; X printf "%6d %-15.15s %-29.29s %.74s\n", X $_->jid, $_->ip, $_->hostname, $_->path foreach jids( instantiate => 1 ); X XAnd here's 'jexec': X X my $j = BSD::Jail::Object->new( $ARGV[0] ) or die $@; X $j->attach && chdir('/') && exec $ARGV[1] or exit; X XFor more info please use 'perldoc' on the module. X XAuthor: Mahlon E. Smith END-of-p5-BSD-Jail-Object/pkg-descr echo x - p5-BSD-Jail-Object/pkg-plist sed 's/^X//' >p5-BSD-Jail-Object/pkg-plist << 'END-of-p5-BSD-Jail-Object/pkg-plist' X%%SITE_PERL%%/%%PERL_ARCH%%/BSD/Jail/Object.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD/Jail/Object/.packlist X%%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD/Jail/Object/Object.bs X%%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD/Jail/Object/Object.so X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD/Jail/Object X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/BSD/Jail/Object X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/BSD/Jail/Object END-of-p5-BSD-Jail-Object/pkg-plist echo x - p5-BSD-Jail-Object/distinfo sed 's/^X//' >p5-BSD-Jail-Object/distinfo << 'END-of-p5-BSD-Jail-Object/distinfo' XMD5 (BSD-Jail-Object-0.02.tar.gz) = 7cff670f41dd536b1b0313161e40d252 XSHA256 (BSD-Jail-Object-0.02.tar.gz) = 9ae2cdd9164e3d8737ffbe63b9655e64aeb74b596ca523ca54379ac80fd3b7f1 XSIZE (BSD-Jail-Object-0.02.tar.gz) = 4695 END-of-p5-BSD-Jail-Object/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: