From owner-freebsd-current@FreeBSD.ORG Fri Sep 8 19:18:37 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 634EF16A4C8; Fri, 8 Sep 2006 19:18:37 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE86E43D58; Fri, 8 Sep 2006 19:18:31 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 831CE1A3C1C; Fri, 8 Sep 2006 12:18:31 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 104A3514F6; Fri, 8 Sep 2006 15:18:24 -0400 (EDT) Date: Fri, 8 Sep 2006 15:18:24 -0400 From: Kris Kennaway To: John Baldwin Message-ID: <20060908191824.GA28910@xor.obsecurity.org> References: <200608281545.k7SFjn6l063922@lurza.secnetix.de> <20060908012239.GA37974@xor.obsecurity.org> <200609081455.40219.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline In-Reply-To: <200609081455.40219.jhb@freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org, Garance A Drosehn , Kris Kennaway Subject: Re: Attempt #3, adding a new command 'sfilter' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 19:18:37 -0000 --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 08, 2006 at 02:55:39PM -0400, John Baldwin wrote: > On Thursday 07 September 2006 21:22, Kris Kennaway wrote: > > On Thu, Sep 07, 2006 at 05:15:51PM -0400, Garance A Drosehn wrote: > > > At 4:40 PM -0400 9/7/06, Kris Kennaway wrote: > > > >On Thu, Sep 07, 2006 at 04:12:56PM -0400, Garance A Drosihn wrote: > > > > > It seems reasonable to me to add a strftime() (and maybe a few ot= her > > > >> features) to our base-system awk. But look at what happens if we > > > >> install gawk: > > > >> > > > >> -r-xr-xr-x 2 root wheel 115732 May 29 21:01 /usr/bin/awk* > > > >> -r-xr-xr-x 2 root wheel 1201108 Sep 7 15:39 /usr/local/bin/gaw= k* > > > > > > > >xor# ls -l `which gawk` > > > >-r-xr-xr-x 2 root wheel 225232 Sep 7 16:40 /usr/local/bin/gawk > > > >xor# ls -l `which awk` > > > >-r-xr-xr-x 2 root wheel 123260 May 16 13:58 /usr/bin/awk > > >=20 > > > Huh. I wonder why there's such a difference. All I did was > > >=20 > > > portinstall -N gawk > > >=20 > > > on my FreeBSD 5.x-ish machine (I did it there just because I had a > > > root-session already open on that machine). I've never installed > > > gawk before. Uname: > >=20 > > Most of the bloat appears to be from gettext. >=20 > Which is configurable from reading the port Makefile, so Julian can do: >=20 > cd /usr/ports/lang/gawk > make WITHOUT_NLS=3Dyes package >=20 > and have a small gawk package to install on his boxes. :) Yep. In fact unless you're actually using making use of gettext (i.e. running with non-default locale) this is a good option to set in your make.conf, to avoid lots of similar useless bloat and unnecessary dependencies. Kris --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFAcH/Wry0BWjoQKURAhCfAKCFG7Ps00z8UJtPhw5KKf8ANohwIwCgkWAv iRXiUb8kEdW7/Hq01cjA6JY= =WLNS -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb--