Third party packages on the openSUSE build service #1857
Replies: 4 comments 8 replies
-
Would you be so kind and update: https://github.com/dani-garcia/vaultwarden/wiki/Third-party-packages |
Beta Was this translation helpful? Give feedback.
-
What you did is great imho (building packages for 7 distros is no small feat!) , but the argument about trustworthiness seems odd to me:
Your packages are mostly bundling pre-built binaries (Out of necessity, I get that.). How is that more trustworthy than downloading a random package from the internet? But I still think this is great, mostly because a repository (even an untrustworthy one) means regular updates and minimal effort to get them. I packaged vaultwarden for Archlinux for a while (before it became an official package) and the package(s) seems good to me. Sadly I don't really have a clue about spec-files and debians build system so I can't comment on the specifics and guidelines of the distros you target. One thing that may be an idea (depending on how the distro usually handles this) are tmpfiles.d and sysusers.d files for creating the /var/lib/vaultwarden directory and adding the vaultwarden user, respectively. (See the files in https://github.com/archlinux/svntogit-community/tree/packages/vaultwarden/trunk and how they get applied). They are more declarative instead of imperative which to me seems a bit cleaner. |
Beta Was this translation helpful? Give feedback.
-
Hi @Masgalor , I maintain an RPM for EL8 which I implemented as a fork of this repo, adding some scripts to build an RPM and push them to COPR ( https://github.com/alexpdp7/bitwarden_rs/commit/6645f190fa61db24be4c5705b6772f76d1d34a66 ). Even if you cannot build nightly Rust, do OBS builds allow you to pull stuff from the Internet? You could run rustup or even... fetch the official Docker image and extract the binary instead of bundling it in the OBS sources? If you can do that, I'd rather deprecate my build- the Vaultwarden maintainers have refused (rightfully) to merge my fork and upstream the RPM building, so I'd need to rebuild it anyway for more sanity. And your package has the webvault... If you were willing to accept contributions to try to rustup/get the binary automatically during the build, I might try to help? Cheers, Álex |
Beta Was this translation helpful? Give feedback.
-
@alexpdp7 which version does EL8 support? And if really needed, you could patch the |
Beta Was this translation helpful? Give feedback.
-
Hey folks.
I created a project at the openSUSE-BuildService, to provide repositories with prebuilt packages for several linux distributions.
The motivation was my slightly disappointing experience with the available third party packages.
Some packaging projects are lacking behind, some distros have only buildscripts available that need some knowledge to be used and so on. I also noticed that a lot of people would rather download some random package from the web than learn to use a build script, what is an awful idea, especially for a password-manager.
My available packages are far from being perfect, but alone the fact that they are downloaded via a package-manager from a trustworthy source are worth a lot.
Unfortunately, this buildsystem has a some restrictions that prevent the building with rust-nightly and npm.
So all I can do for now is packaging prebuilt binaries (extracted from the docker image) and the prebuilt webvault available here under dani-garcia/bw_web_builds. I will try to improve this in the future, but for now it is as it is.
Anyway, let me know what you think about it.
Project-Page https://build.opensuse.org/project/show/home:Masgalor:Vaultwarden
Vaultwarden API-Server https://software.opensuse.org//download.html?project=home%3AMasgalor%3AVaultwarden&package=vaultwarden
Vaultwarden web-vault https://software.opensuse.org//download.html?project=home%3AMasgalor%3AVaultwarden&package=vaultwarden-webvault
Beta Was this translation helpful? Give feedback.
All reactions