Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275448 - net-misc/openswan-2.6.22 trivial patch for sed error
Summary: net-misc/openswan-2.6.22 trivial patch for sed error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-26 02:51 UTC by Eray Aslan
Modified: 2009-06-28 09:46 UTC (History)
0 users

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


Attachments
trivial patch adding -type f to find (openswan-2.6.22.diff,405 bytes, patch)
2009-06-26 02:52 UTC, Eray Aslan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eray Aslan gentoo-dev 2009-06-26 02:51:35 UTC
net-misc/openswan-2.6.22.ebuild uses find|sed to change /usr/local to /usr in a few files.  Unfortunately, find fires on 2.6.16.54-0.2.5 subdirectory as well, resulting in

[...]
>>> Source unpacked in /var/tmp/portage/net-misc/openswan-2.6.22/work
>>> Preparing source in /var/tmp/portage/net-misc/openswan-2.6.22/work/openswan-2.6.22 ...
Applying openswan-2.6.22-gentoo.patch ... ok
sed: couldn't edit ./patches/kernel/2.6.16.54-0.2.5: not a regular file
>>> Source prepared.
[...]

Attached trivial patch gets rid of the (harmless) sed error message.

Reproducible: Always
Comment 1 Eray Aslan gentoo-dev 2009-06-26 02:52:56 UTC
Created attachment 195783 [details, diff]
trivial patch adding -type f to find
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2009-06-28 09:46:56 UTC
Fixed in 2.4.15 and 2.6.22.