public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Petr Vaněk" <arkamar@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nntp/tin/
Date: Sun, 02 Mar 2025 13:28:22 +0000 (UTC)	[thread overview]
Message-ID: <1740922060.4bfc1be6ddaf295c80fac3072ce21de6a8a202f8.arkamar@gentoo> (raw)

commit:     4bfc1be6ddaf295c80fac3072ce21de6a8a202f8
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jan 29 19:57:16 2025 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Sun Mar  2 13:27:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bfc1be6

net-nntp/tin: add 2.6.4

Packaging-related changes in this release:

* Fixed the test checking for a SOCKS5 library (bug #931613). Dante
  changed library name from "libsocks" to "libsocksd" in v1.4.

* Removed "--with-sum" configure option.

* New automagic dependency on dev-libs/uriparser.

* New automagic dependency on net-dns/libidn2.

Closes: https://bugs.gentoo.org/931613
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
Closes: https://bugs.gentoo.org/943834
Closes: https://github.com/gentoo/gentoo/pull/40374
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 net-nntp/tin/Manifest         |   1 +
 net-nntp/tin/tin-2.6.4.ebuild | 128 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 129 insertions(+)

diff --git a/net-nntp/tin/Manifest b/net-nntp/tin/Manifest
index 734d2ec2dfbf..f5634f1174e9 100644
--- a/net-nntp/tin/Manifest
+++ b/net-nntp/tin/Manifest
@@ -1,2 +1,3 @@
 DIST tin-2.6.2.tar.xz 1598732 BLAKE2B 0e5bac9a711fb69e64d64b4f0c070d456f38f727e7b7aa794ad5ada8695c2174023964b8f07d2e7d6add51cf0c7c3102965bef653a7e873275747145cb70dbe2 SHA512 4c9e0edb3268d57fb89d9d53a90e8a5ba73da7c1da63c834224bed0f763502a7c3dd325351d3e57b1ddcb57494a84228cc38f227c49300b759fad8d112b1cac1
 DIST tin-2.6.3.tar.xz 1639192 BLAKE2B dba26c5e5fe0e331e069a22ce3241c00e7e01f582d00a38e55e2fe33c93f98d99c47e9d04e0660b40535a8b11e63789bc91df1b22dacd62405ee716a003c07dd SHA512 e8b474849e3330475e92b7c578ffe2f29f022303be266d39493e58b7227d9a5ee3915812c1806f52358c07f91d6119810498db906d2da7ffe035feba0e340a42
+DIST tin-2.6.4.tar.xz 1640064 BLAKE2B 7a9ec66a55db282b2b3b7c977dfafd47cb72224873369ebbce05865a92719253f59a17d1b79fcee98c1c10a88e323eddcd88d40ea6719be96a407ed361aa4107 SHA512 63d7d8bf9d00644b05f128ab78960a1a1ccbeebbec9721517dc4971d07459d0a547adfd4eb8446a695d7303b43f45168a203c29f318b66fc79e4aba80cf8cc97

diff --git a/net-nntp/tin/tin-2.6.4.ebuild b/net-nntp/tin/tin-2.6.4.ebuild
new file mode 100644
index 000000000000..b881b9d141dd
--- /dev/null
+++ b/net-nntp/tin/tin-2.6.4.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature toolchain-funcs
+
+DESCRIPTION="A threaded NNTP and spool based UseNet newsreader"
+HOMEPAGE="http://www.tin.org/"
+SRC_URI="ftp://ftp.tin.org/pub/news/clients/tin/stable/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="cancel-locks debug gnutls gpg libtls nls sasl socks5 ssl"
+
+RDEPEND="
+	dev-libs/icu:=
+	dev-libs/libpcre2:=
+	>=dev-libs/uriparser-0.9.8
+	dev-libs/uulib
+	net-dns/libidn2:=
+	sys-libs/ncurses:=
+	sys-libs/zlib:=
+	virtual/libiconv
+	cancel-locks? ( >=net-libs/canlock-3.0:= )
+	gpg? ( app-crypt/gnupg )
+	nls? ( virtual/libintl )
+	sasl? ( net-misc/gsasl[client] )
+	socks5? ( net-proxy/dante )
+	ssl? (
+		gnutls? ( net-libs/gnutls:= )
+		!gnutls? (
+			libtls? ( dev-libs/libretls:= )
+			!libtls? ( dev-libs/openssl:= )
+		)
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	app-alternatives/yacc
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )
+"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+	# Windows only (bug #900278)
+	memset_s
+
+	# checking if the socks library uses socks4 prefix
+	Rinit
+	init
+)
+
+DOCS=(
+	README{,.MAC,.WIN}
+	doc/{CHANGES{,.old},CREDITS,TODO,WHATSNEW,filtering}
+)
+
+src_configure() {
+	tc-export AR CC RANLIB
+	tc-export_build_env
+
+	# The build incorrectly discards its local -I if $CPPFLAGS is set.
+	if [[ -n ${BUILD_CPPFLAGS} ]]; then
+		BUILD_CPPFLAGS+=' -I$(INCDIR)'
+	fi
+
+	local myeconfargs=(
+		$(use_enable cancel-locks)
+		$(use_with cancel-locks canlock)
+
+		$(use_enable debug)
+		$(use_enable gpg pgp-gpg)
+		$(use_enable nls)
+		$(use_with socks5)
+		--disable-mime-strict-charset
+		--enable-nntp
+		--enable-prototypes
+		--without-pcre
+		--with-pcre2-config
+		--with-coffee # easter egg :)
+		--with-nntp-default-server="${TIN_DEFAULT_SERVER:-${NNTPSERVER:-news.gmane.io}}"
+		--with-screen=ncursesw
+	)
+
+	if use ssl; then
+		if use gnutls; then
+			myeconfargs+=( --with-nntps=gnutls )
+		elif use libtls; then
+			myeconfargs+=( --with-nntps=libtls )
+		else
+			myeconfargs+=( --with-nntps=openssl )
+		fi
+	fi
+
+	myeconfargs+=(
+		# set default paths for utilities
+		--with-editor="${EPREFIX}"/usr/libexec/editor
+		--with-gpg="${EPREFIX}"/usr/bin/gpg
+		--with-ispell="${EPREFIX}"/usr/bin/aspell
+		--with-mailer="${EPREFIX}"/bin/mail
+
+		# set default paths for directories
+		--with-libdir="${EPREFIX}"/var/lib/news
+		--with-spooldir="${EPREFIX}"/var/spool/news
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	# To build from the root dir you have to call `make build`, not just `make`.
+	emake build
+}
+
+src_install() {
+	default
+
+	emake DESTDIR="${D}" install_sysdefs
+	emake -C src DESTDIR="${D}" install_nls_man
+
+	dodoc doc/{*.sample,*.txt}
+}
+
+pkg_postinst() {
+	optfeature "spell checker support" app-text/aspell
+}


             reply	other threads:[~2025-03-02 13:28 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-02 13:28 Petr Vaněk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-04 16:47 [gentoo-commits] repo/gentoo:master commit in: net-nntp/tin/ Arthur Zamarin
2024-11-03 18:28 Sam James
2024-11-03 18:05 Sam James
2024-11-03 18:05 Sam James
2024-11-02 12:46 Joonas Niilola
2023-12-16  9:31 Sam James
2023-12-01 11:22 Mike Frysinger
2023-02-24 17:03 Sam James
2023-02-24 17:01 Arthur Zamarin
2023-02-24 16:58 Arthur Zamarin
2023-02-24 16:56 Sam James
2023-01-15  6:30 Joonas Niilola
2022-12-31 18:32 Jakov Smolić
2022-02-19 12:41 Arthur Zamarin
2022-02-19  8:37 Arthur Zamarin
2022-01-08 12:49 Joonas Niilola
2021-12-09 16:22 Agostino Sarubbo
2021-12-08  6:17 Sam James
2021-12-07 16:53 Sam James
2021-12-07 16:53 Sam James
2021-09-09 11:30 Joonas Niilola
2021-07-17 21:30 David Seifert
2021-02-22  3:24 John Helmert III
2021-02-01  4:42 Sam James
2021-01-30 10:04 Sam James
2021-01-30 10:02 Sam James
2021-01-28 17:47 Sam James
2021-01-24  1:48 Sam James
2018-11-16  9:09 Michał Górny
2018-05-28  8:21 José María Alonso
2018-05-26 11:07 Mikle Kolyada
2018-05-01 15:04 José María Alonso
2018-04-16 21:43 Mikle Kolyada
2018-03-05 14:31 Agostino Sarubbo
2018-03-04  6:51 Thomas Deutschmann
2018-01-30 15:15 José María Alonso
2016-04-19 20:39 Ian Stakenvicius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1740922060.4bfc1be6ddaf295c80fac3072ce21de6a8a202f8.arkamar@gentoo \
    --to=arkamar@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox