The busybox 1.2.0 ebuild works for 1.2.1 as well (it modifies the download path
by using the version in $0).
For those who want to build it in an overlay:
- edit /etc/portage/package.keywords and add:
"sys-apps/busybox ~*"
- edit /etc/make.conf and add:
"PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage"
- create overlay directory:
mkdir -p /usr/local/portage/sys-apps/busybox/files
- copy and rename old ebuild:
cp /usr/portage/sys-apps/busybox/busybox-1.2.0.ebuild \
/usr/local/portage/sys-apps/busybox/busybox-1.2.1.ebuild
- copy patch from old ebuild:
cp -r /usr/portage/sys-apps/busybox/files/1.2.0 \
/usr/local/portage/sys-apps/busybox/files
- emerge busybox.
Note that the patch directory "${FILEDIR}/1.2.0/bb.patch" is hardcoded in the
existing sys-apps/busybox/busybox-1.2.0.ebuild. I trust that the maintainers
will remember to fix this ;-)