[Slackbuilds-users] Slackbuild cloning source from git

Erich Ritz erich.public at protonmail.com
Fri Feb 11 20:21:55 UTC 2022



------- Original Message -------

On Friday, February 11th, 2022 at 1:33 PM, Eugen Wissner <belka at caraus.de> wrote:

> No, the packages should build without an internet connection. Such
>
> sources should be cloned recursively and uploaded somewhere as a tar
>
> archive for example.
>
> Regards
>
> Eugene
>
> On Fri, Feb 11, 2022 at 07:18:19PM +0100, Ralph Spitzner wrote:
>
> > Hi all,
> >
> > would a Slackbuild cloning the source of the project from github stand any chance of
> >
> > being accepted (couldn't find any info on this)
> >
> > The project in turn uses 'subprojects' which get cloned from git recursively.
> >
> > There's no tar.gz containing everything and installing the subprojects wouldn't make any sense
> >
> > as they are only needed to build this and don't install anything themselves....
> >
> > regards
> >
> > -rasp
> > --------------

You can specify multiple source downloads.  So you'd have the main project and all submodules as separate source downloads.  See for example
https://git.slackbuilds.org/slackbuilds/tree/system/system76-power/system76-power.info
All the dependencies are build-time only and get compiled statically into the final executable.

Note also in system76-power it's downloading one tarball from github based on a named tag, and another tarball based on commit ID.

And to answer your original question: No, a SlackBuild is not allowed to do any network activity.

Erich


More information about the SlackBuilds-users mailing list