Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Cc: Thomas Anderson <gentoofan23@×××××.com>, mrness@g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-dialup/freeradius: freeradius-2.0.3.ebuild
Date: Mon, 14 Apr 2008 00:39:18
Message-Id: 200804132039.14171.vapier@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-dialup/freeradius: freeradius-2.0.3.ebuild by Thomas Anderson
1 On Sunday 13 April 2008, Thomas Anderson wrote:
2 > On Sun, Apr 13, 2008 at 05:41:18PM +0000, Alin Nastac (mrness) wrote:
3 > > mrness 08/04/13 17:41:18
4 > >
5 > > Modified: ChangeLog
6 > > Added: freeradius-2.0.3.ebuild
7 > > Log:
8 > > Version bump.
9 > > (Portage version: 2.1.4.4)
10 > >
11 > > src_install() {
12 > > mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}"
13 > > gzip -f -9 "${D}/usr/share/doc/${PF}"/{rfc/*.txt,*}
14 >
15 > Doesn't this gzip command rather defeat the purpose of $PORTAGE_COMPRESS
16 > and $PORTAGE_COMPRESS_FLAGS?
17
18 it doesnt defeat it as ecompress will decompress things automatically. it
19 just makes the call pointless.
20
21 > It seems this might work better:
22 >
23 > ecompress "${D}/usr/share/doc/${PF}"/{rfc/*.txt,*}
24 >
25 > This way a user can opt to use bzip2,lzma, or no compression at all.
26
27 no need to call ecompress as we already have a function to do what is needed:
28 prepalldocs
29 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature