Commit graph

319 commits

Author SHA1 Message Date
Matteo Rossini
14f219d781 fixed test to check download space 2021-10-16 00:05:15 +02:00
Matteo Rossini
2c80c1335b Check disk space to download and install packages.
Add CHECKDISKSPACE=on in slackpkgplus.conf

Note:
to download it will check $TEMP path (/var/cache/packages by default)
to install (and only install, not for upgrade) it will check $ROOT/usr
filesystem since MOST (not ALL) files are there.
2021-10-15 23:11:19 +02:00
Matteo Rossini
254f9844cb Merge branch 'master' into test 2021-07-13 21:38:40 +02:00
Matteo Rossini
582416e29e Merge master
Fri Jul  9 00:47:35 CEST 2021
pkg/slackpkg+-1.7.7-noarch-1mt.txz:
  - Added support for SBo-current repository (by cgit ponce)
  - slackpkg download <package> can download SBo scripts
  - Replaced SBOURL with array SBO to allow multiple repository. please
    do not change the default value.
+-------------------------+

Sun Jul  4 23:51:46 CEST 2021
pkg/slackpkg+-1.7.6-noarch-9mt.txz: Rebuilt
  - Just updated repositories in documentation and in sample config
    file. Note that some repository now force ssl, and bear.alienbase.ln
    moved to slackware.nl and www.slakfinder.org moved to slakfinder.org.
    If not explicitly put it in configuration files, the cached downloader
    may not work properly. So it's important update slackpkgplus.conf
+-------------------------+

Sun Jul  4 19:57:22 CEST 2021
pkg/slackpkg+-1.7.6-noarch-8mt.txz: Rebuilt
  - slackpkg update now force to download all metadata if conf file
    change (thanks to chrisretusn)
  - 'slackpkg download <full-package-name>' works
+-------------------------+
2021-07-13 21:38:05 +02:00
Matteo Rossini
b63a4ae03a Fri Jul 9 00:47:35 CEST 2021
pkg/slackpkg+-1.7.7-noarch-1mt.txz:
  - Added support for SBo-current repository (by cgit ponce)
  - slackpkg download <package> can download SBo scripts
  - Replaced SBOURL with array SBO to allow multiple repository. please
    do not change the default value.
+-------------------------+
2021-07-13 11:31:15 +02:00
Matteo Rossini
2e3804d463 Some other repository in https 2021-07-09 00:05:38 +02:00
Matteo Rossini
95984521ce Sun Jul 4 23:51:46 CEST 2021
pkg/slackpkg+-1.7.6-noarch-9mt.txz: Rebuilt
  - Just updated repositories in documentation and in sample config
    file. Note that some repository now force ssl, and bear.alienbase.ln
    moved to slackware.nl and www.slakfinder.org moved to slakfinder.org.
    If not explicitly put it in configuration files, the cached downloader
    may not work properly. So it's important update slackpkgplus.conf
+-------------------------+
2021-07-07 19:23:31 +02:00
Matteo Rossini
fdc580e236 Sun Jul 4 19:57:22 CEST 2021
pkg/slackpkg+-1.7.6-noarch-8mt.txz: Rebuilt
  - slackpkg update now force to download all metadata if conf file
    change (thanks to chrisretusn)
  - 'slackpkg download <full-package-name>' works
+-------------------------+
2021-07-04 20:06:35 +02:00
Matteo Rossini
7f6a10368b 'slackpkg download <full-package-name>' works 2021-07-04 19:33:12 +02:00
Matteo Rossini
3873134efe Force to download all metadata if you modify configuration file 2021-07-04 18:42:08 +02:00
Matteo Rossini
9ad44c91ae 'slackpkg download' also download sbo files
add that in configuration

SBO['14.2']=https://www.slackbuilds.org/slackbuilds/14.2/
SBO['current']=http://cgit.ponce.cc/slackbuilds/
2021-07-04 00:40:06 +02:00
Matteo Rossini
7cbdeb1842 Allow to use SBo from stable AND from current
set

SBOURL=https://www.slackbuilds.org/slackbuilds/14.2/
SBOCUR=http://cgit.ponce.cc/slackbuilds/

in configuration
2021-07-03 00:45:30 +02:00
Matteo Rossini
b69f5e27ef Force download all metadata info in update process after modify conf 2021-06-25 13:34:54 +02:00
Matteo Rossini
51ab518385 support SBo current from ponce
Allow to download metadata from SBo-current from cgit.ponce.cc

put
SBOURL=http://cgit.ponce.cc/slackbuilds/

in configuration
2021-06-24 23:39:59 +02:00
Matteo Rossini
01a2bde343 Fri Jun 11 16:25:43 CEST 2021
pkg/slackpkg+-1.7.6-noarch-7mt.txz: Rebuilt
  - Removed bash completion file (already included in slackpkg)
