Subject: Re: [GLUG-tech] busybox port to NetBSD pkgsrc
To: None <ross.cameron@linuxpro.co.za>
From: Rudi Ahlers <Rudi@SoftDux.com>
List: pkgsrc-users
Date: 01/09/2007 22:04:48
--=-zoZXYZjIPVZuHT/hQAnC
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Tue, 2007-01-09 at 20:54 +0200, Ross Cameron wrote:

> Hi there all,... Im putting together a port of busybox for the NetBSD
> pkgsrc package manager.
> 
> I've put it in       /usr/pkgsrc/sysutils/busybox          please
> comment on this if you feel this is the wrong place.
>       Below is my Makefile, it downloads the package from the net and
> builds no problem.
> My issue is with taking the finished build and wrapping it up in a
> package. I just cant figure it out.
> Also I know that the Makefile isn't 100% correct (but it works), so
> any advice would be appreciated, its the first time Ive used pkgsrc.
> 
> 
> ======================== Makefile ========================
> # $NetBSD$
> #
> 
> DISTNAME=               busybox-1.3.1
> #PKGNAME=               busybox-1.3.1
> CATEGORIES=             sysutils
> MASTER_SITES=           http://busybox.net/downloads/
> EXTRACT_SUFX=           .tar.bz2
> 
> MAINTAINER=             ross@goal.co.za
> HOMEPAGE=               http://busybox.net/
> COMMENT=                The "Swiss Army Knife" of embedded Linux
> 
> USE_TOOLS+=             gmake
> ONLY_FOR_PLATFORM=      Linux-*-*
> 
> HAS_CONFIGURE= NO
> CONFIGURE_SCRIPT= gmake defconfig
> 
> .include "../../mk/bsd.pkg.mk"
> ======================== Makefile ========================
> 
> 
> After running:
>       bmake clean clean-depends
>       bmake
> 
> The busybox package builds no problem and produces a 100% fully working binary!
> It places the "install tree" in
> /usr/pkgsrc/sysutils/busybox/work/busybox-1.3.1/_install
> and if I run the tree command in that directory I get the following:
> 
> 
> ======================== install tree ========================
> root@seyos-devel:/usr/pkgsrc/sysutils/busybox/work/busybox-1.3.1/_install# tree
> .
> |-- bin
> |   |-- addgroup -> busybox
> |   |-- adduser -> busybox
> |   |-- bbconfig -> busybox
> |   |-- busybox
> |   |-- cat -> busybox
> |   |-- catv -> busybox
> |   |-- chattr -> busybox
> |   |-- chgrp -> busybox
> |   |-- chmod -> busybox
> |   |-- chown -> busybox
> |   |-- cp -> busybox
> |   |-- cpio -> busybox
> |   |-- date -> busybox
> |   |-- dd -> busybox
> |   |-- delgroup -> busybox
> |   |-- deluser -> busybox
> |   |-- df -> busybox
> |   |-- dmesg -> busybox
> |   |-- dumpkmap -> busybox
> |   |-- echo -> busybox
> |   |-- ed -> busybox
> |   |-- egrep -> busybox
> |   |-- false -> busybox
> |   |-- fdflush -> busybox
> |   |-- fgrep -> busybox
> |   |-- getopt -> busybox
> |   |-- grep -> busybox
> |   |-- gunzip -> busybox
> |   |-- gzip -> busybox
> |   |-- hostname -> busybox
> |   |-- ip -> busybox
> |   |-- ipaddr -> busybox
> |   |-- ipcalc -> busybox
> |   |-- iplink -> busybox
> |   |-- iproute -> busybox
> |   |-- iprule -> busybox
> |   |-- iptunnel -> busybox
> |   |-- kill -> busybox
> |   |-- linux32 -> busybox
> |   |-- linux64 -> busybox
> |   |-- ln -> busybox
> |   |-- login -> busybox
> |   |-- ls -> busybox
> |   |-- lsattr -> busybox
> |   |-- mkdir -> busybox
> |   |-- mknod -> busybox
> |   |-- mktemp -> busybox
> |   |-- more -> busybox
> |   |-- mount -> busybox
> |   |-- mountpoint -> busybox
> |   |-- mt -> busybox
> |   |-- mv -> busybox
> |   |-- netstat -> busybox
> |   |-- nice -> busybox
> |   |-- pidof -> busybox
> |   |-- ping -> busybox
> |   |-- ping6 -> busybox
> |   |-- pipe_progress -> busybox
> |   |-- printenv -> busybox
> |   |-- ps -> busybox
> |   |-- pwd -> busybox
> |   |-- rm -> busybox
> |   |-- rmdir -> busybox
> |   |-- rpm -> busybox
> |   |-- run-parts -> busybox
> |   |-- sed -> busybox
> |   |-- setarch -> busybox
> |   |-- sleep -> busybox
> |   |-- stat -> busybox
> |   |-- stty -> busybox
> |   |-- su -> busybox
> |   |-- sync -> busybox
> |   |-- tar -> busybox
> |   |-- touch -> busybox
> |   |-- true -> busybox
> |   |-- umount -> busybox
> |   |-- uname -> busybox
> |   |-- uncompress -> busybox
> |   |-- usleep -> busybox
> |   |-- vi -> busybox
> |   |-- watch -> busybox
> |   `-- zcat -> busybox
> |-- linuxrc -> bin/busybox
> |-- sbin
> |   |-- adjtimex -> ../bin/busybox
> |   |-- fdisk -> ../bin/busybox
> |   |-- freeramdisk -> ../bin/busybox
> |   |-- fsck -> ../bin/busybox
> |   |-- fsck.minix -> ../bin/busybox
> |   |-- getty -> ../bin/busybox
> |   |-- halt -> ../bin/busybox
> |   |-- hdparm -> ../bin/busybox
> |   |-- hwclock -> ../bin/busybox
> |   |-- ifconfig -> ../bin/busybox
> |   |-- ifdown -> ../bin/busybox
> |   |-- ifup -> ../bin/busybox
> |   |-- init -> ../bin/busybox
> |   |-- insmod -> ../bin/busybox
> |   |-- klogd -> ../bin/busybox
> |   |-- loadkmap -> ../bin/busybox
> |   |-- logread -> ../bin/busybox
> |   |-- losetup -> ../bin/busybox
> |   |-- lsmod -> ../bin/busybox
> |   |-- makedevs -> ../bin/busybox
> |   |-- mdev -> ../bin/busybox
> |   |-- mkfs.minix -> ../bin/busybox
> |   |-- mkswap -> ../bin/busybox
> |   |-- modprobe -> ../bin/busybox
> |   |-- nameif -> ../bin/busybox
> |   |-- pivot_root -> ../bin/busybox
> |   |-- poweroff -> ../bin/busybox
> |   |-- raidautorun -> ../bin/busybox
> |   |-- reboot -> ../bin/busybox
> |   |-- rmmod -> ../bin/busybox
> |   |-- route -> ../bin/busybox
> |   |-- runlevel -> ../bin/busybox
> |   |-- setconsole -> ../bin/busybox
> |   |-- start-stop-daemon -> ../bin/busybox
> |   |-- sulogin -> ../bin/busybox
> |   |-- swapoff -> ../bin/busybox
> |   |-- swapon -> ../bin/busybox
> |   |-- switch_root -> ../bin/busybox
> |   |-- sysctl -> ../bin/busybox
> |   |-- syslogd -> ../bin/busybox
> |   |-- udhcpc -> ../bin/busybox
> |   |-- vconfig -> ../bin/busybox
> |   |-- watchdog -> ../bin/busybox
> |   `-- zcip -> ../bin/busybox
> `-- usr
>     |-- bin
>     |   |-- [ -> ../../bin/busybox
>     |   |-- [[ -> ../../bin/busybox
>     |   |-- ar -> ../../bin/busybox
>     |   |-- arping -> ../../bin/busybox
>     |   |-- awk -> ../../bin/busybox
>     |   |-- basename -> ../../bin/busybox
>     |   |-- bunzip2 -> ../../bin/busybox
>     |   |-- bzcat -> ../../bin/busybox
>     |   |-- cal -> ../../bin/busybox
>     |   |-- chpst -> ../../bin/busybox
>     |   |-- chvt -> ../../bin/busybox
>     |   |-- cksum -> ../../bin/busybox
>     |   |-- clear -> ../../bin/busybox
>     |   |-- cmp -> ../../bin/busybox
>     |   |-- comm -> ../../bin/busybox
>     |   |-- crontab -> ../../bin/busybox
>     |   |-- cut -> ../../bin/busybox
>     |   |-- dc -> ../../bin/busybox
>     |   |-- deallocvt -> ../../bin/busybox
>     |   |-- diff -> ../../bin/busybox
>     |   |-- dirname -> ../../bin/busybox
>     |   |-- dos2unix -> ../../bin/busybox
>     |   |-- du -> ../../bin/busybox
>     |   |-- dumpleases -> ../../bin/busybox
>     |   |-- eject -> ../../bin/busybox
>     |   |-- env -> ../../bin/busybox
>     |   |-- envdir -> ../../bin/busybox
>     |   |-- envuidgid -> ../../bin/busybox
>     |   |-- ether-wake -> ../../bin/busybox
>     |   |-- expr -> ../../bin/busybox
>     |   |-- fdformat -> ../../bin/busybox
>     |   |-- find -> ../../bin/busybox
>     |   |-- fold -> ../../bin/busybox
>     |   |-- free -> ../../bin/busybox
>     |   |-- ftpget -> ../../bin/busybox
>     |   |-- ftpput -> ../../bin/busybox
>     |   |-- fuser -> ../../bin/busybox
>     |   |-- head -> ../../bin/busybox
>     |   |-- hexdump -> ../../bin/busybox
>     |   |-- hostid -> ../../bin/busybox
>     |   |-- id -> ../../bin/busybox
>     |   |-- install -> ../../bin/busybox
>     |   |-- ipcrm -> ../../bin/busybox
>     |   |-- ipcs -> ../../bin/busybox
>     |   |-- killall -> ../../bin/busybox
>     |   |-- killall5 -> ../../bin/busybox
>     |   |-- last -> ../../bin/busybox
>     |   |-- length -> ../../bin/busybox
>     |   |-- less -> ../../bin/busybox
>     |   |-- loadfont -> ../../bin/busybox
>     |   |-- logger -> ../../bin/busybox
>     |   |-- logname -> ../../bin/busybox
>     |   |-- lzmacat -> ../../bin/busybox
>     |   |-- md5sum -> ../../bin/busybox
>     |   |-- mesg -> ../../bin/busybox
>     |   |-- mkfifo -> ../../bin/busybox
>     |   |-- nc -> ../../bin/busybox
>     |   |-- nmeter -> ../../bin/busybox
>     |   |-- nohup -> ../../bin/busybox
>     |   |-- nslookup -> ../../bin/busybox
>     |   |-- od -> ../../bin/busybox
>     |   |-- openvt -> ../../bin/busybox
>     |   |-- passwd -> ../../bin/busybox
>     |   |-- patch -> ../../bin/busybox
>     |   |-- printf -> ../../bin/busybox
>     |   |-- readahead -> ../../bin/busybox
>     |   |-- readlink -> ../../bin/busybox
>     |   |-- realpath -> ../../bin/busybox
>     |   |-- renice -> ../../bin/busybox
>     |   |-- reset -> ../../bin/busybox
>     |   |-- resize -> ../../bin/busybox
>     |   |-- rpm2cpio -> ../../bin/busybox
>     |   |-- rx -> ../../bin/busybox
>     |   |-- seq -> ../../bin/busybox
>     |   |-- setkeycodes -> ../../bin/busybox
>     |   |-- setsid -> ../../bin/busybox
>     |   |-- setuidgid -> ../../bin/busybox
>     |   |-- sha1sum -> ../../bin/busybox
>     |   |-- softlimit -> ../../bin/busybox
>     |   |-- sort -> ../../bin/busybox
>     |   |-- strings -> ../../bin/busybox
>     |   |-- sum -> ../../bin/busybox
>     |   |-- tail -> ../../bin/busybox
>     |   |-- taskset -> ../../bin/busybox
>     |   |-- tee -> ../../bin/busybox
>     |   |-- telnet -> ../../bin/busybox
>     |   |-- test -> ../../bin/busybox
>     |   |-- tftp -> ../../bin/busybox
>     |   |-- time -> ../../bin/busybox
>     |   |-- top -> ../../bin/busybox
>     |   |-- tr -> ../../bin/busybox
>     |   |-- traceroute -> ../../bin/busybox
>     |   |-- tty -> ../../bin/busybox
>     |   |-- uniq -> ../../bin/busybox
>     |   |-- unix2dos -> ../../bin/busybox
>     |   |-- unlzma -> ../../bin/busybox
>     |   |-- unzip -> ../../bin/busybox
>     |   |-- uptime -> ../../bin/busybox
>     |   |-- uudecode -> ../../bin/busybox
>     |   |-- uuencode -> ../../bin/busybox
>     |   |-- vlock -> ../../bin/busybox
>     |   |-- wc -> ../../bin/busybox
>     |   |-- wget -> ../../bin/busybox
>     |   |-- which -> ../../bin/busybox
>     |   |-- who -> ../../bin/busybox
>     |   |-- whoami -> ../../bin/busybox
>     |   |-- xargs -> ../../bin/busybox
>     |   `-- yes -> ../../bin/busybox
>     `-- sbin
>         |-- chroot -> ../../bin/busybox
>         |-- crond -> ../../bin/busybox
>         |-- dhcprelay -> ../../bin/busybox
>         |-- dnsd -> ../../bin/busybox
>         |-- fakeidentd -> ../../bin/busybox
>         |-- fbset -> ../../bin/busybox
>         |-- httpd -> ../../bin/busybox
>         |-- inetd -> ../../bin/busybox
>         |-- rdate -> ../../bin/busybox
>         |-- readprofile -> ../../bin/busybox
>         |-- setlogcons -> ../../bin/busybox
>         |-- telnetd -> ../../bin/busybox
>         `-- udhcpd -> ../../bin/busybox
> 
> 5 directories, 248 files
> ======================== install tree ========================
> 
> 
> Which is EXACTLY what I want in my package!
> 
> The output of pkglint is the following:
> ======================== pkglint ========================
> root@seyos-devel:/usr/pkgsrc/sysutils/busybox# pkglint
> ERROR: DESCR: Must not be empty.
> WARN: Makefile:17: HAS_CONFIGURE should be set to YES or yes.
> WARN: Makefile:18: "gmake defconfig" is not a valid pathname.
> 1 errors and 2 warnings found
> ======================== pkglint ========================
> 
> 
> Any advice on how to proceed?
> Many thanks
> Ross Cameron
> abalour@gmail.com


Here's a wild shot in the dark:

DISTNAME=               busybox-1.3.1

#PKGNAME=               busybox-1.3.1
CATEGORIES=             sysutils
MASTER_SITES=           http://busybox.net/downloads/
EXTRACT_SUFX=           .tar.bz2

MAINTAINER=             ross@goal.co.za
HOMEPAGE=               http://busybox.net/
COMMENT=                The "Swiss Army Knife" of embedded Linux
DESCR=                  The "Swiss Army Knife" of embedded Linux

USE_TOOLS+=             gmake
ONLY_FOR_PLATFORM=      Linux-*-*

HAS_CONFIGURE= YES
CONFIGURE_SCRIPT= /usr/bin/gmake defconfig




Take a look @ one of the other ports, and see what these entries have.
If you have done so already, try another port :)

hth




-- 

Kind Regards
Rudi Ahlers
SoftDux CEO
Web:    http://www.SoftDux.com
Forum:  http://Forum.SoftDux.com

--=-zoZXYZjIPVZuHT/hQAnC
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.10.2">
</HEAD>
<BODY>
On Tue, 2007-01-09 at 20:54 +0200, Ross Cameron wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi there all,... Im putting together a port of busybox for the NetBSD</FONT>
<FONT COLOR="#000000">pkgsrc package manager.</FONT>

