Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Development (http://www.linux-archive.org/gentoo-development/)
-   -   gentoo-x86 commit in net-dialup/freeradius: freeradius-2.0.3.ebuild (http://www.linux-archive.org/gentoo-development/69210-gentoo-x86-commit-net-dialup-freeradius-freeradius-2-0-3-ebuild.html)

Mike Frysinger 04-14-2008 12:39 AM

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


All times are GMT. The time now is 05:30 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.