Log of /branches/common-nfo/package/busybox
Directory Listing
Revision
3427 -
Directory Listing
Modified
Wed Aug 8 11:08:41 2007 UTC
(6 years, 6 months ago)
by
tg
merge in trunk rev. 3426
Revision
3277 -
Directory Listing
Modified
Wed Jul 18 16:58:32 2007 UTC
(6 years, 7 months ago)
by
tg
fix: it's DISTFILE_<n> – DISTFILES is the number of them, oops
Revision
3275 -
Directory Listing
Modified
Wed Jul 18 14:22:39 2007 UTC
(6 years, 7 months ago)
by
tg
nfo conversion of busybox – child's play due to the recent changes in trunk
Revision
3270 -
Directory Listing
Modified
Wed Jul 18 13:30:55 2007 UTC
(6 years, 7 months ago)
by
tg
merge the rest
Revision
3265 -
Directory Listing
Modified
Wed Jul 18 12:45:43 2007 UTC
(6 years, 7 months ago)
by
tg
copy trunk/freewrt r3264 into a new branch for making the nfo system
because upgrading the old adk branch would be a hell more work
Revision
3234 -
Directory Listing
Modified
Mon Jul 16 14:47:44 2007 UTC
(6 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
part Ⅱ – simplify busybox config, ok wbx@
from now on, you can select a smaller and a fuller busybox, like mksh;
if you want fewer applets, hand-edit the config, we won't prevent you,
but shan't support it in the ADK any more; if you want more applets,
please talk to me and I'll see if they can be included in the list
we still have a problem regarding duplicate binaries (ip, free, tar, …)
which could be solved with dpkg diversions if ipkg supports them;
for now just consider busybox a non-upgradable package if you have any
of these installed
Revision
3233 -
Directory Listing
Modified
Mon Jul 16 14:05:08 2007 UTC
(6 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
first of a series of commits I'd suggest to not test until I did:
remove busybox ash and the other shells (hush, lash, msh); always
use mksh by default, as /bin/sh, /bin/ash symlink, /bin/mksh native,
and default admin login shell unless bash or zsh are selected
mksh is a superset of ash (I didn't find anything busybox ash can
do that mksh can't), and the upcoming mksh R30 will be even smaller
in -DMKSH_SMALL mode (but that one will lack vi editing mode)
ok wbx@
we planned this for 1.2, but it will greatly help the nfo conversion
and users request shells they can actually use if they don't have a
webinterface handy
Revision
3215 -
Directory Listing
Modified
Sat Jul 14 20:37:40 2007 UTC
(6 years, 7 months ago)
by
wbx
Original Path:
trunk/freewrt/package/busybox
hi,
we had a longer discussion about this in the past. Today a Unix sysadmin
convinced me to change the policy and add ifconfig and route back as default.
People who need more space, should just disable it in the ADK, they know how to use it and know how to disable it. "new" users, but old unix people, just need
route/ifconfig, because it works on every other unix.
This commit is sponsored by Julian Wiesener.
;)
Revision
2786 -
Directory Listing
Modified
Thu Jun 14 07:58:53 2007 UTC
(6 years, 8 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
remove the ability to select busybox' own version of ed
I tried it, just to see how it compared to the standard
implementation of BSD ed and to (old and recent) GNU ed
and I was shocked.
Revision
2737 -
Directory Listing
Modified
Fri Jun 8 06:04:12 2007 UTC
(6 years, 8 months ago)
by
wbx
Original Path:
trunk/freewrt/package/busybox
sorry, but we need help to test the new ifupdown scripts.
THIS WILL BREAK STUFF, PLEASE ONLY USE TRUNK NOW IF YOU KNOW HOW TO USE
SERIAL CONSOLE OR FAILSAFE.
Sometimes test first is not applicable. brcm-2.4 is tested by Christian.
Extra reboot for jffs2 is obsolete, we have adapted the OpenWrt method.
Revision
2678 -
Directory Listing
Modified
Tue May 29 14:04:00 2007 UTC
(6 years, 8 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
the treebreaker ☺
overhaul the fetch'n'checksum system to be more bsd-like
• make fetch, make checksum supported
• future expansion possibilities already prepared:
– more distfiles than just one
– check sizes of downloaded files (size matters!!!!!111)
– more hashes than just MD5
– recursive fetch/checksum targets
– PERMIT_{SOURCES,DISTFILES}=Yes/«reason» – licence issues
• download.pl dies
quirks:
• GNU make only has a poor excuse for a .for loop
• some things (esp. toolchain and target/linux) now have
a ${WRKDIR} where they didn't have it before
• ${WRKDIR}/.checksum_done – no comment… it was necessary
because otherwise everything will get rebuilt every time
(did I mention that GNU make sucks?)
• I had troubles tracking the dependency problems down
because GNU make, unlike BSD make, doesn't have good debugging
• DISTFILES -> FULLDISTFILES
• DL_DIR -> DISTDIR
• PKG_SOURCE -> DISTFILES
• PKG_SOURCE_URL -> MASTER_SITES
• no @SF and @GNU any more, use BSD network.template syntax
(feel free to add more master sites)
• GNU make doesn't really strip whitespaces from variables…
(did I mention how much better BSD make is?)
• echo 'LOCAL_DISTFILES=/path/to/distfiles' >>${TOPDIR}/prefs.mk
will save the need to download 'em, Closes: #102
• MASTER_SITES now *must* have the trailing slashes (there may be
a few that don't and a few with double ones, please fix them)
I've tested that a normal build (unchanged .config from the default) works
on GNU/Linux. There's definitively room for improvement, but most of that
will come with the NFO system only. Fixes appreciated.
This work sponsored by AurISP, part of the NFO conversion project ☻
Revision
2666 -
Directory Listing
Modified
Fri May 25 13:45:07 2007 UTC
(6 years, 9 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
13:40⎜<mira|work:#freewrt> # crontab -e
13:40⎜<mira|work:#freewrt> /bin/sh: /bin/vi: not found
13:40⎜* mira|work:#freewrt wishes to kill someone
13:41⎜<mira|work:#freewrt> ah VISUAL not just EDITOR
Revision
2653 -
Directory Listing
Modified
Thu May 24 10:23:28 2007 UTC
(6 years, 9 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
• base-files/files/etc/init.d/rcK, base-files/files/etc/init.d/rcS:
do correct shebang processing, like the BSD kernel and mksh: get
first line of script to run if it begins with "#!", strip that and
any leading space/tab off, then get shell name (terminates with
space/tab/end of string) and shell argument quoting according to
unix common proceedings; use /bin/sh as interpreter if none could
be found
• mk/package.mk: ensure all init scripts are 0755 by default
• busybox: flesh out inetd init script, so that all init scripts in
FreeWRT either can be found with -path \*/init.d/\* or -name \*.init
• other packages: add #!/bin/sh shebang line to init scripts¹, bump dashver
¹) change this to /bin/ash if you use ash-specific features that mksh
can also do; never use ash-specific features that mksh cannot do (are
there any?), change to /bin/mksh if you use mksh-specific features
and add a run-time dependency on mksh in that case
Revision
2585 -
Directory Listing
Modified
Mon May 21 13:40:57 2007 UTC
(6 years, 9 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
these shall not be executable nor use absolute pathnames,
since perl doesn't always live in /usr/bin (e.g. NetBSD®)
Revision
2579 -
Directory Listing
Modified
Mon May 21 12:40:19 2007 UTC
(6 years, 9 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
• ed: the distfile is now at the MirBSD master site, too
• ed, mksh: take maintainership, bump dashver
• rdate: new package (can do rdate _and_ SNTP, is very small, fast and secure)
• busybox: default built-in rdate to “no”, use EITHER that OR new rdate package
Revision
2568 -
Directory Listing
Modified
Sun May 20 14:53:36 2007 UTC
(6 years, 9 months ago)
by
n0-1
Original Path:
trunk/freewrt/package/busybox
resolve XOR-situation in a new way
in the past we were using stuff like
| depends on ! BUSYBOX_FOO_BAR
and
| prompt "already provided by busybox" if BUSYBOX_FOO_BAR
but this just sux!
Simple example: to select iproute2 'ip', one just needs to
deselect busybox 'ip' and 'use busybox ip applet' for ifupdown.
Using the new way shown here, one just selects gnu 'tar' and
busybox 'tar' will just disappear.
Revision
2519 -
Directory Listing
Modified
Tue May 15 20:00:29 2007 UTC
(6 years, 9 months ago)
by
dnehring
Original Path:
trunk/freewrt/package/busybox
Implemented a new option to enable IPV6 support (wbx says OK). Making some compile tests, seems to work so far.
Revision
2509 -
Directory Listing
Modified
Mon May 14 18:19:25 2007 UTC
(6 years, 9 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
by request of wbx@, add a clause
| autostop) ;;
to all cases inside all init scripts so that we won't have any
errors on shutdown. the alternative would be
| autostop) exec $0 stop "$@" ;;
of course, for packages that want it.
also bump all patchlevels again *sigh*
attention: mechanical commit. please read diff and fix breakage
if you are package maintainer.
Revision
2498 -
Directory Listing
Modified
Sun May 13 00:49:18 2007 UTC
(6 years, 9 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
fix the remainder of the init script fubar
run-time test succeeded after prodding and serial console help by wbx@
Revision
2485 -
Directory Listing
Modified
Sat May 12 22:36:00 2007 UTC
(6 years, 9 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
by request of wbx@:
make it possible for users to do
| /etc/init.d/<foo> restart
instead of having to do
| /etc/init.d/S*<foo> restart
by moving the order into a magickal™ comment.
Untested.
Also remove the svn:executable properties, because rcS and rcK will
always call them with /bin/sh, and bump dashvers accordingly.
Revision
2353 -
Directory Listing
Modified
Wed Apr 11 13:23:23 2007 UTC
(6 years, 10 months ago)
by
n0-1
Original Path:
trunk/freewrt/package/busybox
udhcpd made usable
This conditionally adds an init script and a default config
to the busybox package if the udhcpd config option is activated.
Revision
2332 -
Directory Listing
Modified
Wed Apr 4 19:13:24 2007 UTC
(6 years, 10 months ago)
by
markus
Original Path:
trunk/freewrt/package/busybox
- upgraded to 1.4.2
- removed patches integrated in 1.4.2
- heading forward to 1.5.0 which is already running an a test machine ;-)
Revision
2322 -
Directory Listing
Modified
Mon Apr 2 22:17:37 2007 UTC
(6 years, 10 months ago)
by
wbx
Original Path:
trunk/freewrt/package/busybox
time to break trunk.
* update to OpenWrt brcm-2.4 patch, wl driver and diag driver
* fix failsafe mode to use new hotplug method
* rework of mk/kernel-build.mk to use .config instead of stampfiles
* simplify mk/kernel*.mk to use $(FS) instead ifeq/else crap
a lot of small stuff.
tested and verified to boot at least on
- Netgear WG634u
- Linksys WRT54GS v1.0
- Asus WL500gP
Only basic lan and wlan stuff (none encryption, wep) are tested.
PLEASE update only on NON-PRODUCTIVE routers with serial access.
HELP to test the new backend code for BRCM-2.4!
Revision
2226 -
Directory Listing
Modified
Wed Mar 21 22:14:01 2007 UTC
(6 years, 11 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
consolidate busybox config, so that info.mk files will be generated
in a manner that, on config changes, even busybox is rebuilt
Revision
2186 -
Directory Listing
Modified
Sat Mar 17 01:02:24 2007 UTC
(6 years, 11 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
coerce busybox into building on BSD: remove “compress usages”
this wouldn't work because it required building a (small) subset
of busybox for the build system (with ${HOSTCC}) but didn't
autoconf for the include files etc. existing on it (because the
build system isn't necessarily glibc/Linux).
tested on mirbsd
happy wbx@
Revision
2163 -
Directory Listing
Modified
Tue Mar 13 22:12:22 2007 UTC
(6 years, 11 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
by request of wbx@, upgrade to fwcf 1.03, add reboot hook, etc.
somewhat tested on my asus wl-500g, both mksh and ash
Revision
2126 -
Directory Listing
Modified
Fri Mar 2 20:53:18 2007 UTC
(6 years, 11 months ago)
by
ulmen
Original Path:
trunk/freewrt/package/busybox
We patch crond _not_ to use /var/spool/cron/crontabs at all... (200-etc_crontabs.patch). So no need for the -c /etc/crontabs, too.
Revision
2097 -
Directory Listing
Modified
Sun Feb 25 04:04:23 2007 UTC
(7 years ago)
by
n0-1
Original Path:
trunk/freewrt/package/busybox
set the suid-bit of the busybox binary after installing from ipkg
This should prevent disastrous situations after upgrading/reinstalling
busybox for some reason and having logged out of the last root shell.
Proof of concept:
root@FreeWRT:~# chmod u-s /bin/busybox
root@FreeWRT:~# ll /bin/busybox
-rwxr-xr-x 1 root root 739224 Feb 25 01:29 /bin/busybox
root@FreeWRT:~# ipkg install busybox_1.4.1-6_mipsel.ipk
Installing busybox (1.4.1-6) to root...
Configuring busybox
Done.
root@FreeWRT:~# ll /bin/busybox
-rwsr-xr-x 1 root root 755724 Feb 25 04:55 /bin/busybox
Maybe this should be done for freewrt_1_0 too?
Revision
1957 -
Directory Listing
Modified
Mon Feb 12 23:35:35 2007 UTC
(7 years ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
if ifupping a dhcp interface, ip link set up it first, if we use
the 'ip' utility and call udhcpc afterwards
fixes¹ at least my "WAN iface doesn't do any DHCP request" issues
and won't blow up other use cases
ok² to commit n0-1@
¹) yep, run-time tested
²) yep, peer review
Revision
1934 -
Directory Listing
Modified
Sat Feb 10 19:48:49 2007 UTC
(7 years ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
fix an unportability (bashism) in the busybox build system
discovered by ulmen, fix by me
no need to bump the package patchlevel because this doesn't
end up in the .ipk file or changes its contents
Revision
1797 -
Directory Listing
Modified
Mon Jan 29 00:44:43 2007 UTC
(7 years ago)
by
tha
Original Path:
trunk/freewrt/package/busybox
* added /etc/network/if-up.d/ipv6 with the following new ipv6 options for
every interface listed in /etc/network/interfaces
- IPV6-FLUSH to disable ipv6 on a specific interface (via ip -6 addr flush)
- IPV6-AUTOCONF to disable/enable autoconf
- IPV6-ACCEPT-RA to disable/enable router announcements
- IPv6-ACCEPT-REDIRECTS to disable/enable redirects
- IPv6-FORWARDING to disable/enable forwarding (normally disabled)
- IPV6-USE-TEMPADDR to disable/enable a temporary address
Revision
1686 -
Directory Listing
Modified
Sat Jan 20 21:21:59 2007 UTC
(7 years, 1 month ago)
by
n0-1
Original Path:
trunk/freewrt/package/busybox
merged from branches/common-adk 1310:1685
the following packages are not converted yet:
* alsa
* asterisk
* pmacct
* zaptel
* elinks
* libgd
* lua
* mypackage
* openser
* php*
* snort*
* tmsnc
additionally, freeradius doesn't compile.
happy fixing :P
Revision
1355 -
Directory Listing
Modified
Thu Dec 21 15:32:04 2006 UTC
(7 years, 2 months ago)
by
n0-1
Original Path:
trunk/freewrt/package/busybox
Ported procps to freewrt.
The procps package contains only a few tools not
provided by busybox. The reason for this port was
my growing hate against certain busybox applets
(namely top) exactly _not_ showing what i want to
see.
I also added notifiers to the busybox config, so
that nothing gets doubly selected. For building
correctly, procps needs libncurses, therefore a
new entry to pkg-depend.mk was added.
Revision
827 -
Directory Listing
Modified
Tue Oct 3 15:38:58 2006 UTC
(7 years, 4 months ago)
by
wbx
Original Path:
trunk/freewrt/package/busybox
sync with freewrt_1_0 branch. It was a little bit to early to branch,
but now everybody can work again. New smaller stuff can be committed
directly in trunk.
Bigger stuff, like a new architecture or a new board should be
developed via a separate branch. Kernel and compiler updates, too.
Any bugfixes or security updates should go into branch and trunk.
Still send me a patch first and do not commit directly into the branch.
Revision
763 -
Directory Listing
Modified
Fri Sep 29 12:56:54 2006 UTC
(7 years, 4 months ago)
by
dnehring
Original Path:
trunk/freewrt/package/busybox
package selection from 1.0 branch
sync iproute2 with upstream
disable IPV6 in busybox by default
Revision
743 -
Directory Listing
Modified
Wed Sep 27 17:51:39 2006 UTC
(7 years, 4 months ago)
by
markus
Original Path:
trunk/freewrt/package/busybox
- added two hook scripts for ifupdown to configure vlans and bridges
- added hook scripts to Makefile
- added rc.conf query to broadcom network.init script
Revision
719 -
Directory Listing
Modified
Mon Sep 25 21:16:56 2006 UTC
(7 years, 5 months ago)
by
wbx
Original Path:
trunk/freewrt/package/busybox
* add PKG_VERSION to every package in default selection
* add broadcom-scripts package as default for 1.0, it adds
network and switch configuration scripts to base
suggested by markus to separate these from webif package
* move ed to application and disable by default, sorry tg, but
not everybody needs it
* be sure that if broadcom-scripts are installed, new ifup/ifdown
network configuration is not used
Revision
690 -
Directory Listing
Modified
Sun Sep 24 01:49:42 2006 UTC
(7 years, 5 months ago)
by
wbx
Original Path:
trunk/freewrt/package/busybox
switch to /etc/network/interfaces, if webif is not installed, add default network config for wl500g, more to add soon
Revision
673 -
Directory Listing
Modified
Sat Sep 23 20:30:38 2006 UTC
(7 years, 5 months ago)
by
wbx
Original Path:
trunk/freewrt/package/busybox
* add a generic network init script which is using busybox ifup/ifdown
* move ifup/ifdown with nvram calls to webif package
* add specific dnsmasq.conf and startup script for dnsmasq for webif
* add version file
This unbreaks DNS/DHCP options in Webif. Even WPA/WPA2 seems possible
if you install broadcom-nas package. I have no WPA/WPA2 enabled box
or operating system to test..
tg@ will add some rc.conf checks so that either webif network
configuration is used or ifup/ifdown from busybox
Revision
609 -
Directory Listing
Modified
Sat Sep 16 18:29:29 2006 UTC
(7 years, 5 months ago)
by
wbx
Original Path:
trunk/freewrt/package/busybox
add separate crond script to busybox package, do not startup by default. use /etc/rc.conf to activate
Revision
600 -
Directory Listing
Modified
Sat Sep 16 16:21:37 2006 UTC
(7 years, 5 months ago)
by
wbx
Original Path:
trunk/freewrt/package/busybox
major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent
Revision
443 -
Directory Listing
Modified
Thu Jul 27 13:04:40 2006 UTC
(7 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
* bring shell configuration in one single place
* enhance comments; make sure we always need one /bin/sh
(currently not enforced; there will be no root shell
selectable if none is available; the user shell will
default to /bin/sh but that isn't supplied) and one
/bin/ash (either busybox ash or mksh, both work fine)
Now feel free to go and add a GNU b(lo)a(t)sh package...
configuration is similar as mksh, and it can also be used
as /bin/sh (obviously) and /bin/ash.
Revision
437 -
Directory Listing
Modified
Thu Jul 27 12:08:18 2006 UTC
(7 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
let the user decide which of the available shells he
wants as /bin/sh - not only these included with busybox
(ash and mksh are probably the only ones which will
work, but like this I won't affect any existing con-
figuration)
Revision
414 -
Directory Listing
Modified
Tue Jul 25 14:11:21 2006 UTC
(7 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
what difference a little less menus and a little more indentation can make
now I can menuconfig in about half the time
wbx@ allowed me to do so... I did keep some menus where it made sense though
Revision
360 -
Directory Listing
Modified
Sat Jul 22 15:48:30 2006 UTC
(7 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
as discussed with wbx@ some 2-3 weeks ago, change
the BR2_ prefix to FWRT_
tested with a standard build (only the squashfs
image since the jffs2 didn't get built)
Revision
303 -
Directory Listing
Modified
Thu Jul 20 23:56:32 2006 UTC
(7 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox
* whitespace cleanup, while here
* move WRKDIR and DISTFILES definition into PKG_template
* define WRKDIR via parent BUILD_DIR instead of going up from WRKSRC
* use a sub-directory as WRKDIR, like BSD
* rename PKG_BUILD_DIR into WRKBUILD
* define WRKBUILD relative via WRKDIR
* rename PKG_INSTALL_DIR into WRKINST
* fix a few dependencies
* make use of common cases in the definition of WRKBUILD and
WRKINST, removing many redundant lines
* use WRKDIR instead of BUILD_DIR in places where the latter
was used previously
* while here, remove PKG_CAT stuff
this only affects packages, for now