Commit graph

260 commits

Author SHA1 Message Date
Matteo Rossini
eda8f2dd23 a small 'sed' better code :) 2020-02-15 00:18:52 +01:00
Matteo Rossini
bcdd5777eb deleted slackpkgplus.sh.orig 2020-02-14 10:53:20 +01:00
Matteo Rossini
2b54816a0c Fix cached_downloader output. 2020-02-14 01:19:11 +01:00
Matteo Rossini
2993f0a512 Replace SPINNING with PROGRESS status 2020-02-13 21:01:00 +01:00
Matteo Rossini
e486903191 Thu Jan 3 12:18:57 CET 2019
pkg/slackpkg+-1.7.0d1-noarch-6mt.txz
  - Allow to use the blacklist system from slackpkg 2.84 (still in beta).
    Only impact install/upgrade/remove options, and does not impact
    greylist.
+-------------------------+
2019-01-03 12:29:16 +01:00
Matteo Rossini
ebe7858a96 Works with the slackpkg 2.84 (still in beta) blacklist system (but
not for search options)
2019-01-03 12:16:22 +01:00
Matteo Rossini
202ae81092 Fixed a regression on 'check-updates'
thanks to bormant
2018-12-30 19:32:34 +01:00
Matteo Rossini
b3fa7d8482 Replaced TABs with spaces. 2018-07-22 12:33:52 +02:00
Matteo Rossini
7221924589 Fixed an issue when there are no repository configured. 2018-07-22 12:28:58 +02:00
Matteo Rossini
9594a05f77 Fix caching when repository returns 302 or uses HTTP/2 2018-07-22 12:15:40 +02:00
Matteo Rossini
7f2247e6ee slackpkg+ did not work properly when run as a package group instead
single packages.

Thankyou to Poprocks an phenixia2003
2018-07-22 11:34:51 +02:00
Matteo Rossini
f3dac64a1b Fri Jun 15 18:25:33 CEST 2018
pkg/slackpkg+-1.7.0d1-noarch-5mt.txz
  - Fix incompatibility with slackpkg prior 2.83.0-noarch-3
2018-06-15 18:28:19 +02:00
Matteo Rossini
7c210bb714 Fri Jun 15 16:09:51 CEST 2018
pkg/slackpkg+-1.7.0d1-noarch-4mt.txz
  - Fix incompatibility with slackpkg-2.83.0-noarch-3
  - Fix setupmultilib script. It did use oldstyle 'multilib:'
  - Fix a regression in TAG PRIORITY
  - Handle the case where /var/log/packages is a symlink
2018-06-15 17:12:06 +02:00
Matteo Rossini
30eae62fcf Fixed an issue with slackpkg-2.83.0-noarch-3 (current-15/06/2018)
ap/slackpkg-2.83.0-noarch-3.txz:  Rebuilt.
  Don't remove ChangeLog.txt upon upgrade/reinstall.
  Use CHECKSUMS.md5.asc to determine if ChangeLog.txt is unchanged.

it downloads CHECKSUMS.md5.asc BEFORE ChangeLog.txt.
This broke the 'slackpkg update' in slackpkg+

Solved by force to download ChangeLog.txt the first time that
checkchangelog() ask for CHECKSUMS.md5.asc
2018-06-15 16:04:55 +02:00
Matteo Rossini
ccb6be0593 Fix setupmultilib script
Fix a regression on TAG PRIORITY
2018-06-15 10:07:24 +02:00
Matteo Rossini
fe431e228f Thu Apr 26 23:49:04 CEST 2018
pkg/slackpkg+-1.7.0d1-noarch-3mt.txz
  - Do not log 'install.log' and 'fatal.log' when DOWNLOADONLY=on
  - issue with slackpkg-2.83 (development release)
2018-04-26 23:54:04 +02:00
Matteo Rossini
9a373d7973 Do not log 'install.log' and 'fatal.log' when DOWNLOADONLY=on 2018-04-16 00:03:59 +02:00
Matteo Rossini
4d15d1a5f8 slackpkg 2.83.0beta changed how to manage $ROOT.
This break slackpkg+ management of $ROOT.
However this commit fix slackpkg+ if $ROOT is empty.
It's impossible a full fix (to make $ROOT working) until slackpkg-2.83
will be released into slackware official branch.
2018-04-15 23:25:15 +02:00
Matteo Rossini
d87d24bf0f Sat Apr 14 00:09:27 CEST 2018
pkg/slackpkg+-1.7.0d1-noarch-2mt.txz
  - Add a fatal.log for messages that users should not ignore.
    Currently it log if a package fails to install/upgrade/remove.
  - slackpkg upgrade did not work with slackpkg-2.83 (development release)
  - Fixed checkrepos.sh when server response is 302
  - smaller output for slackpkg search
2018-04-14 00:28:20 +02:00
Matteo Rossini
b0efcb355a Add a fatal.log
The user should not ignore messages from this log.

Currently it log if a package fails to install/upgrade/remove.

This may occurs if a download fails.
slackpkg retry one time.
If download fails another time you will have a fatal message.
2018-04-13 23:42:30 +02:00
Matteo Rossini
07d964cd43 slackpkg upgrade did not work with slackpkg-2.83 (development release) 2018-04-13 23:33:37 +02:00
Matteo Rossini
03cbb4dc24 Fixed some repositories in repositories.txt 2017-10-16 19:52:23 +02:00
Matteo Rossini
18ab0b93fb Fixed checkrepos.sh when server response is 302 2017-10-16 19:49:16 +02:00
Matteo Rossini
6ac77cb4cd - fixed MSB repository link
- smaller output for slackpkg search
2016-12-14 20:35:19 +01:00
Matteo Rossini
12bf31a485 Added missed zchangelog.sh in tree 2016-12-13 12:18:42 +01:00
Matteo Rossini
c91580a680 Sun Oct 2 13:55:26 CEST 2016
pkg/slackpkg+-1.7.0d1-noarch-1mt.txz
  - Added SBo support. This does not replace sbopkg. It just search in
    SlackBuilds.org and report the url to download to build and install
    packages yourself.
+-------------------------+
2016-10-02 15:51:55 +02:00
Matteo Rossini
67c92554ee Fri Jul 8 19:18:29 CEST 2016
pkg/slackpkg+-1.7.0d0-noarch-4mt.txz
  - Slackware 14.2 was finally released. Updated repository list.
  - Added manpage for the configuration file (man slackpkgplus.conf)
  - bash_completion is now enabled by default
  - Improved checkrepos.sh (now write PACKAGES.TXT size and last update time)
  - Changed some default settings in sample configuration file; also
    USEBL accepts on/off instead 0/1
2016-07-09 00:40:35 +02:00
Matteo Rossini
066d2af8c8 Wed Jun 22 21:05:15 CEST 2016
pkg/slackpkg+-1.7.0d0-noarch-3mt.txz: Rebuilt
  - slackpkg search did not honor the '+' symbol (thanks to yars)
+-------------------------+
2016-06-22 21:27:04 +02:00
Matteo Rossini
39bf34be75 pkg/slackpkg+-1.7.0d0-noarch-2mt.txz: Rebuilt
- slackpkg check-updates did not work unless you set VERBOSE=3 (thanks to
    Talus).
2016-06-22 00:14:27 +02:00
Matteo Rossini
5e21db7b8d Updated repository list 2016-06-18 13:38:12 +02:00
Matteo Rossini
1ae8f5c258 Fix Changelog date :) 2016-06-15 00:50:11 +02:00
Matteo Rossini
9e9b06446b Setting up mainline branch.
- Fixed some typos and missed SEARCH_CLOG_INPARENT documentation in README
  - Suppress wget output in ChangeLog downloading
  - Fixed an issue when an invalid repository is configured
2016-06-15 00:44:52 +02:00
Matteo Rossini
72b205aad8 pkg/slackpkg+-1.7.0d0-noarch-1mt.txz: Upgraded
Setting up mainline branch.
  - Fixed some typos and missed SEARCH_CLOG_INPARENT documentation in README
2016-06-12 20:33:02 +02:00
Matteo Rossini
11b4dfefd9 Version 1.7.0rc3 - 03/Jun/2016
This could be the last batch of updates before 1.7.0 stable, so please test!
  - dialog did no more trap develop errors (but if occurs please report it)
  - givepriority did drop matched package if it is the first in pkglist
  - Added /usr/src/slackpkg+-*/slackpkg.bash_completation. Edit it for
    instructions.
2016-06-06 20:03:52 +02:00
Matteo Rossini
2dfe8d4477 - dialog did no more trap develop errors
- givepriority did drop matched package if it is the first in pkglist
2016-06-04 12:35:44 +02:00
Matteo Rossini
258bd4b50d Version 1.7.0rc2 - 22/May/2016
- ChangeLog did not skipped for dir:/ repositories
  - ChangeLog did not show correctly certain slackware changelog
  - dir:/ repositories does not need STRICTGPG nor GPG key; however remember
    that if .asc file exists a key must be manually imported
  - Removed makeinstlog.sh since it was bugged and no longer supported
  - Repositories in default configuration file are bumped to 14.2
  - Full 1.7.0 changes tracked in CHANGES file
  - Added /usr/libexec/slackpkg/zchangelog.sh tool. Edit it to see instructions.
2016-06-02 23:31:39 +02:00
Matteo Rossini
92dfcf1d56 slackpkg+-1.7.0rc1-noarch-1mt.txz 2016-05-19 21:47:58 +02:00
Matteo Rossini
cc305a928a WW_FILE_SEARCH should affect file-search only 2016-05-19 21:24:18 +02:00
Matteo Rossini
98103d1df1 - fixed warning in update when one repository does not have the changelog
- ignore the package extension in package selection
- fixed a regression in dir: repository
2016-05-19 20:51:57 +02:00
Matteo Rossini
80cf09386d Version 1.7.b4.3 - 02/May/2016
- Optimized code for generating ChangeLogs. (phenixia2003)
2016-05-02 22:44:59 +02:00
Matteo Rossini
15bab88651 Fixed regression in givepriority 2016-04-19 00:02:40 +02:00
Matteo Rossini
0fce4c3a19 Version 1.7.b4.2 - 18/Apr/2016
- Improved cached downloader with specifics output for ChangeLogs
  - Fixed a bug in TAG_PRIORITY when the package is not installed
  - Improved performance in upgrade by skipping priority check for
    not installed packages
2016-04-18 23:52:52 +02:00
Matteo Rossini
221bcde357 Bumped version and other small things 2016-04-15 20:11:21 +02:00
Matteo Rossini
6169c4da30 Less verbosity in cached_downloader == most clear 2016-04-15 19:56:54 +02:00
Matteo Rossini
b4442e673e Added ChangeLog search from third-party repositories 2016-04-15 19:12:14 +02:00
Matteo Rossini
25ce6840a0 Updated alienbob repositories 2016-03-26 20:23:45 +01:00
Matteo Rossini
ccce2cc09a Version 1.7.b4 - 14/Mar/2016
- slackpkg search now search in dir:// repositories too.
  - subdirectory allowed in dir:// repositories.
  - slackpkg search honour correctly the '+' character
  - Added 'ChangeLog' dialog box to show the changelog of selected packages
    (thanks to phenixia2003)
