[gentoo-user] emerge without download

2006-04-04 Thread go moko
Hi, all

Please excuse my poor english, but I've a problem I
didn't find solution for.
I've no internet connexion on my Gentoo machine, so I
download first all the files and put them in
/usr/portage/distfiles. After that, I can make an
"emerge ".
But for some packages, like libXext, emerge still try
to download the files from internet, even if the file
is present in DISTDIR and good. I've tried to execute
"ebuild  unpack", as explained in the manual,
but no effect. I've also tried to regenerate the
digest file, but no effect neither. I've looked in the
ebuild file, and don't see any difference with another
ebuild file which works fine.

Thanks for any help
G. Moko


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-04 Thread Devon Miller
Are you sure it's not a dependency? Try "emerge -pD libXext" to get a list of everything that is needed to build and install that library.dcmOn 4/4/06, 
go moko <[EMAIL PROTECTED]> wrote:Hi, all
I've no internet connexion on my Gentoo machine, so Idownload first all the files and put them in/usr/portage/distfiles. After that, I can make an"emerge ".But for some packages, like libXext, emerge still try
to download the files from internet, even if the fileis present in DISTDIR and good.


Re: [gentoo-user] emerge without download

2006-04-04 Thread go moko
--- Devon Miller <[EMAIL PROTECTED]> wrote:

> Are you sure it's not a dependency? Try "emerge -pD
> libXext" to get a list
> of everything that is needed to build and install
> that library.
> 
> dcm

