Skip to content

Commit

Permalink
Repo.pm: Removed unneeded conditional from verify_gpg.
Browse files Browse the repository at this point in the history
  • Loading branch information
pghvlaans committed Dec 20, 2024
1 parent d3717da commit 599432d
Show file tree
Hide file tree
Showing 36 changed files with 40 additions and 37 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ A debt of gratitude is owed to the original author, Jacob Pipkin, longtime maint
To make **sbotools** packages from the master branch, see [sbotools-git-slackbuild](https://github.com/pghvlaans/sbotools-git-slackbuild). For release **sbotools**, a SlackBuild is [available](https://slackbuilds.org/repository/15.0/system/sbotools/) at slackbuilds.org.

## Changes
* 3.2.1 - 2024-12-20
* Bugfix: sboinstall, sboupgrade GPG check for custom repositories (removed unneeded conditional)

* 3.2 - 2024-12-19
* sbocheck: Do not use compact format for CLASSIC mode
Expand Down
3 changes: 3 additions & 0 deletions SBO-Lib/Changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sbotools
* 3.2.1 - 2024-12-20
* Bugfix: sboinstall, sboupgrade GPG check for custom repositories (removed unneeded conditional)

* 3.2 - 2024-12-19
* sbocheck: Do not use compact format for CLASSIC mode
* Repo.pm: Prompt for regeneration if SLACKBUILDS.TXT is missing instead of erroring out
Expand Down
2 changes: 1 addition & 1 deletion SBO-Lib/README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SBO-Lib version 3.2
SBO-Lib version 3.2.1
===================

SBO::Lib is a library for the sbotools scripts.
Expand Down
2 changes: 1 addition & 1 deletion SBO-Lib/lib/SBO/App.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use strict;
use warnings FATAL => 'all';
use File::Basename;

our $VERSION = '3.2';
our $VERSION = '3.2.1';

sub new {
my $class = shift;
Expand Down
2 changes: 1 addition & 1 deletion SBO-Lib/lib/SBO/App/Remove.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use Getopt::Long qw(GetOptionsFromArray :config bundling);

use parent 'SBO::App';

our $VERSION = '3.2';
our $VERSION = '3.2.1';

lint_sbo_home();

Expand Down
2 changes: 1 addition & 1 deletion SBO-Lib/lib/SBO/App/Snap.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use Getopt::Long qw/ GetOptionsFromArray /;

use parent 'SBO::App';

our $VERSION = '3.2';
our $VERSION = '3.2.1';

lint_sbo_home();

Expand Down
2 changes: 1 addition & 1 deletion SBO-Lib/lib/SBO/Lib.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use strict;
use warnings FATAL => 'all';

package SBO::Lib;
our $VERSION = '3.2';
our $VERSION = '3.2.1';

=pod
Expand Down
2 changes: 1 addition & 1 deletion SBO-Lib/lib/SBO/Lib/Build.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use 5.016;
use strict;
use warnings;

our $VERSION = '3.2';
our $VERSION = '3.2.1';

use SBO::Lib::Util qw/ :const prompt script_error get_sbo_from_loc get_arch check_multilib on_blacklist open_fh uniq save_options %config in /;
use SBO::Lib::Tree qw/ get_sbo_location /;
Expand Down
2 changes: 1 addition & 1 deletion SBO-Lib/lib/SBO/Lib/Download.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use 5.016;
use strict;
use warnings;

our $VERSION = '3.2';
our $VERSION = '3.2.1';

use SBO::Lib::Util qw/ :const script_error get_sbo_from_loc open_read get_arch /;
use SBO::Lib::Repo qw/ $distfiles /;
Expand Down
2 changes: 1 addition & 1 deletion SBO-Lib/lib/SBO/Lib/Info.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use 5.016;
use strict;
use warnings;

our $VERSION = '3.2';
our $VERSION = '3.2.1';

use SBO::Lib::Util qw/ in get_arch get_sbo_from_loc get_optional open_read script_error slurp usage_error uniq /;
use SBO::Lib::Tree qw/ get_orig_location get_sbo_location is_local /;
Expand Down
2 changes: 1 addition & 1 deletion SBO-Lib/lib/SBO/Lib/Pkgs.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use 5.016;
use strict;
use warnings;

our $VERSION = '3.2';
our $VERSION = '3.2.1';

use SBO::Lib::Util qw/ %config build_cmp script_error open_read version_cmp /;
use SBO::Lib::Tree qw/ get_sbo_location get_sbo_locations is_local /;
Expand Down
2 changes: 1 addition & 1 deletion SBO-Lib/lib/SBO/Lib/Readme.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use 5.016;
use strict;
use warnings;

our $VERSION = '3.2';
our $VERSION = '3.2.1';

use SBO::Lib::Util qw/ prompt script_error slurp open_read open_fh _ERR_OPENFH usage_error %config /;
use SBO::Lib::Tree qw/ is_local /;
Expand Down
4 changes: 1 addition & 3 deletions SBO-Lib/lib/SBO/Lib/Repo.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use 5.016;
use strict;
use warnings;

our $VERSION = '3.2';
our $VERSION = '3.2.1';

use SBO::Lib::Util qw/ %config prompt usage_error get_slack_branch get_slack_version get_slack_version_url script_error open_fh open_read in slurp _ERR_DOWNLOAD /;

Expand Down Expand Up @@ -647,8 +647,6 @@ sub verify_gpg {
my $url = $config{REPO};
if ($url eq 'FALSE') {
$url = get_slack_version_url();
} else {
usage_error("The origins of $repo_path are unclear.\n\nPlease check your REPO, VERSION and RSYNC_DEFAULT settings. Exiting.");
}
if ($url =~ m!^rsync://!) {
return verify_rsync(0);
Expand Down
2 changes: 1 addition & 1 deletion SBO-Lib/lib/SBO/Lib/Tree.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use 5.016;
use strict;
use warnings;

our $VERSION = '3.2';
our $VERSION = '3.2.1';

use SBO::Lib::Util qw/ script_error open_read idx %config /;
use SBO::Lib::Repo qw/ $repo_path $slackbuilds_txt /;
Expand Down
2 changes: 1 addition & 1 deletion SBO-Lib/lib/SBO/Lib/Util.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use 5.016;
use strict;
use warnings;

our $VERSION = '3.2';
our $VERSION = '3.2.1';

use Exporter 'import';
use File::Copy;
Expand Down
2 changes: 1 addition & 1 deletion man1/sbocheck.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH sbocheck 1 "Pungenday, The Aftermath 61, 3190 YOLD" "sbotools 3.2" sbotools
.TH sbocheck 1 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "sbotools 3.2.1" sbotools
.SH NAME
.P
.B
Expand Down
2 changes: 1 addition & 1 deletion man1/sboclean.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH sboclean 1 "Pungenday, The Aftermath 61, 3190 YOLD" "sbotools 3.2" sbotools
.TH sboclean 1 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "sbotools 3.2.1" sbotools
.SH NAME
.P
.B
Expand Down
2 changes: 1 addition & 1 deletion man1/sboconfig.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH sboconfig 1 "Pungenday, The Aftermath 61, 3190 YOLD" "sbotools 3.2" sbotools
.TH sboconfig 1 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "sbotools 3.2.1" sbotools
.SH NAME
.P
.B
Expand Down
2 changes: 1 addition & 1 deletion man1/sbofind.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH sbofind 1 "Pungenday, The Aftermath 61, 3190 YOLD" "sbotools 3.2" sbotools
.TH sbofind 1 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "sbotools 3.2.1" sbotools
.SH NAME
.P
.B
Expand Down
2 changes: 1 addition & 1 deletion man1/sboinstall.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH sboinstall 1 "Pungenday, The Aftermath 61, 3190 YOLD" "sbotools 3.2" sbotools
.TH sboinstall 1 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "sbotools 3.2.1" sbotools
.SH NAME
.P
.B
Expand Down
2 changes: 1 addition & 1 deletion man1/sboremove.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH sboremove 1 "Pungenday, The Aftermath 61, 3190 YOLD" "sbotools 3.2" sbotools
.TH sboremove 1 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "sbotools 3.2.1" sbotools
.SH NAME
.P
.B
Expand Down
2 changes: 1 addition & 1 deletion man1/sbosnap.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH sbosnap 1 "Pungenday, The Aftermath 61, 3190 YOLD" "sbotools 3.2" sbotools
.TH sbosnap 1 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "sbotools 3.2.1" sbotools
.SH NAME
.P
.B
Expand Down
2 changes: 1 addition & 1 deletion man1/sbotools.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH sbotools 1 "Pungenday, The Aftermath 61, 3190 YOLD" "sbotools 3.2" sbotools
.TH sbotools 1 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "sbotools 3.2.1" sbotools
.SH NAME
.P
.B
Expand Down
2 changes: 1 addition & 1 deletion man1/sboupgrade.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH sboupgrade 1 "Pungenday, The Aftermath 61, 3190 YOLD" "sbotools 3.2" sbotools
.TH sboupgrade 1 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "sbotools 3.2.1" sbotools
.SH NAME
.P
.B
Expand Down
2 changes: 1 addition & 1 deletion man3/SBO::Lib::Build.3
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
.\" ========================================================================
.\"
.IX Title "SBO::Lib::Build 3"
.TH SBO::Lib::Build 3 "Pungenday, The Aftermath 61, 3190 YOLD" "" "sbotools 3.2"
.TH SBO::Lib::Build 3 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "" "sbotools 3.2.1"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
Expand Down
2 changes: 1 addition & 1 deletion man3/SBO::Lib::Download.3
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
.\" ========================================================================
.\"
.IX Title "SBO::Lib::Download 3"
.TH SBO::Lib::Download 3 "Pungenday, The Aftermath 61, 3190 YOLD" "" "sbotools 3.2"
.TH SBO::Lib::Download 3 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "" "sbotools 3.2.1"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
Expand Down
2 changes: 1 addition & 1 deletion man3/SBO::Lib::Info.3
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
.\" ========================================================================
.\"
.IX Title "SBO::Lib::Info 3"
.TH SBO::Lib::Info 3 "Pungenday, The Aftermath 61, 3190 YOLD" "" "sbotools 3.2"
.TH SBO::Lib::Info 3 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "" "sbotools 3.2.1"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
Expand Down
2 changes: 1 addition & 1 deletion man3/SBO::Lib::Pkgs.3
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
.\" ========================================================================
.\"
.IX Title "SBO::Lib::Pkgs 3"
.TH SBO::Lib::Pkgs 3 "Pungenday, The Aftermath 61, 3190 YOLD" "" "sbotools 3.2"
.TH SBO::Lib::Pkgs 3 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "" "sbotools 3.2.1"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
Expand Down
2 changes: 1 addition & 1 deletion man3/SBO::Lib::Readme.3
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
.\" ========================================================================
.\"
.IX Title "SBO::Lib::Readme 3"
.TH SBO::Lib::Readme 3 "Pungenday, The Aftermath 61, 3190 YOLD" "" "sbotools 3.2"
.TH SBO::Lib::Readme 3 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "" "sbotools 3.2.1"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
Expand Down
2 changes: 1 addition & 1 deletion man3/SBO::Lib::Repo.3
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
.\" ========================================================================
.\"
.IX Title "SBO::Lib::Repo 3"
.TH SBO::Lib::Repo 3 "Pungenday, The Aftermath 61, 3190 YOLD" "" "sbotools 3.2"
.TH SBO::Lib::Repo 3 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "" "sbotools 3.2.1"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
Expand Down
2 changes: 1 addition & 1 deletion man3/SBO::Lib::Tree.3
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
.\" ========================================================================
.\"
.IX Title "SBO::Lib::Tree 3"
.TH SBO::Lib::Tree 3 "Pungenday, The Aftermath 61, 3190 YOLD" "" "sbotools 3.2"
.TH SBO::Lib::Tree 3 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "" "sbotools 3.2.1"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
Expand Down
2 changes: 1 addition & 1 deletion man3/SBO::Lib::Util.3
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
.\" ========================================================================
.\"
.IX Title "SBO::Lib::Util 3"
.TH SBO::Lib::Util 3 "Pungenday, The Aftermath 61, 3190 YOLD" "" "sbotools 3.2"
.TH SBO::Lib::Util 3 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "" "sbotools 3.2.1"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
Expand Down
2 changes: 1 addition & 1 deletion man5/sbotools.conf.5
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH sbotools.conf 5 "Pungenday, The Aftermath 61, 3190 YOLD" "sbotools 3.2" sbotools
.TH sbotools.conf 5 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "sbotools 3.2.1" sbotools
.SH NAME
.P
.B
Expand Down
2 changes: 1 addition & 1 deletion man5/sbotools.hints.5
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH sbotools.hints 5 "Pungenday, The Aftermath 61, 3190 YOLD" "sbotools 3.2" sbotools
.TH sbotools.hints 5 "Prickle-Prickle, The Aftermath 62, 3190 YOLD" "sbotools 3.2.1" sbotools
.SH NAME
.P
.B
Expand Down
2 changes: 1 addition & 1 deletion slackbuild/sbotools/sbotools.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)

PRGNAM=sbotools
VERSION=${VERSION:-3.2}
VERSION=${VERSION:-3.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_pghv}
PKGTYPE=${PKGTYPE:-tgz}
Expand Down
4 changes: 2 additions & 2 deletions slackbuild/sbotools/sbotools.info
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PRGNAM="sbotools"
VERSION="3.2"
VERSION="3.2.1"
HOMEPAGE="https://pghvlaans.github.io/sbotools/"
DOWNLOAD="https://pghvlaans.github.io/sbotools/downloads/sbotools-3.2.tar.gz"
DOWNLOAD="https://pghvlaans.github.io/sbotools/downloads/sbotools-3.2.1.tar.gz"
MD5SUM="@MD5@"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
Expand Down

0 comments on commit 599432d

Please sign in to comment.