summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-news/newsboat')
-rw-r--r--net-news/newsboat/Manifest2
-rw-r--r--net-news/newsboat/files/newsboat-2.19-libressl.patch82
-rw-r--r--net-news/newsboat/metadata.xml4
-rw-r--r--net-news/newsboat/newsboat-2.19.ebuild168
4 files changed, 255 insertions, 1 deletions
diff --git a/net-news/newsboat/Manifest b/net-news/newsboat/Manifest
index cc050803464a..9790c9b5413b 100644
--- a/net-news/newsboat/Manifest
+++ b/net-news/newsboat/Manifest
@@ -27,6 +27,7 @@ DIST kernel32-sys-0.2.2.crate 24537 BLAKE2B dfc4a1e31d3ec9e2ac62b890839919fb7fed
DIST lazy_static-0.2.11.crate 12361 BLAKE2B 3fe6a480c30a792448a3a2b378e05634ec59603f07baa03c0881fe5af85ecde5a172bb0733e7043fb6c43eabc261635b23410658d48add09eef6d807a750d22f SHA512 c85ac434d1b7d41d638e76a142a43d925b96bdddda112b1abeca1bae160d828262a85cd333d72499fe1dc7ae9574d3db226106acb433328c056028eb8c42bfe6
DIST lazy_static-1.2.0.crate 10840 BLAKE2B ab0adcf0421131ddd35e95a31a0053e2ffccb03dfc0f46ca4bbb6341f40bdd56d01aed0987489e5e73aa5f7289f3c323d1de0db353a30bb0a75acf53ce8436f8 SHA512 0d80334da99292d68fb2ea9879540676fd45788547b7170b6df1b0a606c1645a07188837f9414196eb44ac63010a3c84fe5c4319478f6fc2cef837295a255edc
DIST libc-0.2.48.crate 353045 BLAKE2B 707f0311abe07e9a5bb9a1d2597d5a25f837dff783dff827f0c9e224b9ef0c915bc1f7f76a4a0afce5faa5bfe7896bbf1d22e645aed0cdd0e1197dcb45e495df SHA512 3ca3482cbdf8a031c6dfbc063537cee95b1735f8224baaad562f29279554ffd17999bb02c5ca54b25c845f63e70868b76d5d4123dcfa65d86d6e466527f4ce99
+DIST libc-0.2.66.crate 457815 BLAKE2B 5da379ea738b75189e106d4be821c999394043303b8bb6a9caecdb1b53e449f11a58edc4589193611b76e7baf00e155ba1077bcca4d0cfae30826e946a0075f0 SHA512 5bf5645a7cbe626108cd71e1d189286ed161fcd3ea12cd34f4e392be4cf93bf78feb6128b1101bedc41a71091398f26771f3efd3880f779ee0be00f706914975
DIST libz-sys-1.0.18.crate 632715 BLAKE2B 3c88d321f22d8c49a17d2af04361792247f7590e4b21163033e5de7b726b75f91ee15d4e9a8824f4ae894ab8a1856c637982e5f1c70de8dbd543b75de2d1af94 SHA512 fcc9e5bd9ffd5eb4f302d3c271f86370f04fe9fcb3b818ac8d605241a701e9d0c40cfe729ad8fcbe7bbb07df66539503415a00360c56831a511142ff225d0d8c
DIST locale_config-0.2.2.crate 20975 BLAKE2B e675c792f5092670cc9f3a3ffecc9c3c35b2bd81f9557f1303a22a817b16d2d42c2289dc9c811b77d7ba76c5a62251550cb683555f05260004ce88d0c964f114 SHA512 969565323cbd9d6e3713052afe08aea606d4b4a336015eb1cc5e73f9ce3415df5eb54e4254c8df09a3a79fcfa3de0ca8c8194bd596f373868ee2ed659ac90a41
DIST lock_api-0.1.5.crate 16967 BLAKE2B c44ebe24fa6074394d0719b293d447ab67a9a23788821f2ba816b5e5b7a6b09d543c630a946b956811dd199144bf43568b52da5ebdd5e8b674e489f9efd2234d SHA512 e6049a8a840c11f00b6505dc9d01d1f759aa7bee47520f86e36caf6c52ca476236b09609b0a5cab0f4c247a40a4736f8fc04cf26fce0962cbbf2956ad4adbfde
@@ -35,6 +36,7 @@ DIST memchr-2.1.3.crate 20069 BLAKE2B 6afd95538abae42fdb22b82964b64657555734f250
DIST natord-1.0.9.crate 3866 BLAKE2B 8e8f576af50121e7571a1d919557ddc14a3c1511c12154a9cb74fa34cb5c2279406e1ae7ffb120242689e34d4f237d9548631f5a35f4f5d4369bafd8a728fcc6 SHA512 bf58eda54c759fecca1fd310bece370f26555bde1096081adc5bb1e9446a538f1652fb3049a52f898f4f62a2608805b72cb72dd52ff3fc9b88fe0a7c9071025a
DIST newsboat-2.13.tar.xz 460076 BLAKE2B e86fd3e3da8336527f3fd53e663f547a6066bfd1659bf83354a01139a9f6481afda893046faa1729cdfe03b19080032c70575cdcfd13b15aad40f2af808e2f6e SHA512 f7ce9717540e1c38809a44d531d28b26d5f9759479d311c127adec1ed6f3f6e8ad68799559ed31e9ecde7a988a683b0c9f58ff10e8dd4b2de60d75b7f8efe3da
DIST newsboat-2.18.tar.xz 577632 BLAKE2B 290f115a2c17b05f9d32f44beab791a65df4e39c944ba88898c2fd1ad387199bbfe02885911a0d824aea7086d1d749aeaf40f9e585c3ea64d22fd8aaad879376 SHA512 63fc7ae45b26d6d5df85c9f2cec826a218aa54de26a9c99cb1d0dd239c885599e8c74bb5c8954d58176abf9c4bf4eb407cab830d2e24f9517e021a2b6b765485
+DIST newsboat-2.19.tar.xz 591616 BLAKE2B 15c9502b607cd6d4f34b0d054c7ae54731d8de9df0bec4e12588e8bc89b92cdd46ce0bbf83a9a1ef160746e5768be63336f6a16b1f4100863d15329f9a0e18d1 SHA512 83e41b8ea96d6a53dad832898192f30dc30c74f32327466dff44ffd4b8bf1a966f55a55b8bde5b7e987f4df80ea83e5ad5211becd7fedc6836533f11f4a91b21
DIST nodrop-0.1.13.crate 7508 BLAKE2B 6918c8ea7f2b84d1a30e8159ac6cf9d061270bf8cf60fb2ee7c96f9d8a5566f1922a3222f80c769fceedd65637d6ee76a4d45b533d5b02aa0decb8114f6cb11a SHA512 2648c0aec970c99f001dbd8169939731610ccff6433acba8c71c669bea5078613b2a785d3ac5ce5a839fcec714b5bc55f2cc83522ab4cc09560c846f4cf8023e
DIST nom-4.2.3.crate 115343 BLAKE2B 03c0d1cf97a0d34adab29d6e21add3da7d8eb78ee6b7987ed11b136db7fc6afeca6a8eb91e00aadc1f6047eb7bff55bc288faa8c481e6a4677e0c43512a68f72 SHA512 663567dcc6310ecd6446bab1eb700f4ebe834a3b25bc2a0054edf14bcf205a95128de5f5dfaab04adb95e1a2241d487d59c0e23c957934a0d656e4c51932bd54
DIST num-integer-0.1.39.crate 17881 BLAKE2B 1398b54766719f6fe298fb20489373ef774f1466349bcb96479610c00bb0f6f54b1a794def2841a0bf70558f6e5a080b528071ad5c64baa82bfac084354fa203 SHA512 1e00ef9fe5adcc312b4b8a59923015eb1387d90e6b3d7239b3aabcd83a9e67f2384b3a383d84ce8cdc82a470770f56373a89f0a679727a5fcc8f5bdb1f1209e3
diff --git a/net-news/newsboat/files/newsboat-2.19-libressl.patch b/net-news/newsboat/files/newsboat-2.19-libressl.patch
new file mode 100644
index 000000000000..86dff345a56a
--- /dev/null
+++ b/net-news/newsboat/files/newsboat-2.19-libressl.patch
@@ -0,0 +1,82 @@
+diff --git a/Cargo.lock b/Cargo.lock
+index ca8ce060..b738b0b2 100644
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -124,12 +124,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
+
+ [[package]]
+ name = "curl-sys"
+-version = "0.4.5"
++version = "0.4.12"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+ dependencies = [
+ "cc 1.0.29 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
+- "libz-sys 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libz-sys 1.0.18 (registry+https://github.com/rust-lang/crates.io-index)",
+ "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)",
+ "pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
+ "vcpkg 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
+@@ -234,12 +234,12 @@ dependencies = [
+ "backtrace 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
+- "curl-sys 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "curl-sys 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "dirs 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "gettext-rs 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "gettext-sys 0.19.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
+- "libz-sys 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libz-sys 1.0.18 (registry+https://github.com/rust-lang/crates.io-index)",
+ "natord 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "once_cell 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
+@@ -265,7 +265,7 @@ dependencies = [
+
+ [[package]]
+ name = "libz-sys"
+-version = "1.0.17"
++version = "1.0.18"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+ dependencies = [
+ "cc 1.0.29 (registry+https://github.com/rust-lang/crates.io-index)",
+@@ -863,7 +863,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
+ "checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9"
+ "checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
+ "checksum constant_time_eq 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8ff012e225ce166d4422e0e78419d901719760f62ae2b7969ca6b564d1b54a9e"
+-"checksum curl-sys 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "71c63a540a9ee4e15e56c3ed9b11a2f121239b9f6d7b7fe30f616e048148df9a"
++"checksum curl-sys 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)" = "78800a6de442f65dab6ce26c6f369c14fc585686432bf4b77119d2d384216c31"
+ "checksum dirs 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "88972de891f6118092b643d85a0b28e0678e0f948d7f879aa32f2d5aafe97d2a"
+ "checksum failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "795bd83d3abeb9220f257e597aa0080a508b27533824adf336529648f6abf7e2"
+ "checksum failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "ea1063915fd7ef4309e222a5a07cf9c319fb9c7836b1f89b85458672dbb127e1"
+@@ -876,7 +876,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
+ "checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73"
+ "checksum lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a374c89b9db55895453a74c1e38861d9deec0b01b405a82516e9d5de4820dea1"
+ "checksum libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)" = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558"
+-"checksum libz-sys 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)" = "44ebbc760fd2d2f4d93de09a0e13d97e057612052e871da9985cedcb451e6bd5"
++"checksum libz-sys 1.0.18 (registry+https://github.com/rust-lang/crates.io-index)" = "87f737ad6cc6fd6eefe3d9dc5412f1573865bded441300904d2f42269e140f16"
+ "checksum locale_config 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "14fbee0e39bc2dd6a2427c4fdea66e9826cc1fd09b0a0b7550359f5f6efe1dab"
+ "checksum lock_api 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "62ebf1391f6acad60e5c8b43706dde4582df75c06698ab44511d15016bc2442c"
+ "checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
+diff --git a/rust/libnewsboat/Cargo.toml b/rust/libnewsboat/Cargo.toml
+index 6b9d78dd..5943d43a 100644
+--- a/rust/libnewsboat/Cargo.toml
++++ b/rust/libnewsboat/Cargo.toml
+@@ -16,14 +16,14 @@ xdg = "2.2.0"
+ backtrace = "= 0.3"
+ unicode-width = "0.1.5"
+ nom = "^4.1"
+-curl-sys = "0.4.5"
++curl-sys = "0.4.12"
+ libc = "0.2"
+ gettext-rs = "0.4.1"
+ natord = "1.0.9"
+
+ # We don't use the following crates, but we pin their versions to make sure
+ # that Newsboat builds with Rust 1.25 and later.
+-libz-sys = "= 1.0.17"
++libz-sys = "= 1.0.18"
+
+ # The following constraints close security holes
+ # https://rustsec.org/advisories/RUSTSEC-2019-0009
diff --git a/net-news/newsboat/metadata.xml b/net-news/newsboat/metadata.xml
index 31e786a3031f..e6c6d10feb76 100644
--- a/net-news/newsboat/metadata.xml
+++ b/net-news/newsboat/metadata.xml
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>cedk@gentoo.org</email>
+ </maintainer>
</pkgmetadata>
diff --git a/net-news/newsboat/newsboat-2.19.ebuild b/net-news/newsboat/newsboat-2.19.ebuild
new file mode 100644
index 000000000000..8c33dbb00615
--- /dev/null
+++ b/net-news/newsboat/newsboat-2.19.ebuild
@@ -0,0 +1,168 @@
+# Copyright 2017-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Auto-Generated by cargo-ebuild 0.3.0
+
+EAPI=7
+
+CRATES="
+aho-corasick-0.6.9
+argon2rs-0.2.5
+arrayvec-0.4.10
+autocfg-0.1.2
+backtrace-0.3.13
+backtrace-sys-0.1.28
+bit-set-0.5.1
+bit-vec-0.5.1
+bitflags-1.0.4
+blake2-rfc-0.2.18
+cc-1.0.29
+cfg-if-0.1.6
+chrono-0.4.6
+clap-2.33.0
+cloudabi-0.0.3
+constant_time_eq-0.1.3
+curl-sys-0.4.12
+dirs-1.0.4
+failure-0.1.5
+failure_derive-0.1.5
+fnv-1.0.6
+fuchsia-cprng-0.1.1
+gettext-rs-0.4.1
+gettext-sys-0.19.8
+idna-0.1.5
+kernel32-sys-0.2.2
+lazy_static-0.2.11
+lazy_static-1.2.0
+libc-0.2.66
+libz-sys-1.0.18
+locale_config-0.2.2
+lock_api-0.1.5
+matches-0.1.8
+memchr-2.1.3
+natord-1.0.9
+nodrop-0.1.13
+nom-4.2.3
+num-integer-0.1.39
+num-traits-0.2.6
+once_cell-0.1.8
+openssl-sys-0.9.53
+parking_lot-0.7.1
+parking_lot_core-0.4.0
+percent-encoding-1.0.1
+pkg-config-0.3.14
+proc-macro2-0.4.27
+proptest-0.7.2
+quick-error-1.2.2
+quote-0.6.11
+rand-0.4.6
+rand-0.5.6
+rand-0.6.5
+rand_chacha-0.1.1
+rand_core-0.3.1
+rand_core-0.4.0
+rand_hc-0.1.0
+rand_isaac-0.1.1
+rand_jitter-0.1.3
+rand_os-0.1.2
+rand_pcg-0.1.1
+rand_xorshift-0.1.1
+rdrand-0.4.0
+redox_syscall-0.1.51
+redox_users-0.2.0
+regex-0.2.11
+regex-1.1.0
+regex-syntax-0.4.2
+regex-syntax-0.5.6
+regex-syntax-0.6.5
+remove_dir_all-0.5.1
+rustc-demangle-0.1.13
+rustc_version-0.2.3
+rusty-fork-0.2.1
+scoped_threadpool-0.1.9
+scopeguard-0.3.3
+section_testing-0.0.4
+semver-0.9.0
+semver-parser-0.7.0
+smallvec-0.6.10
+syn-0.15.26
+synstructure-0.10.1
+tempfile-3.0.6
+textwrap-0.11.0
+thread_local-0.3.6
+time-0.1.42
+ucd-util-0.1.3
+unicode-bidi-0.3.4
+unicode-normalization-0.1.8
+unicode-width-0.1.5
+unicode-xid-0.1.0
+url-1.7.2
+utf8-ranges-1.0.2
+vcpkg-0.2.6
+version_check-0.1.5
+wait-timeout-0.1.5
+winapi-0.2.8
+winapi-0.3.6
+winapi-build-0.1.1
+winapi-i686-pc-windows-gnu-0.4.0
+winapi-x86_64-pc-windows-gnu-0.4.0
+xdg-2.2.0
+"
+
+inherit toolchain-funcs cargo
+
+DESCRIPTION="An RSS/Atom feed reader for text terminals"
+HOMEPAGE="https://newsboat.org/ https://github.com/newsboat/newsboat"
+SRC_URI="
+ https://newsboat.org/releases/${PV}/${P}.tar.xz
+ $(cargo_crate_uris ${CRATES})
+"
+
+LICENSE="Apache-2.0 BSD-2 CC0-1.0 ISC MIT Unlicense"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="libressl"
+
+RDEPEND="
+ >=dev-db/sqlite-3.5:3
+ >=dev-libs/stfl-0.21
+ >=net-misc/curl-7.21.6
+ >=dev-libs/json-c-0.11:=
+ dev-libs/libxml2
+ sys-libs/ncurses:0=[unicode]
+"
+DEPEND="${RDEPEND}
+ dev-ruby/asciidoctor
+ virtual/pkgconfig
+ sys-devel/gettext
+ sys-libs/zlib
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.11-flags.patch"
+ "${FILESDIR}/${PN}-2.19-libressl.patch"
+)
+
+src_configure() {
+ ./config.sh || die
+}
+
+src_compile() {
+ export CARGO_HOME="${ECARGO_HOME}"
+ emake prefix="/usr" CXX="$(tc-getCXX)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
+}
+
+src_test() {
+ # tests require UTF-8 locale
+ emake CXX="$(tc-getCXX)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" test
+ # Tests fail if in ${S} rather than in ${S}/test
+ cd "${S}"/test || die
+ ./test || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix="/usr" docdir="/usr/share/doc/${PF}" install
+ einstalldocs
+}