Date: Wed, 23 Aug 2017 13:42:03 +0000 (UTC) From: Tilman Keskinoz <arved@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448611 - in head/www/newsbeuter: . files Message-ID: <201708231342.v7NDg3kD010613@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arved Date: Wed Aug 23 13:42:03 2017 New Revision: 448611 URL: https://svnweb.freebsd.org/changeset/ports/448611 Log: * Use HTTPS master site PR: 221726 Submitted by: Johannes Jost Meixner * Add a patch from upstream to sanitize input for the bookmark command Submitted by: Alexander Batischev Bump Portrevision add ssl to USES Added: head/www/newsbeuter/files/patch-controller.cpp (contents, props changed) Modified: head/www/newsbeuter/Makefile Modified: head/www/newsbeuter/Makefile ============================================================================== --- head/www/newsbeuter/Makefile Wed Aug 23 13:17:14 2017 (r448610) +++ head/www/newsbeuter/Makefile Wed Aug 23 13:42:03 2017 (r448611) @@ -3,9 +3,10 @@ PORTNAME= newsbeuter PORTVERSION= 2.9 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www -MASTER_SITES= http://newsbeuter.org/downloads/ +MASTER_SITES= https://newsbeuter.org/downloads/ \ + http://newsbeuter.org/downloads/ MAINTAINER= arved@FreeBSD.org COMMENT= RSS feed reader for the text console @@ -23,7 +24,7 @@ OPTIONS_SUB= yes PODCAST_DESC= Podcast client (podbeuter) USES= compiler:c++11-lib gettext gmake iconv:translit ncurses perl5 \ - pkgconfig sqlite shebangfix + pkgconfig sqlite shebangfix ssl USE_CXXSTD= gnu++11 USE_PERL5= build SHEBANG_FILES= txt2h.pl Added: head/www/newsbeuter/files/patch-controller.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/newsbeuter/files/patch-controller.cpp Wed Aug 23 13:42:03 2017 (r448611) @@ -0,0 +1,15 @@ +--- src/controller.cpp ++++ src/controller.cpp +@@ -1275,9 +1275,10 @@ std::string controller::bookmark(const std::string& url, const std::string& titl + std::string bookmark_cmd = cfg.get_configvalue("bookmark-cmd"); + bool is_interactive = cfg.get_configvalue_as_bool("bookmark-interactive"); + if (bookmark_cmd.length() > 0) { +- std::string cmdline = utils::strprintf("%s '%s' %s %s", ++ std::string cmdline = utils::strprintf("%s '%s' '%s' '%s'", + bookmark_cmd.c_str(), utils::replace_all(url,"'", "%27").c_str(), +- stfl::quote(title).c_str(), stfl::quote(description).c_str()); ++ utils::replace_all(title,"'", "%27").c_str(), ++ utils::replace_all(description,"'", "%27").c_str()); + + LOG(LOG_DEBUG, "controller::bookmark: cmd = %s", cmdline.c_str()); +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708231342.v7NDg3kD010613>