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)
This commit is contained in:
Sergey Matveychuk 2004-07-22 05:48:22 +00:00
parent b1a2cec832
commit d402db4377
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114396
7 changed files with 148 additions and 0 deletions

View file

@ -84,6 +84,7 @@
SUBDIR += netsaint
SUBDIR += netsaint-plugins
SUBDIR += netspoc
SUBDIR += netustad
SUBDIR += nitpicker
SUBDIR += nocol
SUBDIR += nrpe

View file

@ -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>

View file

@ -0,0 +1,2 @@
MD5 (netustad-0.1.1.tar.gz) = 5446b002d68367239867d4e29f039d81
SIZE (netustad-0.1.1.tar.gz) = 39334

View file

@ -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

View file

@ -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

View file

@ -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! *
*************************************************

View file

@ -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%%