Fri Jan 19 20:20:44 2018 UTC ()
Pullup ticket #5679 - requested by wiz
devel/global: security update

Revisions pulled up:
- devel/global/Makefile                                         1.69
- devel/global/PLIST                                            1.26
- devel/global/distinfo                                         1.33

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Wed Jan 10 09:51:57 UTC 2018

   Modified Files:
   	pkgsrc/devel/global: Makefile PLIST distinfo

   Log Message:
   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.

   To generate a diff of this commit:
   cvs rdiff -u -r1.68 -r1.69 pkgsrc/devel/global/Makefile
   cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/global/PLIST
   cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/global/distinfo


(spz)
diff -r1.68 -r1.68.2.1 pkgsrc/devel/global/Makefile
diff -r1.25 -r1.25.10.1 pkgsrc/devel/global/PLIST
diff -r1.32 -r1.32.8.1 pkgsrc/devel/global/distinfo

cvs diff -r1.68 -r1.68.2.1 pkgsrc/devel/global/Makefile (switch to unified diff)

--- pkgsrc/devel/global/Makefile 2017/11/30 16:45:20 1.68
+++ pkgsrc/devel/global/Makefile 2018/01/19 20:20:44 1.68.2.1
@@ -1,30 +1,30 @@ @@ -1,30 +1,30 @@
1# $NetBSD: Makefile,v 1.68 2017/11/30 16:45:20 adam Exp $ 1# $NetBSD: Makefile,v 1.68.2.1 2018/01/19 20:20:44 spz Exp $
2 2
3DISTNAME= global-6.5.7 3DISTNAME= global-6.6.1
4PKGREVISION= 2 
5CATEGORIES= devel 4CATEGORIES= devel
6MASTER_SITES= ${MASTER_SITE_GNU:=global/} 5MASTER_SITES= ${MASTER_SITE_GNU:=global/}
7 6
8MAINTAINER= uebayasi@NetBSD.org 7MAINTAINER= uebayasi@NetBSD.org
9HOMEPAGE= http://www.gnu.org/software/global/ 8HOMEPAGE= http://www.gnu.org/software/global/
10COMMENT= Source code tag system including web browser output 9COMMENT= Source code tag system including web browser output
11LICENSE= gnu-gpl-v3 10LICENSE= gnu-gpl-v3
12 11
13GNU_CONFIGURE= YES 12GNU_CONFIGURE= YES
14CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} 13CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
15CONFIGURE_ARGS+= --with-posix-sort=${SORT:Q} 14CONFIGURE_ARGS+= --with-posix-sort=${SORT:Q}
16 15
17INFO_FILES= YES 16INFO_FILES= YES
18USE_LANGUAGES= c99 17USE_LANGUAGES= c99
19USE_LIBTOOL= YES 18USE_LIBTOOL= YES
20USE_TOOLS+= perl:run sort:run 19USE_TOOLS+= perl:run sort:run
21 20
22CONF_FILES= ${PREFIX}/share/gtags/gtags.conf ${PKG_SYSCONFDIR}/gtags.conf 21CONF_FILES= ${PREFIX}/share/gtags/gtags.conf ${PKG_SYSCONFDIR}/gtags.conf
23 22
24REPLACE_PYTHON+= plugin-factory/pygments_parser.py 23REPLACE_PYTHON+= plugin-factory/pygments_parser.py
 24REPLACE_PERL+= plugin-factory/maps2conf.pl
25 25
26.include "options.mk" 26.include "options.mk"
27 27
28.include "../../lang/python/application.mk" 28.include "../../lang/python/application.mk"
29.include "../../mk/curses.buildlink3.mk" 29.include "../../mk/curses.buildlink3.mk"
30.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"

cvs diff -r1.25 -r1.25.10.1 pkgsrc/devel/global/PLIST (switch to unified diff)

--- pkgsrc/devel/global/PLIST 2016/12/30 00:39:30 1.25
+++ pkgsrc/devel/global/PLIST 2018/01/19 20:20:44 1.25.10.1
@@ -1,98 +1,99 @@ @@ -1,98 +1,99 @@
1@comment $NetBSD: PLIST,v 1.25 2016/12/30 00:39:30 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.25.10.1 2018/01/19 20:20:44 spz Exp $
2bin/global 2bin/global
3bin/globash 3bin/globash
4bin/gozilla 4bin/gozilla
5bin/gtags 5bin/gtags
6bin/gtags-cscope 6bin/gtags-cscope
7bin/htags 7bin/htags
8bin/htags-server 8bin/htags-server
9info/global.info 9info/global.info
10lib/gtags/exuberant-ctags.la 10lib/gtags/exuberant-ctags.la
11lib/gtags/pygments-parser.la 11lib/gtags/pygments-parser.la
12lib/gtags/universal-ctags.la 12lib/gtags/universal-ctags.la
13lib/gtags/user-custom.la 13lib/gtags/user-custom.la
14man/man1/global.1 14man/man1/global.1
15man/man1/globash.1 15man/man1/globash.1
16man/man1/gozilla.1 16man/man1/gozilla.1
17man/man1/gtags-cscope.1 17man/man1/gtags-cscope.1
18man/man1/gtags.1 18man/man1/gtags.1
19man/man1/htags-server.1 19man/man1/htags-server.1
20man/man1/htags.1 20man/man1/htags.1
21man/man5/gtags.conf.5 21man/man5/gtags.conf.5
22share/gtags/AUTHORS 22share/gtags/AUTHORS
23share/gtags/BUILD_TOOLS 23share/gtags/BUILD_TOOLS
24share/gtags/COPYING 24share/gtags/COPYING
25share/gtags/COPYING.LIB 25share/gtags/COPYING.LIB
26share/gtags/ChangeLog 26share/gtags/ChangeLog
27share/gtags/DONORS 27share/gtags/DONORS
28share/gtags/FAQ 28share/gtags/FAQ
29share/gtags/INSTALL 29share/gtags/INSTALL
30share/gtags/LICENSE 30share/gtags/LICENSE
31share/gtags/NEWS 31share/gtags/NEWS
32share/gtags/PLUGIN_HOWTO 32share/gtags/PLUGIN_HOWTO
33share/gtags/PLUGIN_HOWTO.pygments 33share/gtags/PLUGIN_HOWTO.pygments
34share/gtags/README 34share/gtags/README
35share/gtags/README.PATCHES 35share/gtags/README.PATCHES
36share/gtags/SERVERSIDE_HOWTO 36share/gtags/SERVERSIDE_HOWTO
37share/gtags/THANKS 37share/gtags/THANKS
38share/gtags/completion.cgi 38share/gtags/completion.cgi
39share/gtags/dot_htaccess 39share/gtags/dot_htaccess
40share/gtags/elvis-2.2_0.patch 40share/gtags/elvis-2.2_0.patch
41share/gtags/elvis.rc 41share/gtags/elvis.rc
42share/gtags/geco.rc 42share/gtags/geco.rc
43share/gtags/global.cgi 43share/gtags/global.cgi
44share/gtags/globash.rc 44share/gtags/globash.rc
45share/gtags/gtags-cscope.vim 45share/gtags/gtags-cscope.vim
46share/gtags/gtags.conf 46share/gtags/gtags.conf
47share/gtags/gtags.el 47share/gtags/gtags.el
48share/gtags/gtags.pl 48share/gtags/gtags.pl
49share/gtags/gtags.vim 49share/gtags/gtags.vim
50share/gtags/icons/back.png 50share/gtags/icons/back.png
51share/gtags/icons/bottom.png 51share/gtags/icons/bottom.png
52share/gtags/icons/c.png 52share/gtags/icons/c.png
53share/gtags/icons/dir.png 53share/gtags/icons/dir.png
54share/gtags/icons/first.png 54share/gtags/icons/first.png
55share/gtags/icons/help.png 55share/gtags/icons/help.png
56share/gtags/icons/index.png 56share/gtags/icons/index.png
57share/gtags/icons/last.png 57share/gtags/icons/last.png
58share/gtags/icons/left.png 58share/gtags/icons/left.png
59share/gtags/icons/n_bottom.png 59share/gtags/icons/n_bottom.png
60share/gtags/icons/n_first.png 60share/gtags/icons/n_first.png
61share/gtags/icons/n_last.png 61share/gtags/icons/n_last.png
62share/gtags/icons/n_left.png 62share/gtags/icons/n_left.png
63share/gtags/icons/n_right.png 63share/gtags/icons/n_right.png
64share/gtags/icons/n_top.png 64share/gtags/icons/n_top.png
65share/gtags/icons/pglobe.png 65share/gtags/icons/pglobe.png
66share/gtags/icons/right.png 66share/gtags/icons/right.png
67share/gtags/icons/text.png 67share/gtags/icons/text.png
68share/gtags/icons/top.png 68share/gtags/icons/top.png
69share/gtags/jquery/images/file.png 69share/gtags/jquery/images/file.png
70share/gtags/jquery/images/folder-closed.png 70share/gtags/jquery/images/folder-closed.png
71share/gtags/jquery/images/folder.png 71share/gtags/jquery/images/folder.png
72share/gtags/jquery/images/minus.png 72share/gtags/jquery/images/minus.png
73share/gtags/jquery/images/plus.png 73share/gtags/jquery/images/plus.png
74share/gtags/jquery/images/treeview-black-line.png 74share/gtags/jquery/images/treeview-black-line.png
75share/gtags/jquery/images/treeview-black.png 75share/gtags/jquery/images/treeview-black.png
76share/gtags/jquery/images/treeview-default-line.png 76share/gtags/jquery/images/treeview-default-line.png
77share/gtags/jquery/images/treeview-default.png 77share/gtags/jquery/images/treeview-default.png
78share/gtags/jquery/images/treeview-famfamfam-line.png 78share/gtags/jquery/images/treeview-famfamfam-line.png
79share/gtags/jquery/images/treeview-famfamfam.png 79share/gtags/jquery/images/treeview-famfamfam.png
80share/gtags/jquery/images/treeview-gray-line.png 80share/gtags/jquery/images/treeview-gray-line.png
81share/gtags/jquery/images/treeview-gray.png 81share/gtags/jquery/images/treeview-gray.png
82share/gtags/jquery/images/treeview-red-line.png 82share/gtags/jquery/images/treeview-red-line.png
83share/gtags/jquery/images/treeview-red.png 83share/gtags/jquery/images/treeview-red.png
84share/gtags/jquery/jquery.js 84share/gtags/jquery/jquery.js
85share/gtags/jquery/jquery.suggest.css 85share/gtags/jquery/jquery.suggest.css
86share/gtags/jquery/jquery.suggest.js 86share/gtags/jquery/jquery.suggest.js
87share/gtags/jquery/jquery.treeview.css 87share/gtags/jquery/jquery.treeview.css
88share/gtags/jquery/jquery.treeview.js 88share/gtags/jquery/jquery.treeview.js
89share/gtags/jscode_suggest 89share/gtags/jscode_suggest
90share/gtags/jscode_treeview 90share/gtags/jscode_treeview
91share/gtags/script/elvis-global 91share/gtags/script/elvis-global
92share/gtags/script/global-client 92share/gtags/script/global-client
93share/gtags/script/gtags-client 93share/gtags/script/gtags-client
94share/gtags/script/htags-client 94share/gtags/script/htags-client
95share/gtags/script/less-global 95share/gtags/script/less-global
 96share/gtags/script/maps2conf.pl
