safing / portmaster-packaging

Portmaster packages and installers
GNU General Public License v3.0
49 stars 22 forks source link

Provide source code for `portmaster-start` binary #70

Closed portal-user closed 2 years ago

portal-user commented 2 years ago

What would you like to add or change?: Trying to manually compile and build portmaster for Linux, I noticed a binary installer is needed from https://updates.safing.io/latest/linux_amd64/start/portmaster-start?CI.

I haven't found any source code for this external installer utility (have I overlooked something?). Otherwise please provide the source code. In case Windows signing is a problem, offer it for Linux in a first step.

Why do you and others need this?: Leverage fully open-source installations of portmaster.

Thanks!

Btw: Possibly related to https://github.com/safing/portmaster-packaging/issues/61

ppacher commented 2 years ago

Hi!

The source code of portmaster-start is part of the main repository under the cmds folder (here. It's not an installer but rather used to start all the different parts of portmaster (like the core service, the user-interface and the notifier for system notification integration). It also supports downloading of binary as well as Intel and UI modules from our update server. Since that's rather big we just provide the portmaster-start tool in the installers and it will take care of downloading everything else. After that, the core service will take over the update handling. Please be aware that there is currently no way of disabling binary updates. You can disable updates all together but that also means you won't get filter list or location database updates anymore. We already have plans for changing that but are still busy with other / more important stuff.

You can take a look at our build scripts (in the portmaster and portmaster-ui repos). The windows kernel extension is in the portmaster-kext repo but requires a valid certificate for building/use.

I'll close this issue but just keep asking if you have more questions!