English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Log of /branches/common-nfo/package/mksh/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 3274 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 18 14:18:59 2007 UTC (6 years, 7 months ago) by tg
File length: 892 byte(s)
Diff to previous 3265
more nfo conversion


Revision 3265 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 18 12:45:43 2007 UTC (6 years, 7 months ago) by tg
File length: 944 byte(s)
Diff to previous 3261
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 3261 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 18 11:06:23 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 944 byte(s)
Diff to previous 3233
upgrade to a prerelease version of mksh R30, which is even smaller in the
“extra small” (default in FreeWRT) mode – at the cost of vi editing mode
support – and has a lot of bug fixes and some new functions (even some of
the GNU bash extensions are supported)


Revision 3233 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 16 14:05:08 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 924 byte(s)
Diff to previous 2873
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 2873 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 20 15:58:48 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1036 byte(s)
Diff to previous 2858
for those who have 8224 bytes¹ (on nokernel-i386 platform) too much,
here's an option to *not* build an extra small mksh

suggested by wbx@

¹) in mksh R30, the savings from -DMKSH_SMALL will be much larger,
   alone the vi editing mode is taking up about 17 KiB on i386 BSD…


Revision 2858 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 19 13:28:24 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 985 byte(s)
Diff to previous 2823
austriancoder suggested that I pack tsort(1) into tools/ for these
whose tsort doesn't do -r

Now, GNU tsort doesn't do -r, and the only other tsort I know comes
bundled with mirmake (and depends too much on libmirmake and its other
inner workings to separate it from it), and mirmake has a dependency
on guess what…

This is untested, but seems to work.


Revision 2823 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 15 17:20:28 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1288 byte(s)
Diff to previous 2678
move arc4random(3) and, while here, libnotimpl into uClibc
this should make a few executables even smaller, most notably
mksh, rdate, openntpd, everything with OGG Vorbis


Revision 2678 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 29 14:04:00 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1509 byte(s)
Diff to previous 2669
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 2669 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 26 23:41:59 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1557 byte(s)
Diff to previous 2652
mksh R29f, fixes a distressing regression


Revision 2652 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 24 09:28:43 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1557 byte(s)
Diff to previous 2651
fix build warnings; speed up build


Revision 2651 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 24 08:57:14 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1389 byte(s)
Diff to previous 2650
add arc4random(3) from package/rdate distfile


Revision 2650 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 24 08:39:05 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1329 byte(s)
Diff to previous 2622
conffiles were undocumented, but now I got it. add.


Revision 2622 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 22 22:07:03 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1329 byte(s)
Diff to previous 2621
shouldn't commit only half of it.


Revision 2621 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 22 21:52:30 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1329 byte(s)
Diff to previous 2579
mksh R29e
dedicated to David Ramsey and Coverity, Inc. for spotting all these bugs


Revision 2579 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 21 12:40:19 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1329 byte(s)
Diff to previous 2493
• 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 2493 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 13 00:09:42 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1329 byte(s)
Diff to previous 2158
upgrade to R29d


Revision 2158 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 13 20:12:39 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1329 byte(s)
Diff to previous 2129
• mksh: update to R29b
• scan-tools.sh: if the host compiler is a gcc subject to gcc PR#30785
  work around this bug by adding -fno-tree-vrp to HOSTCFLAGS; code ta-
  ken from mksh R29b Build.sh; bug found by http://blog.fefe.de/?ts=bb2654d4


Revision 2129 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 5 22:13:54 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1326 byte(s)
Diff to previous 2075
mksh R29, released today, even smaller than the previous versions


