ports/75987: Update port: net-mgmt/netustad new release update
ozkan at enderunix.org
ozkan at enderunix.org
Sun Jan 9 11:40:27 UTC 2005
>Number: 75987
>Category: ports
>Synopsis: Update port: net-mgmt/netustad new release update
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 09 11:40:26 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Ozkan KIRIK
>Release: FreeBSD 5.3-RELEASE i386
>Organization:
EnderUNIX SDT @ Turkey
>Environment:
>Description:
netUstad v0.3.0 new release port update
>How-To-Repeat:
updating port files
>Fix:
rm netustad/files/netustadctl
--- netustad_port.diff begins here ---
diff -ruN netustad.old/Makefile netustad/Makefile
--- netustad.old/Makefile Sun Dec 5 04:24:08 2004
+++ netustad/Makefile Sun Dec 5 04:14:33 2004
@@ -1,42 +1,47 @@
# New ports collection makefile for: netustad
-# Date created: 4 July 2004
+# Date created: 9 January 2005
# Whom: Ozkan KIRIK <ozkan at enderunix.org>
#
-# $FreeBSD: ports/net-mgmt/netustad/Makefile,v 1.3 2004/08/05 07:24:09 sem Exp $
+# $FreeBSD$
#
PORTNAME= netustad
-PORTVERSION= 0.2b
+PORTVERSION= 0.3.0
CATEGORIES= net-mgmt security
MASTER_SITES= http://www.enderunix.org/netustad/
-DISTNAME= ${PORTNAME}-0.2-BETA
MAINTAINER= ozkan at enderunix.org
COMMENT= A Web based admin tool that manages network services
-MAN8= netustad.8 netustadpasswd.8
-MAN5= netustad.conf.5
+#MAN8= netustad.8 netustadpasswd.8
+#MAN5= netustad.conf.5
USE_RC_SUBR= yes
+USE_GETTEXT= yes
+GNU_CONFIGURE= yes
+OPTIONS= SSL "Use netUstad with SSL support" on
+
+.if defined(WITH_SSL)
+USE_OPENSSL= yes
+.else
+CONFIGURE_ARGS+= --without-ssl
+.endif
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --without-nls
+.endif
+
+.if defined(NOPORTDOCS)
+#make portlint happy :)
+.endif
+
SED_SCRIPT+= -e '{ s,%%PREFIX%%,${PREFIX},g; }'
post-build:
@${SED} ${SED_SCRIPT} ${FILESDIR}/netustad.sh >${WRKDIR}/netustad.sh
- @${SED} ${SED_SCRIPT} ${FILESDIR}/netustadctl >${WRKDIR}/netustadctl
post-install:
@${CAT} ${PKGMESSAGE} | ${SED} ${SED_SCRIPT}
${INSTALL_SCRIPT} ${WRKDIR}/netustad.sh ${PREFIX}/etc/rc.d/
- ${INSTALL_SCRIPT} ${WRKDIR}/netustadctl ${PREFIX}/sbin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/GPL-License ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/THANKS ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
-.endif
.include <bsd.port.mk>
diff -ruN netustad.old/distinfo netustad/distinfo
--- netustad.old/distinfo Sun Dec 5 04:24:08 2004
+++ netustad/distinfo Sun Dec 5 02:26:09 2004
@@ -1,2 +1,2 @@
-MD5 (netustad-0.2-BETA.tar.gz) = 7d17d20783ab2a9d09df1f7d5daae7f8
-SIZE (netustad-0.2-BETA.tar.gz) = 54906
+MD5 (netustad-0.3.0.tar.gz) = 4f5f0087c10b7571398491fd146faaaf
+SIZE (netustad-0.3.0.tar.gz) = 282356
diff -ruN netustad.old/files/netustad.sh netustad/files/netustad.sh
--- netustad.old/files/netustad.sh Sun Dec 5 04:24:08 2004
+++ netustad/files/netustad.sh Sun Dec 5 04:27:15 2004
@@ -17,8 +17,6 @@
unset rcNG
name="netustad"
command=%%PREFIX%%/sbin/netustad
-extra_commands=reload
-reload_cmd="killall -HUP ${name}"
stop_cmd="killall ${name}"
if [ -f /etc/rc.subr ]; then
diff -ruN netustad.old/files/netustadctl netustad/files/netustadctl
--- netustad.old/files/netustadctl Sun Dec 5 04:24:08 2004
+++ netustad/files/netustadctl Thu Jan 1 02:00:00 1970
@@ -1,30 +0,0 @@
-#!/bin/csh
-######################################
-# netustadctl: netUstad ConTroLler #
-######################################
-
-set prefix="%%PREFIX%%"
-
-switch ($1)
- case start:
- $prefix/sbin/netustad
- breaksw
- case stop:
- killall netustad
- breaksw
- case reload:
- killall -HUP netustad
- echo ""
- echo "netUstad configuration reloaded"
- echo ""
- breaksw
- case restart:
- killall netustad
- $prefix/sbin/netustad
- breaksw
- default:
- echo ""
- echo "usage: netustadctl start|stop|restart|reload"
- echo ""
- exit 64
-endsw
diff -ruN netustad.old/pkg-descr netustad/pkg-descr
--- netustad.old/pkg-descr Sun Dec 5 04:24:08 2004
+++ netustad/pkg-descr Sun Dec 5 04:18:16 2004
@@ -6,11 +6,10 @@
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.
+system administrators to add/delete/update FreeBSD IPFW and Linux IpTables
+rulesets, manage routing table and network interfaces.
-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)
+You can manage your Firewall via a TCP/IP connected remote PC, easily.
Project Page:
WWW: http://www.enderunix.org/netustad
diff -ruN netustad.old/pkg-message netustad/pkg-message
--- netustad.old/pkg-message Sun Dec 5 04:24:08 2004
+++ netustad/pkg-message Sun Dec 5 03:30:27 2004
@@ -1,7 +1,9 @@
-*************************************************
-* 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! *
-*************************************************
+*****************************************************************
+* You must run this program as root *
+* Program path : %%PREFIX%%/sbin/netustad *
+* Your AdminUser : admin *
+* Your AdminPassword : admin *
+* Config file path : %%PREFIX%%/etc/netustad/netustad.conf *
+* Check lc_all variable in config file. *
+* Don't forget to change your password! *
+*****************************************************************
diff -ruN netustad.old/pkg-plist netustad/pkg-plist
--- netustad.old/pkg-plist Sun Dec 5 04:24:08 2004
+++ netustad/pkg-plist Sun Dec 5 04:11:11 2004
@@ -1,31 +1,62 @@
+bin/netustadctl
+bin/netustadpasswd
sbin/netustad
-sbin/netustadctl
-sbin/netustadpasswd
etc/rc.d/netustad.sh
- at 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
- at exec [ -f %B/netustad.conf ] || cp %B/%f %B/netustad.conf
-%%DATADIR%%/script/English
+ at unexec if cmp -s %D/etc/netustad/netustad.conf %D/etc/netustad/netustad.conf-dist; then rm -f %D/etc/netustad/netustad.conf; fi
+etc/netustad/netustad.conf-dist
+ at exec [ -f %B/netustad/netustad.conf ] || cp %B/%f %B/netustad/netustad.conf
+/include/netustad/acceptrequest.h
+/include/netustad/addnewrule.h
+/include/netustad/auth.h
+/include/netustad/common.h
+/include/netustad/config.h
+/include/netustad/deleterule.h
+/include/netustad/editrule.h
+/include/netustad/loadconfig.h
+/include/netustad/mimetype.h
+/include/netustad/netustad.h
+/include/netustad/execcgi.h
+/include/netustad/network.h
+/include/netustad/snprintf.h
%%DATADIR%%/script/action1.inc
%%DATADIR%%/script/action2.inc
-%%DATADIR%%/script/addform
-%%DATADIR%%/script/addrule.inc
-%%DATADIR%%/script/authform
%%DATADIR%%/script/edit-parse
-%%DATADIR%%/script/editform
-%%DATADIR%%/script/editrule.inc
-%%DATADIR%%/script/footer
-%%DATADIR%%/script/header
+%%DATADIR%%/script/if-edit
+%%DATADIR%%/script/if-parse
%%DATADIR%%/script/intf-parse
-%%DATADIR%%/script/loadindex
-%%DATADIR%%/script/maketable
+%%DATADIR%%/script/nat-edit
+%%DATADIR%%/script/nat-parse
%%DATADIR%%/script/netustad.css
%%DATADIR%%/script/proto.inc
+%%DATADIR%%/script/rt-edit
+%%DATADIR%%/script/rt-parse
%%DATADIR%%/script/ruleoption1.inc
%%DATADIR%%/script/ruleoption2.inc
%%DATADIR%%/script/service-parse
-%%DATADIR%%/script/showrule
+%%DATADIR%%/script/stats-parse
%%DATADIR%%/script/static-parse
+%%DATADIR%%/script/addform
+%%DATADIR%%/script/authform
+%%DATADIR%%/script/editform
+%%DATADIR%%/script/footer
+%%DATADIR%%/script/header
+%%DATADIR%%/script/if_edit
+%%DATADIR%%/script/if_table
+%%DATADIR%%/script/loadindex
+%%DATADIR%%/script/maketable
+%%DATADIR%%/script/nat_add
+%%DATADIR%%/script/nat_del
+%%DATADIR%%/script/nat_edit
+%%DATADIR%%/script/rt_add
+%%DATADIR%%/script/rt_del
+%%DATADIR%%/script/rt_edit
+%%DATADIR%%/script/rt_table
+%%DATADIR%%/script/shownat
+%%DATADIR%%/script/showrule
+%%DATADIR%%/script/stats
+%%DATADIR%%/script/addrule.content
+%%DATADIR%%/script/editrule.content
+%%DATADIR%%/script/writeconfig
%%DATADIR%%/script/images/action_allow.png
%%DATADIR%%/script/images/action_checkstate.png
%%DATADIR%%/script/images/action_count.png
@@ -56,14 +87,19 @@
%%DATADIR%%/script/images/menu_login.png
%%DATADIR%%/script/images/menu_logout.png
%%DATADIR%%/script/images/menu_rulelist.png
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%DATADIR%%/cert/netustad.crt
+%%DATADIR%%/cert/netustad.csr
+%%DATADIR%%/cert/netustad.key
+%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/FAQ
-%%PORTDOCS%%%%DOCSDIR%%/GPL-License
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/ABOUT-NLS
@dirrm %%DATADIR%%/script/images
@dirrm %%DATADIR%%/script
+ at dirrm %%DATADIR%%/cert
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- netustad_port.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list