2016-03-14 19:49:31 +01:00
Matteo Rossini
9fb8e78c49 Fixed slackpkg search that did not honour correctly some special chars as '+' and '.' 2016-03-03 23:51:27 +01:00
Matteo Rossini
f85b2ca2a8 Use find instead ls for dir:// repository to allow subdirectory. 2016-03-03 22:14:45 +01:00
Matteo Rossini
1bc0e22ae8 Fixed an issue when a 'dir://' repository is empty 2016-03-02 20:28:18 +01:00
Matteo Rossini
45d8928e96 slackpkg search now search also in dir:// repositories 2016-03-02 20:18:51 +01:00
Matteo Rossini
8af2291646 Slackpkg+ 1.7.b3 2016-02-27 15:45:53 +01:00
Matteo Rossini
c7e79304b8 Added WW_FILE_SEARCH 2016-02-27 15:34:00 +01:00
Matteo Rossini
bb31ee5822 Colorize the slackpkg search results. 2016-02-27 14:00:56 +01:00
Matteo Rossini
6f4dac8728 Added DETAILED_INFO 2016-02-27 13:58:58 +01:00
Matteo Rossini
5db0cf44c4 slackpkg reinstall allow to choice the repository, as in install/upgrade mode.
Just useful when two repositories have identical packages (e.g. vlc on restricted and alienbob repository)
2016-02-05 22:49:37 +01:00
Matteo Rossini
1b8fcac079 dir:// repositories and inline repositories has best priority. 2016-01-31 19:20:45 +01:00
Matteo Rossini
5c3a9f01c1 Small code cleaning 2016-01-31 15:25:23 +01:00
Matteo Rossini
18ec21c844 Fix non working properly 'reinstall' command. 2016-01-31 15:08:00 +01:00
Matteo Rossini
7cdad2d751 Added debug() function. Useful for developers. 2016-01-30 14:46:31 +01:00
Matteo Rossini
bd7498ff31 1.7.beta2 2016-01-29 22:40:38 +01:00
Matteo Rossini
9706ba69d6 Avoid slackpkg to corrupt the slackware database if there are some manual upgrade in progress. 2016-01-29 22:30:31 +01:00
Matteo Rossini
ba1e48c20f Fixed another bug when TAG_PRIORITY is on. 2016-01-29 17:15:57 +01:00
Matteo Rossini
5c33f270fb Added spinning in check-updates.
Fixed bad trap ctrl+c when spinning is on.
2016-01-26 23:37:07 +01:00
Matteo Rossini
6fc76f9d0d Fixed non working the SENSITIVE_SEARCH function. 2016-01-26 23:23:12 +01:00
Matteo Rossini
796b6b1c93 Fixed a bug with TAG_PRIORITY. Thanks to yars068. 2016-01-26 22:59:18 +01:00
Matteo Rossini
3f16140eeb cached_downloader now works with check-updates too.
check-updates when running with VERBOSE=3 shows downloader outputs.
2016-01-24 12:51:22 +01:00
Matteo Rossini
9162eb58f5 Version 1.7.b1 - 18/Jan/2016
Well, I think that we can mark that version as Beta.  It does not contains
  new features, but it was done a large work of bugfixes and improvements.
  A special thanks is for phenixia2003 and yars068 for code contributing and
  for many other for ideas and testing. It's the time for the tests, to find
  for bugs or someother improvement.
2016-01-18 22:42:58 +01:00
Matteo Rossini
ec930bb357 Improve givepriority performance by reducing I/O 2016-01-18 21:22:40 +01:00
Matteo Rossini
3e25c62989 removed a '--color' in code 2016-01-17 21:27:32 +01:00
Matteo Rossini
dc55f96a3c fix search 2016-01-17 21:13:36 +01:00
Matteo Rossini
904088459a fixed search string 2016-01-17 21:06:58 +01:00
Matteo Rossini
2cd06ecb47 Fixed slackpkg search filter 2016-01-17 21:00:30 +01:00
Matteo Rossini
e84d428fb1 Version 1.7.a6 - 17/Jan/2016
- 'slackpkg search' if finds more duplicated packages with different
    versions from many repository, now show all, marking it as "masked" the
    packages that will not be installed due the priority
  - Fixed a regression that drop PKGS_PRIORITY function in slackpkg upgrade
2016-01-17 19:49:18 +01:00
Matteo Rossini
813f2469a8 slackpkg search allow to more packages with the same name but different
version on the other repositories.
2016-01-17 19:34:37 +01:00
Matteo Rossini
9db0a417a4 Fixed a regression that drop the PKGS_PRIORITY funcionality 2016-01-17 00:04:58 +01:00
Matteo Rossini
9c2f068379 Fixed a regression that in same condition the TAG_PRIORITY avoid
slackpkg search to work properly even if it is disabled.
2016-01-16 13:50:18 +01:00
Matteo Rossini
ddbbb3b2cf Version 1.7.a5 - 16/Jan/2016
- Improved greylist. Also, now it allow to match the name in installed packages
  - Fixed download GPG-KEY; it did not show the correct repository for gpg key
  - Fixed previous patch for $ROOT problem (did broke 'slackpkg search command')