96share/gtags/script/pygments_parser.py 97share/gtags/script/pygments_parser.py
97share/gtags/style.css 98share/gtags/style.css
98share/gtags/vim74-gtags-cscope.patch 99share/gtags/vim74-gtags-cscope.patch

cvs diff -r1.32 -r1.32.8.1 pkgsrc/devel/global/distinfo (switch to unified diff)

--- pkgsrc/devel/global/distinfo 2017/05/29 11:20:53 1.32
+++ pkgsrc/devel/global/distinfo 2018/01/19 20:20:44 1.32.8.1
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.32 2017/05/29 11:20:53 wiz Exp $ 1$NetBSD: distinfo,v 1.32.8.1 2018/01/19 20:20:44 spz Exp $
2 2
3SHA1 (global-6.5.7.tar.gz) = db215a871483edda6855e1cdd3a37eb297658c02 3SHA1 (global-6.6.1.tar.gz) = d029c1a1a17713d301940b00a2b69dd75d45a232
4RMD160 (global-6.5.7.tar.gz) = 2e03a959f8014103b009e889e8906c7b738c103a 4RMD160 (global-6.6.1.tar.gz) = c5fda1872f46cc6ff702986b29253490728d5ad4
5SHA512 (global-6.5.7.tar.gz) = 0d33f718839e5e00bdd6d042b415a69c5e1f232d843610870505f8f20635b445810149b1b84ea8b77881f5f64814783ebe3cdcab2f84b8a085223b64293a9045 5SHA512 (global-6.6.1.tar.gz) = 1382ab9bc1fa272559539942bda63e141b5fedac401d8c9cd0b691c9cdac6deba6c79f72cffc1759ff18ba42d95339d25fb5bf6f3625b60a932e1fd50b009d1d
6Size (global-6.5.7.tar.gz) = 2940567 bytes 6Size (global-6.6.1.tar.gz) = 2961786 bytes