aboutsummaryrefslogtreecommitdiffstats
path: root/www/newsbeuter
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2017-11-28 06:46:35 +0800
committerarved <arved@FreeBSD.org>2017-11-28 06:46:35 +0800
commit724be965122d511d81148e4075ec5337526b1cdc (patch)
treeacce616b5d07f86b4e66219ded89a17c01c2fb46 /www/newsbeuter
parent0f2dcf824f9cf68f57b99f897c028faddfab6e7c (diff)
downloadfreebsd-ports-gnome-724be965122d511d81148e4075ec5337526b1cdc.tar.gz
freebsd-ports-gnome-724be965122d511d81148e4075ec5337526b1cdc.tar.zst
freebsd-ports-gnome-724be965122d511d81148e4075ec5337526b1cdc.zip
Remove newsbeuter port. Abandonware that was revived as www/newsboat
PR: 222715 Reported by: Zsolt Udvari
Diffstat (limited to 'www/newsbeuter')
-rw-r--r--www/newsbeuter/Makefile50
-rw-r--r--www/newsbeuter/distinfo2
-rw-r--r--www/newsbeuter/files/patch-598.diff26
-rw-r--r--www/newsbeuter/files/patch-controller.cpp15
-rw-r--r--www/newsbeuter/files/patch-include-matcher.h13
-rw-r--r--www/newsbeuter/files/patch-pb_controller.cpp11
-rw-r--r--www/newsbeuter/files/patch-pb_view.cpp11
-rw-r--r--www/newsbeuter/files/patch-poddlthread31
-rw-r--r--www/newsbeuter/files/patch-rss-rsspp_internatl.h13
-rw-r--r--www/newsbeuter/files/patch-src-utils.cpp12
-rw-r--r--www/newsbeuter/pkg-descr3
-rw-r--r--www/newsbeuter/pkg-plist23
12 files changed, 0 insertions, 210 deletions
diff --git a/www/newsbeuter/Makefile b/www/newsbeuter/Makefile
deleted file mode 100644
index 878009dd0fc4..000000000000
--- a/www/newsbeuter/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-# Created by: arved
-# $FreeBSD$
-
-PORTNAME= newsbeuter
-PORTVERSION= 2.9
-PORTREVISION= 6
-CATEGORIES= www
-MASTER_SITES= https://newsbeuter.org/downloads/ \
- http://newsbeuter.org/downloads/
-
-MAINTAINER= arved@FreeBSD.org
-COMMENT= RSS feed reader for the text console
-
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-LIB_DEPENDS= libstfl.so:devel/stfl \
- libcurl.so:ftp/curl \
- libjson-c.so:devel/json-c
-
-OPTIONS_DEFINE= PODCAST
-OPTIONS_DEFAULT=PODCAST
-OPTIONS_SUB= yes
-PODCAST_DESC= Podcast client (podbeuter)
-
-USES= compiler:c++11-lib gettext gmake iconv:translit ncurses perl5 \
- pkgconfig sqlite shebangfix ssl
-USE_CXXSTD= gnu++11
-USE_PERL5= build
-SHEBANG_FILES= txt2h.pl
-USE_GNOME= libxml2
-
-.include <bsd.port.pre.mk>
-
-post-patch:
- ${REINPLACE_CMD} -e "s,share/man,man,; \
- /^prefix/s|=.*|=${PREFIX}|; /^CXX=/d; \
- s|/usr/local|${LOCALBASE}|; s|ruby1.8|ruby18|" \
- ${WRKSRC}/Makefile
- ${REINPLACE_CMD} -e 's,<ncursesw/ncurses.h>,<ncurses.h>,' \
- ${WRKSRC}/src/controller.cpp ${WRKSRC}/src/view.cpp
- ${REINPLACE_CMD} -e 's,fail "ncursesw",true,; s,fail "libcrypto",true,' \
- ${WRKSRC}/config.sh
- ${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB} -lcrypto -lncursesw|' \
- ${WRKSRC}/Makefile
-
-post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*beuter
-
-.include <bsd.port.post.mk>
diff --git a/www/newsbeuter/distinfo b/www/newsbeuter/distinfo
deleted file mode 100644
index d182d28596e6..000000000000
--- a/www/newsbeuter/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (newsbeuter-2.9.tar.gz) = 74a8bf019b09c3b270ba95adc29f2bbe48ea1f55cc0634276b21fcce1f043dc8
-SIZE (newsbeuter-2.9.tar.gz) = 432763
diff --git a/www/newsbeuter/files/patch-598.diff b/www/newsbeuter/files/patch-598.diff
deleted file mode 100644
index b2af74b4ff1f..000000000000
--- a/www/newsbeuter/files/patch-598.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- src/pb_controller.cpp
-+++ src/pb_controller.cpp
-@@ -306,9 +306,9 @@ void pb_controller::play_file(const std::string& file) {
- if (player == "")
- return;
- cmdline.append(player);
-- cmdline.append(" \"");
-- cmdline.append(utils::replace_all(file,"\"", "\\\""));
-- cmdline.append("\"");
-+ cmdline.append(" \'");
-+ cmdline.append(utils::replace_all(file,"'", "%27"));
-+ cmdline.append("\'");
- stfl::reset();
- LOG(LOG_DEBUG, "pb_controller::play_file: running `%s'", cmdline.c_str());
- ::system(cmdline.c_str());
---- src/queueloader.cpp
-+++ src/queueloader.cpp
-@@ -130,7 +130,7 @@ std::string queueloader::get_filename(const std::string& str) {
- strftime(lbuf, sizeof(lbuf), "%Y-%b-%d-%H%M%S.unknown", localtime(&t));
- fn.append(lbuf);
- } else {
-- fn.append(base);
-+ fn.append(utils::replace_all(base, "'", "%27"));
- }
- return fn;
- }
diff --git a/www/newsbeuter/files/patch-controller.cpp b/www/newsbeuter/files/patch-controller.cpp
deleted file mode 100644
index 4dd9fb3f0dda..000000000000
--- a/www/newsbeuter/files/patch-controller.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
---- 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());
-
diff --git a/www/newsbeuter/files/patch-include-matcher.h b/www/newsbeuter/files/patch-include-matcher.h
deleted file mode 100644
index b95e2c1844a4..000000000000
--- a/www/newsbeuter/files/patch-include-matcher.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- include/matcher.h.orig 2014-02-02 16:00:13.000000000 +0100
-+++ include/matcher.h 2014-02-02 16:00:19.000000000 +0100
-@@ -3,6 +3,10 @@
-
- #include <FilterParser.h>
-
-+#ifdef _LIBCPP_VERSION
-+namespace std { namespace tr1 = std; }
-+#endif
-+
- namespace newsbeuter {
-
- class matchable {
diff --git a/www/newsbeuter/files/patch-pb_controller.cpp b/www/newsbeuter/files/patch-pb_controller.cpp
deleted file mode 100644
index e0790bd4426d..000000000000
--- a/www/newsbeuter/files/patch-pb_controller.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-diff src/pb_controller.cpp src/pb_controller.cpp
---- src/pb_controller.cpp
-+++ src/pb_controller.cpp
-@@ -287,6 +287,7 @@ void pb_controller::start_downloads() {
- if (it->status() == DL_QUEUED) {
- std::thread t {poddlthread(&(*it), cfg)};
- --dl2start;
-+ t.detach();
- }
- }
- }
diff --git a/www/newsbeuter/files/patch-pb_view.cpp b/www/newsbeuter/files/patch-pb_view.cpp
deleted file mode 100644
index b200f293ebf2..000000000000
--- a/www/newsbeuter/files/patch-pb_view.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-diff src/pb_view.cpp src/pb_view.cpp
---- src/pb_view.cpp
-+++ src/pb_view.cpp
-@@ -111,6 +111,7 @@ void pb_view::run(bool auto_download) {
- if (idx != -1) {
- if (ctrl->downloads()[idx].status() != DL_DOWNLOADING) {
- std::thread t {poddlthread(&ctrl->downloads()[idx], ctrl->get_cfgcont())};
-+ t.detach();
- }
- }
- }
diff --git a/www/newsbeuter/files/patch-poddlthread b/www/newsbeuter/files/patch-poddlthread
deleted file mode 100644
index 23c3acce1251..000000000000
--- a/www/newsbeuter/files/patch-poddlthread
+++ /dev/null
@@ -1,31 +0,0 @@
-diff include/poddlthread.h include/poddlthread.h
---- include/poddlthread.h
-+++ include/poddlthread.h
-@@ -7,6 +7,7 @@
-
- #include <sys/time.h>
- #include <time.h>
-+#include <memory>
-
- #include <configcontainer.h>
-
-@@ -24,7 +25,7 @@ class poddlthread {
- private:
- void mkdir_p(const char * file);
- download * dl;
-- std::ofstream *f;
-+ std::shared_ptr<std::ofstream> f;
- timeval tv1;
- timeval tv2;
- size_t bytecount;
-diff --git a/src/poddlthread.cpp b/src/poddlthread.cpp
---- src/poddlthread.cpp
-+++ src/poddlthread.cpp
-@@ -22,7 +22,6 @@ poddlthread::poddlthread(download * dl_, newsbeuter::configcontainer * c) : dl(d
- }
-
- poddlthread::~poddlthread() {
-- delete f;
- }
-
- void poddlthread::operator()() {
diff --git a/www/newsbeuter/files/patch-rss-rsspp_internatl.h b/www/newsbeuter/files/patch-rss-rsspp_internatl.h
deleted file mode 100644
index 6d83d39e986d..000000000000
--- a/www/newsbeuter/files/patch-rss-rsspp_internatl.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- rss/rsspp_internal.h.orig 2014-02-02 15:53:54.000000000 +0100
-+++ rss/rsspp_internal.h 2014-02-02 15:52:36.000000000 +0100
-@@ -9,6 +9,10 @@
- #include <rsspp.h>
- #include <tr1/memory>
-
-+#ifdef _LIBCPP_VERSION
-+namespace std { namespace tr1 = std; }
-+#endif
-+
- #define CONTENT_URI "http://purl.org/rss/1.0/modules/content/"
- #define RDF_URI "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- #define ITUNES_URI "http://www.itunes.com/dtds/podcast-1.0.dtd"
diff --git a/www/newsbeuter/files/patch-src-utils.cpp b/www/newsbeuter/files/patch-src-utils.cpp
deleted file mode 100644
index 26982fb2dfa5..000000000000
--- a/www/newsbeuter/files/patch-src-utils.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/utils.cpp.orig 2015-02-19 10:56:59 UTC
-+++ src/utils.cpp
-@@ -274,7 +274,8 @@ std::string utils::convert_text(const st
- * of all the Unix-like systems around there, only Linux/glibc seems to
- * come with a SuSv3-conforming iconv implementation.
- */
--#if !(__linux) && !defined(__GLIBC__) && !defined(__APPLE__) && !defined(__OpenBSD__)
-+#if !(__linux) && !defined(__GLIBC__) && !defined(__APPLE__) \
-+ && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
- const char * inbufp;
- #else
- char * inbufp;
diff --git a/www/newsbeuter/pkg-descr b/www/newsbeuter/pkg-descr
deleted file mode 100644
index 53b35ea948ee..000000000000
--- a/www/newsbeuter/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-Newsbeuter is an RSS feed reader for the text console.
-
-WWW: http://newsbeuter.org/
diff --git a/www/newsbeuter/pkg-plist b/www/newsbeuter/pkg-plist
deleted file mode 100644
index 9083f1001b90..000000000000
--- a/www/newsbeuter/pkg-plist
+++ /dev/null
@@ -1,23 +0,0 @@
-bin/newsbeuter
-%%PODCAST%%bin/podbeuter
-share/locale/de/LC_MESSAGES/newsbeuter.mo
-share/locale/es/LC_MESSAGES/newsbeuter.mo
-share/locale/es_ES/LC_MESSAGES/newsbeuter.mo
-share/locale/fr/LC_MESSAGES/newsbeuter.mo
-share/locale/hu/LC_MESSAGES/newsbeuter.mo
-share/locale/it/LC_MESSAGES/newsbeuter.mo
-share/locale/nb/LC_MESSAGES/newsbeuter.mo
-share/locale/nl/LC_MESSAGES/newsbeuter.mo
-share/locale/pl/LC_MESSAGES/newsbeuter.mo
-share/locale/pt_BR/LC_MESSAGES/newsbeuter.mo
-share/locale/ru/LC_MESSAGES/newsbeuter.mo
-share/locale/sv/LC_MESSAGES/newsbeuter.mo
-share/locale/tr/LC_MESSAGES/newsbeuter.mo
-share/locale/uk/LC_MESSAGES/newsbeuter.mo
-share/locale/zh/LC_MESSAGES/newsbeuter.mo
-share/locale/zh_TW/LC_MESSAGES/newsbeuter.mo
-share/doc/newsbeuter/docbook-xsl.css
-share/doc/newsbeuter/newsbeuter.html
-share/doc/newsbeuter/examples/config
-man/man1/newsbeuter.1.gz
-%%PODCAST%%man/man1/podbeuter.1.gz