Adding netUstad network management software to FreeBSD Ports Tree net-mgmt Old ID: ports/69008 How-To-Repeat: Applying patches
Responsible Changed From-To: freebsd-ports-bugs->sem Take it.
I have lost your PRs when you open a new one. You can just follow-up. Or notify me what PR you have open. -- Sem.
Sorry. I've missed you did Cc me. -- Sem.
Can you update Originator Field? Ozkan KIRIK <root@mersin.edu.tr> ---> incorrect Ozkan KIRIK <ozkan@enderunix.org> --> true :) With Best Regards, -- Ozkan KIRIK EnderUNIX Software Developer
Hi, the shar file below is the last version of net-mgmt/netustad port. Changes in the source tarball: moved netustad daemon from $PREFIX/bin to $PERFIX/sbin. rc-NG startup script written. Changes in the port files: Makefile, pkg-plist, distinfo and pkg-message updated. files/netustad.sh.sample added. With Best Regards, -- Ozkan KIRIK EnderUNIX Software Developer, # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./Makefile # ./distinfo # ./pkg-descr # ./pkg-message # ./pkg-plist # ./files # ./files/netustad.sh.sample # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: netustad X# Date created: 4 July 2004 X# Whom: ozkan@enderunix.org X# X# $FreeBSD$ X# X XPORTNAME= netustad XPORTVERSION= 0.1.1 XCATEGORIES= net-mgmt security XMASTER_SITES= http://www.enderunix.org/netustad/ X XMAINTAINER= ozkan@enderunix.org XCOMMENT= A web based admin tool that manages network services X X XMAN8= netustad.8 netustadpasswd.8 XMAN5= netustad.conf.5 X Xpost-install: X @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' X @${INSTALL_SCRIPT} -o root -g wheel files/netustad.sh.sample ${PREFIX}/etc/rc.d/ X X.include <bsd.port.mk> END-of-./Makefile echo x - ./distinfo sed 's/^X//' >./distinfo << 'END-of-./distinfo' XMD5 (netustad-0.1.1.tar.gz) = 5446b002d68367239867d4e29f039d81 XSIZE (netustad-0.1.1.tar.gz) = 39334 END-of-./distinfo echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr' XTo ease the task of network administration, Xdecrease the likelihood of erronous command execution and Xto maintain all network services from a central point, XEnderUNIX SDT anounces the availability of its 9th open-source tool, netUstad. X XIt has been coded in C language and includes its own HTTP server. XThe newly anounced version provides a web interface for Xsystem administrators to add/delete/update IPFW rulesets. X XYou can manage your IPFW firewall via a TCP/IP connected remote PC, easily. XDevelopment version icludes modules to manage whole Xnetwork services (routing tables, network interfaces) X XProject Page: XWWW: http://www.enderunix.org/netustad X X- Ozkan KIRIK Xozkan@enderunix.org XEnderUNIX SDT @ Turkey END-of-./pkg-descr echo x - ./pkg-message sed 's/^X//' >./pkg-message << 'END-of-./pkg-message' X************************************************* X* You must run this program as root * X* Program path : %%PREFIX%%/sbin/netustad * X* Your AdminUser : admin * X* Your AdminPassword : admin * X* Don't forget to change your password! * X************************************************* X END-of-./pkg-message echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist' Xsbin/netustad Xsbin/netustadctl Xsbin/netustadpasswd Xetc/rc.d/netustad.sh.sample X@unexec if [ -f %D/etc/rc.d/netustad.sh ]; then rm -f %D/etc/rc.d/netustad.sh; fi X@unexec if cmp -s %D/etc/netustad.conf %D/etc/netustad.conf-dist; then rm -f %D/etc/netustad.conf; fi Xetc/netustad.conf-dist X@exec [ -f %B/netustad.conf ] || cp %B/%f %B/netustad.conf X%%DATADIR%%/script/English X%%DATADIR%%/script/Turkce X%%DATADIR%%/script/action1.inc X%%DATADIR%%/script/action2.inc X%%DATADIR%%/script/addform X%%DATADIR%%/script/addrule.inc X%%DATADIR%%/script/authform X%%DATADIR%%/script/bg.png X%%DATADIR%%/script/delete.jpg X%%DATADIR%%/script/edit-parse X%%DATADIR%%/script/editform X%%DATADIR%%/script/editrule.inc X%%DATADIR%%/script/intf-parse X%%DATADIR%%/script/loginform.inc X%%DATADIR%%/script/maketable X%%DATADIR%%/script/netustad.css X%%DATADIR%%/script/proto.inc X%%DATADIR%%/script/ruleoption1.inc X%%DATADIR%%/script/ruleoption2.inc X%%DATADIR%%/script/showrule X%%DATADIR%%/script/static-parse X%%PORTDOCS%%%%DOCSDIR%%/CHANGES X%%PORTDOCS%%%%DOCSDIR%%/COPYING X%%PORTDOCS%%%%DOCSDIR%%/FAQ X%%PORTDOCS%%%%DOCSDIR%%/GPL-License X%%PORTDOCS%%%%DOCSDIR%%/INSTALL X%%PORTDOCS%%%%DOCSDIR%%/THANKS X%%PORTDOCS%%%%DOCSDIR%%/TODO X@dirrm %%DATADIR%%/script X@dirrm %%DATADIR%% X@dirrm %%PORTDOCS%%%%DOCSDIR%% END-of-./pkg-plist echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/netustad.sh.sample sed 's/^X//' >./files/netustad.sh.sample << 'END-of-./files/netustad.sh.sample' X#!/bin/sh X# X# $FreeBSD$ X# X# PROVIDE: netustad X# REQUIRE: NETWORKING SERVERS X# BEFORE: DAEMON X# KEYWORD: FreeBSD X# X# Note: X# If you are running an rcNG-System (i.e. FreeBSD 5 and later or after X# having installed the rc_subr-port on an earlier system) you must set X# "netustad_enable=YES" in either /etc/rc.conf, /etc/rc.conf.local or X# X# Please see netustad(8), rc.conf(5) and rc(8) for further details. X Xunset rcNG Xname="netustad" Xcommand=/usr/local/sbin/netustad Xextra_commands=reload Xreload_cmd="killall -HUP ${name}" Xstop_cmd="killall ${name}" X Xif [ -f /etc/rc.subr ]; then X . /etc/rc.subr && rcNG=yes Xelse X if [ -f /usr/local/etc/rc.subr ]; then X . /usr/local/etc/rc.subr && rcNG=yes X fi Xfi X Xif [ "${rcNG}" ]; then X rcvar=`set_rcvar` X load_rc_config ${name} X run_rc_command "$1" Xelse X case $1 in X start) X if [ -x "${command}" ]; then X echo -n ' netustad ' X ${command} X fi X ;; X stop) X if [ -x "${command}" ]; then X echo -n ' netustad ' X ${stop_cmd} X fi X ;; X *) X echo "usage: `basename $0` {start|stop}" >&2 X exit 64 X ;; X esac X exit 0 Xfi END-of-./files/netustad.sh.sample exit
State Changed From-To: open->feedback ===> Building package for netustad-0.1.1 Creating package /usr/home/sem/prs/netustad/netustad-0.1.1.tbz Registering depends:. Creating bzip'd tar ball in '/usr/home/sem/prs/netustad/netustad-0.1.1.tbz' tar: %D/etc/rc.d/netustad.sh; fi: Cannot stat: No such file or directory tar: -f %D/etc/netustad.conf; fi: Cannot stat: No such file or directory tar: Error exit delayed from previous errors pkg_create: make_dist: tar command failed with code 512
Hi, i dont receive any errors as you sent. if you still getting errors as this, please do "make distclean". The output of shar `find port_dir` command is below: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # netustad/ # netustad/Makefile # netustad/distinfo # netustad/pkg-descr # netustad/pkg-message # netustad/pkg-plist # netustad/files # netustad/files/netustad.sh.sample # echo c - netustad/ mkdir -p netustad/ > /dev/null 2>&1 echo x - netustad/Makefile sed 's/^X//' >netustad/Makefile << 'END-of-netustad/Makefile' X# New ports collection makefile for: netustad X# Date created: 4 July 2004 X# Whom: ozkan@enderunix.org X# X# $FreeBSD$ X# X XPORTNAME= netustad XPORTVERSION= 0.1.1 XCATEGORIES= net-mgmt security XMASTER_SITES= http://www.enderunix.org/netustad/ X XMAINTAINER= ozkan@enderunix.org XCOMMENT= A web based admin tool that manages network services X X XMAN8= netustad.8 netustadpasswd.8 XMAN5= netustad.conf.5 X Xpost-install: X @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' X @${INSTALL_SCRIPT} -o root -g wheel files/netustad.sh.sample ${PREFIX}/etc/rc.d/ X X.include <bsd.port.mk> END-of-netustad/Makefile echo x - netustad/distinfo sed 's/^X//' >netustad/distinfo << 'END-of-netustad/distinfo' XMD5 (netustad-0.1.1.tar.gz) = 5446b002d68367239867d4e29f039d81 XSIZE (netustad-0.1.1.tar.gz) = 39334 END-of-netustad/distinfo echo x - netustad/pkg-descr sed 's/^X//' >netustad/pkg-descr << 'END-of-netustad/pkg-descr' XTo ease the task of network administration, Xdecrease the likelihood of erronous command execution and Xto maintain all network services from a central point, XEnderUNIX SDT anounces the availability of its 9th open-source tool, netUstad. X XIt has been coded in C language and includes its own HTTP server. XThe newly anounced version provides a web interface for Xsystem administrators to add/delete/update IPFW rulesets. X XYou can manage your IPFW firewall via a TCP/IP connected remote PC, easily. XDevelopment version icludes modules to manage whole Xnetwork services (routing tables, network interfaces) X XProject Page: XWWW: http://www.enderunix.org/netustad X X- Ozkan KIRIK Xozkan@enderunix.org XEnderUNIX SDT @ Turkey END-of-netustad/pkg-descr echo x - netustad/pkg-message sed 's/^X//' >netustad/pkg-message << 'END-of-netustad/pkg-message' X************************************************* X* You must run this program as root * X* Program path : %%PREFIX%%/sbin/netustad * X* Your AdminUser : admin * X* Your AdminPassword : admin * X* Don't forget to change your password! * X************************************************* X END-of-netustad/pkg-message echo x - netustad/pkg-plist sed 's/^X//' >netustad/pkg-plist << 'END-of-netustad/pkg-plist' Xsbin/netustad Xsbin/netustadctl Xsbin/netustadpasswd Xetc/rc.d/netustad.sh.sample X@unexec if [ -f %D/etc/rc.d/netustad.sh ]; then rm -f %D/etc/rc.d/netustad.sh; fi X@unexec if cmp -s %D/etc/netustad.conf %D/etc/netustad.conf-dist; then rm -f %D/etc/netustad.conf; fi Xetc/netustad.conf-dist X@exec [ -f %B/netustad.conf ] || cp %B/%f %B/netustad.conf X%%DATADIR%%/script/English X%%DATADIR%%/script/Turkce X%%DATADIR%%/script/action1.inc X%%DATADIR%%/script/action2.inc X%%DATADIR%%/script/addform X%%DATADIR%%/script/addrule.inc X%%DATADIR%%/script/authform X%%DATADIR%%/script/bg.png X%%DATADIR%%/script/delete.jpg X%%DATADIR%%/script/edit-parse X%%DATADIR%%/script/editform X%%DATADIR%%/script/editrule.inc X%%DATADIR%%/script/intf-parse X%%DATADIR%%/script/loginform.inc X%%DATADIR%%/script/maketable X%%DATADIR%%/script/netustad.css X%%DATADIR%%/script/proto.inc X%%DATADIR%%/script/ruleoption1.inc X%%DATADIR%%/script/ruleoption2.inc X%%DATADIR%%/script/showrule X%%DATADIR%%/script/static-parse X%%PORTDOCS%%%%DOCSDIR%%/CHANGES X%%PORTDOCS%%%%DOCSDIR%%/COPYING X%%PORTDOCS%%%%DOCSDIR%%/FAQ X%%PORTDOCS%%%%DOCSDIR%%/GPL-License X%%PORTDOCS%%%%DOCSDIR%%/INSTALL X%%PORTDOCS%%%%DOCSDIR%%/THANKS X%%PORTDOCS%%%%DOCSDIR%%/TODO X@dirrm %%DATADIR%%/script X@dirrm %%DATADIR%% X@dirrm %%PORTDOCS%%%%DOCSDIR%% END-of-netustad/pkg-plist echo c - netustad/files mkdir -p netustad/files > /dev/null 2>&1 echo x - netustad/files/netustad.sh.sample sed 's/^X//' >netustad/files/netustad.sh.sample << 'END-of-netustad/files/netustad.sh.sample' X#!/bin/sh X# X# $FreeBSD$ X# X# PROVIDE: netustad X# REQUIRE: NETWORKING SERVERS X# BEFORE: DAEMON X# KEYWORD: FreeBSD X# X# Note: X# If you are running an rcNG-System (i.e. FreeBSD 5 and later or after X# having installed the rc_subr-port on an earlier system) you must set X# "netustad_enable=YES" in either /etc/rc.conf, /etc/rc.conf.local or X# X# Please see netustad(8), rc.conf(5) and rc(8) for further details. X Xunset rcNG Xname="netustad" Xcommand=/usr/local/sbin/netustad Xextra_commands=reload Xreload_cmd="killall -HUP ${name}" Xstop_cmd="killall ${name}" X Xif [ -f /etc/rc.subr ]; then X . /etc/rc.subr && rcNG=yes Xelse X if [ -f /usr/local/etc/rc.subr ]; then X . /usr/local/etc/rc.subr && rcNG=yes X fi Xfi X Xif [ "${rcNG}" ]; then X rcvar=`set_rcvar` X load_rc_config ${name} X run_rc_command "$1" Xelse X case $1 in X start) X if [ -x "${command}" ]; then X echo -n ' netustad ' X ${command} X fi X ;; X stop) X if [ -x "${command}" ]; then X echo -n ' netustad ' X ${stop_cmd} X fi X ;; X *) X echo "usage: `basename $0` {start|stop}" >&2 X exit 64 X ;; X esac X exit 0 Xfi END-of-netustad/files/netustad.sh.sample exit
State Changed From-To: feedback->closed Committed with changes, thanks!