summaryrefslogtreecommitdiff
path: root/net-nntp
diff options
context:
space:
mode:
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/Manifest.gzbin1372 -> 1372 bytes
-rw-r--r--net-nntp/slrn/Manifest2
-rw-r--r--net-nntp/slrn/files/slrn-1.0.3-configure.patch48
-rw-r--r--net-nntp/slrn/slrn-1.0.3-r2.ebuild45
4 files changed, 95 insertions, 0 deletions
diff --git a/net-nntp/Manifest.gz b/net-nntp/Manifest.gz
index 36d66c65cfb4..781033173cd9 100644
--- a/net-nntp/Manifest.gz
+++ b/net-nntp/Manifest.gz
Binary files differ
diff --git a/net-nntp/slrn/Manifest b/net-nntp/slrn/Manifest
index 23019608e03b..b1fa836e3654 100644
--- a/net-nntp/slrn/Manifest
+++ b/net-nntp/slrn/Manifest
@@ -1,4 +1,6 @@
AUX slrn-1.0.2-make.patch 1044 BLAKE2B 4c2100b402e57383ccca4dd26a25bdea05ae065f978c1a96ea53881b859e5fd7a28a1d6c54ef59fcc21238c456a19ad953f8c1e78d2d7c573779e4d78291f3a6 SHA512 14859999f7739121027a7ddd6b0f157534a3e64a5c63b2354c4962c0391b9fbc5b4f80bc4260909561b534d79abcb3bdcca6f737eb52029f9c48cb0aae5f6473
+AUX slrn-1.0.3-configure.patch 1355 BLAKE2B be04683d4cfee19dc416c4d479ff545d1111fa9c3f66b87364861fca699a8408c72b124ce7d53131e059e5f6fb42fd787f4bb3e9294267dcaafcae1d9571d078 SHA512 c9da71d8907b7cc0bd13b0d151f86763f7a19a0dceeeb1ad9c5161f04894ddc3c624dbb27bea8617df35e601c6a4ec71f11df6ada42c0804d949309061c1dee6
DIST slrn-1.0.3a.tar.bz2 997138 BLAKE2B a349783edae24e0269ab1b8ddc328e578340e40e72285bbf070237b3724f475450f08bbc655d3b212684b8fffc495129008bde71a481fb3d2f4326bf396e5981 SHA512 11cef2dfe41f441af15acc22fb675cf607e932f0dd6d4a998e51ecda05c9a50d7abf10a3e693ffc857ad77e09634f460404e4d5b289169e7bbffdaf5d6d565a3
EBUILD slrn-1.0.3-r1.ebuild 914 BLAKE2B 0eb0c60fa0a772945cb62c54f0c1183284b701c0fc833957f4987a2d9a1cc0519f53bb3ed4864234203a88bd5f80b2268154de39dc83946125bdc9e3a550e73c SHA512 11f283dd8176fd63f9ac28efac778ed67c1fecfbade26643fd18631653a36910dd0acaae9a1fb1e9e717cb32ae277ab6ee7de976a3d82312337f67e81318c3a1
+EBUILD slrn-1.0.3-r2.ebuild 991 BLAKE2B e4664cd0fa5695bf3d3739b3d7f56f155d4e44fe5c7bb811656c0d774d7b953617714e37c3308d024e6760425329aa6eeb881f267a1029ddfa7c16722fbc964f SHA512 4c20c635e2eb48be0b7790c06cfafb2dd6d8b29d8bce1789f01651f05a4958462d97016ac2b2bc295db0143b4626d7174c008bac759d2ccd9ac1c08a4ec737a7
MISC metadata.xml 742 BLAKE2B e24c8c18090671d4a610eb176567e9a71883de24bf9ea2e5302b3b4e782830681d6c074f2b9e483e953c8aff85f77e50c47917a1144536afb0336d6097e9c0ff SHA512 5886dd6a63f9d71cfb028dfa063198bf40c665a764de7b8eeee15aa283598fb9c178e7fda780da2dd32535dad3ed6369382b609252185d02ee8dad7b68d56440
diff --git a/net-nntp/slrn/files/slrn-1.0.3-configure.patch b/net-nntp/slrn/files/slrn-1.0.3-configure.patch
new file mode 100644
index 000000000000..deef317bf91d
--- /dev/null
+++ b/net-nntp/slrn/files/slrn-1.0.3-configure.patch
@@ -0,0 +1,48 @@
+https://bugs.gentoo.org/874687
+from
+https://github.com/jedsoft/slrn/pull/1
+edited to current situation (line numbers changed so patch applies cleanly)
+and half of the patch pertaining autotools is dropped
+
+From f550d0ab9e1cd3cfe844022435c3d98af3c18441 Mon Sep 17 00:00:00 2001
+From: Florian Weimer <fweimer@redhat.com>
+Date: Sat, 4 Feb 2023 15:04:36 +0100
+Subject: [PATCH] autoconf: Fix C99 compatibility issue in the VA_COPY checks
+
+The exit function is called without including <stdlib.h>, resulting
+in an implicit function declarations. Future compilers will not
+support implicit function declarations by default. This will lead
+to build failures.
+---
+ autoconf/configure.ac | 3 +++
+ configure | 3 +++
+ 2 files changed, 6 insertions(+)
+
+diff --git a/configure b/configure
+index faec350..8758172 100755
+--- a/configure
++++ b/configure
+@@ -8307,6 +8307,7 @@ else
+ /* end confdefs.h. */
+
+ #include <stdarg.h>
++ #include <stdlib.h>
+ void f (int i, ...) {
+ va_list args1, args2;
+ va_start (args1, i);
+@@ -8352,6 +8353,7 @@ else
+ /* end confdefs.h. */
+
+ #include <stdarg.h>
++ #include <stdlib.h>
+ void f (int i, ...) {
+ va_list args1, args2;
+ va_start (args1, i);
+@@ -8397,6 +8399,7 @@ else
+ /* end confdefs.h. */
+
+ #include <stdarg.h>
++ #include <stdlib.h>
+ void f (int i, ...) {
+ va_list args1, args2;
+ va_start (args1, i);
diff --git a/net-nntp/slrn/slrn-1.0.3-r2.ebuild b/net-nntp/slrn/slrn-1.0.3-r2.ebuild
new file mode 100644
index 000000000000..f968453c2e6c
--- /dev/null
+++ b/net-nntp/slrn/slrn-1.0.3-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="${P}a"
+
+DESCRIPTION="A s-lang based newsreader"
+HOMEPAGE="
+ https://slrn.sourceforge.net/
+ https://github.com/jedsoft/slrn
+"
+SRC_URI="https://jedsoft.org/releases/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="canlock nls selinux ssl uudeview"
+
+RDEPEND="app-arch/sharutils
+ >=sys-libs/slang-2.2.3
+ virtual/mta
+ canlock? ( net-libs/canlock:=[legacy(+)] )
+ ssl? (
+ dev-libs/openssl:0=
+ )
+ uudeview? ( dev-libs/uulib )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+RDEPEND+=" selinux? ( sec-policy/selinux-slrnpull )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.0.2-make.patch
+ "${FILESDIR}"/${P}-configure.patch
+)
+
+src_configure() {
+ econf \
+ --with-docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --with-slrnpull \
+ $(use_with canlock canlock /usr) \
+ $(use_enable nls) \
+ $(use_with ssl) \
+ $(use_with uudeview uu)
+}