Hi,
I propose the following patch set to add GlusterFS and its
prerequisite liburcu to Slackware.
The set contains the following patches:
- liburcu.patch,
- glusterfs.patch,
- network-scripts.patch and
- sysvinit-scripts.patch.
The source archives are available at
https://lttng.org/files/urcu/userspa...0.11.1.tar.bz2 and
https://download.gluster.org/pub/glu...rfs-7.3.tar.gz.
The patches introducing new packages are based on the respective build scripts published on slackbuilds.org, to which I made the following changes:
- remove the _SBo tag,
- determine version from the source archive name,
- add switch to use multiple threads when building,
- add code for printing the resulting package name only and
- minor changes, for example variable defaults and the name of the source archive.
The other patches modify the files
scripts/rc.inet2 in the
network-scripts package to mount GlusterFS volumes, essentially using the same strategy as used for mounting NFS shares, and
scripts/rc.6 in the
sysvinit-scripts package to unmount GlusterFS volumes and stop glusterd.