svn commit: r448611 - in head/www/newsbeuter: . files
Tilman Keskinoz
arved at FreeBSD.org
Wed Aug 23 13:42:04 UTC 2017
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 at 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());
+
More information about the svn-ports-all
mailing list