[Slackbuilds-users] [RFC] a binary repack SlackBuild template.
B. Watson
urchlay at slackware.uk
Tue Mar 4 08:54:50 UTC 2025
On Tue, 4 Mar 2025, fsLeg wrote:
> I don't mind renaming my scripts. One almost definitely needs renaming, a couple more are in the air because of the following.
>
> What about proprietary software? It's only distributed as pre-built binaries (like mentioned discord, also saflashplayer). Do such packages need to be named *-bin?
Good question. I might not bother with the -bin in that case.
> What about software that is impossible to build in SBo-compatible way? Like, flutter (or maybe entire dart, I don't remember anymore) just plain refuses to run as root, so flutter-based programs (yubioath-desktop) have to be repackaged from binaries. Do such packages need to be named *-bin?
Not familiar with flutter. However... if it really refuses to run as
root, the SlackBuild could do something like:
su - nobody -s /bin/sh -c flutter <args>
This would run flutter as the nobody used. You'd have to chown the
sources to nobody first, and chown the binaries afterward, or install
with "install -oroot -groot ..."
That, or whoever packages flutter could patch out the code that
detects when it's run by root. YMMV on whether that's a good idea,
I literally never heard of flutter until just now.
If any of the above actually works, then there could be a
yubioath-desktop that builds from source, and the existing one could
be renamed to yubioath-desktop-bin (or removed, if it's no longer
needed).
More information about the SlackBuilds-users
mailing list