1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

Revive and update sysutils/jailadmin port.

Simplify Makefile a bit for new options framework, remove port from MOVED.

PR:		200476
Submitted by:	Chris Hutchinson
This commit is contained in:
Matthias Andree 2016-02-05 23:28:46 +00:00
parent 57212eed10
commit e462f12cbb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408277
5 changed files with 59 additions and 1 deletions

1
MOVED
View File

@ -6859,7 +6859,6 @@ sysutils/eroaster||2014-09-01|Not staged
sysutils/freqsdwn||2014-09-01|Not staged
sysutils/gnomebaker||2014-09-01|Not staged
sysutils/ispman||2014-09-01|Not staged
sysutils/jailadmin||2014-09-01|Not staged
sysutils/jailuser||2014-09-01|Not staged
sysutils/linux-afaapps||2014-09-01|Not staged
sysutils/netident||2014-09-01|Not staged

View File

@ -440,6 +440,7 @@
SUBDIR += jadm
SUBDIR += jail-primer
SUBDIR += jail2
SUBDIR += jailadmin
SUBDIR += jailctl
SUBDIR += jaildaemon
SUBDIR += jailme

View File

@ -0,0 +1,46 @@
# Created by: Kirk Strauser <kirk@strauser.com>
# $FreeBSD$
PORTNAME= jailadmin
PORTVERSION= 1.9
CATEGORIES= sysutils
MASTER_SITES= http://BSDforge.com/projects/source/sysutils/jailadmin/
MAINTAINER= portmaster@BSDforge.com
COMMENT= Jail management system with optional SNMP support
LICENSE= BSD2CLAUSE
OPTIONS_DEFINE= SNMP DOCS
SNMP_DESC= install the additional SNMP management components
USES= perl5 shebangfix tar:xz
SHEBANG_FILES= jailadmin jail-snmp jail-snmp-persist
PORTDOCS= INSTALL README
PLIST_FILES= etc/jailadmin.conf.sample etc/rc.d/zzz-jail.sh \
sbin/jailadmin ${SITE_PERL_REL}/Jail.pm
SNMP_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
SNMP_PLIST_FILES= sbin/jail-snmp sbin/jail-snmp-persist share/snmp/mibs/JAIL-MIB.txt
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/jail.sh ${STAGEDIR}${PREFIX}/etc/rc.d/zzz-jail.sh
${INSTALL_DATA} ${WRKSRC}/jailadmin.conf.sample ${STAGEDIR}${PREFIX}/etc
${INSTALL_SCRIPT} ${WRKSRC}/jailadmin ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
${CP} ${WRKSRC}/Jail.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
do-install-SNMP-on:
${INSTALL_SCRIPT} ${WRKSRC}/jail-snmp ${STAGEDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/jail-snmp-persist ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${PREFIX}/share/snmp/mibs
${INSTALL_DATA} ${WRKSRC}/JAIL-MIB.txt ${STAGEDIR}${PREFIX}/share/snmp/mibs
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (jailadmin-1.9.tar.xz) = db562e101ed4328248af963f24841824746886c21d1c65b10494dd37ab225566
SIZE (jailadmin-1.9.tar.xz) = 13612

View File

@ -0,0 +1,10 @@
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://BSDforge.com/projects/sysutils/jailadmin/