Commit graph

336 commits

Author SHA1 Message Date
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
Matteo Rossini
b08a309b55 Added SHOWORDER 2015-12-13 12:44:59 +01:00
Matteo Rossini
a87166043f Do not remove dialog temporary file. 2015-12-12 19:12:09 +01:00
Matteo Rossini
b510a6cfe1 Fixed a missed $ROOT 2015-12-12 16:21:54 +01:00
Matteo Rossini
16c6b79b2f Merge branch 'master' into devel 2015-12-12 14:15:29 +01:00
Matteo Rossini
ef0701a67a Reverted to 1.3.1 before sync with master 2015-12-12 14:14:49 +01:00
Matteo Rossini
ba9cc23ddc Another important casting problem. 2015-11-22 19:26:11 +01:00
Matteo Rossini
7c01349a32 Version 1.5.1 - 20/Nov/2015
Note for Slackware 14.1 users: slackware-current introduce important bug fix
  in slackpkg 2.82.0-14 (see Slackware ChangeLog) not backported in slackware
  14.1; it is not mandatory but you are encouraged to upgrade it by download it
  manually; be sure to graylist slackpkg to avoid an automatic downgrade.
  - The trailing slash in MIRRORPLUS[] is now optional (thanks to phenixia2003
    and Didier Spaier)
  - Added DOWNLOADCMD option to add a custom downloader
  - Fixed a bug that causes that ALL repositories fail if ONE repository fails
    (thanks to FR on Alien Pasture for reporting)
  - Fixed TAG_PRIORITY to avoid impact in slackpkg install
2015-11-20 22:17:00 +01:00
Matteo Rossini
aca3795170 use DOWNLOADCMD option instead DOWNLOADER that is already in use. 2015-11-20 20:59:35 +01:00
Matteo Rossini
bdfdefea5b The trailing slash in MIRRORPLUS is now optional 2015-11-20 20:44:58 +01:00
Matteo Rossini
7d303ac5e5 Fixed a casting problem with REPOPLUS variable.
It was used both as array and as string, so under some conditions (for example a broken o misconfigured repository) the repositories update fails.
2015-11-20 20:35:48 +01:00
Matteo Rossini
e2777e0260 TAG_PRIORITY=on was impacting also slackpkg install. Fixed 2015-11-20 19:32:19 +01:00
Matteo Rossini
60e11fa385 Updated KTOWN documentation 2015-11-20 19:20:07 +01:00
Matteo Rossini
76ba05be82 Added the 'DOWNLOADER' option.
You can now specify a custom downloader to use.
See README for details
2015-11-20 19:09:45 +01:00
Matteo Rossini
97aa85b460 fixed a type. thanks to Ryan 2015-11-20 18:58:00 +01:00
Matteo Rossini
fa0c164f2e Version 1.5.0 - 10/Jul/2015
- Fixed TAG_PRIORITY
  - Fixed repositories list
2015-07-10 20:16:58 +02:00
Matteo Rossini
ab2a1e3671 Version 1.4.99 - 01/Jul/2015
- Added priority by tag. Setting TAG_PRIORITY to 'yes' slackpkg+
    automatically upgrade packages from repository where the tag is the same
    of the already installed package.
2015-07-01 20:59:13 +02:00
Matteo Rossini
8a04091b45 Small code review 2015-06-29 23:48:25 +02:00
Matteo Rossini
1bd7dd1bb1 Version 1.4.1 - 16/Jun/2015
- Fix for repositories having CHECKSUMS.md5.gz.asc
2015-06-16 17:39:14 +02:00
Matteo Rossini
ac3758c2de Updated repositories 2015-06-14 18:38:18 +02:00
Matteo Rossini
5c4203a401 Fixed 'microlinux' repositories 2015-01-09 18:12:42 +01:00
Matteo Rossini
122371c1e4 Version 1.4.0 - 13/Dec/2014
- Now the official repositories (slackware64, extra, patches...) are treated
    as thirdy party repositories, so you can add it in PKGS_PRIORITY
    (phenixia2003)
  - To put an entire repository in PKGS_PRIORITY, you no more need to add
    ':.*' after the name (phenixia2003)
2014-12-13 16:20:46 +01:00
Matteo Rossini
da321982e1 Version 1.3.3 - 26/Oct/2014
- Patched to avoid to install glibc-debug from alienbob multilib (thanks to
    phenixia2003)
2014-10-26 18:00:49 +01:00
Matteo Rossini
682c49aea7 Version 1.3.2 - 13/Jul/2014
- Patched to reflect changes on slackpkg 2.82.0-13
2014-07-13 17:05:44 +02:00
Matteo Rossini
b60e8adf1f Isn't really needed a full rebuild of install.log file at every
update process! Launch /usr/libexec/slackpkg/makeinstlog.sh
manually to create it.
2014-04-21 15:25:25 +02:00
Matteo Rossini
6343da195e Skipping invalid repository on update process. 2014-04-17 11:56:15 +02:00
Mattero Rossini
96f3de8f57 Fixed an issue on missing VERBOSE line in config file. 2014-04-16 08:22:11 +02:00
Matteo Rossini
59289d5d33 - Fixed an issue when a repository is down 2014-04-15 17:21:48 +02:00