Subject: pkg/14171: new package: toolkit to make one floppy NetBSD system
To: None <gnats-bugs@gnats.netbsd.org>
From: None <fukachan@fml.org>
List: netbsd-bugs
Date: 10/06/2001 13:59:33
>Number:         14171
>Category:       pkg
>Synopsis:       new package: toolkit to make one floppy NetBSD system
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 05 22:00:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ken'ichi Fukamachi
>Release:        NetBSD 1.5.2
>Organization:
fml.org
>Environment:
>Description:

fdgw is a tool kit to make one floppy NetBSD/i386.

It can run on old machine with or without HDD. For example, you can
use it as small router, natbox and ADSL router. It is minimal
operating system.  For example, you can use old pc (e.g. IBM PC110) as
a pretty ADSL router with ipfilter and dhcpd. 

  [Caution]

	1) you need NetBSD source tree to make this system.

	2) i386 only now. 
	I test and use this system only on NetBSD/i386 1.5.x. 
	I've not tested it on NetBSD-current nor on other
	architectures than i386. 

P.S. I don't know category net/fdgw is appropriate or not but I submit
this as net/fdgw anyway. 

>How-To-Repeat:
>Fix:

# 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:
#
#	net/fdgw
#	net/fdgw/pkg
#	net/fdgw/pkg/DESCR
#	net/fdgw/pkg/PLIST
#	net/fdgw/Makefile
#	net/fdgw/distinfo
#
echo c - net/fdgw
mkdir -p net/fdgw > /dev/null 2>&1
echo c - net/fdgw/pkg
mkdir -p net/fdgw/pkg > /dev/null 2>&1
echo x - net/fdgw/pkg/DESCR
sed 's/^X//' >net/fdgw/pkg/DESCR << 'END-of-net/fdgw/pkg/DESCR'
X"fdgw" is one floppy version of NetBSD. 
X
XIt can run on old machine without HDD :-). You can use it as small
Xrouter, natbox and ADSL router. It is minimal operating system. For
Xexample, you can use old pc (e.g. IBM PC110) as a pretty ADSL router. 
X
END-of-net/fdgw/pkg/DESCR
echo x - net/fdgw/pkg/PLIST
sed 's/^X//' >net/fdgw/pkg/PLIST << 'END-of-net/fdgw/pkg/PLIST'
X@comment $NetBSD$
END-of-net/fdgw/pkg/PLIST
echo x - net/fdgw/Makefile
sed 's/^X//' >net/fdgw/Makefile << 'END-of-net/fdgw/Makefile'
X#
X# $NetBSD$
X# $FML: Makefile,v 1.6 2001/10/03 15:55:18 fukachan Exp $
X#
X
XDISTNAME=	fdgw-20011003
XCATEGORIES=	net
XMASTER_SITES=	ftp://ftp.fml.org/pub/fdgw/source/
X
XMAINTAINER= 	fukachan@fml.org
XHOMEPAGE=	http://www.fml.org/software/fdgw/
XCOMMENT= 	toolkit to make one floppy NetBSD system
X
XBSDSRCDIR?=	/usr/src
X
X.if (${MACHINE_ARCH} != "i386")
XIGNORE=  "Sorry, fdgw is tested only on i386."
XIGNORE+= "Please report ${MAINTAINER} if you succeed other than on i386"
X.endif
X
X# we need NetBSD source tree.
X.if !exists(${BSDSRCDIR})
XIGNORE= "${PKGNAME} requires NetBSD source tree in BSDSRCDIR (${BSDSRCDIR})"
X.endif
X
X
XALL_TARGET=	dist
X
Xdo-install:
X	@ echo ""; echo "************************************"; echo "";
X	@ echo "WARNING: no installation to ${LOCALBASE}"
X	@ echo ""
X	@ echo "Please write floppy image and customize it!"
X	@ echo "For example, to write adslrouter.img into floppy device"
X	@ echo "     # dd if=adslrouter.img of=/dev/rfd0a bs=18k"
X	@ echo ""; echo "See ${HOMEPAGE} for more details.";
X	@ echo ""; echo "************************************"; echo "";
X
Xpost-build:
X	@ echo ""; echo "************************************"; echo "";
X	@ echo "You can find floppy images built now"
X	@ echo "     in ${WRKSRC}/image/."
X	@ echo ""
X	@ echo "For example, to write adslrouter.img into floppy device"
X	@ echo "     # dd if=adslrouter.img of=/dev/rfd0a bs=18k"
X	@ echo ""; echo "See ${HOMEPAGE} for more details.";
X	@ echo ""; echo "************************************"; echo "";
X
X.include "../../mk/bsd.pkg.mk"
END-of-net/fdgw/Makefile
echo x - net/fdgw/distinfo
sed 's/^X//' >net/fdgw/distinfo << 'END-of-net/fdgw/distinfo'
X$NetBSD$
X
XSHA1 (fdgw-20011003.tar.gz) = f1fb3e0abf82d71ba7cf719cf9ee7b713a6bbdf9
XSize (fdgw-20011003.tar.gz) = 119531 bytes
END-of-net/fdgw/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted: