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