commit: d991dc8632ee5d26d32d9c7844962ff1cf750943 Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> AuthorDate: Sat Aug 2 05:59:41 2025 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Sat Aug 2 05:59:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d991dc86
net-nntp/inn: add 2.7.3 Closes: https://bugs.gentoo.org/960942 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> net-nntp/inn/Manifest | 2 + net-nntp/inn/inn-2.7.3.ebuild | 143 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 145 insertions(+) diff --git a/net-nntp/inn/Manifest b/net-nntp/inn/Manifest index 7ce8339e9e..66e0c0a9b9 100644 --- a/net-nntp/inn/Manifest +++ b/net-nntp/inn/Manifest @@ -1,2 +1,4 @@ DIST inn-2.7.1.tar.gz 2753330 BLAKE2B 9221a95673359ed146422f1431ceafefba7a043cf0deedc539bc59073704ddc49a273bd3f9980c069ad77b9a8ed18f9ec1aece073de0b78b352775520e0340e3 SHA512 7d2430e5517bf13dd2acf792e376c18af8054ea4a177e5da0bbcaffbb4b89a80ed6528ed5b11a65559e5bf43f8fe40e5f7672582e9713d7b1312c607ea7e2235 DIST inn-2.7.1.tar.gz.asc 488 BLAKE2B 733e2649ee4647b6316e427a26595b7558c217df54b0848381a65634f82afb02bb94355fde00673b6fc7b565edaa89efdab1864bf997ca1b13202de6fc5ded53 SHA512 271c4305f1046520626e9c81accb84c1cf47262b270971d2a4159977894e851ae47c99ba19ad26cf9286387d15022c98e187a916dbc6c355f618052078757620 +DIST inn-2.7.3.tar.gz 2832795 BLAKE2B cb050636d0346e206ac1811773102f456fd2ad02f0a85086fe7f0cfdda1637de5ac7b9797a0abf99284c9c901b377e6275e23e389d2aff5ceb1ca05aac9d80b3 SHA512 cc36a87d4f8ab9297c8ce56dfb4864aafc6095459fda4ab3198e0870c77e7327364b151c16bf3509cf61e07d9389f25b0da1e016b1fc908436d48bd60ed9b81d +DIST inn-2.7.3.tar.gz.asc 488 BLAKE2B 31d0e852e924a6f62e42022232375e66aa7d582b1d3e1ca9516f3977e102eb2d2a239def4254faed10d67ff8da217f6501c9cb0d611fe85f3663d4c99c4fcf5b SHA512 47da414714f3d709d2b4ccc5d8628bfd060ea1827ed4fcd5a7bd5ac21a3659f636f4901e929c872ed893a0ef6d0d31b349daee6fa918d18ac4715dd0fa6e7720 diff --git a/net-nntp/inn/inn-2.7.3.ebuild b/net-nntp/inn/inn-2.7.3.ebuild new file mode 100644 index 0000000000..55ecb28ef8 --- /dev/null +++ b/net-nntp/inn/inn-2.7.3.ebuild @@ -0,0 +1,143 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) +inherit optfeature perl-functions python-single-r1 tmpfiles verify-sig + +DESCRIPTION="InterNetNews - the Internet meets Netnews" +HOMEPAGE=" + https://www.isc.org/othersoftware/#INN + https://www.eyrie.org/~eagle/software/inn/ + https://github.com/InterNetNews/inn +" +SRC_URI="https://downloads.isc.org/isc/${PN}/${P}.tar.gz + https://github.com/InterNetNews/inn/releases/download/${PV}/${P}.tar.gz + verify-sig? ( + https://downloads.isc.org/isc/${PN}/${P}.tar.gz.asc + https://github.com/InterNetNews/inn/releases/download/${PV}/${P}.tar.gz.asc + )" + +LICENSE="BSD BSD-2 BSD-4 GPL-2+ ISC MIT RSA powell public-domain" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+bzip2 cancel-locks gzip kerberos low-memory python sasl sqlite ssl test zlib" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + +DEPEND=" + app-crypt/gnupg + dev-lang/perl:= + sys-libs/gdbm:= + sys-libs/pam + virtual/libcrypt:= + virtual/mta + bzip2? ( app-alternatives/bzip2 ) + cancel-locks? ( net-libs/canlock:= ) + gzip? ( app-alternatives/gzip ) + kerberos? ( virtual/krb5 ) + python? ( ${PYTHON_DEPS} ) + sasl? ( dev-libs/cyrus-sasl:2 ) + sqlite? ( dev-db/sqlite:3 ) + ssl? ( dev-libs/openssl:= ) + zlib? ( sys-libs/zlib:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + app-alternatives/lex + app-alternatives/yacc + dev-lang/perl + virtual/pkgconfig + test? ( dev-perl/Test-Pod ) + verify-sig? ( >=sec-keys/openpgp-keys-russallbery-20250000 ) +" + +DOCS=( CONTRIBUTORS HACKING INSTALL NEWS README TODO ) + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/russallbery.asc" + +src_configure() { + econf_args=( + UUSTAT="${EPREFIX}/usr/bin/uustat" + inn_cv_compiler_c__g="no" + inn_cv_compiler_c__O3="no" + inn_cv_compiler_c__Werror="no" + + --prefix="${EPREFIX}"/opt/${PN} + --includedir="${EPREFIX}"/usr/include + --sysconfdir="${EPREFIX}"/etc/news + + --with-control-dir="${EPREFIX}"/usr/libexec/inn/control + --with-db-dir="${EPREFIX}"/var/db/news + --with-doc-dir="${EPREFIX}"/usr/share/doc/${PF} + --with-filter-dir="${EPREFIX}"/usr/libexec/inn/filter + --with-http-dir="${EPREFIX}"/usr/share/${PN}/http + --with-libperl-dir="$(perl_get_vendorlib)" + --with-log-dir="${EPREFIX}"/var/log/news + --with-run-dir="${EPREFIX}"/run/news + --with-spool-dir="${EPREFIX}"/var/spool/news + --with-tmp-dir="${EPREFIX}"/var/tmp/news + + $(use_enable !low-memory largefiles) + $(use_enable low-memory tagged-hash) + $(use_with cancel-locks canlock) + $(use_with kerberos krb5) + $(use_with python) + $(use_with sasl) + $(use_with sqlite sqlite3) + $(use_with ssl openssl) + $(use_with zlib) + --disable-hardening-flags + --enable-keywords + --with-perl + --without-bdb # deprecated db + --without-blacklist # FreeBSD-only + ) + + if use bzip2; then + econf_args+=( --with-log-compress=bzip2 ) + elif use gzip; then + econf_args+=( --with-log-compress=gzip ) + else + econf_args+=( --with-log-compress=cat ) + fi + + econf "${econf_args[@]}" +} + +src_install() { + default + + keepdir /var/log/news/OLD + keepdir /var/spool/news/{archive,articles,incoming/bad,innfeed,outgoing,overview} + + find "${ED}" -name '*.la' -delete || die + rm "${ED}"/usr/share/doc/${PF}/{GPL,LICENSE} || die + rm -r "${ED}"/run "${ED}"/var/tmp || die + + for svc in cnfsstat innwatch; do + newinitd "${FILESDIR}"/${svc}.initd ${svc} + newconfd "${FILESDIR}"/${svc}.confd ${svc} + done + newinitd "${FILESDIR}"/innd.initd-r1 innd + newconfd "${FILESDIR}"/innd.confd innd + + if use sqlite; then + newinitd "${FILESDIR}"/ovsqlite.initd ovsqlite + fi + + newtmpfiles "${FILESDIR}"/inn.tmpfiles-r1 inn.conf +} + +pkg_postinst() { + optfeature "controlchan script" dev-perl/MIME-tools + optfeature "innreport script" dev-perl/GD + optfeature "send-uucp backend" net-misc/taylor-uucp + + if use sqlite; then + optfeature "ovsqlite-util script" dev-perl/DBD-SQLite + fi + + tmpfiles_process inn.conf +}