No, I've checked that. And libXext is just an example,
but other packages (a minority) act as this one.
emerge try to download the exact file that I've put in
/usr/portage/distfiles. I checked this too by doing an
'ls -l' on the file that emerge try to download (by
cut'n paste, to be sure), and the file is here, with
good rights and nothing special.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-04 Thread Richard Fish
On 4/4/06, go moko <[EMAIL PROTECTED]> wrote:
> --- Devon Miller <[EMAIL PROTECTED]> wrote:
>
> > Are you sure it's not a dependency? Try "emerge -pD
> > libXext" to get a list
> > of everything that is needed to build and install
> > that library.
> >
> > dcm
>
> No, I've checked that. And libXext is just an example,
> but other packages (a minority) act as this one.
> emerge try to download the exact file that I've put in
> /usr/portage/distfiles. I checked this too by doing an
> 'ls -l' on the file that emerge try to download (by
> cut'n paste, to be sure), and the file is here, with
> good rights and nothing special.

I've worked this way before, and it is definitely possible to do.

Can you post the output of:

emerge -pv --fetchonly libXext
ls -l /usr/portage/distfiles/libXext*
emerge --info

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-04 Thread Gabriel Dain
> I download first all the files and put them in
> /usr/portage/distfiles. After that, I can make an
> "emerge ".

So you download them manually? If so, its better to use emerge -f
. It automatically downloads the files and all dependencies
to /usr/portage/distfiles, and you can be 100% sure that when you
emerge them for good it will use those files.
Or, if you must download them manually, try using overlays, and ebuild
 digest so that portage knows to use THAT file and it doesnt
return md5 errors (size and so on, if Portage uses different tars)

--
Gabriel Dain

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-05 Thread Peter Campion-Bye
>> I download first all the files and put them in
>> /usr/portage/distfiles. After that, I can make an
>> "emerge ".
>
> So you download them manually? If so, its better to use emerge -f
> . It automatically downloads the files and all dependencies
> to /usr/portage/distfiles, and you can be 100% sure that when you
> emerge them for good it will use those files.
> Or, if you must download them manually, try using overlays, and ebuild
>  digest so that portage knows to use THAT file and it doesnt
> return md5 errors (size and so on, if Portage uses different tars)

Or, as a workaround, you could set up http-replicator (there's a package for
it) and put your downloaded ebuilds into the replicator cache then change your
make.conf rsync settings to emerge from the replicator. The replicator log
will show you anything it thinks it needs to download that it can't serve from
the cache.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-05 Thread go moko
--- Peter Campion-Bye <[EMAIL PROTECTED]> wrote:

> >> I download first all the files and put them in
> >> /usr/portage/distfiles. After that, I can make an
> >> "emerge ".
> >
> > So you download them manually? If so, its better
> to use emerge -f
> > . It automatically downloads the files
> and all dependencies
> > to /usr/portage/distfiles, and you can be 100%
> sure that when you
> > emerge them for good it will use those files.
> > Or, if you must download them manually, try using
> overlays, and ebuild
> >  digest so that portage knows to use THAT
> file and it doesnt
> > return md5 errors (size and so on, if Portage uses
> different tars)

Even the ebuild  digest first try to download
the file, even if it's in the DISTDIR.

> Or, as a workaround, you could set up
> http-replicator (there's a package for
> it) and put your downloaded ebuilds into the
> replicator cache then change your
> make.conf rsync settings to emerge from the
> replicator. The replicator log
> will show you anything it thinks it needs to
> download that it can't serve from
> the cache.

I'll try it and let you know.
Thanks for the advice.
G. Moko


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-05 Thread go moko
--- Richard Fish <[EMAIL PROTECTED]> wrote:

> > No, I've checked that. And libXext is just an
> example,
> > but other packages (a minority) act as this one.
> > emerge try to download the exact file that I've
> put in
> > /usr/portage/distfiles. I checked this too by
> doing an
> > 'ls -l' on the file that emerge try to download
> (by
> > cut'n paste, to be sure), and the file is here,
> with
> > good rights and nothing special.
> 
> I've worked this way before, and it is definitely
> possible to do.

I agree. All others packages until this one and some
others linked to x11 worked fine with this method.
It's why I don't understand what's happen.

> Can you post the output of:
> 
> emerge -pv --fetchonly libXext

These are the packages that would be fetched, in
order:

Calculating dependencies  
http://xorg.freedesktop.org/releases/individual/lib/libXext-1.0.0.tar.bz2
http://xorg.freedesktop.org/releases/X11R7.0/src/everything/libXext-1.0.0.tar.bz2

... done!


> ls -l /usr/portage/distfiles/libXext*

-rw-rw-r-- 2 root portage 248688 Feb 16 19:34
/usr/portage/distfiles/libXext-1.0.0.tar.bz2


> emerge --info

Gentoo Base System version 1.12.0_pre16
Portage 2.1_pre7-r3 (default-linux/amd64/2005.1,
gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r2 x86_64)
=
System uname: 2.6.15-gentoo-r2 x86_64 AMD Athlon(tm)
64 Processor 3500+
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1,
1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r1, 2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config
/usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf
/etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O3 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache digest distlocks
metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo";
LINGUAS="fr en en-us -ab -ace -ach -ada -aa -afh -af
-aka -akk -sq -ale -am -i-ami -ar -ar-dz -ar-eg -ar-iq
-ar-jo -ar-kw -ar-lb -ar-ly -ar-ma -ar-om -ar-qa
-ar-sa -ar-sy -ar-tn -ar-ye -arc -arp -arn -arw -hy
-as -ava -ae -awa -ay -az -ban -bal -bam -bad -bas -ba
-eu -btk -bej -be -bem -bn -bho -bh -bik -bin -bi -bs
-bra -br -bug -bg -i-bnn -bua -my -cad -car -ca -ceb
-chg -ch -ce -chr -chy -chb -ny -zh -zh-mo -zh-sg
-zh-min-nan -zh-wuu -zh-xiang -zh-gan -zh-yue -chn
-chp -cho -cu -chk -cv -cop -kw -co -cre -mus -hr -cs
-dak -da -day -i-default -del -din -div -doi -dgr -dua
-nl -nl-be -dum -dyu -dz -efi -egy -eka -elx -en-ca
-en-gb -en-ie -en-jm -en-nz -en-ph -en-tt -en-za
-en-zw -enm -ang -eo -et -ewe -ewo -fan -fat -fo -fj
-fi -fon -fr-ca -fr-ch -fr-lu -fr-mc -frm -fro -fy
-fur -ful -gaa -gd -gl -lug -gay -gba -gez -ka -de
-de-ch -de-de -de-li -de-lu -gmh -goh -gil -gon -gor
-got -grb -grc -el -gn -gu -gwi -hai -ha -haw -he -hz
-hil -him -hi -ho -hit -hmn -hu -hup -iba -is -ibo
-ijo -ilo -id -ia -ie -iu -ik -ga -mga -sga -it -ja
-jw -jrb -jpr -kab -kac -kl -kam -kn -kau -kaa -kar
-ks -kaw -kk -kha -km -kho -ki -kmb -rw -ky -i-klingon
-kv -kon -kok -ko -kos -kpe -kro -kj -kum -ku -kru
-kut -lad -lah -lam -lo -la -lv -lb -lez -ln -lt -nds
-loz -lub -lua -lui -lun -luo -lus -mk -mad -mag -mai
-mak -mg -ms -ml -mnc -mdr -man -mni -gv -mi -mr -chm
-mas -men -mic -min -i-mingo -moh -mo -lol -mn -mos
-nah -na -nv -nd -nr -ng -ne -new -nia -niu -non -se
-no -nb -nn -nym -nyn -nyo -nzi -oc -oji -or -om -osa
-os -pal -i-pwn -pau -pi -pam -pag -pa -pap -fa -peo
-phn -pon -pl -pt -pt-br -pro -ps -qu -rm -raj -rap
-rar -ro -rom -rn -ru -sam -sm -sad -sg -sa -sat -sc
-sco -sel -sr -srr -shn -sn -sid -sgn-gb -sgn-ie -bla
-sd -si -den -sk -sl -sog -so -son -snk -wen -nso -st
-es -es-cl -es-co -es-do -es-ec -es-es -es-gt -es-hn
-es-mx -es-pa -es-pe -es-pr -es-py -es-sv -es-us
-es-uy -es-ve -suk -sux -su -sus -sw -ss -sv -syr -tl
-ty -tg -tmh -ta -i-tao -tt -i-tay -te -ter -tet -th
-bo -tig -ti -tem -tiv -tli -tpi -tkl -tog -to -tsi
-ts -i-tsu -tn -tum -tr -ota -tk -tvl -tyv -tw -uga
-ug -uk -umb -und -ur -uz -vai -vi -vo -vot -wal -war
-was -cy -wo -xh -sah -yao -yap -yi -yo -znd -zen -za
-zu -zun"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib accessibility acl
acpi adns aim alsa apache2 apm arts audiofile avi
bash-completion bcmath berkdb bidi bindist
bitmap-fonts blas bonobo boundschecking bzi

Re: [gentoo-user] emerge without download

2006-04-05 Thread Benno Schulenberg
go moko wrote:
> LINGUAS="fr en en-us -ab -ace -ach -ada -aa -afh -af
> -aka -akk -sq -ale -am -i-ami -ar -ar-dz -ar-eg -ar-iq
> -ar-jo -ar-kw -ar-lb -ar-ly -ar-ma -ar-om -ar-qa
> [...]

O.O

Mention in LINGUAS only the languages you want to have available, 
not anything else.  LINGUAS is not like USE, it doesn't know about 
the minus sign, as you can see further down: it assumes that "-ab", 
"-ace" and so on are languages:

> linguas_-ab linguas_-ace linguas_-ach linguas_-ada
> linguas_-aa linguas_-afh linguas_-af linguas_-aka
> linguas_-akk linguas_-sq linguas_-ale linguas_-am

Just put LINGUAS="fr en".  I'm unsure whether en-us is recognized.

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-05 Thread Jeremy Olexa
This might have already been said but always use emerge -f  to 
 download the dist files. Some packages have more than one file to 
download (patches and whatnot). That sounds like your problem.


-Jeremy
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-05 Thread Neil Bothwick
On Wed, 5 Apr 2006 04:48:39 -0700 (PDT), go moko wrote:

> > ls -l /usr/portage/distfiles/libXext*
> 
> -rw-rw-r-- 2 root portage 248688 Feb 16 19:34
> /usr/portage/distfiles/libXext-1.0.0.tar.bz2

It looks like this is the problem

$ ls -l /mnt/portage/distfiles/libXext*
-rw-rw-r-- 1 root portage 259489 2006-01-18 23:51 
/mnt/portage/distfiles/libXext-1.0.0.tar.bz2

The filesize is different, so portage is trying to download it again.
Download the file again, put it in $DISTDIR and see what happens.


-- 
Neil Bothwick

KPLA: Warrior's Radio! All the glory, all the time!


signature.asc
Description: PGP signature


Re: [gentoo-user] emerge without download

2006-04-05 Thread Matthias Bethke
Hi Benno,
on Wednesday, 2006-04-05 at 14:50:29, you wrote:
> Just put LINGUAS="fr en".  I'm unsure whether en-us is recognized.

The Localization Guide isn't very clear about the syntax of these, nor
how to get a list of available codes. I guess the basic ones are the
two-letter ISO codes as for locales, but is it "en-us", "en_US" or
something? Is it case sensitive at all?

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpCMLGdqYANY.pgp
Description: PGP signature


Re: [gentoo-user] emerge without download

2006-04-05 Thread Richard Fish
On 4/5/06, Neil Bothwick <[EMAIL PROTECTED]> wrote:
> On Wed, 5 Apr 2006 04:48:39 -0700 (PDT), go moko wrote:
>
> > > ls -l /usr/portage/distfiles/libXext*
> >
> > -rw-rw-r-- 2 root portage 248688 Feb 16 19:34
> > /usr/portage/distfiles/libXext-1.0.0.tar.bz2
>
> It looks like this is the problem

I agree, although quite oddly I have the same size file in my
distfiles directory.  I guess I haven't needed to update libXext in
awhile.

But, from /usr/portage/x11-libs/libXext/files/digest-libXext-1.0.0-r1:
MD5 ee00e206adde27814b8832aa769f55ed libXext-1.0.0.tar.bz2 259489

And the current file on xorg.freedesktop.org is also 259489 bytes.

Download again.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-06 Thread go moko
--- Richard Fish <[EMAIL PROTECTED]> wrote:

> On 4/5/06, Neil Bothwick <[EMAIL PROTECTED]> wrote:
> > On Wed, 5 Apr 2006 04:48:39 -0700 (PDT), go moko
> wrote:
> >
> > > > ls -l /usr/portage/distfiles/libXext*
> > >
> > > -rw-rw-r-- 2 root portage 248688 Feb 16 19:34
> > > /usr/portage/distfiles/libXext-1.0.0.tar.bz2
> >
> > It looks like this is the problem
> 
> I agree, although quite oddly I have the same size
> file in my
> distfiles directory.  I guess I haven't needed to
> update libXext in
> awhile.
> 
> But, from
>
/usr/portage/x11-libs/libXext/files/digest-libXext-1.0.0-r1:
> MD5 ee00e206adde27814b8832aa769f55ed
> libXext-1.0.0.tar.bz2 259489
> 
> And the current file on xorg.freedesktop.org is also
> 259489 bytes.
> 
> Download again.
> 
> -Richard

You're right. It works fine.

But I remember that for another package (I don't
remember which) which file was also not good, emerge
give me a error message saying that MD5 was bad, and
didn't try to download it.
Moreover, why 'emerge  digest' try to
download the file instead of creating the
corresponding digest file?
So it works, but I still don't understand how emerge
deals it!

Thanks again
G. Moko


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-06 Thread go moko
--- Matthias Bethke <[EMAIL PROTECTED]> wrote:

> Hi Benno,
> on Wednesday, 2006-04-05 at 14:50:29, you wrote:
> > Just put LINGUAS="fr en".  I'm unsure whether
> en-us is recognized.
> 
> The Localization Guide isn't very clear about the
> syntax of these, nor
> how to get a list of available codes. I guess the
> basic ones are the
> two-letter ISO codes as for locales, but is it
> "en-us", "en_US" or
> something? Is it case sensitive at all?
> 
> cheers!
>   Matthias

Thanks for the explanation, Benno. I've never noticed
this output of 'emerge --info' about LINGUAS. And, as
said Matthias, I followed the Localization Guide as I
understood it. However, even it's false, it does no
harm.

Thanks again
G. Moko


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-06 Thread go moko
> Or, as a workaround, you could set up
> http-replicator (there's a package for
> it) and put your downloaded ebuilds into the
> replicator cache then change your
> make.conf rsync settings to emerge from the
> replicator. The replicator log
> will show you anything it thinks it needs to
> download that it can't serve from
> the cache.

I tried it, and yes, it works well.
As said in another mail, it shows me that the file was
corrupted. After another download, emerge works fine.
Thanks
G. Moko


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-06 Thread Daniel da Veiga
On 4/6/06, go moko <[EMAIL PROTECTED]> wrote:
> --- Richard Fish <[EMAIL PROTECTED]> wrote:
>
> > On 4/5/06, Neil Bothwick <[EMAIL PROTECTED]> wrote:
> > > On Wed, 5 Apr 2006 04:48:39 -0700 (PDT), go moko
> > wrote:
> > >
> > > > > ls -l /usr/portage/distfiles/libXext*
> > > >
> > > > -rw-rw-r-- 2 root portage 248688 Feb 16 19:34
> > > > /usr/portage/distfiles/libXext-1.0.0.tar.bz2
> > >
> > > It looks like this is the problem
> >
> > I agree, although quite oddly I have the same size
> > file in my
> > distfiles directory.  I guess I haven't needed to
> > update libXext in
> > awhile.
> >
> > But, from
> >
> /usr/portage/x11-libs/libXext/files/digest-libXext-1.0.0-r1:
> > MD5 ee00e206adde27814b8832aa769f55ed
> > libXext-1.0.0.tar.bz2 259489
> >
> > And the current file on xorg.freedesktop.org is also
> > 259489 bytes.
> >
> > Download again.
> >
> > -Richard
>
> You're right. It works fine.
>
> But I remember that for another package (I don't
> remember which) which file was also not good, emerge
> give me a error message saying that MD5 was bad, and
> didn't try to download it.
> Moreover, why 'emerge  digest' try to
> download the file instead of creating the
> corresponding digest file?
> So it works, but I still don't understand how emerge
> deals it!

Because you're using the wrong command, what you want is "ebuild
.ebuild digest", emerge will try to emerge the package you
specified. Take a look at "man emerge" and "man ebuild".

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-06 Thread Richard Fish
On 4/6/06, go moko <[EMAIL PROTECTED]> wrote:
> Moreover, why 'emerge  digest' try to
> download the file instead of creating the
> corresponding digest file?

The command you wanted was 'ebuild'...

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-06 Thread Neil Bothwick
On Thu, 6 Apr 2006 08:09:55 -0700, Richard Fish wrote:

> > Moreover, why 'emerge  digest' try to
> > download the file instead of creating the
> > corresponding digest file?
> 
> The command you wanted was 'ebuild'...

Or 'emerge --digest package' if you have a recent enough portage.


-- 
Neil Bothwick

PROSTITUTE: Receiver of swollen goods.


signature.asc
Description: PGP signature


Re: [gentoo-user] emerge without download

2006-04-06 Thread go moko
--- Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Thu, 6 Apr 2006 08:09:55 -0700, Richard Fish
> wrote:
> 
> > > Moreover, why 'emerge  digest' try to
> > > download the file instead of creating the
> > > corresponding digest file?
> > 
> > The command you wanted was 'ebuild'...
> 
> Or 'emerge --digest package' if you have a recent
> enough portage.

Yeah, excuse, it was 'ebuild  digest' which
try to download the file.
Just a typo...

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-06 Thread Hans-Werner Hilse
Hi,

On Thu, 6 Apr 2006 09:22:11 -0700 (PDT) go moko <[EMAIL PROTECTED]>
wrote:

> > > > Moreover, why 'emerge  digest' try to
> > > > download the file instead of creating the
> > > > corresponding digest file?
> > > 
> > > The command you wanted was 'ebuild'...
> > 
> > Or 'emerge --digest package' if you have a recent
> > enough portage.
> 
> Yeah, excuse, it was 'ebuild  digest' which
> try to download the file.
> Just a typo...

Yep, it needs to download the sources in order to calculate the digest
for them, too. That's how portage checks for forged tarballs on the
mirrors.

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge without download

2006-04-06 Thread Richard Fish
On 4/6/06, go moko <[EMAIL PROTECTED]> wrote:
> Yeah, excuse, it was 'ebuild  digest' which
> try to download the file.

Ok, well I don't see how this could happen with libXext.

However with other packages this might occur if you don't have all of
the source archives downloaded.  For example opera 8.52 ebuild calls
out the following source archives:

${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2
${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2
${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2
${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2

Which results in a digest like:

MD5 ... opera-8.52-20060201.1-static-qt.i386-en.tar.bz2 5812593
MD5 ... opera-8.52-20060201.1-static-qt.ppc-en.tar.bz2 5811355
MD5 ... opera-8.52-20060201.1-static-qt.sparc-en.tar.bz2 5705143
MD5 ... opera-8.52-20060201.5-shared-qt.i386-en.tar.bz2 3977438

If I run digest on this ebuild, without all 4 source archives, it will
attempt to download the missing ones.

HTH,
-Richard

-- 
gentoo-user@gentoo.org mailing list