FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 04-14-2008, 12:39 AM
Mike Frysinger
 
Default gentoo-x86 commit in net-dialup/freeradius: freeradius-2.0.3.ebuild

On Sunday 13 April 2008, Thomas Anderson wrote:
> On Sun, Apr 13, 2008 at 05:41:18PM +0000, Alin Nastac (mrness) wrote:
> > mrness 08/04/13 17:41:18
> >
> > Modified: ChangeLog
> > Added: freeradius-2.0.3.ebuild
> > Log:
> > Version bump.
> > (Portage version: 2.1.4.4)
> >
> > src_install() {
> > mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}"
> > gzip -f -9 "${D}/usr/share/doc/${PF}"/{rfc/*.txt,*}
>
> Doesn't this gzip command rather defeat the purpose of $PORTAGE_COMPRESS
> and $PORTAGE_COMPRESS_FLAGS?

it doesnt defeat it as ecompress will decompress things automatically. it
just makes the call pointless.

> It seems this might work better:
>
> ecompress "${D}/usr/share/doc/${PF}"/{rfc/*.txt,*}
>
> This way a user can opt to use bzip2,lzma, or no compression at all.

no need to call ecompress as we already have a function to do what is needed:
prepalldocs
-mike
 

Thread Tools




All times are GMT. The time now is 01:39 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org