Skip site navigation (1)Skip section navigation (2)
Date:      14 Jul 2005 13:19:02 -0300
From:      Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
Subject:   ports/83469: New port: sysutils/tinybsd - Script to build embedded systems based on FreeBSD
Message-ID:  <20050714161902.11025.qmail@capeta.freebsdbrasil.com.br>
Resent-Message-ID: <200507141620.j6EGKBSF033324@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         83469
>Category:       ports
>Synopsis:       New port: sysutils/tinybsd - Script to build embedded systems based on FreeBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 14 16:20:10 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jean Milanez Melo
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD capeta.freebsdbrasil.com.br 5.3-STABLE FreeBSD 5.3-STABLE #5: Wed Mar 2 15:03:19 BRT 2005 eksffa@capeta.freebsdbrasil.com.br:/usr/obj/usr/src/sys/CAPETA i386


	
>Description:
	With TinyBSD you can create embedded systems based on FreeBSD 5.X and 6-CURRENT
	It's another alternative to PicoBSD and NanoBSD.

	WWW: http://www.tinybsd.org/
>How-To-Repeat:
	
>Fix:

	

--- tinybsd.shar begins here ---
# 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:
#
#	tinybsd
#	tinybsd/Makefile
#	tinybsd/pkg-descr
#	tinybsd/pkg-plist
#	tinybsd/distinfo
#	tinybsd/files
#	tinybsd/files/pkg-message.in
#
echo c - tinybsd
mkdir -p tinybsd > /dev/null 2>&1
echo x - tinybsd/Makefile
sed 's/^X//' >tinybsd/Makefile << 'END-of-tinybsd/Makefile'
X# New ports collection makefile for:	tinybsd
X# Date created:		11 July 2005
X# Whom:			Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tinybsd
XPORTVERSION=	0.1
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.tinybsd.org/
X
XMAINTAINER=	jmelo@freebsdbrasil.com.br
XCOMMENT=	Shell script to build embedded systems based on FreeBSD
X
XNO_BUILD=	yes
XDATADIR=	${PREFIX}/share/tinybsd
XBINDIR=		${PREFIX}/bin
XPKGMESSAGE=     ${WRKDIR}/pkg-message
XSUB_FILES=	pkg-message
X
Xpost-install:
X	@${MKDIR} ${DATADIR}
X	@${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DATADIR}
X	@${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/README
X	@${INSTALL_DATA} ${WRKSRC}/tinybsd.basefiles ${DATADIR}
X	@${INSTALL_DATA} ${WRKSRC}/TINYBSD ${DATADIR}
X	@${INSTALL_DATA} ${WRKSRC}/TODO ${DATADIR}
X	@${SED} "s|/usr/local|${PREFIX}|g" ${WRKSRC}/tinybsd > ${BINDIR}/tinybsd
X	@${CHMOD} 555 ${BINDIR}/tinybsd
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-tinybsd/Makefile
echo x - tinybsd/pkg-descr
sed 's/^X//' >tinybsd/pkg-descr << 'END-of-tinybsd/pkg-descr'
XWith TinyBSD you can create embedded systems based on FreeBSD 5.X and 6-CURRENT
XIt's another alternative to PicoBSD and NanoBSD.
X
XWWW: http://www.tinybsd.org/
END-of-tinybsd/pkg-descr
echo x - tinybsd/pkg-plist
sed 's/^X//' >tinybsd/pkg-plist << 'END-of-tinybsd/pkg-plist'
Xshare/tinybsd/COPYRIGHT
Xshare/tinybsd/README
Xshare/tinybsd/tinybsd.basefiles
Xshare/tinybsd/TINYBSD
Xshare/tinybsd/TODO
Xbin/tinybsd
X@dirrm share/tinybsd
X
END-of-tinybsd/pkg-plist
echo x - tinybsd/distinfo
sed 's/^X//' >tinybsd/distinfo << 'END-of-tinybsd/distinfo'
XMD5 (tinybsd-0.1.tar.gz) = 9fe49c0c4be10b7fb47b136d71a33f7b
XSIZE (tinybsd-0.1.tar.gz) = 11925
END-of-tinybsd/distinfo
echo c - tinybsd/files
mkdir -p tinybsd/files > /dev/null 2>&1
echo x - tinybsd/files/pkg-message.in
sed 's/^X//' >tinybsd/files/pkg-message.in << 'END-of-tinybsd/files/pkg-message.in'
X*****************************************************************************
XYou have installed the tinybsd package.
X
XThe configuration files is in %%PREFIX%%/share/tinybsd.
X
XYou can customize your tinybsd image editing 
X%%PREFIX%%/share/tinybsd/tinybsd.basefiles to add or to remove the system 
Xbinaries.
X
XEdit %%PREFIX%%/share/tinybsd/TINYBSD to add or to remove kernel options and 
Xthen run %%PREFIX%%/bin/tinybsd script to build your system according your 
Xdevice information.
X
XAfter the embedded system build is done, the resulting system will be avaliable
Xin the %%PREFIX%%/share/tinybsd/tinybsd.bin file. To write this system image 
Xto your medium use dd(1) according to the following: 
X
X# dd if=%%PREFIX%%/share/tinybsd/tinybsd.bin of=/dev/ad2
X
XFor more information read the README file on %%PREFIX%%/share/tinybsd.
END-of-tinybsd/files/pkg-message.in
exit
--- tinybsd.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050714161902.11025.qmail>