ferion11 / danrepo

Gentoo Linux - Personal Portage Overlay
MIT License
6 stars 0 forks source link

Question about duktape #5

Closed owl4ce closed 3 years ago

owl4ce commented 3 years ago

Hi, thanks in advance. I like your work.

I just want to ask. What's the difference between duktape from here and the official Gentoo's repo? Currently I use brave-bin, polkit, and duktape from danrepo.

ferion11 commented 3 years ago

Hi, thanks in advance. I like your work.

I just want to ask. What's the difference between duktape from here and the official Gentoo's repo? Currently I use brave-bin, polkit, and duktape from danrepo.

It's almost the same, but because of this https://github.com/ferion11/danrepo/issues/2 bug, I had to add a flag for debugging and another to manual include libm (for those having the same issue), although for me, in my machine,, the two are the same (USE="cmdline -debug -libm" works for me)

owl4ce commented 3 years ago

Thank you for answering. I suggest enabling the discussion feature in this repo's settings.

owl4ce commented 3 years ago

2021-05-19-094817_602x267_scrot

Hi, I had this when there was a rule using a format like below (although by default too)

polkit.addAdminRule(function(action, subject) {
    return ["unix-group:wheel"];
});

polkit.addAdminRule(function(action, subject) {
    return ["unix-user:0"];
});

in /etc/polkit-1/rules.d/*

So I have to remove the above formatted rule so that it can be authenticated as root, as a result I can't set certain groups to get rights too. Any solution?

owl4ce commented 3 years ago

I guess is it because of using duktape as the build dependency? Because I tried to go back to using spidermonkey, and it worked.

owl4ce commented 3 years ago

2021-05-19-094817_602x267_scrot

Hi, I had this when there was a rule using a format like below (although by default too)

polkit.addAdminRule(function(action, subject) {
    return ["unix-group:wheel"];
});

polkit.addAdminRule(function(action, subject) {
    return ["unix-user:0"];
});

in /etc/polkit-1/rules.d/*

So I have to remove the above formatted rule so that it can be authenticated as root, as a result I can't set certain groups to get rights too. Any solution?

Oh, idk whats happen. Now solved in my new Gentoo system.