diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
| commit | f716a9fe6455d39eef01e718aae68dae61c19704 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /net-nntp | |
| parent | 3f9cf298e89cd5037b982abba06091224ee76daf (diff) | |
| download | baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip | |
Adding metadata
Diffstat (limited to 'net-nntp')
76 files changed, 0 insertions, 3097 deletions
diff --git a/net-nntp/inn/Manifest b/net-nntp/inn/Manifest deleted file mode 100644 index 66e0c0a9b94f..000000000000 --- a/net-nntp/inn/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -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/files/30inn b/net-nntp/inn/files/30inn deleted file mode 100644 index 747f31d156aa..000000000000 --- a/net-nntp/inn/files/30inn +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PROTECT=/var/db/news diff --git a/net-nntp/inn/files/cnfsstat.confd b/net-nntp/inn/files/cnfsstat.confd deleted file mode 100644 index 82ff223053a6..000000000000 --- a/net-nntp/inn/files/cnfsstat.confd +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Initial sleep at startup (in seconds) -#CNFSSTAT_DELAY=60 - -# Options for cnfsstat -#CNFSSTAT_OPTS="" diff --git a/net-nntp/inn/files/cnfsstat.initd b/net-nntp/inn/files/cnfsstat.initd deleted file mode 100644 index 51f84d056954..000000000000 --- a/net-nntp/inn/files/cnfsstat.initd +++ /dev/null @@ -1,7 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -command=/opt/inn/bin/cnfsstat -command_args="-i ${CNFSSTAT_DELAY:=60} -s -l -P ${CNFSSTAT_OPTS}" -pidfile=/run/news/cnfsstat.pid diff --git a/net-nntp/inn/files/inn.tmpfiles b/net-nntp/inn/files/inn.tmpfiles deleted file mode 100644 index 791146741629..000000000000 --- a/net-nntp/inn/files/inn.tmpfiles +++ /dev/null @@ -1 +0,0 @@ -d /run/news 0755 news news - diff --git a/net-nntp/inn/files/inn.tmpfiles-r1 b/net-nntp/inn/files/inn.tmpfiles-r1 deleted file mode 100644 index 1b06b0b6ef3e..000000000000 --- a/net-nntp/inn/files/inn.tmpfiles-r1 +++ /dev/null @@ -1,2 +0,0 @@ -d /run/news 0755 news news - -d /var/tmp/news 0755 news news - diff --git a/net-nntp/inn/files/innd.confd b/net-nntp/inn/files/innd.confd deleted file mode 100644 index e9080ebb0068..000000000000 --- a/net-nntp/inn/files/innd.confd +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Options for innd -#INND_OPTS="" - -# Options for news.daily -#INND_NEWSDAILY_OPTS="" diff --git a/net-nntp/inn/files/innd.initd b/net-nntp/inn/files/innd.initd deleted file mode 100644 index ae08a5a58ffb..000000000000 --- a/net-nntp/inn/files/innd.initd +++ /dev/null @@ -1,81 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# -# Derived from the rc.news shell script. -# shellcheck shell=bash - -extra_commands="daily" -extra_started_commands="reload" - -description_reload="Reload the INN configuration." -description_daily="Perform daily Usenet maintenance tasks." - -command=/opt/inn/bin/innd -command_args="${INND_OPTS}" -pidfile=/run/news/innd.pid - -depend() { - need net - use ovdb innwatch cnfsstat -} - -daily() { - ebegin "Executing news.daily" - /opt/inn/bin/news.daily ${INND_NEWSDAILY_OPTS} - eend $? -} - -expirerm() { - local rmfile=/var/log/news/expire.rm - for f in ${rmfile} ${rmfile}.*; do - if [ -s "${f}" ]; then - /opt/inn/bin/expirerm "${f}" - fi - done -} - -start_pre() { - local active=/var/db/news/active - local old_newsdaily=$(find /var/db/news/.news.daily -mtime +1 -print 2>/dev/null) - if [ ! -f /var/db/news/.news.daily ] || [ -n "${old_newsdaily}" ]; then - daily - fi - - if [ -f ${pidfile} ] || [ -f /run/news/.rebuildoverview ] || [ ! -s ${active} ]; then - # active needs to be renumbered - command_args="${command_args} -r" - fi - - # active file recovery - if [ ! -s ${active} ]; then - if [ -s ${active}.tmp ]; then - mv ${active}.tmp ${active} || return 1 - elif [ -s ${active}.old ]; then - cp ${active}.old ${active} || return 1 - else - eerror "${RC_SVCNAME} failed to start: ${active} does not exist" - return 1 - fi - fi - - # remove temporary batchfiles and lock files - rm -f /var/spool/news/outgoing/bch* - rm -f /run/news/LOCK* - rm -f /run/news/control /run/news/nntpin /run/news/.rebuildoverview - - expirerm -} - -stop() { - ebegin "Stopping ${RC_SVCNAME}" - /opt/inn/bin/ctlinnd throttle "OpenRC service stop" - /opt/inn/bin/ctlinnd shutdown "OpenRC service stop" - eend $? -} - -reload() { - ebegin "Reloading innd configuration" - /opt/inn/bin/ctlinnd -t 20 reload "" "OpenRC service reload" - eend $? -} diff --git a/net-nntp/inn/files/innd.initd-r1 b/net-nntp/inn/files/innd.initd-r1 deleted file mode 100644 index 10f7e957b789..000000000000 --- a/net-nntp/inn/files/innd.initd-r1 +++ /dev/null @@ -1,81 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# -# Derived from the rc.news shell script. -# shellcheck shell=sh - -extra_commands="daily" -extra_started_commands="reload" - -description_reload="Reload the INN configuration" -description_daily="Perform daily Usenet maintenance tasks" - -command=/opt/inn/bin/innd -command_args="${INND_OPTS}" -pidfile=/run/news/innd.pid - -depend() { - need net - use ovsqlite innwatch cnfsstat -} - -daily() { - ebegin "Executing news.daily" - /opt/inn/bin/news.daily ${INND_NEWSDAILY_OPTS} - eend $? -} - -expirerm() { - local rmfile=/var/log/news/expire.rm - for f in ${rmfile} ${rmfile}.*; do - if [ -s "${f}" ]; then - /opt/inn/bin/expirerm "${f}" - fi - done -} - -start_pre() { - local active=/var/db/news/active - local old_newsdaily=$(find /var/db/news/.news.daily -mtime +1 -print 2>/dev/null) - if [ ! -f /var/db/news/.news.daily ] || [ -n "${old_newsdaily}" ]; then - daily - fi - - if [ -f ${pidfile} ] || [ -f /run/news/.rebuildoverview ] || [ ! -s ${active} ]; then - # active needs to be renumbered - command_args="${command_args} -r" - fi - - # active file recovery - if [ ! -s ${active} ]; then - if [ -s ${active}.tmp ]; then - mv ${active}.tmp ${active} || return 1 - elif [ -s ${active}.old ]; then - cp ${active}.old ${active} || return 1 - else - eerror "${RC_SVCNAME} failed to start: ${active} does not exist" - return 1 - fi - fi - - # remove temporary batchfiles and lock files - rm -f /var/spool/news/outgoing/bch* - rm -f /run/news/LOCK* - rm -f /run/news/control /run/news/nntpin /run/news/.rebuildoverview - - expirerm -} - -stop() { - ebegin "Stopping ${RC_SVCNAME}" - /opt/inn/bin/ctlinnd throttle "OpenRC service stop" - /opt/inn/bin/ctlinnd shutdown "OpenRC service stop" - eend $? -} - -reload() { - ebegin "Reloading innd configuration" - /opt/inn/bin/ctlinnd -t 20 reload "" "OpenRC service reload" - eend $? -} diff --git a/net-nntp/inn/files/innd.service b/net-nntp/inn/files/innd.service deleted file mode 100644 index dc58918829a7..000000000000 --- a/net-nntp/inn/files/innd.service +++ /dev/null @@ -1,34 +0,0 @@ -[Unit] -Description=InterNetNews News Server -Documentation=https://www.eyrie.org/~eagle/software/inn/ -Documentation=man:innd(8) -After=network-online.target -Wants=network-online.target -ConditionPathExists=/etc/news/inn.conf - -[Service] -Type=notify -Restart=on-abort -ExecStart=/opt/inn/bin/rc.news -ExecStop=/opt/inn/bin/rc.news stop -ExecReload=/opt/inn/bin/ctlinnd -t 20 reload all 'by systemd' -PIDFile=/run/news/innd.pid -User=news -Group=news -ConfigurationDirectory=news -LogsDirectory=news -LogsDirectoryMode=775 -RuntimeDirectory=news -StateDirectory=news -StateDirectoryMode=775 -AmbientCapabilities=CAP_NET_BIND_SERVICE -PrivateTmp=true -ProtectControlGroups=true -ProtectHome=true -ProtectSystem=full -RuntimeDirectory=news -LimitNOFILE=infinity -ReadWritePaths=/var/spool/news - -[Install] -WantedBy=multi-user.target diff --git a/net-nntp/inn/files/innwatch.confd b/net-nntp/inn/files/innwatch.confd deleted file mode 100644 index 2abb56a1d880..000000000000 --- a/net-nntp/inn/files/innwatch.confd +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Initial sleep at startup (in seconds) -#INNWATCH_DELAY=60 - -# Options for cnfsstat -#INNWATCH_OPTS="" diff --git a/net-nntp/inn/files/innwatch.initd b/net-nntp/inn/files/innwatch.initd deleted file mode 100644 index 20eedda98077..000000000000 --- a/net-nntp/inn/files/innwatch.initd +++ /dev/null @@ -1,11 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -command=/opt/inn/bin/innwatch -command_args="-i ${INNWATCH_DELAY:-60} ${INNWATCH_OPTS}" -pidfile=/run/news/innwatch.pid - -stop_pre() { - rm -f /run/news/LOCK.innwatch -} diff --git a/net-nntp/inn/files/ovdb.initd b/net-nntp/inn/files/ovdb.initd deleted file mode 100644 index 84e17e2a9777..000000000000 --- a/net-nntp/inn/files/ovdb.initd +++ /dev/null @@ -1,16 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -command=/opt/inn/bin/ovdb_init -pidfile=/run/news/ovdb_server.pid - -stop() { - ebegin "Stopping ovdb_server" - start-stop-daemon --stop --pidfile /run/news/ovdb_server.pid - eend $? - - ebegin "Stopping ovdb_monitor" - start-stop-daemon --stop --pidfile /run/news/ovdb_monitor.pid - ewend $? -} diff --git a/net-nntp/inn/files/ovsqlite.initd b/net-nntp/inn/files/ovsqlite.initd deleted file mode 100644 index 38d6cff894b0..000000000000 --- a/net-nntp/inn/files/ovsqlite.initd +++ /dev/null @@ -1,8 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# shellcheck shell=sh - -command=/opt/inn/bin/ovsqlite-server -pidfile=/run/news/ovsqlite.pid diff --git a/net-nntp/inn/inn-2.7.1.ebuild b/net-nntp/inn/inn-2.7.1.ebuild deleted file mode 100644 index 4097fb0f7638..000000000000 --- a/net-nntp/inn/inn-2.7.1.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..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? ( virtual/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-20230000 ) -" - -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 -} diff --git a/net-nntp/inn/inn-2.7.3.ebuild b/net-nntp/inn/inn-2.7.3.ebuild deleted file mode 100644 index 9f0132804843..000000000000 --- a/net-nntp/inn/inn-2.7.3.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..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? ( virtual/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 -} diff --git a/net-nntp/inn/metadata.xml b/net-nntp/inn/metadata.xml deleted file mode 100644 index 817f21679bb8..000000000000 --- a/net-nntp/inn/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> -<upstream> - <remote-id type="github">InterNetNews/inn</remote-id> - <bugs-to>https://github.com/InterNetNews/inn/issues</bugs-to> - <doc>https://www.eyrie.org/~eagle/software/inn/docs/</doc> - <maintainer> - <email>eagle@eyrie.org</email> - <name>Russ Allbery</name> - </maintainer> -</upstream> -<longdescription> -InterNetNews is a complete Usenet system. The cornerstone of the package is -innd, an NNTP server that multiplexes all I/O. Newsreading is handled by a -separate server, nnrpd, that is spawned for each client. Both innd and nnrpd -have some slight variances from the NNTP protocol. -</longdescription> -<use> - <flag name="cancel-locks" restrict=">=net-nntp/inn-2.7.1">Enable Cancel-Lock header functionality</flag> - <flag name="low-memory">Use tagged hash table for history to reduce memory footprint</flag> -</use> -</pkgmetadata> diff --git a/net-nntp/leafnode/Manifest b/net-nntp/leafnode/Manifest deleted file mode 100644 index 3f782a13c138..000000000000 --- a/net-nntp/leafnode/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST leafnode-1.11.11.tar.xz 453396 BLAKE2B 70471c7a68dd8c679d119bbca28c0073d78b3d577d3d64aa22540939125aa0bba464e161b6f24d78b6af771df2e0a8b9313c547e3469c4c9b406f7180a4564ec SHA512 a031306389c2c85777c6e9fc3c8529a5ef420e95be301ee60189f20db10cd8cf9328fac8adcd7f56b96d0e4a9c9c9a0c036775e604bd8f6749e5facc8e8228e7 -DIST leafnode-1.12.0.tar.xz 464572 BLAKE2B 25e86ed87e81fb8551fd7b613464d1989eef896bdad585b8d5a94b311402856f336e027c5d56a37a4f488f2a3d5531f8763add2ae4582f2c310e5581dd73de10 SHA512 99cc49b4cbfb6b6d5fdcb64fcc8b77aabd6b675cf6ea51e2aaf275830014171c408f21fd88729c5422b5845bcd27fcf9a1640f54e449f7fbe5d956a05afe10d7 diff --git a/net-nntp/leafnode/files/fetchnews.cron b/net-nntp/leafnode/files/fetchnews.cron deleted file mode 100644 index cd4569e6d656..000000000000 --- a/net-nntp/leafnode/files/fetchnews.cron +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# -# Uncomment the following if you want to regularly -# fetch new messages from your news server. -# -# -# This is part of the leafnode package. -# - -#/usr/sbin/fetchnews diff --git a/net-nntp/leafnode/files/leafnode-1.11.11-checkpeerlocal_ipv6_fix.patch b/net-nntp/leafnode/files/leafnode-1.11.11-checkpeerlocal_ipv6_fix.patch deleted file mode 100644 index ef215e4c1857..000000000000 --- a/net-nntp/leafnode/files/leafnode-1.11.11-checkpeerlocal_ipv6_fix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -x '*~' -purN a/checkpeerlocal.c b/checkpeerlocal.c ---- a/checkpeerlocal.c 2015-08-25 00:03:26.000000000 +0200 -+++ b/checkpeerlocal.c 2017-07-14 20:12:26.109653383 +0200 -@@ -208,6 +208,7 @@ int checkpeerlocal(int sock) - } - #endif - -+#ifdef HAVE_IPV6 - if (IN6_IS_ADDR_V4MAPPED(&addr.sin6.sin6_addr)) { - /* map to IPv4 */ - struct sockaddr_in si; -@@ -216,6 +217,7 @@ int checkpeerlocal(int sock) - memcpy(&addr.sin, &si, sizeof(struct sockaddr_in)); - D(pat(&addr.sa)); - } -+#endif - - if (getifaddrs(&ifap) != 0) { - D(printf("getifaddrs failed: %s\n", strerror(errno))); diff --git a/net-nntp/leafnode/files/leafnode-1.11.11-configure.patch b/net-nntp/leafnode/files/leafnode-1.11.11-configure.patch deleted file mode 100644 index bf27312579ce..000000000000 --- a/net-nntp/leafnode/files/leafnode-1.11.11-configure.patch +++ /dev/null @@ -1,12 +0,0 @@ -Fix handwritten check for SIOCGIFALIAS on FreeBSD -https://bugs.gentoo.org/900268 ---- a/configure.ac -+++ b/configure.ac -@@ -413,6 +413,7 @@ - #include <stddef.h> - #include <sys/types.h> - #include <sys/socket.h> -+ #include <sys/ioctl.h> - #ifdef HAVE_SYS_SOCKIO_H - #include <sys/sockio.h> - #endif diff --git a/net-nntp/leafnode/files/leafnode.xinetd b/net-nntp/leafnode/files/leafnode.xinetd deleted file mode 100644 index fc36ecaaaa03..000000000000 --- a/net-nntp/leafnode/files/leafnode.xinetd +++ /dev/null @@ -1,12 +0,0 @@ -# default: off -# description: Leafnode - accepts connections on port 119 (NNTP) - -service nntp -{ - socket_type = stream - protocol = tcp - wait = no - user = news - server = /usr/sbin/leafnode - disable = yes -} diff --git a/net-nntp/leafnode/files/texpire.cron b/net-nntp/leafnode/files/texpire.cron deleted file mode 100644 index 643da1ee9000..000000000000 --- a/net-nntp/leafnode/files/texpire.cron +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# -# Uncomment the following if you want to -# clean up your news spool regularly. -# -# -# This is part of the leafnode package. -# - -#/usr/sbin/texpire diff --git a/net-nntp/leafnode/leafnode-1.11.11-r2.ebuild b/net-nntp/leafnode/leafnode-1.11.11-r2.ebuild deleted file mode 100644 index 2e28120642b1..000000000000 --- a/net-nntp/leafnode/leafnode-1.11.11-r2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="A USENET software package designed for small sites" -HOMEPAGE="http://leafnode.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="ipv6" - -DEPEND=">=dev-libs/libpcre-3.9" -RDEPEND="${DEPEND} - virtual/inetd" -DOCS=( CREDITS ChangeLog FAQ.txt FAQ.pdf INSTALL NEWS README-daemontools \ - UNINSTALL-daemontools README README-MAINTAINER README-FQDN ) - -PATCHES=( - "${FILESDIR}/${P}-checkpeerlocal_ipv6_fix.patch" - "${FILESDIR}/${PN}-1.11.11-configure.patch" -) - -src_prepare() { - default - - # bug https://bugs.gentoo.org/900268 - eautoreconf -} - -src_configure() { - econf \ - --sysconfdir=/etc/leafnode \ - --localstatedir=/var \ - --with-spooldir=/var/spool/news \ - $(use_with ipv6) -} - -src_install() { - default - - keepdir \ - /var/lib/news \ - /var/spool/news/{failed.postings,interesting.groups,leaf.node,out.going,temp.files} \ - /var/spool/news/message.id/{0,1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9} - - fowners -R news:news /var/{lib,spool}/news - - insinto /etc/xinetd.d - newins "${FILESDIR}"/leafnode.xinetd leafnode-nntp - - exeinto /etc/cron.hourly - newexe "${FILESDIR}"/fetchnews.cron fetchnews - exeinto /etc/cron.daily - newexe "${FILESDIR}"/texpire.cron texpire - - dodoc FAQ.html FAQ.xml README-FQDN.html -} diff --git a/net-nntp/leafnode/leafnode-1.12.0-r1.ebuild b/net-nntp/leafnode/leafnode-1.12.0-r1.ebuild deleted file mode 100644 index 3e7f21c21130..000000000000 --- a/net-nntp/leafnode/leafnode-1.12.0-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="A USENET software package designed for small sites" -HOMEPAGE="https://leafnode.sourceforge.io/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND=">=dev-libs/libpcre2-10" -RDEPEND="${DEPEND} - virtual/inetd" -DOCS=( CREDITS ChangeLog FAQ.txt FAQ.pdf INSTALL NEWS UNINSTALL-daemontools README README-MAINTAINER README-FQDN ) - -PATCHES=( "${FILESDIR}/${PN}-1.11.11-configure.patch" ) - -src_prepare() { - default - - # bug https://bugs.gentoo.org/900268 - eautoreconf -} - -src_configure() { - econf \ - --sysconfdir=/etc/leafnode \ - --localstatedir=/var \ - --with-spooldir=/var/spool/news \ - --with-ipv6 -} - -src_install() { - default - - keepdir \ - /var/lib/news \ - /var/spool/news/{failed.postings,interesting.groups,leaf.node,out.going,temp.files} \ - /var/spool/news/message.id/{0,1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9} - - fowners -R news:news /var/{lib,spool}/news - - insinto /etc/xinetd.d - newins "${FILESDIR}"/leafnode.xinetd leafnode-nntp - - exeinto /etc/cron.hourly - newexe "${FILESDIR}"/fetchnews.cron fetchnews - exeinto /etc/cron.daily - newexe "${FILESDIR}"/texpire.cron texpire - - dodoc FAQ.html FAQ.xml README-FQDN.html -} diff --git a/net-nntp/leafnode/metadata.xml b/net-nntp/leafnode/metadata.xml deleted file mode 100644 index dc625f83ee39..000000000000 --- a/net-nntp/leafnode/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="sourceforge">leafnode</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-nntp/metadata.xml b/net-nntp/metadata.xml deleted file mode 100644 index 764255dc07a4..000000000000 --- a/net-nntp/metadata.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> - <longdescription lang="en"> - The net-nntp category contains NNTP (Network News Transfer Protocol) - software. - </longdescription> - <longdescription lang="de"> - Die Kategorie net-nntp enthält Software für das Network News Transfer Protocol - (NNTP). - </longdescription> - <longdescription lang="es"> - La categoría net-nntp contiene software NNTP (Network News Transfer - Protocol). - </longdescription> - <longdescription lang="ja"> - net-nntpカテゴリーにはネットワーク・ニュース・トランスファー・プロトコルの - ソフトウェアが含まれています。 - </longdescription> - <longdescription lang="nl"> - De net-nntp categorie bevat applicaties voor NNTP (Network News Transfer Protocol). - </longdescription> - <longdescription lang="vi"> - Nhóm net-nntp chứa các phần mềm NNTP (Network News Transfer Protocol). - </longdescription> - <longdescription lang="it"> - La categoria net-nntp contiene software NNTP (Network News Transfer - Protocol). - </longdescription> - <longdescription lang="pt"> - A categoria net-nntp contém programas de NNTP (Network News - Transfer Protocol). - </longdescription> - <longdescription lang="pl"> - Kategoria net-nntp zawiera oprogramowanie związane z NNTP (Network News - Transfer Protocol). - </longdescription> -</catmetadata> diff --git a/net-nntp/newspost/Manifest b/net-nntp/newspost/Manifest deleted file mode 100644 index efbe5818568f..000000000000 --- a/net-nntp/newspost/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST newspost-2.1.1.tar.gz 61412 BLAKE2B f5dad9ff397ed8536961c7364b9ade1e325bda8fa2fbd2e874c4db022112d45accb1d7800fd0c52eed5a17cc7e9298600b9ec6a6e95eccb560090f0c42d5de57 SHA512 d7f5b583ef5619a65e87f2ce2edbad307d60da7f29e5c6bef8eaa7c757f97f82f08654409a75ea7b28e5575fd267af57cbc170f467f6737f701bfbd6bd4b2f66 diff --git a/net-nntp/newspost/files/CAN-2005-0101.patch b/net-nntp/newspost/files/CAN-2005-0101.patch deleted file mode 100644 index c81936be61ba..000000000000 --- a/net-nntp/newspost/files/CAN-2005-0101.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/base/socket.c -+++ b/base/socket.c -@@ -126,7 +126,7 @@ - - i = 0; - pi = buffer; -- while (TRUE) { -+ while (read_count < STRING_BUFSIZE - 1) { - retval = read(sockfd, pi, 1); - if(retval < 0) - ui_socket_error(errno); diff --git a/net-nntp/newspost/files/newspost-2.1.1-c23.patch b/net-nntp/newspost/files/newspost-2.1.1-c23.patch deleted file mode 100644 index a17e6b23f93b..000000000000 --- a/net-nntp/newspost/files/newspost-2.1.1-c23.patch +++ /dev/null @@ -1,309 +0,0 @@ -file_entry_alloc takes no argument and most callers pass none. Also, add -modern definitions. - -https://bugs.gentoo.org/944984 ---- a/base/newspost.c -+++ b/base/newspost.c -@@ -108,7 +108,7 @@ static int encode_and_post(newspost_data *data, SList *file_list, - else { - /* post any sfv files... */ - if (data->sfv != NULL) { -- file_data = file_entry_alloc(file_data); -+ file_data = file_entry_alloc(); - file_data->filename = - buff_create(file_data->filename, "%s", data->sfv->data); - if (stat(data->sfv->data, &file_data->fileinfo) == -1) ---- a/base/nntp.c -+++ b/base/nntp.c -@@ -73,7 +73,8 @@ boolean nntp_logon(newspost_data *data) { - return TRUE; - } - --void nntp_logoff() { -+void -+nntp_logoff (void) { - char tmpbuffer[STRING_BUFSIZE]; - nntp_issue_command("QUIT"); - nntp_get_response(tmpbuffer); ---- a/base/socket.c -+++ b/base/socket.c -@@ -98,7 +98,8 @@ defined(__SVR4) || defined(__svr4__)) - return 0; - } - --void socket_close() { -+void -+socket_close (void) { - if (sockfd >= 0) - close(sockfd); - } ---- a/parchive/md5.c -+++ b/parchive/md5.c -@@ -102,9 +102,7 @@ static void md5_process_bytes (const void *buffer, size_t len, - resulting message digest number will be written into the 16 bytes - beginning at RESBLOCK. */ - i64 --md5_stream (stream, resblock) -- FILE *stream; -- void *resblock; -+md5_stream (FILE *stream, void *resblock) - { - /* Important: BLOCKSIZE must be a multiple of 64. */ - #define BLOCKSIZE 4096 -@@ -165,10 +163,7 @@ md5_stream (stream, resblock) - output yields to the wanted ASCII representation of the message - digest. */ - void * --md5_buffer (buffer, len, resblock) -- const char *buffer; -- size_t len; -- void *resblock; -+md5_buffer (const char *buffer, size_t len, void *resblock) - { - struct md5_ctx ctx; - -@@ -189,9 +184,8 @@ md5_buffer (buffer, len, resblock) - - /* Initialize structure containing state of computation. - (RFC 1321, 3.3: Step 3) */ --static void --md5_init_ctx (ctx) -- struct md5_ctx *ctx; -+static void -+md5_init_ctx (struct md5_ctx *ctx) - { - ctx->A = 0x67452301; - ctx->B = 0xefcdab89; -@@ -208,9 +202,7 @@ md5_init_ctx (ctx) - IMPORTANT: On some systems it is required that RESBUF is correctly - aligned for a 32 bits value. */ - static void * --md5_read_ctx (ctx, resbuf) -- const struct md5_ctx *ctx; -- void *resbuf; -+md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) - { - u8 *rb = resbuf; - u32 v; -@@ -241,9 +233,7 @@ md5_read_ctx (ctx, resbuf) - IMPORTANT: On some systems it is required that RESBUF is correctly - aligned for a 32 bits value. */ - static void * --md5_finish_ctx (ctx, resbuf) -- struct md5_ctx *ctx; -- void *resbuf; -+md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) - { - /* Take yet unprocessed bytes into account. */ - u32 bytes = ctx->buflen; -@@ -277,11 +267,8 @@ md5_finish_ctx (ctx, resbuf) - return md5_read_ctx (ctx, resbuf); - } - --static void --md5_process_bytes (buffer, len, ctx) -- const void *buffer; -- size_t len; -- struct md5_ctx *ctx; -+static void -+md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) - { - /* When we already have some bits in our internal buffer concatenate - both inputs first. */ -@@ -334,11 +321,8 @@ md5_process_bytes (buffer, len, ctx) - /* Process LEN bytes of BUFFER, accumulating context into CTX. - It is assumed that LEN % 64 == 0. */ - --static void --md5_process_block (buffer, len, ctx) -- const void *buffer; -- size_t len; -- struct md5_ctx *ctx; -+static void -+md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) - { - u32 correct_words[16]; - const u8 *words = buffer; ---- a/ui/main.c -+++ b/ui/main.c -@@ -31,7 +31,7 @@ boolean temporary_prefix = FALSE; - - const char *EDITOR = NULL; - --static void signal_handler(); -+static void signal_handler(int signum); - - int main(int argc, char **argv) { - newspost_data main_data; -@@ -159,7 +159,7 @@ int main(int argc, char **argv) { - tmpdir_ptr = main_data.tmpdir; - - if ((main_data.text == TRUE) && (file_list == NULL)) { -- file_data = file_entry_alloc(file_data); -+ file_data = file_entry_alloc(); - file_data->filename = buff_create(file_data->filename, - "%s/message", main_data.tmpdir->data); - command = buff_create(command, "%s %s", -@@ -324,7 +324,7 @@ int main(int argc, char **argv) { - } - } - --static void signal_handler() { -+static void signal_handler(int signum) { - Buff *command = NULL; - - fprintf(stderr, "\nSignal received"); ---- a/ui/options.c -+++ b/ui/options.c -@@ -890,7 +890,8 @@ void check_options(newspost_data *data) { - exit(EXIT_BAD_HEADER_LINE); - } - --void print_help() { -+void -+print_help (void) { - version_info(); - printf("\n\nUsage: newspost [OPTIONS [ARGUMENTS]]" - " file1 file2 file3..."); -@@ -1123,7 +1124,8 @@ static void parse_delay_option(const char *option) { - post_delay = 3; - } - --static void version_info() { -+static void -+version_info (void) { - printf("\n" NEWSPOSTNAME " version " VERSION - "\nCopyright (C) 2001 - 2003 Jim Faulkner" - "\nThis is free software; see the source for" ---- a/ui/ui.c -+++ b/ui/ui.c -@@ -52,7 +52,8 @@ void ui_tmpdir_create_failed(const char *dirname, int error) { - dirname, strerror(error)); - } - --void ui_sfv_gen_start() { -+void -+ui_sfv_gen_start (void) { - printf("\nGenerating SFV file..."); - fflush(stdout); - } -@@ -68,12 +69,14 @@ void ui_sfv_gen_error(const char *filename, int error) { - (error == 0) ? strerror(error) : "", filename); - } - --void ui_crc_start() { -+void -+ui_crc_start (void) { - printf("\nCalculating CRCs..."); - fflush(stdout); - } - --void ui_crc_done() { -+void -+ui_crc_done (void) { - printf(" done"); - fflush(stdout); - } -@@ -84,12 +87,14 @@ void ui_crc_error(const char *filename, int error) { - (error == 0) ? strerror(error) : "", filename); - } - --void ui_par_gen_start() { -+void -+ui_par_gen_start (void) { - printf("\nAdding files to PAR archive..."); - fflush(stdout); - } - --void ui_par_gen_error() { -+void -+ui_par_gen_error (void) { - fprintf(stderr, - "\nWARNING: Error while creating PAR files"); - } -@@ -99,7 +104,8 @@ void ui_par_file_add_done(const char *filename) { - fflush(stdout); - } - --void ui_par_volume_create_start() { -+void -+ui_par_volume_create_start (void) { - printf("\nCreating PAR volumes..."); - fflush(stdout); - } -@@ -244,7 +250,8 @@ void ui_socket_connect_start(const char *servername) { - } - } - --void ui_socket_connect_done() { -+void -+ui_socket_connect_done (void) { - if (verbosity == TRUE) { - printf(" done."); - fflush(stdout); -@@ -258,7 +265,8 @@ void ui_nntp_logon_start(const char *servername) { - } - } - --void ui_nntp_logon_done() { -+void -+ui_nntp_logon_done (void) { - if (verbosity == TRUE) { - printf(" done.\n"); - fflush(stdout); -@@ -300,7 +308,8 @@ void ui_posting_prefix_start(const char *filename) { - fflush(stdout); - } - --void ui_posting_prefix_done() { -+void -+ui_posting_prefix_done (void) { - files_posted++; - printf(" done.\n"); - fflush(stdout); -@@ -308,7 +317,8 @@ void ui_posting_prefix_done() { - - /* when the prefix does not get posted - i.e. is the prefix a text file? */ --void ui_posting_prefix_failed() { -+void -+ui_posting_prefix_failed (void) { - fprintf(stderr, - "\nWARNING: Posting failed. Is it really a text file?"); - } -@@ -404,7 +414,8 @@ void ui_nntp_posting_failed(const char *response) { - "\nWARNING: Posting failed: %s", response); - } - --void ui_nntp_posting_retry() { -+void -+ui_nntp_posting_retry (void) { - fprintf(stderr, - "Retrying"); - } -@@ -490,11 +501,13 @@ void ui_posting_file_start(newspost_data *data, file_entry *filedata, - fflush(stdout); - } - --void ui_posting_file_done() { -+void -+ui_posting_file_done (void) { - files_posted++; - } - --void ui_post_done() { -+void -+ui_post_done (void) { - time_t totaltime = (time(NULL) - start_time); - long totalbps; - -@@ -525,7 +538,8 @@ void ui_generic_error(int error) { - "\nWARNING: %s", strerror(error)); - } - --void ui_too_many_failures() { -+void -+ui_too_many_failures (void) { - fprintf(stderr, "\nToo many failures." - "\nGiving up.\n"); - exit(EXIT_POSTING_FAILED); diff --git a/net-nntp/newspost/files/newspost-2.1.1-glibc-2.10.patch b/net-nntp/newspost/files/newspost-2.1.1-glibc-2.10.patch deleted file mode 100644 index 8778ab41c253..000000000000 --- a/net-nntp/newspost/files/newspost-2.1.1-glibc-2.10.patch +++ /dev/null @@ -1,53 +0,0 @@ ---- a/base/newspost.c -+++ b/base/newspost.c -@@ -342,7 +342,7 @@ - file = fopen(filename, "r"); - if (file != NULL) { - while (!feof(file)) { -- line = getline(line, file); -+ line = get_line(line, file); - if(line == NULL){ - text_buffer = buff_add(text_buffer, "\r\n"); - continue; ---- a/base/utils.c -+++ b/base/utils.c -@@ -43,7 +43,7 @@ - return NULL; - } - --Buff * getline(Buff *buff, FILE *file){ -+Buff * get_line(Buff *buff, FILE *file){ - int c = fgetc(file); - buff = buff_free(buff); - while(TRUE){ ---- a/base/utils.h -+++ b/base/utils.h -@@ -26,7 +26,7 @@ - file_entry * file_entry_alloc(); - file_entry * file_entry_free(file_entry *fe); - --Buff * getline(Buff *buff, FILE *file); -+Buff * get_line(Buff *buff, FILE *file); - Buff *buff_add(Buff *buff, char *data, ... ); - Buff * buff_free(Buff *buff); - Buff *buff_create(Buff *buff, char *data, ... ); ---- a/ui/options.c -+++ b/ui/options.c -@@ -332,7 +332,7 @@ - file = fopen(filename->data, "r"); - if (file != NULL) { - while (!feof(file)) { -- line = getline(line, file); -+ line = get_line(line, file); - linenum++; - if(line == NULL) continue; - -@@ -429,7 +429,7 @@ - linenum = 0; - while (linenum < 8) { - linenum++; -- line = getline(line, file); -+ line = get_line(line, file); - if(line == NULL) continue; - - switch (linenum) { diff --git a/net-nntp/newspost/files/newspost-2.1.1-nntp.patch b/net-nntp/newspost/files/newspost-2.1.1-nntp.patch deleted file mode 100644 index 7482d6203e0e..000000000000 --- a/net-nntp/newspost/files/newspost-2.1.1-nntp.patch +++ /dev/null @@ -1,69 +0,0 @@ ---- a/base/nntp.c -+++ b/base/nntp.c -@@ -26,6 +26,10 @@ - *** Public Routines - **/ - -+int _nntp_post(const char *subject, newspost_data *data, -+ const char *buffer, long length, -+ boolean no_ui_updates); -+ - boolean nntp_logon(newspost_data *data) { - char buffer[STRING_BUFSIZE]; - -@@ -78,6 +82,35 @@ - int nntp_post(const char *subject, newspost_data *data, - const char *buffer, long length, - boolean no_ui_updates) { -+ int retval = _nntp_post(subject, data, buffer, length, no_ui_updates); -+ -+ if (retval == POSTING_FAILED-64) { -+ /* try log out then back in */ -+ ui_nntp_posting_retry(); -+ nntp_logoff(); -+ socket_close(); -+ sleep(5); -+ -+ /* create the socket */ -+ ui_socket_connect_start(data->address->data); -+ retval = socket_create(data->address->data, data->port); -+ if (retval < 0) -+ return retval; -+ ui_socket_connect_done(); -+ -+ ui_nntp_logon_start(data->address->data); -+ if (nntp_logon(data) == FALSE) -+ return POSTING_FAILED; -+ ui_nntp_logon_done(); -+ -+ retval = _nntp_post(subject, data, buffer, length, no_ui_updates); -+ } -+ return retval; -+} -+ -+int _nntp_post(const char *subject, newspost_data *data, -+ const char *buffer, long length, -+ boolean no_ui_updates) { - char response[STRING_BUFSIZE]; - const char *pi; - long i, chunksize; -@@ -95,7 +128,7 @@ - if (strncmp(response, NNTP_PROCEED_WITH_POST, 3) != 0) { - /* this shouldn't really happen */ - ui_nntp_unknown_response(response); -- return POSTING_FAILED; -+ return POSTING_FAILED-64; - } - - buff = buff_add(buff, "From: %s\r\n", data->from->data); ---- a/base/utils.c -+++ b/base/utils.c -@@ -44,7 +44,7 @@ - } - - Buff * getline(Buff *buff, FILE *file){ -- char c = fgetc(file); -+ int c = fgetc(file); - buff = buff_free(buff); - while(TRUE){ - if((c == '\n') diff --git a/net-nntp/newspost/metadata.xml b/net-nntp/newspost/metadata.xml deleted file mode 100644 index 85e4ed814fa2..000000000000 --- a/net-nntp/newspost/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> -</pkgmetadata> diff --git a/net-nntp/newspost/newspost-2.1.1-r3.ebuild b/net-nntp/newspost/newspost-2.1.1-r3.ebuild deleted file mode 100644 index f469d278ca68..000000000000 --- a/net-nntp/newspost/newspost-2.1.1-r3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="usenet binary autoposter for unix" -HOMEPAGE="http://newspost.unixcab.org/" -SRC_URI="http://newspost.unixcab.org/download/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" - -PATCHES=( - # Should fix some problems with unexpected server replies, cf. bug 185468 - "${FILESDIR}"/${P}-nntp.patch - "${FILESDIR}"/CAN-2005-0101.patch - "${FILESDIR}"/${P}-glibc-2.10.patch - "${FILESDIR}"/${P}-c23.patch -) - -src_prepare() { - default - - sed -e "/-strip newspost/d" -i Makefile || die -} - -src_compile() { - emake CC="$(tc-getCC)" LIBS="${LDFLAGS}" main -} - -src_install() { - dobin newspost - doman man/man1/newspost.1 - dodoc CHANGES README -} diff --git a/net-nntp/nzb-monkey-go/Manifest b/net-nntp/nzb-monkey-go/Manifest deleted file mode 100644 index 387b6ed793da..000000000000 --- a/net-nntp/nzb-monkey-go/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -DIST nzb-monkey-go-0.2.1-deps.tar.xz 20948748 BLAKE2B 89ac641de7988a86f1fd67f676f3cdeb95e8985b3e41225a0830aa0ba54e9d89d9a5db3d77a9870cd683496bd80b35553b95124d3b0ed664873aaddfad358e68 SHA512 6e37fd47e4edad6aaba0e72e4dc50a37de82eaffeda3276cb127faa4e24d8e1e050e9c41acb9bfb03992680f2ddb5b46af62bd51ef741677e8a89c7bb71e4dda -DIST nzb-monkey-go-0.2.1.tar.gz 608279 BLAKE2B eca485b8574fbb4caa486c46926f475103f8ce76b1585c9e166544c63d6b399b285de06cf0ea2924b6f022542bf879b24cc83707e7b490048af290a4bf350d23 SHA512 589ab48b4520cefd22bf27b62bbf1a1cea33f092722c8b78b7d2a684994feba6607a3d8020786994f651fc8e182e9b092a18f38390e6a9dd6cac594a837868bf -DIST nzb-monkey-go-0.3.0-deps.tar.xz 20977468 BLAKE2B 156b9bd898339001d85b40c03955f06afe1f3ed1594ac3f7167ff427af0cefd38f7490bb4eb1a187854a0c0d163c9e9047d4bb777fefc5c9348754a2ff4982ac SHA512 2c45c3b3e13972eaa4d47d8dfc5fc815e6560bb692eeadf07e055436220246d5fc17363cad887ac38d22818460878c1a0cfebb39d1aeaa6889c7a018c33b07ca -DIST nzb-monkey-go-0.3.0.tar.gz 610199 BLAKE2B 37a304034001b9e42c2afccbeb9dce6b62d4b149e58c4bc22954b261e09f2d0d7d136f527dde370a8c1a9606f3ccfdae2594fe32dc39fa9afd73267e17769c9f SHA512 a02f70751c36f1c248ac209509a8e7deebd815c94c86ec4ea3fc8ede267317773374ebcaadd7f1db9e0d5aac22774a14c92ac60318987b5e7d2ef07e2925e815 -DIST nzb-monkey-go-0.3.1-deps.tar.xz 20984884 BLAKE2B 2ae27b2ca934504e35de9b84cacf0cc3d81b785439c879219f55948f06c94fa588ac2f41bde35f363dfb48b8088c88a5f4918bf293987badadd72a6f453c9240 SHA512 02892b9a491ac35db6435b06fd5184817b803b18268bd26c34b09fea05b24e016ed31301a773407ba039ec150087c2c941fd237a3a874225c2b280c69ee0d6e3 -DIST nzb-monkey-go-0.3.1.tar.gz 610565 BLAKE2B c9a832c0c8fd613d4b28696b4fdbbdf7478d204d2bab1d355ed5dbc2da2618ce82edd70f3c4d615b6c4956334597dc25b95abb8bc7fd13f100a7c629ddd4000c SHA512 5ad8f8d65fc929f3cbb5c6a91ca51eb65fa884532eb0b22b2ebc8c3a9af1290254cead81a08d9a114b3cd36138474dfad65ae2a915d5c204ed6bb2d4b045d619 -DIST nzb-monkey-go-0.3.3-deps.tar.xz 19141220 BLAKE2B 3a5b07b501ec54ab980920c7d79c6b7fcde7bea13f04e6fdb051b34c91924e1816c952dca0f14ea52c7469ef390ff50e4fc33f04f8dd0e2656fbdc5208be986f SHA512 1fdfffdc77fa886ee232c4df5a50eb386d957f95a46a8591227d046f58b7a08ea2e19c7b6a55aba929b4f59929293be16b273ba5f2a2dac72cbb3c09b9ab60d9 -DIST nzb-monkey-go-0.3.3.tar.gz 611081 BLAKE2B 0b74011a3e1f7466c7ff3687c061124cde007a43b54a4f9d6a33e29d60e539a218c38668ab2561045b4d01e6db2b89360ced1f14876bd879325f2415e5745d32 SHA512 4d9fbde1a7d55e546847fd18c16ce24eb04d59a4c809a5cc1950b7d3ff4f4803c4a287420a35ec758fc9224d0d11663827706af925754bf3f537c0e9fc9c5453 diff --git a/net-nntp/nzb-monkey-go/metadata.xml b/net-nntp/nzb-monkey-go/metadata.xml deleted file mode 100644 index b55df338ca37..000000000000 --- a/net-nntp/nzb-monkey-go/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>sighunter@gmx.de</email> - <name>Sebastian Engel</name> - </maintainer> - <upstream> - <remote-id type="github">Tensai75/nzb-monkey-go</remote-id> - </upstream> - <longdescription> - nzb-monkey-go is a Golang rewrite of the NZB Monkey, the reference - implementation of how to handle a NZBLNK-URI. nzb-monkey-go also includes - the NZBSearcher functionality, so besides the nzb search engines it can - also search directly on the news server and create the NZB file from the - article headers. - </longdescription> -</pkgmetadata> diff --git a/net-nntp/nzb-monkey-go/nzb-monkey-go-0.2.1.ebuild b/net-nntp/nzb-monkey-go/nzb-monkey-go-0.2.1.ebuild deleted file mode 100644 index 22917d65fb70..000000000000 --- a/net-nntp/nzb-monkey-go/nzb-monkey-go-0.2.1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module - -DESCRIPTION="Golang version of the NZB Monkey with included NZB direct search" -HOMEPAGE="https://github.com/Tensai75/nzb-monkey-go" -SRC_URI=" - https://github.com/Tensai75/nzb-monkey-go/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://gitlab.com/api/v4/projects/64330835/packages/generic/${PN}/${PV}/${P}-deps.tar.xz -" - -LICENSE="MIT" -# vendored licenses -LICENSE+=" Apache-2.0 BSD BSD-2 MIT" -SLOT="0" -KEYWORDS="~amd64" - -src_compile() { - ego build -ldflags="-X main.appVersion=${PV}" -} - -src_install() { - dobin nzb-monkey-go - einstalldocs -} diff --git a/net-nntp/nzb-monkey-go/nzb-monkey-go-0.3.0.ebuild b/net-nntp/nzb-monkey-go/nzb-monkey-go-0.3.0.ebuild deleted file mode 100644 index 22917d65fb70..000000000000 --- a/net-nntp/nzb-monkey-go/nzb-monkey-go-0.3.0.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module - -DESCRIPTION="Golang version of the NZB Monkey with included NZB direct search" -HOMEPAGE="https://github.com/Tensai75/nzb-monkey-go" -SRC_URI=" - https://github.com/Tensai75/nzb-monkey-go/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://gitlab.com/api/v4/projects/64330835/packages/generic/${PN}/${PV}/${P}-deps.tar.xz -" - -LICENSE="MIT" -# vendored licenses -LICENSE+=" Apache-2.0 BSD BSD-2 MIT" -SLOT="0" -KEYWORDS="~amd64" - -src_compile() { - ego build -ldflags="-X main.appVersion=${PV}" -} - -src_install() { - dobin nzb-monkey-go - einstalldocs -} diff --git a/net-nntp/nzb-monkey-go/nzb-monkey-go-0.3.1.ebuild b/net-nntp/nzb-monkey-go/nzb-monkey-go-0.3.1.ebuild deleted file mode 100644 index 22917d65fb70..000000000000 --- a/net-nntp/nzb-monkey-go/nzb-monkey-go-0.3.1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module - -DESCRIPTION="Golang version of the NZB Monkey with included NZB direct search" -HOMEPAGE="https://github.com/Tensai75/nzb-monkey-go" -SRC_URI=" - https://github.com/Tensai75/nzb-monkey-go/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://gitlab.com/api/v4/projects/64330835/packages/generic/${PN}/${PV}/${P}-deps.tar.xz -" - -LICENSE="MIT" -# vendored licenses -LICENSE+=" Apache-2.0 BSD BSD-2 MIT" -SLOT="0" -KEYWORDS="~amd64" - -src_compile() { - ego build -ldflags="-X main.appVersion=${PV}" -} - -src_install() { - dobin nzb-monkey-go - einstalldocs -} diff --git a/net-nntp/nzb-monkey-go/nzb-monkey-go-0.3.3-r1.ebuild b/net-nntp/nzb-monkey-go/nzb-monkey-go-0.3.3-r1.ebuild deleted file mode 100644 index 19e1f74b84c7..000000000000 --- a/net-nntp/nzb-monkey-go/nzb-monkey-go-0.3.3-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module - -DESCRIPTION="Golang version of the NZB Monkey with included NZB direct search" -HOMEPAGE="https://github.com/Tensai75/nzb-monkey-go" -SRC_URI=" - https://github.com/Tensai75/nzb-monkey-go/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://gitlab.com/api/v4/projects/64330835/packages/generic/${PN}/${PV}/${P}-deps.tar.xz -" - -LICENSE="MIT" -# vendored licenses -LICENSE+=" Apache-2.0 BSD BSD-2 MIT" -SLOT="0" -KEYWORDS="~amd64" - -BDEPEND=">=dev-lang/go-1.25.0" - -src_compile() { - ego build -ldflags="-X main.appVersion=${PV}" -} - -src_install() { - dobin nzb-monkey-go - einstalldocs -} diff --git a/net-nntp/nzb-monkey-go/nzb-monkey-go-0.3.3.ebuild b/net-nntp/nzb-monkey-go/nzb-monkey-go-0.3.3.ebuild deleted file mode 100644 index 22917d65fb70..000000000000 --- a/net-nntp/nzb-monkey-go/nzb-monkey-go-0.3.3.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module - -DESCRIPTION="Golang version of the NZB Monkey with included NZB direct search" -HOMEPAGE="https://github.com/Tensai75/nzb-monkey-go" -SRC_URI=" - https://github.com/Tensai75/nzb-monkey-go/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://gitlab.com/api/v4/projects/64330835/packages/generic/${PN}/${PV}/${P}-deps.tar.xz -" - -LICENSE="MIT" -# vendored licenses -LICENSE+=" Apache-2.0 BSD BSD-2 MIT" -SLOT="0" -KEYWORDS="~amd64" - -src_compile() { - ego build -ldflags="-X main.appVersion=${PV}" -} - -src_install() { - dobin nzb-monkey-go - einstalldocs -} diff --git a/net-nntp/nzbget/Manifest b/net-nntp/nzbget/Manifest deleted file mode 100644 index 5e184c18073b..000000000000 --- a/net-nntp/nzbget/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -DIST nzbget-25.0.tar.gz 7315774 BLAKE2B af116e68bd716402b5c55becf0d9ea89e959ddb0dd4f6359ac315a8d489d9351954b17784bdfd5bf134abe602a7a24574d74d2744f5d89f59c7e87dcea10db8b SHA512 0e265af8e20d2de585698750dd42ea84f7001f74b8ffab22929de4face27ed49ba64ef72afa167f0cca4e5db7f6bd6b5d2f4194e5311ffcbda39e613f7643450 -DIST nzbget-25.4.tar.gz 7333569 BLAKE2B ee4a70790a39b366bb3b023106fad92b1817a5a27947f66f24097d74a587093a628462d83c588edbc7cdc11e65a653f006537be7cb87342111dab1da2cab2920 SHA512 d60967b911d186c9e189ade9011c222852fc633094fff66002430139bef8795bd06d5e54220e81b402da6f7b2b87dae4767a58854098c92bc89844d2ee2baa5e -DIST nzbget-26.0.tar.gz 7386372 BLAKE2B 189554c285da93521495041461dd4b4ad9fae302a6ecddfe65b060ae93e19d658db3475bd9991dcf264592d5f3d2a738f374a01191b3c035bbb8c810c0694ddb SHA512 9cac3a6f1a43e9d0879c44764288a088e8404fcd939acff8a441e83934ea310405835cd0ea381f822f0c078cfc2876f364f55fd72167213d667b15510719cea3 -DIST nzbget-26.1.tar.gz 7369685 BLAKE2B 59c28b53992c4e6109023f5b89ad1351df23bfd0d638ba77af09d876bb2f1db7ae54f1f128181a2e430e39e0403a632622ad8abcabbd8ee3136bc22ba7805373 SHA512 2060de94a75c0d9e73a4473a987c95b32134ab548b5064f5b2fd08ea0abc63f3788a159120584d447be7a6d9826319f7a465a79ca2ed6f782419abfc596c1f5b -DIST nzbgetcom-par2turbo-1.2.0-nzbget-20250213.tar.gz 3964785 BLAKE2B 049771c21a5febe453d2866eebca3a91c145f5b054f2dfa8226d0b5245753506c184f1ad7739bd76eaad0343e87bc0e7abc2830b3cedd6e459bef64f596e3853 SHA512 fdf639759361440fef6948a61391ad579070575a2d9a62a39b0e5ff87beb365d4baab2a56fffb672e78a2094748fbf0d17abc50144914e5fb5ffe432e9c02a9d -DIST nzbgetcom-par2turbo-1.3.0-20250808.tar.gz 3970409 BLAKE2B 5a851afa42c5540d49f7f5657ccdd47fa5ab45a2057075944b30d5cceabb5ef847984fe73cbdf849af2e98cc527d19dac9ac920ec481ae7802282af173f274bd SHA512 0bfdd05c5a7235a8ff1e7a6f46d852c3263141a80619496ebcdae227281729a6442029384aa498b268062717f40063a49d31c1b0d4b713ca6cb6ff15303dcfbe -DIST nzbgetcom-par2turbo-1.4.0-20260323.tar.gz 3998503 BLAKE2B 9fb7d20d6528c7f78b11640aa3d396352dd91426b69da919bf59ac8d965cef9fd270d84ce042592e0fb8e77525ef0df2e24e3804310ca75b9a67a011128119aa SHA512 8408425f62191f5ee8d8b7826052f3cead468d3e3f5a2e265c8f2ae295488231d675aa8327e3794734d75edcbeea156cff9f78e0415020e08aa272e21d739fc8 -DIST nzbgetcom-rapidyenc-1.1.1-20260217.tar.gz 116309 BLAKE2B 56c5ffcc965375b0ab893f18a8d44bc3aec7ef5735589fa5a42655c964a4fbbdab15595d6e295e51d4cf2883b7c08f00f94bc01d197424f37c22d2a467072a23 SHA512 7b5bc009c7e9ae273969c1ca6faf2537448b4fe35aa52d81841af082e104a831cfcb80534058a0ca905dd47e528d708b21e786bf83470d374e824a40a7ebef5e diff --git a/net-nntp/nzbget/files/nzbget-24.6-build-with-par2-turbo-offline.patch b/net-nntp/nzbget/files/nzbget-24.6-build-with-par2-turbo-offline.patch deleted file mode 100644 index 462e05aa96b2..000000000000 --- a/net-nntp/nzbget/files/nzbget-24.6-build-with-par2-turbo-offline.patch +++ /dev/null @@ -1,17 +0,0 @@ -Patch the build system to support par2-turbo downloaded into the source -directory. ---- a/cmake/par2-turbo.cmake -+++ b/cmake/par2-turbo.cmake -@@ -42,11 +42,7 @@ endif() - ExternalProject_add( - par2-turbo - PREFIX par2-turbo -- GIT_REPOSITORY https://github.com/nzbgetcom/par2cmdline-turbo.git -- GIT_TAG v1.2.0-nzbget-20250213 -- TLS_VERIFY TRUE -- GIT_SHALLOW TRUE -- GIT_PROGRESS TRUE -+ URL par2-turbo - DOWNLOAD_EXTRACT_TIMESTAMP TRUE - BUILD_BYPRODUCTS ${PAR2_LIBS} - CMAKE_ARGS ${CMAKE_ARGS} diff --git a/net-nntp/nzbget/files/nzbget-25.3-build-with-par2-turbo-offline.patch b/net-nntp/nzbget/files/nzbget-25.3-build-with-par2-turbo-offline.patch deleted file mode 100644 index 4b6222f14ed0..000000000000 --- a/net-nntp/nzbget/files/nzbget-25.3-build-with-par2-turbo-offline.patch +++ /dev/null @@ -1,17 +0,0 @@ -Patch the build system to support par2-turbo downloaded into the source -directory. ---- a/cmake/par2-turbo.cmake -+++ b/cmake/par2-turbo.cmake -@@ -42,11 +42,7 @@ endif() - ExternalProject_add( - par2-turbo - PREFIX par2-turbo -- GIT_REPOSITORY https://github.com/nzbgetcom/par2cmdline-turbo.git -- GIT_TAG v1.3.0-20250808 -- TLS_VERIFY TRUE -- GIT_SHALLOW TRUE -- GIT_PROGRESS TRUE -+ URL par2-turbo - DOWNLOAD_EXTRACT_TIMESTAMP TRUE - BUILD_BYPRODUCTS ${PAR2_LIBS} - CMAKE_ARGS ${CMAKE_ARGS} diff --git a/net-nntp/nzbget/files/nzbget-26.0-fix-include-order.patch b/net-nntp/nzbget/files/nzbget-26.0-fix-include-order.patch deleted file mode 100644 index 654b6a46377e..000000000000 --- a/net-nntp/nzbget/files/nzbget-26.0-fix-include-order.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 063e1cd82ee719b18a1dae40f65c0971de44edef Mon Sep 17 00:00:00 2001 -From: Louis Sautier <sautier.louis@gmail.com> -Date: Sun, 15 Feb 2026 19:29:04 +0100 -Subject: [PATCH] Fix missing nzbget.h includes causing compilation errors - (#736) - ---- a/daemon/queue/UrlCoordinator.cpp -+++ b/daemon/queue/UrlCoordinator.cpp -@@ -18,9 +18,8 @@ - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ - -- --#include "Unpack.h" - #include "nzbget.h" -+#include "Unpack.h" - - #include "UrlCoordinator.h" - #include "Options.h" ---- a/daemon/systemhealth/PathsValidator.cpp -+++ b/daemon/systemhealth/PathsValidator.cpp -@@ -17,6 +17,7 @@ - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ - -+#include "nzbget.h" - #include "Options.h" - #include "Status.h" - #include "Validators.h" diff --git a/net-nntp/nzbget/files/nzbget-26.1-build-with-par2-turbo-offline.patch b/net-nntp/nzbget/files/nzbget-26.1-build-with-par2-turbo-offline.patch deleted file mode 100644 index 1d7322862765..000000000000 --- a/net-nntp/nzbget/files/nzbget-26.1-build-with-par2-turbo-offline.patch +++ /dev/null @@ -1,17 +0,0 @@ -Patch the build system to support par2-turbo downloaded into the source -directory. ---- a/cmake/par2-turbo.cmake -+++ b/cmake/par2-turbo.cmake -@@ -42,11 +42,7 @@ endif() - ExternalProject_add( - par2-turbo - PREFIX par2-turbo -- GIT_REPOSITORY https://github.com/nzbgetcom/par2cmdline-turbo.git -- GIT_TAG v1.4.0-20260323 -- TLS_VERIFY TRUE -- GIT_SHALLOW TRUE -- GIT_PROGRESS TRUE -+ URL par2-turbo - DOWNLOAD_EXTRACT_TIMESTAMP TRUE - BUILD_BYPRODUCTS ${PAR2_LIBS} - CMAKE_ARGS ${CMAKE_ARGS} diff --git a/net-nntp/nzbget/files/nzbget-26.1-build-with-rapidyenc-offline.patch b/net-nntp/nzbget/files/nzbget-26.1-build-with-rapidyenc-offline.patch deleted file mode 100644 index c4e6b5e27119..000000000000 --- a/net-nntp/nzbget/files/nzbget-26.1-build-with-rapidyenc-offline.patch +++ /dev/null @@ -1,17 +0,0 @@ -Patch the build system to support rapidyenc downloaded into the source -directory. ---- a/cmake/rapidyenc.cmake -+++ b/cmake/rapidyenc.cmake -@@ -49,11 +49,7 @@ endif() - ExternalProject_add( - rapidyenc - PREFIX rapidyenc -- GIT_REPOSITORY https://github.com/nzbgetcom/rapidyenc.git -- GIT_TAG v1.1.1-20260217 -- TLS_VERIFY TRUE -- GIT_SHALLOW TRUE -- GIT_PROGRESS TRUE -+ URL rapidyenc - DOWNLOAD_EXTRACT_TIMESTAMP TRUE - BUILD_BYPRODUCTS ${RAPIDYENC_LIBS} - CMAKE_ARGS ${CMAKE_ARGS} diff --git a/net-nntp/nzbget/files/nzbget-26.1-fix-include-order.patch b/net-nntp/nzbget/files/nzbget-26.1-fix-include-order.patch deleted file mode 100644 index d6d3c0a1375d..000000000000 --- a/net-nntp/nzbget/files/nzbget-26.1-fix-include-order.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix missing nzbget.h include before other headers in Cleanup.cpp, ---- a/daemon/postprocess/Cleanup.cpp -+++ b/daemon/postprocess/Cleanup.cpp -@@ -19,8 +19,8 @@ - */ - - --#include "DownloadInfo.h" - #include "nzbget.h" -+#include "DownloadInfo.h" - #include "Cleanup.h" - #include "Log.h" - #include "Util.h" diff --git a/net-nntp/nzbget/files/nzbget.confd b/net-nntp/nzbget/files/nzbget.confd deleted file mode 100644 index ee8f38c1aefd..000000000000 --- a/net-nntp/nzbget/files/nzbget.confd +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# /etc/conf.d/nzbget -# Config file for nzbget init script - -# Which user to run nzbget as -NZBGET_USER="nzbget" -NZBGET_GROUP="nzbget" - -# Location of config file -NZBGET_CONFIGFILE="/etc/nzbgetd.conf" - -# Other options -NZBGET_OPTS="" diff --git a/net-nntp/nzbget/files/nzbget.initd-r1 b/net-nntp/nzbget/files/nzbget.initd-r1 deleted file mode 100644 index 2a9fae6c32b4..000000000000 --- a/net-nntp/nzbget/files/nzbget.initd-r1 +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_started_commands="reload" - -description="A command-line based binary newsgrabber supporting .nzb files" -pidfile=/run/nzbget/nzbget.pid -command=/usr/bin/nzbget -command_args="--configfile \"${NZBGET_CONFIGFILE}\" \ - --daemon --option LockFile=${pidfile} \ - ${NZBGET_OPTS}" -start_stop_daemon_args="--user \"${NZBGET_USER}\" \ - --group \"${NZBGET_GROUP}\"" - -depend() { - need localmount net -} - -start_pre() { - checkpath -d -m 0755 -o "${NZBGET_USER}":"${NZBGET_GROUP}" /run/nzbget -} - -reload() { - ebegin "Reloading ${RC_SVCNAME}" - ${command} --configfile "${NZBGET_CONFIGFILE}" --reload >/dev/null - eend $? -} diff --git a/net-nntp/nzbget/files/nzbget.service b/net-nntp/nzbget/files/nzbget.service deleted file mode 100644 index 031307e3efa4..000000000000 --- a/net-nntp/nzbget/files/nzbget.service +++ /dev/null @@ -1,18 +0,0 @@ -[Unit] -Description=NZBGet binary newsgrabber -Documentation=https://nzbget.net/Documentation -After=network.target - -[Service] -User=nzbget -Group=nzbget -Type=forking -PIDFile=/run/nzbget/nzbget.pid -RuntimeDirectory=nzbget -RuntimeDirectoryMode=0755 -ExecStart=/usr/bin/nzbget -c /etc/nzbgetd.conf -o LockFile=/run/nzbget/nzbget.pid -D -ExecStop=/usr/bin/nzbget -c /etc/nzbgetd.conf -Q -ExecReload=/usr/bin/nzbget -c /etc/nzbgetd.conf -O - -[Install] -WantedBy=multi-user.target diff --git a/net-nntp/nzbget/metadata.xml b/net-nntp/nzbget/metadata.xml deleted file mode 100644 index 800bfff4a254..000000000000 --- a/net-nntp/nzbget/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>swegener@gentoo.org</email> - <name>Sven Wegener</name> - </maintainer> - <maintainer type="person"> - <email>sbraz@gentoo.org</email> - <name>Louis Sautier</name> - </maintainer> - <use> - <flag name="parcheck">Enable support for checking PAR archives</flag> - </use> - <upstream> - <remote-id type="github">nzbgetcom/nzbget</remote-id> - <bugs-to>https://github.com/nzbgetcom/nzbget/issues</bugs-to> - </upstream> -</pkgmetadata> diff --git a/net-nntp/nzbget/nzbget-25.0.ebuild b/net-nntp/nzbget/nzbget-25.0.ebuild deleted file mode 100644 index 07a9a0d2b3db..000000000000 --- a/net-nntp/nzbget/nzbget-25.0.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake systemd - -PAR2_TURBO_VER="1.2.0-nzbget-20250213" -DESCRIPTION="A command-line based binary newsgrabber supporting .nzb files" -HOMEPAGE="https://nzbget.com/" -SRC_URI=" - parcheck? ( - https://github.com/nzbgetcom/par2cmdline-turbo/archive/v${PAR2_TURBO_VER}.tar.gz - -> nzbgetcom-par2turbo-${PAR2_TURBO_VER}.tar.gz - ) - https://github.com/nzbgetcom/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 arm ~arm64 ppc x86" -IUSE="ncurses +parcheck ssl test zlib" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/boost:= - dev-libs/libxml2:= - ncurses? ( sys-libs/ncurses:0= ) - ssl? ( dev-libs/openssl:0=[-bindist(-)] ) - zlib? ( virtual/zlib:= )" -RDEPEND=" - ${DEPEND} - acct-user/nzbget - acct-group/nzbget -" -BDEPEND=" - test? ( - || ( - app-arch/rar - app-arch/unrar - ) - ) - virtual/pkgconfig -" - -DOCS=( ChangeLog.md README.md nzbget.conf ) - -PATCHES=( - # Required to use par2-turbo downloaded into the source directory - "${FILESDIR}/${PN}-24.6-build-with-par2-turbo-offline.patch" -) - -src_prepare() { - if use parcheck; then - mv "${WORKDIR}/par2cmdline-turbo-${PAR2_TURBO_VER}" par2-turbo || die - fi - cmake_src_prepare - - # Update the main configuration file with the correct paths - sed -i nzbget.conf \ - -e "s:^WebDir=.*:WebDir=${EPREFIX}/usr/share/nzbget/webui:" \ - -e "s:^ConfigTemplate=.*:ConfigTemplate=${EPREFIX}/usr/share/nzbget/nzbget.conf:" \ - || die - # Update the daemon-specific configuration file (used by the OpenRC and - # systemd services) - sed nzbget.conf > nzbgetd.conf \ - -e "s:^MainDir=.*:MainDir=${EPREFIX}/var/lib/nzbget:" \ - -e "s:^LogFile=.*:LogFile=${EPREFIX}/var/log/nzbget/nzbget.log:" \ - -e 's:^DaemonUsername=.*:DaemonUsername=nzbget:' \ - || die -} - -src_configure() { - local mycmakeargs=( - -DDISABLE_CURSES=$(usex !ncurses) - -DDISABLE_PARCHECK=$(usex !parcheck) - -DDISABLE_TLS=$(usex !ssl) - -DDISABLE_GZIP=$(usex !zlib) - -DENABLE_TESTS=$(usex test) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - insinto /etc - doins nzbget.conf - doins nzbgetd.conf - - # The configuration file's "ConfigTemplate" option points to this, we must - # make sure it exists as the Web UI reads it. It is not installed by - # default, see the "install-conf" target in cmake/install.cmake. - insinto /usr/share/nzbget - doins nzbget.conf - - keepdir /var/log/nzbget - - newinitd "${FILESDIR}"/nzbget.initd-r1 nzbget - newconfd "${FILESDIR}"/nzbget.confd nzbget - systemd_dounit "${FILESDIR}"/nzbget.service -} - -pkg_preinst() { - fowners nzbget:nzbget /var/log/nzbget - fperms 750 /var/log/nzbget - - fowners nzbget:nzbget /etc/nzbgetd.conf - fperms 640 /etc/nzbgetd.conf -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] ; then - elog - elog "Please add users that you want to be able to use the system-wide" - elog "nzbget daemon to the nzbget group. To access the daemon, run nzbget" - elog "with the --configfile /etc/nzbgetd.conf option." - elog - fi -} diff --git a/net-nntp/nzbget/nzbget-25.4.ebuild b/net-nntp/nzbget/nzbget-25.4.ebuild deleted file mode 100644 index 111265d01c9c..000000000000 --- a/net-nntp/nzbget/nzbget-25.4.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake systemd - -PAR2_TURBO_VER="1.3.0-20250808" -DESCRIPTION="A command-line based binary newsgrabber supporting .nzb files" -HOMEPAGE="https://nzbget.com/" -SRC_URI=" - parcheck? ( - https://github.com/nzbgetcom/par2cmdline-turbo/archive/v${PAR2_TURBO_VER}.tar.gz - -> nzbgetcom-par2turbo-${PAR2_TURBO_VER}.tar.gz - ) - https://github.com/nzbgetcom/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~ppc x86" -IUSE="ncurses +parcheck ssl test zlib" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/boost:= - dev-libs/libxml2:= - ncurses? ( sys-libs/ncurses:0= ) - ssl? ( dev-libs/openssl:0=[-bindist(-)] ) - zlib? ( virtual/zlib:= )" -RDEPEND=" - ${DEPEND} - acct-user/nzbget - acct-group/nzbget -" -BDEPEND=" - test? ( - || ( - app-arch/rar - app-arch/unrar - ) - ) - virtual/pkgconfig -" - -DOCS=( ChangeLog.md README.md nzbget.conf ) - -PATCHES=( - # Required to use par2-turbo downloaded into the source directory - "${FILESDIR}/${PN}-25.3-build-with-par2-turbo-offline.patch" -) - -src_prepare() { - if use parcheck; then - mv "${WORKDIR}/par2cmdline-turbo-${PAR2_TURBO_VER}" par2-turbo || die - fi - cmake_src_prepare - - # Update the main configuration file with the correct paths - sed -i nzbget.conf \ - -e "s:^WebDir=.*:WebDir=${EPREFIX}/usr/share/nzbget/webui:" \ - -e "s:^ConfigTemplate=.*:ConfigTemplate=${EPREFIX}/usr/share/nzbget/nzbget.conf:" \ - || die - # Update the daemon-specific configuration file (used by the OpenRC and - # systemd services) - sed nzbget.conf > nzbgetd.conf \ - -e "s:^MainDir=.*:MainDir=${EPREFIX}/var/lib/nzbget:" \ - -e "s:^LogFile=.*:LogFile=${EPREFIX}/var/log/nzbget/nzbget.log:" \ - -e 's:^DaemonUsername=.*:DaemonUsername=nzbget:' \ - || die -} - -src_configure() { - local mycmakeargs=( - -DDISABLE_CURSES=$(usex !ncurses) - -DDISABLE_PARCHECK=$(usex !parcheck) - -DDISABLE_TLS=$(usex !ssl) - -DDISABLE_GZIP=$(usex !zlib) - -DENABLE_TESTS=$(usex test) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - insinto /etc - doins nzbget.conf - doins nzbgetd.conf - - # The configuration file's "ConfigTemplate" option points to this, we must - # make sure it exists as the Web UI reads it. It is not installed by - # default, see the "install-conf" target in cmake/install.cmake. - insinto /usr/share/nzbget - doins nzbget.conf - - keepdir /var/log/nzbget - - newinitd "${FILESDIR}"/nzbget.initd-r1 nzbget - newconfd "${FILESDIR}"/nzbget.confd nzbget - systemd_dounit "${FILESDIR}"/nzbget.service -} - -pkg_preinst() { - fowners nzbget:nzbget /var/log/nzbget - fperms 750 /var/log/nzbget - - fowners nzbget:nzbget /etc/nzbgetd.conf - fperms 640 /etc/nzbgetd.conf -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] ; then - elog - elog "Please add users that you want to be able to use the system-wide" - elog "nzbget daemon to the nzbget group. To access the daemon, run nzbget" - elog "with the --configfile /etc/nzbgetd.conf option." - elog - fi -} diff --git a/net-nntp/nzbget/nzbget-26.0.ebuild b/net-nntp/nzbget/nzbget-26.0.ebuild deleted file mode 100644 index 9096b2ab21b4..000000000000 --- a/net-nntp/nzbget/nzbget-26.0.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake systemd - -PAR2_TURBO_VER="1.3.0-20250808" -DESCRIPTION="A command-line based binary newsgrabber supporting .nzb files" -HOMEPAGE="https://nzbget.com/" -SRC_URI=" - parcheck? ( - https://github.com/nzbgetcom/par2cmdline-turbo/archive/v${PAR2_TURBO_VER}.tar.gz - -> nzbgetcom-par2turbo-${PAR2_TURBO_VER}.tar.gz - ) - https://github.com/nzbgetcom/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" -IUSE="ncurses +parcheck ssl test zlib" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/boost:= - dev-libs/libxml2:= - ncurses? ( sys-libs/ncurses:0= ) - ssl? ( dev-libs/openssl:0=[-bindist(-)] ) - zlib? ( virtual/zlib:= )" -RDEPEND=" - ${DEPEND} - acct-user/nzbget - acct-group/nzbget -" -BDEPEND=" - test? ( - || ( - app-arch/rar - app-arch/unrar - ) - ) - virtual/pkgconfig -" - -DOCS=( ChangeLog.md README.md nzbget.conf ) - -PATCHES=( - # Required to use par2-turbo downloaded into the source directory - "${FILESDIR}/${PN}-25.3-build-with-par2-turbo-offline.patch" - # Backported from https://github.com/nzbgetcom/nzbget/commit/063e1cd82ee719b18a1dae40f65c0971de44edef - "${FILESDIR}/${P}-fix-include-order.patch" -) - -src_prepare() { - if use parcheck; then - mv "${WORKDIR}/par2cmdline-turbo-${PAR2_TURBO_VER}" par2-turbo || die - fi - cmake_src_prepare - - # Update the main configuration file with the correct paths - sed -i nzbget.conf \ - -e "s:^WebDir=.*:WebDir=${EPREFIX}/usr/share/nzbget/webui:" \ - -e "s:^ConfigTemplate=.*:ConfigTemplate=${EPREFIX}/usr/share/nzbget/nzbget.conf:" \ - || die - # Update the daemon-specific configuration file (used by the OpenRC and - # systemd services) - sed nzbget.conf > nzbgetd.conf \ - -e "s:^MainDir=.*:MainDir=${EPREFIX}/var/lib/nzbget:" \ - -e "s:^LogFile=.*:LogFile=${EPREFIX}/var/log/nzbget/nzbget.log:" \ - -e 's:^DaemonUsername=.*:DaemonUsername=nzbget:' \ - || die -} - -src_configure() { - local mycmakeargs=( - -DDISABLE_CURSES=$(usex !ncurses) - -DDISABLE_PARCHECK=$(usex !parcheck) - -DDISABLE_TLS=$(usex !ssl) - -DDISABLE_GZIP=$(usex !zlib) - -DENABLE_TESTS=$(usex test) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - insinto /etc - doins nzbget.conf - doins nzbgetd.conf - - # The configuration file's "ConfigTemplate" option points to this, we must - # make sure it exists as the Web UI reads it. It is not installed by - # default, see the "install-conf" target in cmake/install.cmake. - insinto /usr/share/nzbget - doins nzbget.conf - - keepdir /var/log/nzbget - - newinitd "${FILESDIR}"/nzbget.initd-r1 nzbget - newconfd "${FILESDIR}"/nzbget.confd nzbget - systemd_dounit "${FILESDIR}"/nzbget.service -} - -pkg_preinst() { - fowners nzbget:nzbget /var/log/nzbget - fperms 750 /var/log/nzbget - - fowners nzbget:nzbget /etc/nzbgetd.conf - fperms 640 /etc/nzbgetd.conf -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] ; then - elog - elog "Please add users that you want to be able to use the system-wide" - elog "nzbget daemon to the nzbget group. To access the daemon, run nzbget" - elog "with the --configfile /etc/nzbgetd.conf option." - elog - fi -} diff --git a/net-nntp/nzbget/nzbget-26.1.ebuild b/net-nntp/nzbget/nzbget-26.1.ebuild deleted file mode 100644 index d040e5ec3e61..000000000000 --- a/net-nntp/nzbget/nzbget-26.1.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake systemd - -PAR2_TURBO_VER="1.4.0-20260323" -RAPIDYENC_VER="1.1.1-20260217" -DESCRIPTION="A command-line based binary newsgrabber supporting .nzb files" -HOMEPAGE="https://nzbget.com/" -SRC_URI=" - parcheck? ( - https://github.com/nzbgetcom/par2cmdline-turbo/archive/v${PAR2_TURBO_VER}.tar.gz - -> nzbgetcom-par2turbo-${PAR2_TURBO_VER}.tar.gz - ) - https://github.com/nzbgetcom/rapidyenc/archive/v${RAPIDYENC_VER}.tar.gz - -> nzbgetcom-rapidyenc-${RAPIDYENC_VER}.tar.gz - https://github.com/nzbgetcom/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" -IUSE="ncurses +parcheck ssl test zlib" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/boost:= - dev-libs/libxml2:= - ncurses? ( sys-libs/ncurses:0= ) - ssl? ( dev-libs/openssl:0=[-bindist(-)] ) - zlib? ( virtual/zlib:= )" -RDEPEND=" - ${DEPEND} - acct-user/nzbget - acct-group/nzbget -" -BDEPEND=" - test? ( - || ( - app-arch/rar - app-arch/unrar - ) - ) - virtual/pkgconfig -" - -DOCS=( ChangeLog.md README.md nzbget.conf ) - -PATCHES=( - # Required to use par2-turbo downloaded into the source directory - "${FILESDIR}/${PN}-26.1-build-with-par2-turbo-offline.patch" - # Required to use rapidyenc downloaded into the source directory - "${FILESDIR}/${PN}-26.1-build-with-rapidyenc-offline.patch" - # Fix include order causing failures without precompiled headers, see - # https://github.com/nzbgetcom/nzbget/pull/782 - "${FILESDIR}/${PN}-26.1-fix-include-order.patch" -) - -src_prepare() { - if use parcheck; then - mv "${WORKDIR}/par2cmdline-turbo-${PAR2_TURBO_VER}" par2-turbo || die - fi - mv "${WORKDIR}/rapidyenc-${RAPIDYENC_VER}" rapidyenc || die - cmake_src_prepare - - # Update the main configuration file with the correct paths - sed -i nzbget.conf \ - -e "s:^WebDir=.*:WebDir=${EPREFIX}/usr/share/nzbget/webui:" \ - -e "s:^ConfigTemplate=.*:ConfigTemplate=${EPREFIX}/usr/share/nzbget/nzbget.conf:" \ - || die - # Update the daemon-specific configuration file (used by the OpenRC and - # systemd services) - sed nzbget.conf > nzbgetd.conf \ - -e "s:^MainDir=.*:MainDir=${EPREFIX}/var/lib/nzbget:" \ - -e "s:^LogFile=.*:LogFile=${EPREFIX}/var/log/nzbget/nzbget.log:" \ - -e 's:^DaemonUsername=.*:DaemonUsername=nzbget:' \ - || die -} - -src_configure() { - local mycmakeargs=( - -DDISABLE_CURSES=$(usex !ncurses) - -DDISABLE_PARCHECK=$(usex !parcheck) - -DDISABLE_TLS=$(usex !ssl) - -DDISABLE_GZIP=$(usex !zlib) - -DENABLE_TESTS=$(usex test) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - insinto /etc - doins nzbget.conf - doins nzbgetd.conf - - # The configuration file's "ConfigTemplate" option points to this, we must - # make sure it exists as the Web UI reads it. It is not installed by - # default, see the "install-conf" target in cmake/install.cmake. - insinto /usr/share/nzbget - doins nzbget.conf - - keepdir /var/log/nzbget - - newinitd "${FILESDIR}"/nzbget.initd-r1 nzbget - newconfd "${FILESDIR}"/nzbget.confd nzbget - systemd_dounit "${FILESDIR}"/nzbget.service -} - -pkg_preinst() { - fowners nzbget:nzbget /var/log/nzbget - fperms 750 /var/log/nzbget - - fowners nzbget:nzbget /etc/nzbgetd.conf - fperms 640 /etc/nzbgetd.conf -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] ; then - elog - elog "Please add users that you want to be able to use the system-wide" - elog "nzbget daemon to the nzbget group. To access the daemon, run nzbget" - elog "with the --configfile /etc/nzbgetd.conf option." - elog - fi -} diff --git a/net-nntp/pan/Manifest b/net-nntp/pan/Manifest deleted file mode 100644 index b5ecbf79ce95..000000000000 --- a/net-nntp/pan/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST pan-v0.164.tar.bz2 2051642 BLAKE2B 07e9506fb8f90ddce28445cd4ec45aca53455da7640bc02b21cb41c159b47fa42879448ed009b23fadecf611c883dcc3671f6bba4719902b136e7a96f4838e86 SHA512 b56435072595a55934b7b801b512e993e37f8745129f9f21cc0b15ffad46e2de4105513bc955b482bfbe04e56716bd1279b4c6a23e6f10db25538563bf8a809d -DIST pan-v0.165.tar.bz2 2051902 BLAKE2B f9d214f8487e4f54fc7b8eb1fc591fe3482c7b36e5408d49c943e2f52f25faaf6c3e793b32639179b5f9b7d1cb418be7766a37536227a9194b44df58359aa9e4 SHA512 2c831cf9dda19e3d3ccab05975f40f5b8fc229ee9e39b5cd3417b0a8cb07c84eb1f838924593bb569379d1cb092587e9b02881f8d09c8a61bf20ba95c809891e diff --git a/net-nntp/pan/metadata.xml b/net-nntp/pan/metadata.xml deleted file mode 100644 index 478330414e49..000000000000 --- a/net-nntp/pan/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>joe@wt.gd</email> - <name>Joe Kappus</name> -</maintainer> -<upstream> - <remote-id type="gnome-gitlab">pan</remote-id> - <bugs-to>https://gitlab.gnome.org/GNOME/pan/-/issues</bugs-to> - <maintainer> - <email>dod@debian.org</email> - <name>Dominique Dumont</name> - </maintainer> -</upstream> -<use> - <flag name="dbus">Use DBUS. Support running multiple instances</flag> - <flag name="gnome-keyring">Use libsecret/gcr for password storage</flag> - <flag name="libnotify">Build libnotify support for notifications</flag> - <flag name="nls">Localization support</flag> - <flag name="spell">Spellchecking support (enchant/gtkspell)</flag> - <flag name="ssl">TLS 1.x support (through gnutls)</flag> -</use> -</pkgmetadata> diff --git a/net-nntp/pan/pan-0.164.ebuild b/net-nntp/pan/pan-0.164.ebuild deleted file mode 100644 index 4fe8e18c670a..000000000000 --- a/net-nntp/pan/pan-0.164.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit cmake gnome2 toolchain-funcs - -DESCRIPTION="A newsreader for GNOME" -HOMEPAGE="https://gitlab.gnome.org/GNOME/pan/" -SRC_URI="https://gitlab.gnome.org/GNOME/pan/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" -S="${WORKDIR}/pan-v${PV}" - -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="dbus gnome-keyring libnotify spell ssl" -# currently broken due to cmake migration -RESTRICT="test" - -DEPEND=" - >=dev-libs/glib-2.26:2 - dev-libs/gmime:3.0 - >=x11-libs/gtk+-3.16:3 - gnome-keyring? ( - >=app-crypt/gcr-3.20 - >=app-crypt/libsecret-0.20 - ) - libnotify? ( >=x11-libs/libnotify-0.4.1:0= ) - spell? ( app-text/gspell ) - ssl? ( >=net-libs/gnutls-3.3.6:0= ) - >=virtual/zlib-1.2.0:= - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/pango -" -RDEPEND="${DEPEND}" -BDEPEND=" - app-text/yelp-tools - >=sys-devel/gettext-0.19.7 - virtual/pkgconfig -" - -src_prepare() { - cmake_src_prepare - - # Relax linker restriction on clang. Not ideal, but it's this or block clang. - if tc-is-clang; then - append-ldflags "-Wl,--allow-shlib-undefined" - fi -} - -src_configure() { - local mycmakeargs=( - -DWANT_DBUS=$(usex dbus) \ - -DWANT_GKR=$(usex gnome-keyring) \ - -DWANT_GSPELL=$(usex spell) \ - -DWANT_NOTIFY=$(usex libnotify) \ - -DWANT_GNUTLS=$(usex ssl) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - # Since cmake apparently doesn't include the below automatically - dolib.so "${BUILD_DIR}/pan/data/libdata.so" - dolib.so "${BUILD_DIR}/pan/data-impl/libdata-impl.so" - dolib.so "${BUILD_DIR}/pan/general/libgeneralutils.so" - dolib.so "${BUILD_DIR}/pan/tasks/libtasks.so" - dolib.so "${BUILD_DIR}/pan/usenet-utils/libusenet-utils.so" - -} diff --git a/net-nntp/pan/pan-0.165.ebuild b/net-nntp/pan/pan-0.165.ebuild deleted file mode 100644 index 4fe8e18c670a..000000000000 --- a/net-nntp/pan/pan-0.165.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit cmake gnome2 toolchain-funcs - -DESCRIPTION="A newsreader for GNOME" -HOMEPAGE="https://gitlab.gnome.org/GNOME/pan/" -SRC_URI="https://gitlab.gnome.org/GNOME/pan/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" -S="${WORKDIR}/pan-v${PV}" - -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="dbus gnome-keyring libnotify spell ssl" -# currently broken due to cmake migration -RESTRICT="test" - -DEPEND=" - >=dev-libs/glib-2.26:2 - dev-libs/gmime:3.0 - >=x11-libs/gtk+-3.16:3 - gnome-keyring? ( - >=app-crypt/gcr-3.20 - >=app-crypt/libsecret-0.20 - ) - libnotify? ( >=x11-libs/libnotify-0.4.1:0= ) - spell? ( app-text/gspell ) - ssl? ( >=net-libs/gnutls-3.3.6:0= ) - >=virtual/zlib-1.2.0:= - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/pango -" -RDEPEND="${DEPEND}" -BDEPEND=" - app-text/yelp-tools - >=sys-devel/gettext-0.19.7 - virtual/pkgconfig -" - -src_prepare() { - cmake_src_prepare - - # Relax linker restriction on clang. Not ideal, but it's this or block clang. - if tc-is-clang; then - append-ldflags "-Wl,--allow-shlib-undefined" - fi -} - -src_configure() { - local mycmakeargs=( - -DWANT_DBUS=$(usex dbus) \ - -DWANT_GKR=$(usex gnome-keyring) \ - -DWANT_GSPELL=$(usex spell) \ - -DWANT_NOTIFY=$(usex libnotify) \ - -DWANT_GNUTLS=$(usex ssl) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - # Since cmake apparently doesn't include the below automatically - dolib.so "${BUILD_DIR}/pan/data/libdata.so" - dolib.so "${BUILD_DIR}/pan/data-impl/libdata-impl.so" - dolib.so "${BUILD_DIR}/pan/general/libgeneralutils.so" - dolib.so "${BUILD_DIR}/pan/tasks/libtasks.so" - dolib.so "${BUILD_DIR}/pan/usenet-utils/libusenet-utils.so" - -} diff --git a/net-nntp/sabnzbd/Manifest b/net-nntp/sabnzbd/Manifest deleted file mode 100644 index 5837dec445db..000000000000 --- a/net-nntp/sabnzbd/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST SABnzbd-4.5.5-src.tar.gz 5240879 BLAKE2B 3e2e061e7cff3b020d8807b81c01ea70f6a06cef13e5f02f935d3141c2b5e72921974a02faf16df302639a33d567d180b114ef5b4115eba45f9d50578cd2a273 SHA512 c388b87c894baa8b791b0f14b855f3a3b9114dcf9d3a7f0daba392f71b02271ec7419c1f03d9ca8c4b58fea541d7bb710bed097632aa4ebea75c391b5937a9ea -DIST SABnzbd-5.0.1-src.tar.gz 5300965 BLAKE2B 791544b944e42b158478bf4f13333cfa96cb256ac965959b2102b123810a46cb6dc96e90fe0b755dfe9569018a807aa039c81d647c2eaa7479cf153cf4933035 SHA512 940f997165eb7a511426512609e859ecd2b1474a6bf64d83f882de53beb73c5573f5d1f7ac645ada39dbd678e05b251df0d1429b13806aeaa96938ecc1769298 diff --git a/net-nntp/sabnzbd/files/sabnzbd-r1.ini b/net-nntp/sabnzbd/files/sabnzbd-r1.ini deleted file mode 100644 index 5ccd7e19ca37..000000000000 --- a/net-nntp/sabnzbd/files/sabnzbd-r1.ini +++ /dev/null @@ -1,12 +0,0 @@ -__version__ = 19 -[misc] -log_dir = /var/log/sabnzbd -admin_dir = /var/lib/sabnzbd/admin -cache_dir = /var/lib/sabnzbd/cache -complete_dir = /var/lib/sabnzbd/complete -download_dir = /var/lib/sabnzbd/download -dirscan_dir = /var/lib/sabnzbd/dirscan -nzb_backup_dir = /var/lib/sabnzbd/backup -auto_browser = 0 -host = :: -port = 8080 diff --git a/net-nntp/sabnzbd/files/sabnzbd-r1.initd b/net-nntp/sabnzbd/files/sabnzbd-r1.initd deleted file mode 100644 index eff3352a90b4..000000000000 --- a/net-nntp/sabnzbd/files/sabnzbd-r1.initd +++ /dev/null @@ -1,71 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -PIDFILE="/run/sabnzbd/sabnzbd.pid" - -depend() { - use dns -} - -get_var() { - grep -P -o -m 1 "(?<=^${1} = ).*" "${SABNZBD_CONFIGFILE}" || echo 0 -} - -start() { - ebegin "Starting SABnzbd" - - checkpath -q -d -o ${SABNZBD_USER}:${SABNZBD_GROUP} -m 0770 "$(dirname "${PIDFILE}")" - - start-stop-daemon \ - --quiet \ - --start \ - --user ${SABNZBD_USER} \ - --group ${SABNZBD_GROUP} \ - --pidfile "${PIDFILE}" \ - --wait 1000 \ - --exec /usr/share/sabnzbd/SABnzbd.py \ - -- \ - --config-file "${SABNZBD_CONFIGFILE}" \ - --logging "${SABNZBD_LOGGING}" \ - --daemon \ - --pidfile "${PIDFILE}" - - eend $? -} - -stop() { - local protocol="http" - local host="$(get_var "host")" - local port="$(get_var "port")" - - if [ $(get_var "enable_https") -eq 1 ]; then - protocol="https" - port="$(get_var "https_port")" - fi - - case "${host}" in - *:*) host="[${host}]" ;; - esac - - local url="${protocol}://${host}:${port}/sabnzbd/api?mode=shutdown" - - if [ $(get_var "disable_api_key") -eq 0 ]; then - url="${url}&apikey=$(get_var "api_key")" - fi - - local signals="TERM/1/KILL/1" - - ebegin "Stopping SABnzbd" - - if [ "$(wget -o /dev/null -t 1 -O - -T 10 "${url}")" = "ok" ]; then - signals="NULL/5/${signals}" - fi - - start-stop-daemon \ - --stop \ - --pidfile "${PIDFILE}" \ - --retry "${signals}" - - eend $? -} diff --git a/net-nntp/sabnzbd/files/sabnzbd.confd b/net-nntp/sabnzbd/files/sabnzbd.confd deleted file mode 100644 index c949355ec708..000000000000 --- a/net-nntp/sabnzbd/files/sabnzbd.confd +++ /dev/null @@ -1,6 +0,0 @@ -SABNZBD_CONFIGFILE="/etc/sabnzbd/sabnzbd.ini" -SABNZBD_USER="sabnzbd" -SABNZBD_GROUP="sabnzbd" - -# 0 - error/warnings, 1 - info, 2 - debug -SABNZBD_LOGGING="1" diff --git a/net-nntp/sabnzbd/files/sabnzbd_at.service b/net-nntp/sabnzbd/files/sabnzbd_at.service deleted file mode 100644 index 92c5eb91f171..000000000000 --- a/net-nntp/sabnzbd/files/sabnzbd_at.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=SABnzbd binary newsreader - -[Service] -ExecStart=/usr/share/sabnzbd/SABnzbd.py --logging 1 --browser 0 -User=sabnzbd -Group=sabnzbd - -[Install] -WantedBy=multi-user.target diff --git a/net-nntp/sabnzbd/metadata.xml b/net-nntp/sabnzbd/metadata.xml deleted file mode 100644 index 256972b598b3..000000000000 --- a/net-nntp/sabnzbd/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>joe@wt.gd</email> - <name>Joe Kappus</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <remote-id type="github">sabnzbd/sabnzbd</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-nntp/sabnzbd/sabnzbd-4.5.5.ebuild b/net-nntp/sabnzbd/sabnzbd-4.5.5.ebuild deleted file mode 100644 index 9c35201fb799..000000000000 --- a/net-nntp/sabnzbd/sabnzbd-4.5.5.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="sqlite" - -inherit optfeature python-single-r1 systemd - -MY_PV="${PV/_alpha/Alpha}" -MY_PV="${MY_PV/_beta/Beta}" -MY_PV="${MY_PV/_rc/RC}" - -MY_P="SABnzbd-${MY_PV}" - -DESCRIPTION="Binary newsgrabber with web-interface" -HOMEPAGE="https://sabnzbd.org/" -SRC_URI="https://github.com/sabnzbd/sabnzbd/releases/download/${MY_PV}/${MY_P}-src.tar.gz" -S="${WORKDIR}/${MY_P}" - -# Sabnzbd is GPL-2 but bundles software with the following licenses. -LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1" -SLOT="0" -KEYWORDS="amd64" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - acct-user/sabnzbd - acct-group/sabnzbd - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - >=dev-python/apprise-1.9.2[${PYTHON_USEDEP}] - dev-python/chardet[${PYTHON_USEDEP}] - >=dev-python/cheetah3-3.4.0[${PYTHON_USEDEP}] - dev-python/cherrypy[${PYTHON_USEDEP}] - dev-python/configobj[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/feedparser-6.0.11[${PYTHON_USEDEP}] - >=dev-python/guessit-3.8.0[${PYTHON_USEDEP}] - dev-python/notify2[${PYTHON_USEDEP}] - dev-python/portend[${PYTHON_USEDEP}] - dev-python/puremagic[${PYTHON_USEDEP}] - ~dev-python/rarfile-4.2[${PYTHON_USEDEP}] - ~dev-python/sabctools-8.2.6[${PYTHON_USEDEP}] - ') -" -RDEPEND=" - ${DEPEND} - || ( - >=app-arch/par2cmdline-0.8 - >=app-arch/par2cmdline-turbo-1.1.0 - ) - net-misc/wget -" -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/lxml-4.5.0[${PYTHON_USEDEP}] - >=dev-python/pyfakefs-5.6.0[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-httpbin[${PYTHON_USEDEP}] - dev-python/pytest-httpserver[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/selenium[${PYTHON_USEDEP}] - dev-python/tavalidate[${PYTHON_USEDEP}] - >=dev-python/tavern-2[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - ') - app-arch/7zip - app-arch/unrar - app-arch/unzip - www-apps/chromedriver-bin - ) -" - -src_test() { - local EPYTEST_IGNORE=( - # network sandbox - tests/test_getipaddress.py - tests/test_rss.py - tests/test_urlgrabber.py - tests/test_utils/test_happyeyeballs.py - tests/test_utils/test_internetspeed.py - ) - local EPYTEST_DESELECT=( - # network sandbox - 'tests/test_cfg.py::TestValidators::test_validate_host' - 'tests/test_consistency.py::TestWiki' - 'tests/test_newswrapper.py::TestNewsWrapper' - 'tests/test_happyeyeballs.py::TestHappyEyeballs' - 'tests/test_internetspeed.py::TestInternetSpeed' - 'tests/test_get_addrinfo.py' - # Just plain fails - 'tests/test_newsunpack.py::TestPar2Repair::test_basic' - # Does not work with pytest-8.x - 'tests/test_functional_api.py' - # Chromedriver tests don't want to behave in portage - 'tests/test_functional_config.py::TestBasicPages::test_base_pages' - 'tests/test_functional_config.py::TestBasicPages::test_base_submit_pages' - 'tests/test_functional_config.py::TestConfigLogin::test_login' - 'tests/test_functional_config.py::TestConfigCategories::test_page' - 'tests/test_functional_config.py::TestConfigRSS::test_rss_basic_flow' - 'tests/test_functional_config.py::TestConfigServers::test_add_and_remove_server' - 'tests/test_functional_downloads.py::TestDownloadFlow::test_download_basic_rar5' - 'tests/test_functional_downloads.py::TestDownloadFlow::test_download_zip' - 'tests/test_functional_downloads.py::TestDownloadFlow::test_download_7zip' - 'tests/test_functional_downloads.py::TestDownloadFlow::test_download_passworded' - 'tests/test_functional_downloads.py::TestDownloadFlow::test_download_fully_obfuscated' - 'tests/test_functional_downloads.py::TestDownloadFlow::test_download_unicode_rar' - 'tests/test_functional_misc.py::TestExtractPot::test_extract_pot' - 'tests/test_functional_misc.py::TestShowLogging::test_showlog' - 'tests/test_functional_misc.py::TestQueueRepair::test_queue_repair' - 'tests/test_functional_misc.py::TestDaemonizing::test_daemonizing' - 'tests/test_functional_sorting.py::TestDownloadSorting' - ) - - # The test suite is prone to being broken by random plugins that happen - # to be installed, so disable autoloading. - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # Use PYTEST_PLUGINS instead of args to 'epytest' because the test suite - # calls pytest itself and the args would get lost. To get the list of plugins, - # if stuck, comment out the AUTOLOAD line above, look at the list of loaded - # plugins at the top of the pytest output, then translate those into module names - # by e.g. checking equery f. - local -x PYTEST_PLUGINS=pytest_mock,tavern,tavern._core.pytest,pyfakefs.pytest_plugin,pytest_asyncio.plugin - - epytest -s -} - -src_install() { - insinto /usr/share/${PN} - doins -r email icons interfaces locale po sabnzbd scripts tools - - exeinto /usr/share/${PN} - doexe SABnzbd.py - - python_fix_shebang "${ED}"/usr/share/${PN} - python_optimize "${ED}"/usr/share/${PN} - - newinitd "${FILESDIR}"/${PN}-r1.initd ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} - - diropts -o ${PN} -g ${PN} - dodir /etc/${PN} - keepdir /var/log/${PN} - - insinto "/etc/${PN}" - insopts -m 0600 -o "${PN}" -g "${PN}" - newins "${FILESDIR}"/${PN}-r1.ini ${PN}.ini - - dodoc ISSUES.txt README.mkd - - systemd_newunit "${FILESDIR}"/sabnzbd_at.service 'sabnzbd@.service' -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - # This is a new installation - einfo "Default directory: /var/lib/${PN}" - einfo - einfo "To add a user to the sabnzbd group so it can edit SABnzbd+ files, run:" - einfo - einfo " usermod -a -G sabnzbd <user>" - einfo - einfo "By default, SABnzbd will listen on TCP port 8080." - fi - - optfeature "7z archive support" app-arch/7zip - optfeature "rar archive support" app-arch/unrar app-arch/rar - optfeature "zip archive support" app-arch/unzip -} diff --git a/net-nntp/sabnzbd/sabnzbd-5.0.1.ebuild b/net-nntp/sabnzbd/sabnzbd-5.0.1.ebuild deleted file mode 100644 index 5fd9736b476c..000000000000 --- a/net-nntp/sabnzbd/sabnzbd-5.0.1.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="sqlite" - -inherit optfeature python-single-r1 systemd - -MY_PV="${PV/_alpha/Alpha}" -MY_PV="${MY_PV/_beta/Beta}" -MY_PV="${MY_PV/_rc/RC}" - -MY_P="SABnzbd-${MY_PV}" - -DESCRIPTION="Binary newsgrabber with web-interface" -HOMEPAGE="https://sabnzbd.org/" -SRC_URI="https://github.com/sabnzbd/sabnzbd/releases/download/${MY_PV}/${MY_P}-src.tar.gz" -S="${WORKDIR}/${MY_P}" - -# SABnzbd is GPL-2+ but bundles JS/CSS libraries and Python modules -# with their own licenses (Bootstrap, jQuery, Knockout, rarfile, etc). -LICENSE="GPL-2+ Apache-2.0 CC-BY-3.0 ISC LGPL-2.1+ MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - acct-user/sabnzbd - acct-group/sabnzbd - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - >=dev-python/apprise-1.9.2[${PYTHON_USEDEP}] - dev-python/chardet[${PYTHON_USEDEP}] - >=dev-python/cheetah3-3.4.0[${PYTHON_USEDEP}] - dev-python/cherrypy[${PYTHON_USEDEP}] - dev-python/configobj[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/feedparser-6.0.11[${PYTHON_USEDEP}] - >=dev-python/guessit-3.8.0[${PYTHON_USEDEP}] - dev-python/notify2[${PYTHON_USEDEP}] - dev-python/portend[${PYTHON_USEDEP}] - dev-python/puremagic[${PYTHON_USEDEP}] - ~dev-python/rarfile-4.2[${PYTHON_USEDEP}] - ~dev-python/sabctools-9.4.0[${PYTHON_USEDEP}] - ') -" -RDEPEND=" - ${DEPEND} - || ( - >=app-arch/par2cmdline-0.8 - >=app-arch/par2cmdline-turbo-1.1.0 - ) - net-misc/wget -" -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pyfakefs[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-httpbin[${PYTHON_USEDEP}] - dev-python/pytest-httpserver[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/selenium[${PYTHON_USEDEP}] - dev-python/tavalidate[${PYTHON_USEDEP}] - >=dev-python/tavern-3[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - ') - app-arch/7zip - app-arch/unrar - app-arch/unzip - ) -" - -src_test() { - local EPYTEST_IGNORE=( - # network sandbox - tests/test_get_addrinfo.py - tests/test_getipaddress.py - tests/test_internetspeed.py - # Requires chromedriver - tests/test_functional_config.py - tests/test_functional_downloads.py - tests/test_functional_sorting.py - ) - local EPYTEST_DESELECT=( - # bug #973599 - 'tests/test_downloader.py::TestConnectionStateMachine::test_failed_connect_allows_retry' - # network sandbox - 'tests/test_cfg.py::TestValidators::test_validate_host' - 'tests/test_consistency.py::TestWiki' - 'tests/test_rss.py::TestRSS::test_rss_newznab_parser' - 'tests/test_rss.py::TestRSS::test_rss_nzedb_parser' - 'tests/test_urlgrabber.py::TestBuildRequest::test_http_basic' - 'tests/test_urlgrabber.py::TestBuildRequest::test_https_basic' - # Requires chromedriver - 'tests/test_functional_misc.py::TestShowLogging::test_showlog' - 'tests/test_functional_misc.py::TestQueueRepair::test_queue_repair' - 'tests/test_functional_misc.py::TestDaemonizing::test_daemonizing' - # Runs extract_pot.py which needs the git repo - 'tests/test_functional_misc.py::TestExtractPot::test_extract_pot' - ) - - epytest -s -} - -src_install() { - insinto /usr/share/${PN} - doins -r email icons interfaces locale po sabnzbd scripts tools - - exeinto /usr/share/${PN} - doexe SABnzbd.py - - python_fix_shebang "${ED}"/usr/share/${PN} - python_optimize "${ED}"/usr/share/${PN} - - newinitd "${FILESDIR}"/${PN}-r1.initd ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} - - diropts -o ${PN} -g ${PN} - dodir /etc/${PN} - keepdir /var/log/${PN} - - insinto "/etc/${PN}" - insopts -m 0600 -o "${PN}" -g "${PN}" - newins "${FILESDIR}"/${PN}-r1.ini ${PN}.ini - - dodoc ISSUES.txt README.mkd - - systemd_newunit "${FILESDIR}"/sabnzbd_at.service 'sabnzbd@.service' -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - # This is a new installation - einfo "Default directory: /var/lib/${PN}" - einfo - einfo "To add a user to the sabnzbd group so it can edit SABnzbd+ files, run:" - einfo - einfo " usermod -a -G sabnzbd <user>" - einfo - einfo "By default, SABnzbd will listen on TCP port 8080." - fi - - optfeature "7z archive support" app-arch/7zip - optfeature "rar archive support" app-arch/unrar app-arch/rar - optfeature "zip archive support" app-arch/unzip -} diff --git a/net-nntp/suck/Manifest b/net-nntp/suck/Manifest deleted file mode 100644 index 1cc682475499..000000000000 --- a/net-nntp/suck/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST suck-4.3.4.tar.gz 153774 BLAKE2B dc7943af43a305386872995a27b6e2faf34949813960314cbf85c4f2ad1658107480cdf77241394aa031270afc3faab5fbd30ec19559fb3d4d261fd8fa5e3416 SHA512 79892cfce1b569bbd5fb6468a919d77bce82a533c1b70369ab88a2066dc3d4396480b9a56b25e960d6e49cd0f9abad605d841693f086c9d07913798d7ac99730 -DIST suck-4.3.5.tar.gz 153874 BLAKE2B ecc7d20f8844890acae94bb154583ace66b02c594514e925500cb9337aa1678622622286aaefedda066e73236d136e2383a846f0013f7e65f657757ae6cee818 SHA512 7bf7196db62416800c040ff9afd545c8a62e50a7f8dcb914aef1105d4bdc57ec4c198b1a42d5ad4e3c9455ddca3d516a55ca9cc62c88e010e8ba8eb4fcbeb275 diff --git a/net-nntp/suck/files/4.3.3-fputs.patch b/net-nntp/suck/files/4.3.3-fputs.patch deleted file mode 100644 index df38f1d4316a..000000000000 --- a/net-nntp/suck/files/4.3.3-fputs.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 440c3c39c51c89c0a5bc53850e9b75b142a39bd2 Mon Sep 17 00:00:00 2001 -From: Michael Vetter <jubalh@iodoru.org> -Date: Wed, 14 Feb 2018 15:02:22 +0100 -Subject: [PATCH] Use fputs instead of fput - -fput() seems to be non-standard. -See commit cb0aadd0a2f16a09bc972d648b864a1fd541e75f -Now we have the original patch. ---- - lpost.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lpost.c b/lpost.c -index a2c0d29..39bb17e 100644 ---- a/lpost.c -+++ b/lpost.c -@@ -42,7 +42,7 @@ int main(int argc,char *argv[]) { - } - } - else { -- (void) fput(line, pfp); -+ (void) fputs(line, pfp); - } - } /* end while */ - exit(retval); diff --git a/net-nntp/suck/metadata.xml b/net-nntp/suck/metadata.xml deleted file mode 100644 index cf68c5c02d44..000000000000 --- a/net-nntp/suck/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> - <maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - - <origin>ports</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/net-nntp/suck/suck-4.3.4.ebuild b/net-nntp/suck/suck-4.3.4.ebuild deleted file mode 100644 index 2f3c9efd6ded..000000000000 --- a/net-nntp/suck/suck-4.3.4.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Grab news from a remote NNTP server and feed them to another" -HOMEPAGE="https://lazarus-pkgs.github.io/lazarus-pkgs/suck.html" -SRC_URI="https://github.com/lazarus-pkgs/suck/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="perl ssl " - -RDEPEND=" - sys-libs/gdbm:= - ssl? ( - dev-libs/openssl:0= - - ) -" -DEPEND="${RDEPEND} - sys-libs/db - perl? ( dev-lang/perl ) -" - -src_prepare() { - default - - # Fix paths to the locations in Gentoo - sed -i \ - -e 's:/usr/bin/rnews:/usr/$(get_libdir)/news/bin/rnews:' \ - -e 's:/var/lib/news/history:/var/spool/news/db/history:' \ - suck_config.h || die "path adaption sed failed" - - eautoreconf -} - -src_configure() { - if use ssl; then - sed -i -e 's/^SSL_/#SSL_/' Makefile.in || die "ssl sed failed" - fi - - if use perl; then - sed -i -e 's/^PERL_/#PERL_/' Makefile.in || die "perl sed failed" - fi - - econf --without-inn-lib --without-inn-include -} - -src_compile() { - emake phrases.h - emake all lpost -} - -src_install() { - dobin lmove lpost rpost suck testhost - doman man/* - dodoc CHANGELOG CONTENTS README* - docinto java - dodoc java/* - docinto perl - dodoc perl/* - docinto sample - dodoc sample/* -} diff --git a/net-nntp/suck/suck-4.3.5.ebuild b/net-nntp/suck/suck-4.3.5.ebuild deleted file mode 100644 index 88cd64f1db6c..000000000000 --- a/net-nntp/suck/suck-4.3.5.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 2024 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -inherit autotools - -DESCRIPTION="Grab news from a remote NNTP server and feed them to another" -HOMEPAGE="https://lazarus-pkgs.github.io/lazarus-pkgs/suck.html" -SRC_URI="https://github.com/lazarus-pkgs/suck/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="perl ssl " - -RDEPEND=" - sys-libs/gdbm:= - ssl? ( - dev-libs/openssl:0= - - ) -" -DEPEND="${RDEPEND} - sys-libs/db - perl? ( dev-lang/perl ) -" - -src_prepare() { - default - - # Fix paths to the locations in Gentoo - sed -i \ - -e 's:/usr/bin/rnews:/usr/$(get_libdir)/news/bin/rnews:' \ - -e 's:/var/lib/news/history:/var/spool/news/db/history:' \ - suck_config.h || die "path adaption sed failed" - - eautoreconf -} - -src_configure() { - if use ssl; then - sed -i -e 's/^SSL_/#SSL_/' Makefile.in || die "ssl sed failed" - fi - - if use perl; then - sed -i -e 's/^PERL_/#PERL_/' Makefile.in || die "perl sed failed" - fi - - econf --without-inn-lib --without-inn-include -} - -src_compile() { - emake phrases.h - emake all lpost -} - -src_install() { - dobin lmove lpost rpost suck testhost - doman man/* - dodoc CHANGELOG CONTENTS README* - docinto java - dodoc java/* - docinto perl - dodoc perl/* - docinto sample - dodoc sample/* -} diff --git a/net-nntp/tin/Manifest b/net-nntp/tin/Manifest deleted file mode 100644 index d74d8a23b157..000000000000 --- a/net-nntp/tin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST tin-2.6.4.tar.xz 1640064 BLAKE2B 7a9ec66a55db282b2b3b7c977dfafd47cb72224873369ebbce05865a92719253f59a17d1b79fcee98c1c10a88e323eddcd88d40ea6719be96a407ed361aa4107 SHA512 63d7d8bf9d00644b05f128ab78960a1a1ccbeebbec9721517dc4971d07459d0a547adfd4eb8446a695d7303b43f45168a203c29f318b66fc79e4aba80cf8cc97 diff --git a/net-nntp/tin/metadata.xml b/net-nntp/tin/metadata.xml deleted file mode 100644 index 99b4b39ce6a7..000000000000 --- a/net-nntp/tin/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <doc>http://www.tin.org/bin/man.cgi?section=1&topic=tin</doc> - </upstream> - <use> - <flag name="cancel-locks">Enable Cancel-Lock header functionality</flag> - <flag name="gpg">Enable <pkg>app-crypt/gnupg</pkg> support</flag> - <flag name="libtls" restrict=">=net-nntp/tin-2.6.2">Prefer <pkg>dev-libs/libretls</pkg> as SSL/TLS provider (ineffective with USE=-ssl)</flag> - </use> -</pkgmetadata> diff --git a/net-nntp/tin/tin-2.6.4.ebuild b/net-nntp/tin/tin-2.6.4.ebuild deleted file mode 100644 index 95930a5eacdf..000000000000 --- a/net-nntp/tin/tin-2.6.4.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# 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" -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:= - virtual/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 -} |
