diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-04-13 08:49:14 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-04-13 08:49:14 +0000 |
commit | 973cd7bf5eb07dddad803bdb79f6a1eecbccd210 (patch) | |
tree | 4aa7b63ad810224611d550a5af8ad19e3a528618 /sysutils/jailadmin | |
parent | 757f18a5a72c6a4a85a80da65f3e1d1b89711077 (diff) | |
download | ports-973cd7bf5eb07dddad803bdb79f6a1eecbccd210.tar.gz ports-973cd7bf5eb07dddad803bdb79f6a1eecbccd210.zip |
Notes
Diffstat (limited to 'sysutils/jailadmin')
-rw-r--r-- | sysutils/jailadmin/Makefile | 45 | ||||
-rw-r--r-- | sysutils/jailadmin/distinfo | 2 | ||||
-rw-r--r-- | sysutils/jailadmin/pkg-descr | 12 | ||||
-rw-r--r-- | sysutils/jailadmin/pkg-plist | 6 |
4 files changed, 65 insertions, 0 deletions
diff --git a/sysutils/jailadmin/Makefile b/sysutils/jailadmin/Makefile new file mode 100644 index 000000000000..4b61998c217f --- /dev/null +++ b/sysutils/jailadmin/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: jailadmin +# Date created: 02 Apr 2004 +# Whom: Kirk Strauser <kirk@strauser.com> +# +# $FreeBSD$ +# + +PORTNAME= jailadmin +PORTVERSION= 1.7 +CATEGORIES= sysutils +MASTER_SITES= http://subwiki.honeypot.net/pub/Freebsd/JailAdmin/ +DISTNAME= jailadmin-${PORTVERSION} + +MAINTAINER= kirk@strauser.com +COMMENT= A system for managing a set of named jails + +USE_PERL5= yes +USE_REINPLACE= yes + +PORTDOCS= INSTALL README + +.include <bsd.port.pre.mk> + +.if defined(WITH_SNMP) +.if exists(${LOCALBASE}/lib/libsnmp.so.4) || defined(WITH_SNMP4) +LIB_DEPENDS+= snmp.4:${PORTSDIR}/net-mgmt/net-snmp4 +.else +LIB_DEPENDS+= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp +.endif +PLIST_SUB+= SNMP="" +.else +INSTALL_TARGET= installbase +PLIST_SUB+= SNMP="@comment " +.endif + +pre-everything:: + @${ECHO} + @${ECHO} "You can build ${PKGNAME} with the following options:" + @${ECHO} "WITH_SNMP install the additional SNMP management components" + @${ECHO} + +pre-install: + @${REINPLACE_CMD} -e "s#^SITEPERLDIR=.*#SITEPERLDIR= ${SITE_PERL}#" ${WRKSRC}/Makefile + +.include <bsd.port.post.mk> diff --git a/sysutils/jailadmin/distinfo b/sysutils/jailadmin/distinfo new file mode 100644 index 000000000000..3354d39c24d7 --- /dev/null +++ b/sysutils/jailadmin/distinfo @@ -0,0 +1,2 @@ +MD5 (jailadmin-1.7.tar.gz) = 33e58dfe0f5cfaa1c10ba96f112b138f +SIZE (jailadmin-1.7.tar.gz) = 10121 diff --git a/sysutils/jailadmin/pkg-descr b/sysutils/jailadmin/pkg-descr new file mode 100644 index 000000000000..5b507174992a --- /dev/null +++ b/sysutils/jailadmin/pkg-descr @@ -0,0 +1,12 @@ +JailAdmin is a system for managing a set of named jails. It provides: + - A command line utility for starting and stopping named jails. + - An efficient method for shutting down a large number of jails in + parallel. + - A simple configuration syntax. + - SNMP monitoring facilities. +It is designed to provide more flexible functionality than FreeBSD's own +rc.d/jail script, and should provide a complete superset of features. + +WWW: http://subwiki.honeypot.net/cgi-bin/view/Freebsd/JailAdmin +- Kirk Strauser +kirk@strauser.com diff --git a/sysutils/jailadmin/pkg-plist b/sysutils/jailadmin/pkg-plist new file mode 100644 index 000000000000..af6a882168c5 --- /dev/null +++ b/sysutils/jailadmin/pkg-plist @@ -0,0 +1,6 @@ +etc/jailadmin.conf.sample +etc/rc.d/zzz-jail.sh +%%SITE_PERL%%/Jail.pm +%%SNMP%%sbin/jail-snmp +sbin/jailadmin +%%SNMP%%share/snmp/mibs/JAIL-MIB.txt |