Commit graph

363 commits

Author SHA1 Message Date
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
zuno
aca5d2ab80 Merge pull request #4 from yars068/devel
Enchancement: do not show notices when running slackpkg update or slackpkg check-updates
2016-01-09 16:31:29 +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
Matteo Rossini
748f21757b Added SLINT repository 2016-01-03 00:17:41 +01:00
Matteo Rossini
a03840cf6a Fixed 'grep: write error' bug when running with sudo su - 2016-01-02 23:06:52 +01:00
Matteo Rossini
f26844a3be added repositories
improved checkrepos.sh
rebuild repositories.lst
2015-12-29 23:36:48 +01:00
Matteo Rossini
1dccd06d0a Code reordering. No significant code modify:
Add vim modeline settings (but vim has nomodeline set by default, so it is just informational)
Removed tab (use spaces instead)
Reindent code
Add/Modify comments
moved zdialogplus.sh into slackpkgplus.sh

reordering functions (and separing from main):

      function internal_blacklist()
      function applyblacklist()
      function cleanup()
      function handle_event()
      function remove_pkg()
      function upgrade_pkg()
      function install_pkg()
      function wgetdebug()
      function cached_downloader()
      function getfile()
      function checkgpg()
      function checkmd5()
      function givepriority()
      function searchPackages()
      function searchlistEX()
      function showlist() // dialog=on (ex-zdialogplus.sh)
      function showlist() // dialog=off
2015-12-29 14:01:53 +01:00
Matteo Rossini
eab93929d0 Fixed a bug in dialog upgrading from 'patches' on slackware 14.1 2015-12-25 02:20:39 +01:00
Matteo Rossini
d694ebe6ef Finally fixed dialog SHOWORDER.
I'm sorry.
2015-12-21 23:46:28 +01:00
Matteo Rossini
dc3105e9ff - Fixed an issue with TAG_PRIORITY enabled.
- SHOWORDER is bugged. Temporary disabled.
2015-12-21 22:56:26 +01:00
Matteo Rossini
3098138f3f Small fix in search and in priority manager 2015-12-20 19:41:24 +01:00
Matteo Rossini
ef1e7bacb5 Version 1.6.1 - 20/Dec/2015
- Added DOWNLOADONLY to just download packages without installing it
2015-12-20 13:26:19 +01:00
Matteo Rossini
29ee081622 Version 1.6.0 - 19/Dec/2015
- Added CACHEUPDATE. You can now speedup the slackpkg update by caching
    metadata files.
2015-12-19 15:26:12 +01:00
Matteo Rossini
8d2885df9d Version 1.5.2 - 18/Dec/2015
- Fixed a missed $ROOT
  - Added SHOWORDER option. It's a way to sort packages in dialog box to help
    reviewing large upgrade from many repositories. The SHOWORDER option
    accepts "package" "repository" "tag" "path" "arch".
  - Fixed some repository url. There are already some 14.2 repositories!!!
  - slackpkg+ advise you to update the pkglist before use it
  - Added a script in /usr/doc/slackpkg+-* to a fast check of repositories
  - slackpkg -dialog=off now show repository name as with dialog
  - Added SENSITIVE_SEARCH option to search case-insensitive
    (thanks to phenixia2003)
  - Important fixes in the priority manager. Many thanks to all people that
    reported the bugs and a Big thanks to phenixia2003 for the fix. Now we need
    your help to test it.
2015-12-18 21:28:31 +01:00
Matteo Rossini
df8c9130a6 Added SENSITIVE_SEARCH
Small adjustment in the code.
2015-12-18 21:03:54 +01:00
Matteo Rossini
3bb0a9af21 Small fix on SHOWORDER 2015-12-17 22:58:43 +01:00
Matteo Rossini
b3d2437f9a Review of priority code.
Use temporary files to generate the package list to install.
2015-12-17 22:40:55 +01:00
Matteo Rossini
957005081b Removed a warning when the pkglist does not exists 2015-12-16 20:05:57 +01:00
Matteo Rossini
d636db3f82 Updated SPKGPLUS_VERSION (we are in a development version)
SPKGPLUS_VERSION="1.5.1_DEVELOP_VERSION"
2015-12-16 20:01:13 +01:00
Matteo Rossini
9a2f9740dc showlist() merged in slackpkgplus.sh to add repository name in listing with -dialog=off 2015-12-16 19:50:35 +01:00
Matteo Rossini
c44fe7fed4 Added a tool to check massively if an url is a slackware repository.
when I define a repository group as
http://taper.alienbase.nl/mirrors/alien-kde/{13.37,14.0,14.1,current}/{latest,testing}/{x86,x86_64}/
that is expanded in many repositories, but not all are existent.

kde5 for slackware 13.37
http://taper.alienbase.nl/mirrors/alien-kde/13.37/testing/x86/
does not exists.

$ ./checkrepos.sh http://taper.alienbase.nl/mirrors/alien-kde/{13.37,current}/testing/x86/
Expanded repositories
http://taper.alienbase.nl/mirrors/alien-kde/13.37/testing/x86/
http://taper.alienbase.nl/mirrors/alien-kde/current/testing/x86/

Check repositories

Repository: http://taper.alienbase.nl/mirrors/alien-kde/13.37/testing/x86/
  Host: taper.alienbase.nl
  Check IP:   98.158.153.254
  Check connection: OK
  CHECKSUMS.md5:   not present
Invalid repository

Repository: http://taper.alienbase.nl/mirrors/alien-kde/current/testing/x86/
  Host: taper.alienbase.nl
  Check IP:   98.158.153.254
  Check connection: OK
  CHECKSUMS.md5: OK 212965 bytes ( Wed, 09 Dec 2015 00:40:09 GMT )
  PACKAGES.TXT: OK 203453 bytes ( Wed, 09 Dec 2015 00:39:49 GMT )
  GPG-KEY: Eric Hameleers <alien@slackware.com>
Done

========================================================
url     md5     gpg     pack

http://taper.alienbase.nl/mirrors/alien-kde/current/testing/x86 yes     yes     yes

It helps me to check repositories's sanity
2015-12-13 19:24:06 +01:00
Matteo Rossini
7fbed91d1e slackpkg+ remember you to update package list before use it 2015-12-13 19:21:16 +01:00
Matteo Rossini
6a9af3db31 Update repositories.txt 2015-12-13 18:45:38 +01:00