<FONT COLOR="#000000">I've put it in       /usr/pkgsrc/sysutils/busybox          please</FONT>
<FONT COLOR="#000000">comment on this if you feel this is the wrong place.</FONT>
<FONT COLOR="#000000">      Below is my Makefile, it downloads the package from the net and</FONT>
<FONT COLOR="#000000">builds no problem.</FONT>
<FONT COLOR="#000000">My issue is with taking the finished build and wrapping it up in a</FONT>
<FONT COLOR="#000000">package. I just cant figure it out.</FONT>
<FONT COLOR="#000000">Also I know that the Makefile isn't 100% correct (but it works), so</FONT>
<FONT COLOR="#000000">any advice would be appreciated, its the first time Ive used pkgsrc.</FONT>


<FONT COLOR="#000000">======================== Makefile ========================</FONT>
<FONT COLOR="#000000"># $NetBSD$</FONT>
<FONT COLOR="#000000">#</FONT>

<FONT COLOR="#000000">DISTNAME=               busybox-1.3.1</FONT>
<FONT COLOR="#000000">#PKGNAME=               busybox-1.3.1</FONT>
<FONT COLOR="#000000">CATEGORIES=             sysutils</FONT>
<FONT COLOR="#000000">MASTER_SITES=           </FONT>">http://busybox.net/downloads/</FONT>
<FONT COLOR="#000000">EXTRACT_SUFX=           .tar.bz2</FONT>

<FONT COLOR="#000000">MAINTAINER=             <A HREF="mailto:ross@goal.co.za">ross@goal.co.za</A></FONT>
<FONT COLOR="#000000">HOMEPAGE=               </FONT>">http://busybox.net/</FONT>
<FONT COLOR="#000000">COMMENT=                The &quot;Swiss Army Knife&quot; of embedded Linux</FONT>

<FONT COLOR="#000000">USE_TOOLS+=             gmake</FONT>
<FONT COLOR="#000000">ONLY_FOR_PLATFORM=      Linux-*-*</FONT>

<FONT COLOR="#000000">HAS_CONFIGURE= NO</FONT>
<FONT COLOR="#000000">CONFIGURE_SCRIPT= gmake defconfig</FONT>

<FONT COLOR="#000000">.include &quot;../../mk/bsd.pkg.mk&quot;</FONT>
<FONT COLOR="#000000">======================== Makefile ========================</FONT>


<FONT COLOR="#000000">After running:</FONT>
<FONT COLOR="#000000">      bmake clean clean-depends</FONT>
<FONT COLOR="#000000">      bmake</FONT>

<FONT COLOR="#000000">The busybox package builds no problem and produces a 100% fully working binary!</FONT>
<FONT COLOR="#000000">It places the &quot;install tree&quot; in</FONT>
<FONT COLOR="#000000">/usr/pkgsrc/sysutils/busybox/work/busybox-1.3.1/_install</FONT>
<FONT COLOR="#000000">and if I run the tree command in that directory I get the following:</FONT>


