[Slackbuilds-users] multipath-tools for Current64

Jeremy Hansen jebrhansen+SBo at gmail.com
Wed Apr 25 17:35:18 UTC 2018


On Wed, Apr 25, 2018, 12:32 PM Jeremy Hansen <jebrhansen+SBo at gmail.com>
wrote:

> On Wed, Apr 25, 2018, 12:30 PM Matteo Bernardini <
> matteo.bernardini at gmail.com> wrote:
>
>> 2018-04-25 17:50 GMT+02:00 Jeremy Hansen <jebrhansen+SBo at gmail.com>:
>> > It took some digging, but I found the download url for their tagged
>> > releases. To get to where I found it, read on, otherwise, skip to the
>> direct
>> > link for 0.7.6 (the latest tag right now). On their main page,
>> > http://christophe.varoqui.free.fr, click on the link for git tags
>> (which I
>> > have linked at the bottom of this message). From there, click on tag you
>> > want. Then click the tag again next to the commit message. Then click
>> the
>> > "Tree" in the top area (not the one at the end of the commit line).
>> Then you
>> > should be able to click snapshot for the link. Every other method I
>> found
>> > for the snapshot would provide the hash, rather than the tag. What a
>> pain!
>> >
>> >
>> https://git.opensvc.com/?p=multipath-tools/.git;a=snapshot;h=refs/tags/0.7.6;sf=tgz
>>
>> this, unfortunately, doesn't work with wget...
>>
>
> Crap. Didn't think to look at that since my computers are all packed up
> (movers picked up everything yesterday).
>

It does look like someone mirrors it on GitHub. They don't tag the
releases, and I'm not sure if it'll continue to sync when new tags are
pushed on their other git instance, but it could be used to grab a tarball.

https://github.com/cathay4t/multipath-tools

Another option would be to just download the file using where and the above
link (it'll still download the tarball, it'll just have an ugly name --
although, this test was done on a non-Slackware system that had wget --
looks like Debian 8), add a test in the slackbuild to see if there's an
index.html file in the folder and then move it to the expected filename and
continue on with the script.

Something like:

if ls index.html*.tgz; then
mv index.html*.tgz $PRGNAM-$VERSION.tar.gz
fi

But I don't know if that method would be frowned on by SBo admins (if the
wget does actually download the file, but has an ugly name)

Jeremy

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180425/8c26d7ce/attachment-0001.html>


More information about the SlackBuilds-users mailing list