Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 2004 11:49:30 -0600 (CST)
From:      Kirk Strauser <kirk@strauser.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65095: New port: sysutils/jailadmin  A system to manage jail services
Message-ID:  <200404021749.i32HnU2O007324@kanga.honeypot.net>
Resent-Message-ID: <200404021750.i32HoLgO042397@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65095
>Category:       ports
>Synopsis:       New port: sysutils/jailadmin  A system to manage jail services
>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:   Fri Apr 02 09:50:21 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kirk Strauser
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
The Strauser Group
>Environment:
System: FreeBSD kanga.honeypot.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sun Mar 28 14:12:37 CST 2004 root@kanga.honeypot.net:/usr/obj/usr/src/sys/NEW_KANGA i386


	
>Description:
This is a system to manage a number of named jail servers.  It provides a
convenient command line utility to start, stop, and monitor servers; a fast,
parallelized shutdown utility; and SNMP monitoring.
>How-To-Repeat:
	
>Fix:

	

--- jailadmin-port begins here ---
# 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:
#
#	Makefile
#	distinfo
#	pkg-descr
#	pkg-plist
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for:	jailadmin
X# Date created:				02 Apr 2004
X# Whom:					Kirk Strauser <kirk@strauser.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	jailadmin
XPORTVERSION=	1.6
XCATEGORIES=	sysutils
XMASTER_SITES=	http://subwiki.honeypot.net/pub/Freebsd/JailAdmin/
XDISTNAME=	jailadmin-${PORTVERSION}
X
XMAINTAINER=	kirk@strauser.com
XCOMMENT=	A system for managing a set of named jails
X
XUSE_PERL5=	yes
X
X.if defined(WITH_SNMP)
X.if exists(${LOCALBASE}/lib/libsnmp.so.4) || defined(WITH_SNMP4)
XLIB_DEPENDS+=   snmp.4:${PORTSDIR}/net-mgmt/net-snmp4
X.else
XLIB_DEPENDS+=   netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp
X.endif
XPLIST_SUB+=     SNMP=""
X.else
XINSTALL_TARGET=	installbase
XPLIST_SUB+=     SNMP="@comment "
X.endif
X
Xpre-everything::
X	@${ECHO}
X	@${ECHO} "You can build ${PKGNAME} with the following options:"
X	@${ECHO} "WITH_SNMP     install the additional SNMP management components"
X	@${ECHO}
X
Xpre-install:
X	${SED} -i -e "s#^SITEPERLDIR=.*#SITEPERLDIR= ${SITE_PERL}#" ${WRKSRC}/Makefile
X
X.include <bsd.port.mk>
END-of-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (jailadmin-1.6.tar.gz) = 40db8f9df36c965e3c28937cfdd2d807
XSIZE (jailadmin-1.6.tar.gz) = 9135
END-of-distinfo
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
XJailAdmin is a system for managing a set of named jails.  It provides:
X
X - A command line utility for starting and stopping named jails.
X
X - An efficient method for shutting down a large number of jails in
X   parallel.
X
X - A simple configuration syntax.
X
X - SNMP monitoring facilities.
X
XIt is designed to provide more flexible functionality than FreeBSD's own
Xrc.d/jail script, and should provide a complete superset of features.
X
XWWW: http://subwiki.honeypot.net/cgi-bin/view/Freebsd/JailAdmin
X
X- Kirk Strauser
Xkirk@strauser.com
END-of-pkg-descr
echo x - pkg-plist
sed 's/^X//' >pkg-plist << 'END-of-pkg-plist'
Xetc/jailadmin.conf.sample
Xetc/rc.d/zzz-jail.sh
X%%SITE_PERL%%/Jail.pm
X%%SNMP%%sbin/jail-snmp
Xsbin/jailadmin
X%%SNMP%%share/snmp/mibs/JAIL-MIB.txt
END-of-pkg-plist
exit
--- jailadmin-port ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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