public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-dialup/freeradius: freeradius-2.0.3.ebuild
       [not found] <E1Jl6Cc-0000H2-UI@stork.gentoo.org>
@ 2008-04-13 21:45 ` Thomas Anderson
  2008-04-14  0:39   ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Anderson @ 2008-04-13 21:45 UTC (permalink / raw
  To: mrness; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 724 bytes --]

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 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.
> -- 
> gentoo-commits@lists.gentoo.org mailing list
> 

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-dialup/freeradius: freeradius-2.0.3.ebuild
  2008-04-13 21:45 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-dialup/freeradius: freeradius-2.0.3.ebuild Thomas Anderson
@ 2008-04-14  0:39   ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2008-04-14  0:39 UTC (permalink / raw
  To: gentoo-dev; +Cc: Thomas Anderson, mrness

[-- Attachment #1: Type: text/plain, Size: 966 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-14  0:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1Jl6Cc-0000H2-UI@stork.gentoo.org>
2008-04-13 21:45 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-dialup/freeradius: freeradius-2.0.3.ebuild Thomas Anderson
2008-04-14  0:39   ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox