Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2006 15:18:24 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org, Garance A Drosehn <gad@freebsd.org>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Attempt #3, adding a new command 'sfilter'
Message-ID:  <20060908191824.GA28910@xor.obsecurity.org>
In-Reply-To: <200609081455.40219.jhb@freebsd.org>
References:  <200608281545.k7SFjn6l063922@lurza.secnetix.de> <p06230953c1263ba3af13@[128.113.24.47]> <20060908012239.GA37974@xor.obsecurity.org> <200609081455.40219.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--/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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060908191824.GA28910>