w3m: update to 0.5.3.git20180125.

fixes:
CVE-2018-6196
CVE-2018-6197
CVE-2018-6198
This commit is contained in:
travankor 2018-09-24 11:50:32 -07:00 committed by maxice8
parent 2651204838
commit 322a3a77f5
2 changed files with 5 additions and 25 deletions

View file

@ -1,19 +0,0 @@
Fedora patch; see https://bugzilla.redhat.com/show_bug.cgi?id=707994
--- url.c 2011-01-04 14:52:24.000000000 +0530
+++ url.c 2011-09-02 18:25:43.305652690 +0530
@@ -82,11 +82,11 @@
{"ftp", SCM_FTP},
{"local", SCM_LOCAL},
{"file", SCM_LOCAL},
- /* {"exec", SCM_EXEC}, */
+ {"exec", SCM_EXEC},
{"nntp", SCM_NNTP},
- /* {"nntp", SCM_NNTP_GROUP}, */
+ {"nntp", SCM_NNTP_GROUP},
{"news", SCM_NEWS},
- /* {"news", SCM_NEWS_GROUP}, */
+ {"news", SCM_NEWS_GROUP},
{"data", SCM_DATA},
#ifndef USE_W3MMAILER
{"mailto", SCM_MAILTO},

View file

@ -1,22 +1,21 @@
# Template file for 'w3m' # Template file for 'w3m'
pkgname=w3m pkgname=w3m
version=0.5.3.git20170102 version=0.5.3.git20180125
revision=6 revision=1
wrksrc="${pkgname}-${version/.git/-git}" wrksrc="${pkgname}-${version/.git/-git}"
build_style=gnu-configure build_style=gnu-configure
configure_args=" configure_args="
--libexecdir=/usr/lib --enable-image=x11,fb --with-imagelib=imlib2 --libexecdir=/usr/lib --enable-image=x11,fb --with-imagelib=imlib2
--with-termlib=ncurses --disable-w3mmailer --disable-mouse" --with-termlib=ncurses --disable-w3mmailer"
hostmakedepends="pkg-config gc-devel perl" hostmakedepends="pkg-config gc-devel perl"
makedepends="zlib-devel ncurses-devel gc-devel libressl-devel imlib2-devel libX11-devel" makedepends="zlib-devel ncurses-devel gc-devel libressl-devel imlib2-devel libX11-devel"
short_desc="Text-based Web browser and pager (with Debian patches)" short_desc="Text-based Web browser and pager (with Debian patches)"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT" license="MIT"
homepage="http://w3m.sourceforge.net" homepage="http://w3m.sourceforge.net"
changelog="https://raw.githubusercontent.com/tats/w3m/master/NEWS"
distfiles="https://github.com/tats/w3m/archive/v${version/.git/+git}.tar.gz" distfiles="https://github.com/tats/w3m/archive/v${version/.git/+git}.tar.gz"
checksum=7eb8cadfa39daa6e8ecf8244847991f614fdc5319e601f58fc02956bc05b5ab1 checksum=c75068ef06963c9e3fd387e8695a203c6edda2f467b5f2f754835afb75eb36f3
disable_parallel_build=yes
LDFLAGS="-lX11" LDFLAGS="-lX11"