sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit ee1f9b49687f577a35ef80d48401eadcbd955413
parent 6bfe9fffb402288d39dde6a65b69e431975e2a2a
Author: Slack Coder <slackcoder@server.ky>
Date:   Sun, 24 Nov 2024 06:59:31 -0500

Rename to sbotools2

Diffstat:
MChangeLog.md | 2+-
MREADME.md | 2+-
Dslackbuild/sbotools/README | 16----------------
Dslackbuild/sbotools/sbotools.SlackBuild | 78------------------------------------------------------------------------------
Dslackbuild/sbotools/sbotools.info | 10----------
Aslackbuild/sbotools2/README | 16++++++++++++++++
Aslackbuild/sbotools2/sbotools2.SlackBuild | 80+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Aslackbuild/sbotools2/sbotools2.info | 10++++++++++
Rslackbuild/sbotools/slack-desc -> slackbuild/sbotools2/slack-desc | 0
9 files changed, 108 insertions(+), 106 deletions(-)

diff --git a/ChangeLog.md b/ChangeLog.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -## Unreleased +## [2.7.1] - 2024-11-24 ### Changed diff --git a/README.md b/README.md @@ -1,4 +1,4 @@ -# sbotools +# sbotools2 **[sbotools](https://pink-mist.github.io/sbotools/)** provides a ports-like interface to [slackbuilds.org](http://www.slackbuilds.org/). diff --git a/slackbuild/sbotools/README b/slackbuild/sbotools/README @@ -1,16 +0,0 @@ -sbotools (ports-like interface to slackbuilds.org) - -sbotools is a set of perl scripts providing a ports-like automation -interface to slackbuilds.org. Its features include requirement handling -and the ability to handle 32-bit and compat32 builds on multilib -x86_64 systems. - -There are man pages for each of the sbo* commands, and more documentation, -as well as online versions of the man pages, can be found at -http://pink-mist.github.io/sbotools/documentation/ - -sbotools bundles the required Perl module Sort::Versions with it. This does -not interfere with a copy installed from the CPAN, or from slackbuilds.org. - -sbotools is written and maintained by d4wnr4z0r, xocel, and pink_mist; -we can be contacted in #sbotools on freenode. diff --git a/slackbuild/sbotools/sbotools.SlackBuild b/slackbuild/sbotools/sbotools.SlackBuild @@ -1,78 +0,0 @@ -#!/bin/sh -# -# Slackware build script for <sbotools> -# Written by Jacob Pipkin <j@dawnrazor.net> -# Licensed under the WTFPL <http://sam.zoy.org/wtfpl/COPYING> - -PRGNAM=sbotools -VERSION=${VERSION:-2.7} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=$PRGNAM - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# we set INSTALLMAN3DIR=none to elide the Sort::Versions.3 man page so that we -# don't clobber one from perl-Sort-Versions or Sort::Versions. -( cd SBO-Lib - /usr/bin/perl Makefile.PL \ - PREFIX=/usr \ - INSTALLDIRS=site \ - INSTALLVENDORMAN1DIR=/usr/man/man1 \ - INSTALLVENDORMAN3DIR=/usr/man/man3 \ - INSTALLMAN3DIR=none - make - make test - make install DESTDIR=$PKG -) - -SCRIPTS="check clean config find install remove snap upgrade" -MANS="man1 man5" - -mkdir -p $PKG/usr/sbin $PKG/usr/share/zsh/site-functions -for i in $SCRIPTS; do - cp sbo$i $PKG/usr/sbin/sbo$i - cp completions/zsh/_sbo$i $PKG/usr/share/zsh/site-functions/_sbo$i -done - -for i in $MANS; do - mkdir -p $PKG/usr/man/$i - cp $i/* $PKG/usr/man/$i/ -done - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz; rm $i ; done - -find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true - -find $PKG -depth -type d -empty -delete || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/SBO-Lib -cp -a SBO-Lib/README SBO-Lib/Changes $PKG/usr/doc/$PRGNAM-$VERSION/SBO-Lib -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cp -a README.md ChangeLog.md $PKG/usr/doc/$PRGNAM-$VERSION/ - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/slackbuild/sbotools/sbotools.info b/slackbuild/sbotools/sbotools.info @@ -1,10 +0,0 @@ -PRGNAM="sbotools" -VERSION="2.7" -HOMEPAGE="https://pink-mist.github.io/sbotools/" -DOWNLOAD="https://pink-mist.github.io/sbotools/downloads/@FILENAME@" -MD5SUM="@MD5@" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Andreas Guldstrand" -EMAIL="andreas.guldstrand@gmail.com" diff --git a/slackbuild/sbotools2/README b/slackbuild/sbotools2/README @@ -0,0 +1,16 @@ +sbotools2 (ports-like interface to slackbuilds.org) + +sbotools2 is a set of perl scripts providing a ports-like automation +interface to slackbuilds.org. Its features include requirement handling +and the ability to handle 32-bit and compat32 builds on multilib +x86_64 systems. + +There are man pages for each of the sbo* commands, and more documentation, +as well as online versions of the man pages, can be found at +http://pink-mist.github.io/sbotools/documentation/ + +sbotools2 bundles the required Perl module Sort::Versions with it. This does +not interfere with a copy installed from the CPAN, or from slackbuilds.org. + +sbotools2 is a maintenance release of the original sbotools, which was +originally written and maintained by d4wnr4z0r, xocel, and pink_mist. diff --git a/slackbuild/sbotools2/sbotools2.SlackBuild b/slackbuild/sbotools2/sbotools2.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/sh +# +# Slackware build script for <sbotools2> +# +# Updated by Slack Coder <slackcoder@server.ky> +# Written by Jacob Pipkin <j@dawnrazor.net> +# Licensed under the WTFPL <http://sam.zoy.org/wtfpl/COPYING> + +PRGNAM=sbotools2 +VERSION=${VERSION:-2.7.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=$PRGNAM + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.xz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# we set INSTALLMAN3DIR=none to elide the Sort::Versions.3 man page so that we +# don't clobber one from perl-Sort-Versions or Sort::Versions. +( cd SBO-Lib + /usr/bin/perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=site \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 \ + INSTALLMAN3DIR=none + make + make test + make install DESTDIR=$PKG +) + +SCRIPTS="check clean config find install remove snap upgrade" +MANS="man1 man5" + +mkdir -p $PKG/usr/sbin $PKG/usr/share/zsh/site-functions +for i in $SCRIPTS; do + cp sbo$i $PKG/usr/sbin/sbo$i + cp completions/zsh/_sbo$i $PKG/usr/share/zsh/site-functions/_sbo$i +done + +for i in $MANS; do + mkdir -p $PKG/usr/man/$i + cp $i/* $PKG/usr/man/$i/ +done + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/SBO-Lib +cp -a SBO-Lib/README SBO-Lib/Changes $PKG/usr/doc/$PRGNAM-$VERSION/SBO-Lib +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cp -a README.md ChangeLog.md $PKG/usr/doc/$PRGNAM-$VERSION/ + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/slackbuild/sbotools2/sbotools2.info b/slackbuild/sbotools2/sbotools2.info @@ -0,0 +1,10 @@ +PRGNAM="sbotools2" +VERSION="2.7.1" +HOMEPAGE="https://git.server.ky/slackcoder/sbotools2/about/" +DOWNLOAD="https://git.server.ky/slackcoder/sbotools2/snapshot/@FILENAME@" +MD5SUM="@MD5@" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Slack Coder" +EMAIL="slackcoder@server.ky" diff --git a/slackbuild/sbotools/slack-desc b/slackbuild/sbotools2/slack-desc