pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/global global: update to 6.6.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1cc9b53211c9
branches:  trunk
changeset: 373782:1cc9b53211c9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 10 09:51:57 2018 +0000

description:
global: update to 6.6.1.

Version 6.6.1 - December 16 2017

[FIXED BUG]
o gozilla: A critical vulnerability (CVE-2017-17531) was found in a unknown
  function of gozilla(1). It allows remote attackers to execute arbitrary
  code via a crafted URL. All gozilla(1) before GLOBAL-6.6.1 have the vulnerability.
  Now it is fixed.

- What is the unknown function?
Gozilla accepts a URL as an argument, and invokes a web browser with the URL.
Though it is undocumented, it is implied in the online manual as follows:

> BUGS
>         Gozilla can accept not only source files but also text files,
>         directories, HTML files and even URLs, because it is omnivorous.

Version 6.6 - December 12 2017

[CHANGES]
New facilities:
o gtags: Added support for glob patterns in langmap variable in gtags.conf(5).
  Now, you can treat source files without extension like ctags(1).
  (e.g. :langmap=Make\:.mak.mk([Mm]akefile):)

Changed:
o gozilla: Changed the default browser from 'mozilla' to 'firefox'.
o gtags.conf.in: Updated to adapt to the latest ctags(s).
  Removed: common-ctags-maps
  Updated: exuberant-ctags, universal-ctags

[INCOMPATIBLE CHANGES]
o universal-ctags.la: The --extra option in Exuberant-ctags is renamed
  to --extras (plural) in Universal-ctags for making consistent with
  --kinds-<LANG> and --fields.

[FIXED BUGS]
o gtags: (parser error) picked up a typedef name as both of definition
  and reference. Now it works.
        Input:
        [a.h]
        typedef struct a A;

        $ global -x A
        A                   1 a.h              typedef struct a A;
        $ global -x A -r
        (global-6.5.7)
        A                   1 a.h              typedef struct a A;
        (global-6.6)
        no output

o global: the -i option does not work correctly in some conditions.
  Now it works.
o global: didn't accept pattern as a string literal with the --from-here
  option, even if the --literal option was specified. Now, global(1)
  accepts pattern as a string literal with the --literal option.
o libdb: there was 4 Gbyte limitation on the system where `off_t' is 64 bits
  and `long' is 32 bits. Now it is eliminated.
o libparser: php parser was not reset state for each source file.
  So, it was producing unintelligible results. Now it is fixed.
o gozilla: with wrong argument caused segmentation violation.
        $ gozilla -d
        Segmentation fault: 11
  Now it displays usage.

diffstat:

 devel/global/Makefile |   6 +++---
 devel/global/PLIST    |   3 ++-
 devel/global/distinfo |  10 +++++-----
 3 files changed, 10 insertions(+), 9 deletions(-)

diffs (53 lines):

diff -r 180c3dca74ac -r 1cc9b53211c9 devel/global/Makefile
--- a/devel/global/Makefile     Wed Jan 10 09:48:45 2018 +0000
+++ b/devel/global/Makefile     Wed Jan 10 09:51:57 2018 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.68 2017/11/30 16:45:20 adam Exp $
+# $NetBSD: Makefile,v 1.69 2018/01/10 09:51:57 wiz Exp $
 
-DISTNAME=      global-6.5.7
-PKGREVISION=   2
+DISTNAME=      global-6.6.1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=global/}
 
@@ -22,6 +21,7 @@
 CONF_FILES=    ${PREFIX}/share/gtags/gtags.conf ${PKG_SYSCONFDIR}/gtags.conf
 
 REPLACE_PYTHON+=       plugin-factory/pygments_parser.py
+REPLACE_PERL+=         plugin-factory/maps2conf.pl
 
 .include "options.mk"
 
diff -r 180c3dca74ac -r 1cc9b53211c9 devel/global/PLIST
--- a/devel/global/PLIST        Wed Jan 10 09:48:45 2018 +0000
+++ b/devel/global/PLIST        Wed Jan 10 09:51:57 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.25 2016/12/30 00:39:30 wiz Exp $
+@comment $NetBSD: PLIST,v 1.26 2018/01/10 09:51:57 wiz Exp $
 bin/global
 bin/globash
 bin/gozilla
@@ -93,6 +93,7 @@
 share/gtags/script/gtags-client
 share/gtags/script/htags-client
 share/gtags/script/less-global
+share/gtags/script/maps2conf.pl
 share/gtags/script/pygments_parser.py
 share/gtags/style.css
 share/gtags/vim74-gtags-cscope.patch
diff -r 180c3dca74ac -r 1cc9b53211c9 devel/global/distinfo
--- a/devel/global/distinfo     Wed Jan 10 09:48:45 2018 +0000
+++ b/devel/global/distinfo     Wed Jan 10 09:51:57 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.32 2017/05/29 11:20:53 wiz Exp $
+$NetBSD: distinfo,v 1.33 2018/01/10 09:51:57 wiz Exp $
 
-SHA1 (global-6.5.7.tar.gz) = db215a871483edda6855e1cdd3a37eb297658c02
-RMD160 (global-6.5.7.tar.gz) = 2e03a959f8014103b009e889e8906c7b738c103a
-SHA512 (global-6.5.7.tar.gz) = 0d33f718839e5e00bdd6d042b415a69c5e1f232d843610870505f8f20635b445810149b1b84ea8b77881f5f64814783ebe3cdcab2f84b8a085223b64293a9045
-Size (global-6.5.7.tar.gz) = 2940567 bytes
+SHA1 (global-6.6.1.tar.gz) = d029c1a1a17713d301940b00a2b69dd75d45a232
+RMD160 (global-6.6.1.tar.gz) = c5fda1872f46cc6ff702986b29253490728d5ad4
+SHA512 (global-6.6.1.tar.gz) = 1382ab9bc1fa272559539942bda63e141b5fedac401d8c9cd0b691c9cdac6deba6c79f72cffc1759ff18ba42d95339d25fb5bf6f3625b60a932e1fd50b009d1d
+Size (global-6.6.1.tar.gz) = 2961786 bytes



Home | Main Index | Thread Index | Old Index