ussedp icon indicating copy to clipboard operation
ussedp copied to clipboard

Linux main

Open KCkingcollin opened this issue 3 years ago • 29 comments

stable build of linux auto compiling scripts

KCkingcollin avatar Nov 27 '21 04:11 KCkingcollin

sorry didn't realize changing the branch name was going to cancel the pull request (my last comment on old pull)

KCkingcollin avatar Nov 27 '21 04:11 KCkingcollin

just realized that there was no need for those other files to be in this branch

KCkingcollin avatar Nov 27 '21 05:11 KCkingcollin

did some serious house cleaning in KCkingcolln/ussedp as i plan to continue supporting it, so i got rid of any unneeded files

KCkingcollin avatar Nov 27 '21 05:11 KCkingcollin

Shit I think I did a oof, maybe I should just keep the repo separate as a fork🤔?...

KCkingcollin avatar Nov 27 '21 06:11 KCkingcollin

you still need to add zenity as dependency

CrezyDud avatar Nov 27 '21 07:11 CrezyDud

why did you delete all the source files, this would make merging this remove all the files

CrezyDud avatar Nov 27 '21 07:11 CrezyDud

$ sudo -S
sudo: invalid option -- 'S'
usage: doas [-Lns] [-C config] [-u user] command [args]

-S wont work with opendoas-sudo

CrezyDud avatar Nov 27 '21 07:11 CrezyDud

$ sudo -S
sudo: invalid option -- 'S'
usage: doas [-Lns] [-C config] [-u user] command [args]

-S wont work with opendoas-sudo

Damn ok I'll have to find another way to sudo, I think I was onto something yesterday I'll try it again

KCkingcollin avatar Nov 27 '21 17:11 KCkingcollin

why did you delete all the source files, this would make merging this remove all the files

I wasn't sure that was the case I was hoping I could just add the script files but I see that's not possible

btw if this fork is merged does it still exist separately?

If not it might be more beneficial to leave it as a fork, as the source files are pulled via get clone anyway...

However if the branch is persistent beyond the merge then I guess I'll add the source back so it can be merged...

KCkingcollin avatar Nov 27 '21 17:11 KCkingcollin

you still need to add zenity as dependency

Check the README.md I've added the dependency but I think most distros should have it pre installed

KCkingcollin avatar Nov 27 '21 18:11 KCkingcollin

why did you delete all the source files, this would make merging this remove all the files

I wasn't sure that was the case I was hoping I could just add the script files but I see that's not possible

btw if this fork is merged does it still exist separately?

If not it might be more beneficial to leave it as a fork, as the source files are pulled via get clone anyway...

However if the branch is persistent beyond the merge then I guess I'll add the source back so it can be merged...

Ok I answered my own question with Google I'll get the source back in the fork pronto...

KCkingcollin avatar Nov 27 '21 18:11 KCkingcollin

ok i got all the source back in the fork i just need to fix the sudo -S problem now

KCkingcollin avatar Nov 27 '21 19:11 KCkingcollin

@CrezyDud could I ask why your using opendoas-sudo? I dont really understand the benefit as it seems outdated and unsafe definitely for a rolling release arch based distro...

Ill try to fix the sudo -S issue regardless to keep the script cross distro but as far as im aware, all most every other distro comes with the sudo -S option i think this is specific to opendoas-sudo

KCkingcollin avatar Nov 27 '21 19:11 KCkingcollin

Ok @CrezyDud surely this should fix our problem... Test it when you get a chance plz

btw use the gui script (USSEDP-GUI-Linux.sh)~~or run one of the other scripts with root (forgot to update the readme before I pushed)~~

KCkingcollin avatar Nov 28 '21 02:11 KCkingcollin

@halgari any idea why the link i generated didn't last?

I tried adding 100000000000... to the "Expiry of the key" hopefully this time it'll stick...

KCkingcollin avatar Nov 28 '21 03:11 KCkingcollin

BTW if anyone wants to test the scripts i would recommend re-cloning\ downloading the fork as a lot has been changed\ added

KCkingcollin avatar Nov 28 '21 08:11 KCkingcollin

ok... i guess ill test it on a VM...

KCkingcollin avatar Nov 28 '21 19:11 KCkingcollin

ok after installing arch i now realize how out of date gksu is, so i got ride of it (idk why manjaro has gksu installed...)

now using sudo -A i already know this doesn't work with doas but for now default sudo is required

KCkingcollin avatar Nov 29 '21 02:11 KCkingcollin

why does it download from google docs

mastercoms avatar Dec 01 '21 22:12 mastercoms

why does it download from google docs

Because it's currently not possible for me to use the Nexus link as the script uses wget which I can't get to work the only other alternative was to use a link gen from the Nexus api that only lasted a day...

KCkingcollin avatar Dec 03 '21 18:12 KCkingcollin

added support for doas users i think, i haven't been able to fully test it yet, in theory it should work though also added auto dependency check and will prompt the user to install missing dependencies

KCkingcollin avatar Dec 04 '21 02:12 KCkingcollin

will be fixing the arch problem in linux-main #6 soon i just wanted to help out the people who use doas first and also make it just a bit more convenient

KCkingcollin avatar Dec 04 '21 02:12 KCkingcollin

hey @CrezyDud if your still keeping up with my fork id greatly appreciate it if you could test the doas support of the new release im not very familiar with doas so i could only really make assumptions based off of what you have said and what google has said about it...

KCkingcollin avatar Dec 04 '21 02:12 KCkingcollin

arch based distros confirmed to be working doing the last bit of testing on kubuntu and that should wrap this project up...

KCkingcollin avatar Dec 05 '21 22:12 KCkingcollin

Ubuntu based distros confirmed working! this should mean most if not all debian based distros should work with this script

onto fedora....

KCkingcollin avatar Dec 06 '21 00:12 KCkingcollin

fedora support not currently ready idk why but fedora 7z does not work as expected and i need to probably "detect" fedora and do some special stuff in the script

KCkingcollin avatar Dec 06 '21 03:12 KCkingcollin

Many Gentoo users use doas instead of sudo, and doas doesn't have a -A argument, in fact it doesn't have askpass.

monyarm avatar Dec 18 '21 14:12 monyarm

Many Gentoo users use doas instead of sudo, and doas doesn't have a -A argument, in fact it doesn't have askpass.

I'm aware of this fact which is why there should be a failsafe in place. simply run the gui script in a terminal like normal and you should get a normal password prompt from doas in the event that askpass fails to return a correct password, but i have not been able to test this yet as i currently do not use doas nor do i have a vm setup with a distro that comes with it...

KCkingcollin avatar Dec 30 '21 08:12 KCkingcollin

lol sorry any one who wanted to use the "FullPatcher" option till now, i just found out when updating the scripts patch files to 1.5.3 that i forgot to add an important variable to getting the option system to work up until now the script has been only doing the "best of both worlds" option regardless of the users input sorry about that i thought for sure i replaced all the old code with the new $choice variable but i missed the most important part in line #39 of the linux-auto-compile-script.sh

KCkingcollin avatar Jan 03 '22 23:01 KCkingcollin