2016-01-16 00:52:23 +01:00
Matteo Rossini
a82fc093f3 Previous patch for $ROOT broke the search functionality 2016-01-16 00:32:25 +01:00
Matteo Rossini
b4583b1e12 cached_downloader did not shown correct repository name downloading GPG-KEY 2016-01-15 23:04:46 +01:00
Matteo Rossini
0f19fac92c removed tab in graylist fix 2016-01-15 22:45:28 +01:00
Matteo Rossini
f9d62992df Greylist also the installed packages, so it impact removing packages too. 2016-01-15 21:33:55 +01:00
Matteo Rossini
2a61214e19 Bugfix: greylist did not work properly 2016-01-15 16:08:40 +01:00
Matteo Rossini
a05b6424c6 1.7.a4-2
- Fixed a bug in gpg check when a repository name contains a '-' character
  - Fixed a bug in slackpkg upgrade when used with $ROOT
2016-01-13 22:16:48 +01:00
Matteo Rossini
7534e21da8 Fixed a bug in slackpkg upgrade when used with $ROOT 2016-01-13 22:12:19 +01:00
Matteo Rossini
41311fa56f issue in GPG check when a repository contains the minus character. 2016-01-13 22:09:09 +01:00
Matteo Rossini
4ac4c25009 Version 1.7.a4 - 12/Jan/2016
- Improved performance
  - Fixed search that may fails to detect repository in certain conditions
  - slackpkg search shows the repository name for the official repository
2016-01-13 16:48:38 +01:00
Matteo Rossini
89932a7ff9 Improved slackpkg search performance 2016-01-13 13:58:21 +01:00
Matteo Rossini
e1290e4f2a A repository name can contain letters, numbers, underscore (_) and minus (-) 2016-01-12 19:20:36 +01:00
Matteo Rossini
eff79b9ccf Fixed a bug with the bashism.
In install/upgrade Fixed an issue when search for a package that have more than a version in the same repository.
2016-01-12 19:04:29 +01:00
Matteo Rossini
8c3b93e006 fixed search that may fails to detect repository in certain conditions. 2016-01-11 20:40:33 +01:00
Matteo Rossini
6553f7d8c4 Improved givepriority() performance by using bashism. 2016-01-11 18:44:06 +01:00
Matteo Rossini
fac0996698 Version 1.7.a3 - 10/Jan/2015
- Do not show notices when running slackpkg update or slackpkg check-updates
    (thanks to yars068)
  - Fixed a bug on x86 hosts when a repository contains also x86_64 packages

removed TABs from all files
2016-01-10 15:32:37 +01:00
Yaroslav Shmelev
530c8fb5c3 slackpkgplus: do not show the notices that the pkglist is older than 24h and that remember to run slackpkg update when called update or check-updates commands 2016-01-09 16:28:01 +03:00
Matteo Rossini
0376c59e9d Version 1.7.a2 - 06/Jan/2015
- Remember user to (re)run 'slackpkg update gpg'
  - Fixed Download Only when upgrade base packages (aaa_base, pkgtools...)
  - Quick output on Cached Download
2016-01-06 01:48:15 +01:00
Matteo Rossini
98eab695c8 Updated repositories.lst 2016-01-06 01:42:15 +01:00
Matteo Rossini
d72cb0880d Cached Downloader: quick output 2016-01-06 01:24:15 +01:00
Matteo Rossini
d3bd352f01 Fixed Download only 2016-01-05 23:57:01 +01:00
Matteo Rossini
6f459f145b Remember to the user to run 'slackpkg update gpg' 2016-01-05 18:58:38 +01:00
Matteo Rossini
7f1ad1acb5 STRICTGPG setting added.
Prepared for development tree
2016-01-04 23:17:37 +01:00