+-------------------------+
2021-06-11 16:39:32 +02:00
Matteo Rossini
4e3f8f6d68 Fri Jun 11 15:36:58 CEST 2021
pkg/slackpkg+-1.7.6-noarch-6mt.txz: Rebuilt
  - slackpkg 15.0.5 incompatible gpg hardening.
+-------------------------+
2021-06-11 15:43:53 +02:00
Matteo Rossini
25eef17e5f Overrive the gpg import from slackpkg 15.0.5
" Harden slackpkg with respect to obtaining GPG key. (CRTS)"

this deny to download the gpg-key from thirdy part repositories
2021-06-11 15:31:35 +02:00
Matteo Rossini
93f4b0c6ed Wed May 26 20:31:25 CEST 2021
pkg/slackpkg+-1.7.6-noarch-5mt.txz: Rebuilt
  - cached_downloader did not correctly honor VERBOSE >= 2
2021-05-26 20:43:08 +02:00
Matteo Rossini
d7aae0ffb3 - cached_downloader did not correctly honor VERBOSE >= 2 2021-05-26 20:42:07 +02:00
Matteo Rossini
48fa79345a Fri May 14 21:01:28 CEST 2021
pkg/slackpkg+-1.7.6-noarch-4mt.txz: Rebuilt
  - bad package
+-------------------------+
2021-05-14 21:03:01 +02:00
Matteo Rossini
1b6eab20e8 Merge branch 'test'
to fix link regression
2021-05-14 21:01:02 +02:00
Matteo Rossini
bf6a935ebf Fri May 14 20:53:06 CEST 2021
pkg/slackpkg+-1.7.6-noarch-3mt.txz: Rebuilt
  - fix some regression with use of link
+-------------------------+
2021-05-14 20:54:56 +02:00
Matteo Rossini
28f744ad66 Regression by using links 2021-05-14 17:26:47 +02:00
Matteo Rossini
59917f1dc5 Thu May 13 22:37:45 CEST 2021
pkg/slackpkg+-1.7.6-noarch-2mt.txz: Rebuilt
  - link instead copy for local repositories (thanks to zdolar)
  - WGETOPTS="-q" works with links too (use it with USETERSE=on)
  - zlookkernel did not honor PLUGIN_ZLOOKKERNEL_PROMPT=off correctly
2021-05-13 22:56:56 +02:00
Matteo Rossini
927ff4779f removed TABs from code 2021-05-13 21:50:54 +02:00
Matteo Rossini
0ccc795823 report not existant local file to link 2021-05-12 23:55:57 +02:00
Matteo Rossini
01bb9d7eca clean cache from packages without gpg signature 2021-05-12 23:35:11 +02:00
Matteo Rossini
94c5a7940a link instead copy for file:// 2021-05-12 23:10:32 +02:00
Matteo Rossini
caa5b0f494 Aggiunto LEGACYBL in man pages 2021-05-12 00:25:11 +02:00
Matteo Rossini
285c7514c7 Wed May 12 00:02:47 CEST 2021
pkg/slackpkg+-1.7.6-noarch-1mt.txz: Upgrade
  - Added LEGACYBL to allow slackpkg+ to use the previous blacklist system
  - Fix 'continue' error message with -dialog=off
  - Print "Package:" on the same line of progress counter in downloading
2021-05-12 00:05:18 +02:00
Matteo Rossini
75976a9358 LEGACYBL documentation 2021-05-11 23:37:59 +02:00
Matteo Rossini
2591114496 Added legacy blacklist system
Setting LEGACYBL=on slackpkg+ uses slackware 14.2 blacklisting system
(grep -Ew applyed to the entire row in pkglist)
2021-05-09 22:49:51 +02:00
Matteo Rossini
99316dbda4 Mon May 3 10:05:41 CEST 2021
pkg/slackpkg+-1.7.5-noarch-2mt.txz: Rebuilt
  - Not really need to rerun slackpkg update.
  - blacklist works as slackpkg
2021-05-03 10:12:10 +02:00
Matteo Rossini
4b93460ae1 Blacklist method work as slackpkg 2021-05-01 00:09:47 +02:00
Matteo Rossini
b8f76c4d9f Mon Mar 29 21:19:36 CEST 2021
pkg/slackpkg+-1.7.5-noarch-1mt.txz: Rebuilt
  - Added TERSESEARCH to show a compact output in search function (thanks to
    edrozenberg)
+-------------------------+
2021-03-29 21:29:39 +02:00
Matteo Rossini
4eff876d5f Add a terse output for slackpkg search 2021-03-29 20:46:56 +02:00
Matteo Rossini
accf8c5615 small fix to SlackBuild 2021-03-20 23:35:36 +01:00
Matteo Rossini
e7c8a076c2 Sat Mar 20 23:01:33 CET 2021
pkg/slackpkg+-1.7.4-noarch-3mt.txz: Rebuilt
  - Fix exit code for check-updates (slackpkg 15.0.1); now it return 1 if
    there are updates available
  - Fix an incompatibility with dir:// repository and slackpkg 15.0.1
+-------------------------+
2021-03-20 23:16:52 +01:00
Matteo Rossini
659f4d082b Fixed an incompatibility with dir:// repository and slackpkg 15.0.1 2021-03-20 22:57:32 +01:00
Matteo Rossini
a9d4992e0b fix remove multilib. 2021-03-20 13:17:49 +01:00
Matteo Rossini
f3abb1b59e Fix exit code for pending updates (slackpkg 15.0.1) 2021-03-19 20:59:15 +01:00
Matteo Rossini
f3f289c618 just a way to troubleshooting applyblacklist() 2021-03-19 20:37:44 +01:00
Matteo Rossini
0e18b5f1b5 Mon Mar 8 21:45:32 CET 2021
pkg/slackpkg+-1.7.4-noarch-2mt.txz: Rebuilt
  - doinst.sh does remove CHECKSUMS.md5 instead pkglist
  - fix slackbuild
  - shorter pause after some warning
  - suppress some check-updates warning when run as non-root user
  - Improved ZLookKernel:
      Monitor other than vmlinuz (i.e. vmlinuz-generic)
      Run it from cmdline directly
      Configure it to ask less confirmation
      Better documentation (open the zlookkernel.sh to read it)
2021-03-08 21:45:55 +01:00
Matteo Rossini
fe3c05db4c shorter pause after some warning
suppress some check-updates warning when run as non-root user
2021-03-08 21:29:02 +01:00
Matteo Rossini
623bb03cfd slackbuild allow an extra tag (personal purpose)
doinst does remove CHECKSUMS.md5 instead pkglist
2021-03-08 19:46:23 +01:00
Matteo Rossini
6e015a5f40 Improved ZLookKernel:
- monitor other than vmlinuz (i.e. vmlinuz-generic)
  - run it from cmdline directly
  - configure it to ask less confirmation
  - better documentation (open the zlookkernel.sh to read it)
2021-03-07 22:00:19 +01:00
Matteo Rossini
2e9092773f Tue Mar 2 17:31:29 CET 2021
pkg/slackpkg+-1.7.4-noarch-1mt.txz: Rebuilt
  This release does not introduce feature on the core; just add a section to
  configuration file to enable some currently hidden feature.
  - Added plugin section. Now we can enable or disable sperimental plugin
    from configuration file. Currently we have two plugins.
  - ZLookKernel: help you to rebuild the initrd and install lilo or EFI elilo
  - ZChangeLog: generate a changelog for all repository at every 'update'
    process
2021-03-02 21:32:11 +01:00
Matteo Rossini
8045bad06a Mon Mar 1 20:40:19 CET 2021
pkg/slackpkg+-1.7.3-noarch-1mt.txz: Rebuilt
  Starting from 1.7.1, slackpkg+ no longer supports Slackware 14.2 (i.e.
  slackpkg-15.0). It advice you to downgrade to 1.7.0. Now we can fix some
  things that can break the backward compatibility.
  - from 2.84.0_beta1: Use CHECKSUMS.md5.asc to determine ChangeLog newness
  - from 2.84.0_beta11: check-updates change the messages and print the
    "no updates" in stdout and "updates available" in stderr. If you are
    using automatic scripts be sure to fix it.
  - now both work properly with slackpkg+
+-------------------------+
2021-03-01 21:03:29 +01:00
Matteo Rossini
f1626887be This release, elegible to 1.7.3, fix some backward incompatibility.
slackpkg-15 non longer use to download ChangeLog.txt to check
for updates before print
"No changes in ChangeLog.txt between your last update and now."
both in 'update' and 'check-updates' commands.
It download CHECKSUMS.md5.asc that is smaller.
Unfortunately that broke slackpkg+, so as workaround it did force
to download both the ChangeLog.txt and CHECKSUMS.md5.asc
It did work, but it did force to redownload all other files even if
no updates available.

slackpkg+ 1.7.3 use the new strategy properly.

to do that I needed to change the order of execution of code.

Also now it works if you disable the gpg check.

Another important backward incompatibility of slackpkg-15 is the
output of 'check-updates'.

old:
 "No news is good news" on stdout
 "News on ChangeLog.txt" on stdout

new:
 "Slackpkg: No updated packages since last check." on stdout
 "Slackpkg: Updated packages are available since last check." on stderr

slackpkg+ 1.7.3 uses the same messages.

Since slackpkg+ 1.7.1 and above no longer supports slackware 14
(i.e. slackpkg 2.82.1), some of that fixes could broke the ability
to downgrade it and user may need to downgrade manually.
2021-02-28 01:12:43 +01:00
Matteo Rossini
bcd1c22316 Thu Feb 25 12:56:55 CET 2021
pkg/slackpkg+-1.7.2-noarch-2mt.txz: Rebuilt
  - Solved bad progress bar in download/upgrade process
+-------------------------+
2021-02-25 13:03:13 +01:00