Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231158 - portage-2.2_rc1 does not handle spaces in files with fetch restriction
Summary: portage-2.2_rc1 does not handle spaces in files with fetch restriction
Status: RESOLVED OBSOLETE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PMS/EAPI
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: future-eapi
  Show dependency tree
 
Reported: 2008-07-08 12:43 UTC by Daniel Black (RETIRED)
Modified: 2014-09-06 21:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
truecrypt-6.0.ebuild (truecrypt-6.0.ebuild,1.75 KB, text/plain)
2008-07-08 12:44 UTC, Daniel Black (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Black (RETIRED) gentoo-dev 2008-07-08 12:43:34 UTC
SRC_URI="TrueCrypt ${PV} Source.tar.gz"

stat("/usr/portage/distfiles/Source.tar.gz", 0x7fff38f7bdc0) = -1 ENOENT (No such file or directory
Comment 1 Daniel Black (RETIRED) gentoo-dev 2008-07-08 12:44:21 UTC
Created attachment 159866 [details]
truecrypt-6.0.ebuild
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2008-07-08 15:17:46 UTC
spaces are used as separators in metadata variables.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2008-07-09 08:58:13 UTC
(In reply to comment #2)
> spaces are used as separators in metadata variables.

Marius,

with due respect, and I do respect you a lot, this sounds like a excuse. It sounds like an internal design consideration rather than a specification problem.
Comment 4 Zac Medico gentoo-dev 2008-07-09 10:14:36 UTC
Well, one possible solution would be to add single quotes, like this:

SRC_URI="'TrueCrypt ${PV} Source.tar.gz'"
Comment 5 Ulrich Müller gentoo-dev 2009-06-30 09:47:35 UTC
(In reply to comment #4)
> Well, one possible solution would be to add single quotes, like this:
> 
> SRC_URI="'TrueCrypt ${PV} Source.tar.gz'"

And what will you do for filenames containing single quotes then? ;-)
<http://www.faqs.org/docs/artu/ch05s02.html> is worth reading...
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-09-06 21:43:01 UTC
Does anyone want to do this anymore? It looks like the idea is hard to implement, and TrueCrypt is no more :). I think we should WONTFIX it.
Comment 7 Ulrich Müller gentoo-dev 2014-09-06 21:58:38 UTC
I believe that this is obsolete: Escape mechanisms for URIs exist, and in addition we have SRC_URI arrows that allow saving the distfile under a reasonable name.