diff options
author | sem <sem@FreeBSD.org> | 2004-07-22 05:48:22 +0000 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-07-22 05:48:22 +0000 |
commit | f3e057290661fc58972967f8116776cb0e45ae4e (patch) | |
tree | 6a0248101fd1449d7654e08ae04767376ecafc37 /net-mgmt/netustad | |
parent | 56ce128e0bb1f777e1568f72ef4990f28fc7bb7b (diff) | |
download | FreeBSD-ports-f3e057290661fc58972967f8116776cb0e45ae4e.zip FreeBSD-ports-f3e057290661fc58972967f8116776cb0e45ae4e.tar.gz |
To ease the task of network administration,
decrease the likelihood of erronous command execution and
to maintain all network services from a central point,
EnderUNIX SDT anounces the availability of its 9th open-source tool,
netUstad.
It has been coded in C language and includes its own HTTP server.
The newly anounced version provides a web interface for
system administrators to add/delete/update IPFW rulesets.
You can manage your IPFW firewall via a TCP/IP connected remote PC, easily.
Development version icludes modules to manage whole
network services (routing tables, network interfaces)
PR: ports/69176
Submitted by: Ozkan KIRIK <ozkan@enderunix.org>
Approved by: krion (mentor) (implicitly)
Diffstat (limited to 'net-mgmt/netustad')
-rw-r--r-- | net-mgmt/netustad/Makefile | 23 | ||||
-rw-r--r-- | net-mgmt/netustad/distinfo | 2 | ||||
-rw-r--r-- | net-mgmt/netustad/files/netustad.sh.sample | 56 | ||||
-rw-r--r-- | net-mgmt/netustad/pkg-descr | 20 | ||||
-rw-r--r-- | net-mgmt/netustad/pkg-message | 7 | ||||
-rw-r--r-- | net-mgmt/netustad/pkg-plist | 39 |
6 files changed, 147 insertions, 0 deletions
diff --git a/net-mgmt/netustad/Makefile b/net-mgmt/netustad/Makefile new file mode 100644 index 0000000..8c9299d --- /dev/null +++ b/net-mgmt/netustad/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: netustad +# Date created: 4 July 2004 +# Whom: ozkan@enderunix.org +# +# $FreeBSD$ +# + +PORTNAME= netustad +PORTVERSION= 0.1.1 +CATEGORIES= net-mgmt security +MASTER_SITES= http://www.enderunix.org/netustad/ + +MAINTAINER= ozkan@enderunix.org +COMMENT= A web based admin tool that manages network services + +MAN8= netustad.8 netustadpasswd.8 +MAN5= netustad.conf.5 + +post-install: + @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' + @${INSTALL_SCRIPT} ${FILESDIR}/netustad.sh.sample ${PREFIX}/etc/rc.d/ + +.include <bsd.port.mk> diff --git a/net-mgmt/netustad/distinfo b/net-mgmt/netustad/distinfo new file mode 100644 index 0000000..e8b0618 --- /dev/null +++ b/net-mgmt/netustad/distinfo @@ -0,0 +1,2 @@ +MD5 (netustad-0.1.1.tar.gz) = 5446b002d68367239867d4e29f039d81 +SIZE (netustad-0.1.1.tar.gz) = 39334 diff --git a/net-mgmt/netustad/files/netustad.sh.sample b/net-mgmt/netustad/files/netustad.sh.sample new file mode 100644 index 0000000..881833a --- /dev/null +++ b/net-mgmt/netustad/files/netustad.sh.sample @@ -0,0 +1,56 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: netustad +# REQUIRE: NETWORKING SERVERS +# BEFORE: DAEMON +# KEYWORD: FreeBSD +# +# Note: +# If you are running an rcNG-System (i.e. FreeBSD 5 and later or after +# having installed the rc_subr-port on an earlier system) you must set +# "netustad_enable=YES" in either /etc/rc.conf, /etc/rc.conf.local or +# +# Please see netustad(8), rc.conf(5) and rc(8) for further details. + +unset rcNG +name="netustad" +command=/usr/local/sbin/netustad +extra_commands=reload +reload_cmd="killall -HUP ${name}" +stop_cmd="killall ${name}" + +if [ -f /etc/rc.subr ]; then + . /etc/rc.subr && rcNG=yes +else + if [ -f /usr/local/etc/rc.subr ]; then + . /usr/local/etc/rc.subr && rcNG=yes + fi +fi + +if [ "${rcNG}" ]; then + rcvar=`set_rcvar` + load_rc_config ${name} + run_rc_command "$1" +else + case $1 in + start) + if [ -x "${command}" ]; then + echo -n ' netustad ' + ${command} + fi + ;; + stop) + if [ -x "${command}" ]; then + echo -n ' netustad ' + ${stop_cmd} + fi + ;; + *) + echo "usage: `basename $0` {start|stop}" >&2 + exit 64 + ;; + esac + exit 0 +fi diff --git a/net-mgmt/netustad/pkg-descr b/net-mgmt/netustad/pkg-descr new file mode 100644 index 0000000..5ead952 --- /dev/null +++ b/net-mgmt/netustad/pkg-descr @@ -0,0 +1,20 @@ +To ease the task of network administration, +decrease the likelihood of erronous command execution and +to maintain all network services from a central point, +EnderUNIX SDT anounces the availability of its 9th open-source tool, +netUstad. + +It has been coded in C language and includes its own HTTP server. +The newly anounced version provides a web interface for +system administrators to add/delete/update IPFW rulesets. + +You can manage your IPFW firewall via a TCP/IP connected remote PC, easily. +Development version icludes modules to manage whole +network services (routing tables, network interfaces) + +Project Page: +WWW: http://www.enderunix.org/netustad + +- Ozkan KIRIK +ozkan@enderunix.org +EnderUNIX SDT @ Turkey diff --git a/net-mgmt/netustad/pkg-message b/net-mgmt/netustad/pkg-message new file mode 100644 index 0000000..fbcdf28 --- /dev/null +++ b/net-mgmt/netustad/pkg-message @@ -0,0 +1,7 @@ +************************************************* +* You must run this program as root * +* Program path : %%PREFIX%%/sbin/netustad * +* Your AdminUser : admin * +* Your AdminPassword : admin * +* Don't forget to change your password! * +************************************************* diff --git a/net-mgmt/netustad/pkg-plist b/net-mgmt/netustad/pkg-plist new file mode 100644 index 0000000..dc2be8a --- /dev/null +++ b/net-mgmt/netustad/pkg-plist @@ -0,0 +1,39 @@ +sbin/netustad +sbin/netustadctl +sbin/netustadpasswd +etc/rc.d/netustad.sh.sample +@unexec if [ -f %D/etc/rc.d/netustad.sh ]; then rm -f %D/etc/rc.d/netustad.sh; fi +@unexec if cmp -s %D/etc/netustad.conf %D/etc/netustad.conf-dist; then rm -f %D/etc/netustad.conf; fi +etc/netustad.conf-dist +@exec [ -f %B/netustad.conf ] || cp %B/%f %B/netustad.conf +%%DATADIR%%/script/English +%%DATADIR%%/script/Turkce +%%DATADIR%%/script/action1.inc +%%DATADIR%%/script/action2.inc +%%DATADIR%%/script/addform +%%DATADIR%%/script/addrule.inc +%%DATADIR%%/script/authform +%%DATADIR%%/script/bg.png +%%DATADIR%%/script/delete.jpg +%%DATADIR%%/script/edit-parse +%%DATADIR%%/script/editform +%%DATADIR%%/script/editrule.inc +%%DATADIR%%/script/intf-parse +%%DATADIR%%/script/loginform.inc +%%DATADIR%%/script/maketable +%%DATADIR%%/script/netustad.css +%%DATADIR%%/script/proto.inc +%%DATADIR%%/script/ruleoption1.inc +%%DATADIR%%/script/ruleoption2.inc +%%DATADIR%%/script/showrule +%%DATADIR%%/script/static-parse +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/FAQ +%%PORTDOCS%%%%DOCSDIR%%/GPL-License +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/THANKS +%%PORTDOCS%%%%DOCSDIR%%/TODO +@dirrm %%DATADIR%%/script +@dirrm %%DATADIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |