aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkmoore <kmoore@FreeBSD.org>2010-04-06 22:26:25 +0800
committerkmoore <kmoore@FreeBSD.org>2010-04-06 22:26:25 +0800
commit0c6bdcca183c7c255bb565a03dd080c8d5853f01 (patch)
tree8403c6255a2405f74678a449d9f1037cabf97096 /sysutils
parentd3611cdd02842d0463ef30591eb28587e6c0332a (diff)
downloadfreebsd-ports-gnome-0c6bdcca183c7c255bb565a03dd080c8d5853f01.tar.gz
freebsd-ports-gnome-0c6bdcca183c7c255bb565a03dd080c8d5853f01.tar.zst
freebsd-ports-gnome-0c6bdcca183c7c255bb565a03dd080c8d5853f01.zip
Warden is a jail management program designed on PC-BSD, which provides three
interfaces to use, command-line, dialog-based, and a QT4 GUI. Warden has support for backing up an entire jail, installing pre-built packages (inmates) and more. WWW: http://www.pcbsd.org/ Approved by: brooks (co-mentor)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/warden/Makefile45
-rw-r--r--sysutils/warden/distinfo3
-rw-r--r--sysutils/warden/files/pkg-message.in11
-rw-r--r--sysutils/warden/pkg-descr8
-rw-r--r--sysutils/warden/pkg-plist39
6 files changed, 107 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index b86245a2000d..9dd9ca1eac6f 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -861,6 +861,7 @@
SUBDIR += vstrip
SUBDIR += vttest
SUBDIR += wait_on
+ SUBDIR += warden
SUBDIR += watchdog
SUBDIR += watchfolder
SUBDIR += watchmen
diff --git a/sysutils/warden/Makefile b/sysutils/warden/Makefile
new file mode 100644
index 000000000000..9415fb604e65
--- /dev/null
+++ b/sysutils/warden/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: warden
+# Date created: Mar 29, 2010
+# Whom: Kris Moore
+#
+# $FreeBSD$
+#
+
+PORTNAME= warden
+PORTVERSION= 1.0
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.pcbsd.org/pub/software/ \
+ http://www.pcbsd.org/~kris/software/
+
+MAINTAINER= kmoore@freebsd.org
+COMMENT= PC-BSD's Jail Management Utility
+
+RUN_DEPENDS= pbreg:${PORTSDIR}/sysutils/pbreg \
+ xz:${PORTSDIR}/archivers/xz
+
+WRKSRC= ${WRKDIR}/warden
+
+USE_GZIP= yes
+USE_QMAKE= yes
+USE_QT_VER= 4
+QT_COMPONENTS= corelib gui qmake_build moc_build rcc_build uic_build
+HAS_CONFIGURE= yes
+
+QMAKE_PRO= warden.pro
+QMAKE_ARGS= -unix -recursive ${QMAKE_PRO}
+
+SUB_FILES= pkg-message
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ ${WRKSRC}/warden.pro \
+ ${WRKSRC}/scripts/rc.d/wardenrc \
+ ${WRKSRC}/src/src.pro \
+ ${WRKSRC}/src/dialogwarden.h
+ ${RM} ${WRKSRC}/scripts/rc.d/wardenrc.bak
+
+do-configure:
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
+ ${QMAKE} -unix CONFIG+="configure" ${QMAKE_PRO}
+
+.include <bsd.port.mk>
diff --git a/sysutils/warden/distinfo b/sysutils/warden/distinfo
new file mode 100644
index 000000000000..98c3a8fbfc8d
--- /dev/null
+++ b/sysutils/warden/distinfo
@@ -0,0 +1,3 @@
+MD5 (warden-1.0.tar.gz) = 2eb32c8df4d717d802da413a1c563145
+SHA256 (warden-1.0.tar.gz) = 84790bf4de20e361d30010481847ca8234333a2b6f1205fa0d0b254596e7fe36
+SIZE (warden-1.0.tar.gz) = 82046
diff --git a/sysutils/warden/files/pkg-message.in b/sysutils/warden/files/pkg-message.in
new file mode 100644
index 000000000000..ad5affa550ae
--- /dev/null
+++ b/sysutils/warden/files/pkg-message.in
@@ -0,0 +1,11 @@
+===============================================================================
+sysutils/warden is now installed, but it requires some additional setup.
+
+****************************************************
+Please run: %%PREFIX%%/warden/scripts/init-warden.sh
+****************************************************
+
+This script will set some required variables and prompt you for the network
+interface to run jails on.
+
+=============================================================================
diff --git a/sysutils/warden/pkg-descr b/sysutils/warden/pkg-descr
new file mode 100644
index 000000000000..c130b391af15
--- /dev/null
+++ b/sysutils/warden/pkg-descr
@@ -0,0 +1,8 @@
+The Warden
+
+Warden is a jail management program designed on PC-BSD, which provides three
+interfaces to use, command-line, dialog-based, and a QT4 GUI. Warden has
+support for backing up an entire jail, installing pre-built packages
+(inmates) and more.
+
+WWW: http://www.pcbsd.org/
diff --git a/sysutils/warden/pkg-plist b/sysutils/warden/pkg-plist
new file mode 100644
index 000000000000..593303dbbff1
--- /dev/null
+++ b/sysutils/warden/pkg-plist
@@ -0,0 +1,39 @@
+bin/warden
+etc/rc.d/wardenrc
+warden/bin/warden
+warden/bin/warden-gui
+warden/conf/warden.conf
+warden/ports
+warden/scripts/warden.sh
+warden/scripts/init-warden.sh
+warden/scripts/managejails.sh
+warden/scripts/newjailmenu.sh
+warden/scripts/rc.d/shutdown.sh
+warden/scripts/rc.d/wardenrc
+warden/scripts/rc.d/startup.sh
+warden/scripts/importjailmenu.sh
+warden/scripts/backend/setupusers.sh
+warden/scripts/backend/createjail.sh
+warden/scripts/backend/chrootjail.sh
+warden/scripts/backend/checkstatus.sh
+warden/scripts/backend/installinmate.sh
+warden/scripts/backend/deleteinmate.sh
+warden/scripts/backend/exportjail.sh
+warden/scripts/backend/mkinmate.sh
+warden/scripts/backend/deletejail.sh
+warden/scripts/backend/listjails.sh
+warden/scripts/backend/startjail.sh
+warden/scripts/backend/listpkgs.sh
+warden/scripts/backend/stopjail.sh
+warden/scripts/backend/importjail.sh
+@dirrm warden/bin
+@dirrm warden/conf
+@dirrmtry warden/export
+@dirrmtry warden/inmates
+@dirrmtry warden/jails
+@dirrm warden/scripts/backend
+@dirrm warden/scripts/rc.d
+@dirrm warden/scripts
+@dirrmtry warden/tmp
+@dirrmtry warden/worlds
+@dirrmtry warden