On 2/9/07, LFS Trac <[EMAIL PROTECTED]> wrote:
> #1951: gzip-1.3.11
> ------------------------------------------+---------------------------------
>  Reporter:  [EMAIL PROTECTED]  |        Owner:  [EMAIL PROTECTED]
>      Type:  enhancement                   |       Status:  assigned
>  Priority:  normal                        |    Milestone:  6.3
> Component:  Book                          |      Version:  SVN
>  Severity:  normal                        |   Resolution:
>  Keywords:                                |
> ------------------------------------------+---------------------------------
> Comment (by [EMAIL PROTECTED]):
>
>  Because of the change of some utilities from hardlinks to actual binaries
>  as detailed above, our instructions need to change:
>

FYI: (would update trac ticket direct, but haven't the spare time to
resiter username etc)

The change to "actual binaries" are really just shell script wrappers
- and they all add the following to the start of each script

  PATH="${GZIP_BINDIR-'/usr/bin'}:$PATH"; export PATH

and then call gzip with the appropriate command line options. since we
pass prefix=/usr, the make install portion adds the /usr/bin, even
though we then move gzip to /bin.

Because /bin is likely to still be in the path this won't *break*
anything, but should be fixed anyway, if only to prevent unexpected
behaviour is someone places a malicious gzip in the /usr/bin directory
- a sed on the Makefile perhaps?

-- 
-- -
Steve Crosby
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to