aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README24
-rw-r--r--github.conf3
-rw-r--r--need_update.txt1
-rwxr-xr-xperlupd24
4 files changed, 41 insertions, 11 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..b586110
--- /dev/null
+++ b/README
@@ -0,0 +1,24 @@
+Urchlay's ck4up config.
+
+This requires ck4up-1.6 or greater.
+
+This won't work as-is for you, unless you're really interested in
+checking the status of *my* SlackBuilds. You'll have to create your
+own *.conf files; mine are just there as examples.
+
+How to install this:
+
+Do this as a normal user (not root):
+
+cd
+git clone https://slackware.uk/~urchlay/repos/ck4up-config
+
+# either install to ~/bin:
+mkdir -p ~/bin # if you don't already have one
+ln -s ~/ck4up-config/{ck,ck.,ckall,perlupd} ~/bin
+vi ~/.bash_profile # add ~/bin to $PATH if it's not already there
+
+# or else add ~/ck4up-config to your $PATH.
+
+Create a ~/.ck4up/ directory, have a look at my *.conf files and
+use them as a basis for writing your own.
diff --git a/github.conf b/github.conf
index a5e6d12..91513ef 100644
--- a/github.conf
+++ b/github.conf
@@ -180,7 +180,8 @@ mhwaveedit md5 https://github.com/magnush/mhwaveedit/tags.atom <id>tag:\S+Repo
minidjvu md5 https://github.com/barak/minidjvu/tags.atom <id>tag:\S+Repository/.*</id
mininim md5 https://github.com/oitofelix/mininim/tags.atom <id>tag:\S+Repository/.*</id
mirage2iso md5 https://github.com/mgorny/mirage2iso/releases.atom <id>tag:\S+Repository/.*</id
-mitmproxy-bin md5 https://github.com/mitmproxy/mitmproxy/tags.atom <id>tag:\S+Repository/.*</id
+# not for 15.0
+#mitmproxy-bin md5 https://github.com/mitmproxy/mitmproxy/tags.atom <id>tag:\S+Repository/.*</id
mmv md5 https://github.com/rrthomas/mmv/releases.atom <id>tag:\S+Repository/.*</id
mosh md5 https://github.com/mobile-shell/mosh/releases.atom <id>tag:\S+Repository/.*</id
mount-zip md5 https://github.com/google/mount-zip/tags.atom <id>tag:\S+Repository/.*</id
diff --git a/need_update.txt b/need_update.txt
index 1b61e0d..1fe8c6b 100644
--- a/need_update.txt
+++ b/need_update.txt
@@ -11,7 +11,6 @@ mididings (apparently there's new code, per repology)
pcc (commit)
syncterm (remove after update; this is a big PITA to update)
bitmapfont2ttf new activity in git
-fsviewer have to port the fucking window close patch to 0.3.0
wolf4sdl (https://packages.debian.org/sid/source/wolf4sdl)
msbasic2ascii (commit; there's new activity)
qzdl (no release since 2014; useful patches in 2025 git)
diff --git a/perlupd b/perlupd
index caafd3a..c1071bf 100755
--- a/perlupd
+++ b/perlupd
@@ -1,5 +1,10 @@
#!/usr/bin/perl -w
+# These seem to have been removed from CPAN, or anyway they don't
+# show up in 02packages.details.txt.gz.
+# perl-Sys-CPU
+# perl-Time-modules
+
# Keep this at the top of the file for easy editing.
# Most perl packages, it's obvious how to derive the CPAN module name
# from the Slackware package name. The ones that aren't, list here:
@@ -22,15 +27,10 @@
'CDDB_get' => 'perl-CDDB-get',
'Perl::Tidy' => 'perl-Tidy',
'Number::Bytes::Human' => 'perl-Number-Bites-Human',
+ 'Cz::Cstocs' => 'perl-Cstools',
+ 'CPAN::Meta::Requirements' => 'perl-Meta-Requirements-Range',
);
-# these seem to have been removed from CPAN, or anyway they don't
-# show up in 02packages.details.txt.gz.
-#'perl-Sys-CPU',
-#'perl-Time-modules',
-#'perl-Cstools',
-#'perl-Meta-Requirements-Range',
-
($SELF = $0) =~ s,.*/,,;
if(@ARGV && $ARGV[0] eq '--help') {
@@ -105,7 +105,7 @@ if(defined ($SBO_GITROOT = $ENV{SBO_GITROOT})) {
}
# Download the $CACHE file if it doesn't exist, or if it's more than
-# CACHE_MAX secondsold. Notice, it's stored in the same place cpan
+# CACHE_MAX seconds old. Notice, it's stored in the same place cpan
# stores it, so it might already be up to date from using cpan.
# As of October 2026, this is a 2.5MB download.
if(! -e $CACHE || (file_age($CACHE) > $CACHE_MAX)) {
@@ -123,7 +123,13 @@ while(<$pipe>) {
while(<$pipe>) {
chomp;
my($mod, $ver, $path) = split /\s+/;
- next if $ver eq 'undef';
+ if($ver eq 'undef') {
+ # App::sbozyp has 'undef' for its CPAN version, extract
+ # version number from tarball in cases like this.
+ if($path =~ m,.*-v?(.*?)\.tar\.gz$,) {
+ $ver = $1;
+ }
+ }
$ver =~ s,^v(\d),$1,; # v1.2.3 => 1.2.3
my $pkg = $overrides{$mod};