<FONT COLOR="#000000">======================== install tree ========================</FONT>
<FONT COLOR="#000000">root@seyos-devel:/usr/pkgsrc/sysutils/busybox/work/busybox-1.3.1/_install# tree</FONT>
<FONT COLOR="#000000">.</FONT>
<FONT COLOR="#000000">|-- bin</FONT>
<FONT COLOR="#000000">|   |-- addgroup -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- adduser -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- bbconfig -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- busybox</FONT>
<FONT COLOR="#000000">|   |-- cat -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- catv -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- chattr -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- chgrp -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- chmod -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- chown -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- cp -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- cpio -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- date -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- dd -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- delgroup -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- deluser -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- df -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- dmesg -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- dumpkmap -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- echo -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- ed -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- egrep -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- false -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- fdflush -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- fgrep -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- getopt -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- grep -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- gunzip -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- gzip -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- hostname -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- ip -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- ipaddr -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- ipcalc -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- iplink -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- iproute -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- iprule -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- iptunnel -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- kill -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- linux32 -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- linux64 -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- ln -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- login -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- ls -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- lsattr -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- mkdir -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- mknod -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- mktemp -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- more -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- mount -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- mountpoint -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- mt -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- mv -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- netstat -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- nice -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- pidof -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- ping -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- ping6 -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- pipe_progress -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- printenv -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- ps -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- pwd -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- rm -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- rmdir -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- rpm -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- run-parts -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- sed -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- setarch -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- sleep -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- stat -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- stty -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- su -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- sync -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- tar -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- touch -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- true -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- umount -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- uname -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- uncompress -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- usleep -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- vi -&gt; busybox</FONT>
<FONT COLOR="#000000">|   |-- watch -&gt; busybox</FONT>
<FONT COLOR="#000000">|   `-- zcat -&gt; busybox</FONT>
<FONT COLOR="#000000">|-- linuxrc -&gt; bin/busybox</FONT>
<FONT COLOR="#000000">|-- sbin</FONT>
<FONT COLOR="#000000">|   |-- adjtimex -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- fdisk -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- freeramdisk -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- fsck -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- fsck.minix -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- getty -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- halt -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- hdparm -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- hwclock -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- ifconfig -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- ifdown -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- ifup -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- init -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- insmod -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- klogd -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- loadkmap -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- logread -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- losetup -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- lsmod -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- makedevs -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- mdev -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- mkfs.minix -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- mkswap -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- modprobe -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- nameif -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- pivot_root -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- poweroff -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- raidautorun -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- reboot -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- rmmod -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- route -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- runlevel -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- setconsole -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- start-stop-daemon -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- sulogin -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- swapoff -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- swapon -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- switch_root -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- sysctl -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- syslogd -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- udhcpc -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- vconfig -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   |-- watchdog -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">|   `-- zcip -&gt; ../bin/busybox</FONT>
<FONT COLOR="#000000">`-- usr</FONT>
<FONT COLOR="#000000">    |-- bin</FONT>
<FONT COLOR="#000000">    |   |-- [ -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- [[ -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- ar -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- arping -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- awk -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- basename -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- bunzip2 -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- bzcat -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- cal -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- chpst -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- chvt -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- cksum -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- clear -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- cmp -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- comm -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- crontab -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- cut -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- dc -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- deallocvt -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- diff -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- dirname -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- dos2unix -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- du -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- dumpleases -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- eject -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- env -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- envdir -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- envuidgid -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- ether-wake -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- expr -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- fdformat -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- find -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- fold -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- free -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- ftpget -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- ftpput -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- fuser -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- head -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- hexdump -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- hostid -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- id -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- install -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- ipcrm -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- ipcs -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- killall -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- killall5 -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- last -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- length -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- less -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- loadfont -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- logger -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- logname -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- lzmacat -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- md5sum -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- mesg -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- mkfifo -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- nc -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- nmeter -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- nohup -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- nslookup -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- od -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- openvt -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- passwd -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- patch -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- printf -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- readahead -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- readlink -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- realpath -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- renice -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- reset -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- resize -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- rpm2cpio -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- rx -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- seq -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- setkeycodes -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- setsid -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- setuidgid -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- sha1sum -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- softlimit -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- sort -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- strings -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- sum -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- tail -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- taskset -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- tee -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- telnet -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- test -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- tftp -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- time -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- top -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- tr -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- traceroute -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- tty -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- uniq -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- unix2dos -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- unlzma -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- unzip -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- uptime -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- uudecode -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- uuencode -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- vlock -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- wc -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- wget -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- which -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- who -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- whoami -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   |-- xargs -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    |   `-- yes -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">    `-- sbin</FONT>
<FONT COLOR="#000000">        |-- chroot -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">        |-- crond -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">        |-- dhcprelay -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">        |-- dnsd -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">        |-- fakeidentd -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">        |-- fbset -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">        |-- httpd -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">        |-- inetd -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">        |-- rdate -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">        |-- readprofile -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">        |-- setlogcons -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">        |-- telnetd -&gt; ../../bin/busybox</FONT>
<FONT COLOR="#000000">        `-- udhcpd -&gt; ../../bin/busybox</FONT>

<FONT COLOR="#000000">5 directories, 248 files</FONT>
<FONT COLOR="#000000">======================== install tree ========================</FONT>


<FONT COLOR="#000000">Which is EXACTLY what I want in my package!</FONT>

<FONT COLOR="#000000">The output of pkglint is the following:</FONT>
<FONT COLOR="#000000">======================== pkglint ========================</FONT>
<FONT COLOR="#000000">root@seyos-devel:/usr/pkgsrc/sysutils/busybox# pkglint</FONT>
<FONT COLOR="#000000">ERROR: DESCR: Must not be empty.</FONT>
<FONT COLOR="#000000">WARN: Makefile:17: HAS_CONFIGURE should be set to YES or yes.</FONT>
<FONT COLOR="#000000">WARN: Makefile:18: &quot;gmake defconfig&quot; is not a valid pathname.</FONT>
<FONT COLOR="#000000">1 errors and 2 warnings found</FONT>
<FONT COLOR="#000000">======================== pkglint ========================</FONT>


<FONT COLOR="#000000">Any advice on how to proceed?</FONT>
<FONT COLOR="#000000">Many thanks</FONT>
<FONT COLOR="#000000">Ross Cameron</FONT>
<FONT COLOR="#000000"><A HREF="mailto:abalour@gmail.com">abalour@gmail.com</A></FONT>
</PRE>
</BLOCKQUOTE>
<BR>
Here's a wild shot in the dark:<BR>
<BR>
<FONT COLOR="#000000">DISTNAME=               busybox-1.3.1</FONT>
<PRE>
<FONT COLOR="#000000">#PKGNAME=               busybox-1.3.1</FONT>
<FONT COLOR="#000000">CATEGORIES=             sysutils</FONT>
<FONT COLOR="#000000">MASTER_SITES=           </FONT>">http://busybox.net/downloads/</FONT>
<FONT COLOR="#000000">EXTRACT_SUFX=           .tar.bz2</FONT>

<FONT COLOR="#000000">MAINTAINER=             <A HREF="mailto:ross@goal.co.za">ross@goal.co.za</A></FONT>
<FONT COLOR="#000000">HOMEPAGE=               </FONT>">http://busybox.net/</FONT>
<FONT COLOR="#000000">COMMENT=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The &quot;Swiss Army Knife&quot; of</FONT> embedded Linux
<FONT COLOR="#000000">DESCR</FONT>=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#000000">The &quot;Swiss Army Knife&quot; of</FONT> embedded Linux

<FONT COLOR="#000000">USE_TOOLS+=             gmake</FONT>
<FONT COLOR="#000000">ONLY_FOR_PLATFORM=      Linux-*-*</FONT>

<FONT COLOR="#000000">HAS_CONFIGURE= </FONT>YES
<FONT COLOR="#000000">CONFIGURE_SCRIPT= </FONT>/usr/bin/<FONT COLOR="#000000">gmake defconfig</FONT>
</PRE>
<BR>
<BR>
<BR>
Take a look @ one of the other ports, and see what these entries have. If you have done so already, try another port :)<BR>
<BR>
hth
<PRE>

</PRE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 

Kind Regards
Rudi Ahlers
SoftDux CEO
Web:&nbsp;&nbsp;&nbsp; ">http://www.SoftDux.com
Forum:&nbsp; ">http://Forum.SoftDux.com
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

--=-zoZXYZjIPVZuHT/hQAnC--