Revision 2075 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 19 03:58:31 2007 UTC (7 years ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1290 byte(s)
Diff to previous 2048
tonight's updates from the mir* front - I have a paxmirabilis package
ready, but as long as we don't have an "alternatives" system, i.e. "I
want the cpio and tar from busybox / paxmirabilis / no", it won't get
us much, so I don't add it…


Revision 2048 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 17 19:23:30 2007 UTC (7 years ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1290 byte(s)
Diff to previous 2021
fix the 'hd' alias for hexdumping to not go beyond 80c screen width
from mksh-current cvs


Revision 2021 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 16 21:17:37 2007 UTC (7 years ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1290 byte(s)
Diff to previous 1803
update
* bug fixes
* size improvements (32 bytes less)


Revision 1803 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 29 19:43:00 2007 UTC (7 years ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1290 byte(s)
Diff to previous 1686
busybox ls(1) doesn't have -o


Revision 1686 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 20 21:21:59 2007 UTC (7 years, 1 month ago) by n0-1
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1290 byte(s)
Diff to previous 688
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 688 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 24 01:37:54 2006 UTC (7 years, 5 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1658 byte(s)
Diff to previous 600
we do determine the hostname slightly differently from the rest


Revision 600 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 16 16:21:37 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1658 byte(s)
Diff to previous 560
major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

Revision 560 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 3 12:44:47 2006 UTC (7 years, 5 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1661 byte(s)
Diff to previous 442
update to mksh R28


Revision 442 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 27 12:43:02 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1331 byte(s)
Diff to previous 437
* adding mksh to /etc/shells is no longer necessary as of r441
* while here, instead of patching /etc/profile on mksh postinstall
  time, add a hook for /etc/mkshrc reading to standard /etc/profile
  and create that; bump mksh patchlevel
  note: the next _upstream_ mksh version will already come with a
  sample ~/.mkshrc which we will install (patched appropriately) as
  /etc/mkshrc (read from within our /etc/profile, not by mksh default)
  then, to get rid of the postinstall script as well


Revision 437 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 27 12:08:18 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1331 byte(s)
Diff to previous 331
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 331 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 21 20:35:54 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1163 byte(s)
Diff to previous 306
this is what you people get for using := ...

also fix some indentation while here



Revision 306 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 21 00:07:59 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1162 byte(s)
Diff to previous 303
instead of setting WRKBUILD, set WRKSRC and let WRKBUILD?=WRKSRC like mirports
(WRKSRC isn't used anywhere though)


Revision 303 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 20 23:56:32 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1164 byte(s)
Diff to previous 274
* 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



Revision 274 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 17 03:53:22 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1287 byte(s)
Diff to previous 180
oops, pasto during all the recent changes
fix hostname determination


Revision 180 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 8 19:59:21 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1287 byte(s)
Diff to previous 168
save 2 bytes in /etc/profile


Revision 168 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 4 01:09:40 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1287 byte(s)
Diff to previous 167
* save a few bytes in /etc/profile and the environment
* we use USER, so define it if unset
* export HOSTNAME and USER if defined by us
* bump patchlevel


Revision 167 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 3 12:48:48 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1287 byte(s)
Diff to previous 155
mksh R26e, and sync with MirOS src/etc/profile,v 1.23
and ports/shells/mksh/pkg/DESCR,v 1.2 (for $PS1) thus
saving a few bytes


Revision 155 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 23 15:13:18 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1287 byte(s)
Diff to previous 120
Update to mksh R27d (first OS which includes it!),
switch to upstream CPIO distfile.

* Add more compatibility for cross-builds in the build system
* ~/mkshrc is not executed for non-interactive shells

Not yet tested, but the IPKG builds. Will test ASAP,
I'm under FrOSCon strain.



Revision 120 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 20:11:35 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1265 byte(s)
Diff to previous 118
bump package version, remove 'bash-like feeling for $PS1'(*)
because if HOME=/ it looks stupid

tested with this package being built _on_ mirbsd! yay! :)

(*) http://cvsweb.allbsd.org/cvsweb.cgi/src/etc/profile.diff?r1=1.18&r2=1.19&cvsroot=mirbsd



Revision 118 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 20:03:53 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1265 byte(s)
Diff to previous 102
make mksh cross-buildable and reduce executable size



Revision 102 - (view) (download) (annotate) - [select for diffs]
Added Sun Jun 18 16:36:02 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/mksh/Makefile
File length: 1262 byte(s)
add mksh package

ok wbx@ "unusual large shit to /etc/profile warning"



This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20