Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220587 - app-misc/ca-certificates - support busybox configuration
Summary: app-misc/ca-certificates - support busybox configuration
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-06 13:47 UTC by Alon Bar-Lev (RETIRED)
Modified: 2008-05-06 17:58 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2008-05-06 13:47:09 UTC
Hello,

After mktemp is gone, ca-certificates pulls coreutils which is invalid in busybox configuration.

Please modify:
-DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )"
+DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin sys-apps/busybox )"

Thanks!
Comment 1 SpanKY gentoo-dev 2008-05-06 14:03:58 UTC
that obviously wont work ... every system has busybox installed and so it'll disable every other dep in the ||()
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2008-05-06 14:09:38 UTC
Oh... right!
Sorry.

Can you please find some other solution?
As openssl pulls this package unconditionally... and the coreutils dependency is for mktemp only...

Maybe better to patch the package and replace mktemp with simple implementation...

The script has single reference for mktemp:
bundletmp=`mktemp "${CERTBUNDLE}.tmp.XXXXXX"`
Maybe can be replaced with:
bundletmp="/tmp/${CERTBUNDLE}.tmp.$$"
Comment 3 SpanKY gentoo-dev 2008-05-06 14:33:57 UTC
every embedded system is currently expected to customize their profile to their needs
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2008-05-06 14:37:35 UTC
I don't understand... Do you mean I need to put coreutils in package.provided? Or there is another way to make this work...
Comment 5 SpanKY gentoo-dev 2008-05-06 16:25:56 UTC
you need to package.provide any random package you intend to replace with busybox
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2008-05-06 17:29:29 UTC
OK... but I don't thin that in this case this is the right solution.
Thanks.
Comment 7 SpanKY gentoo-dev 2008-05-06 17:58:09 UTC
mktemp should be part of system and no package should depend on it ... but that'll have to wait until everything goes stable and we can cull older versions