net-nntp/inn: drop 2.6.5

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova committed 2023-05-11 17:54:35 +05:00
1 parent b1daaa3b19
commit 584208dd7d
2 files changed
-122

No files matched your search

-2
View File
@@ -1,4 +1,2 @@
DIST inn-2.6.5.tar.gz 2646269 BLAKE2B a7ac0016be44480a57a2603494f236d5cbfb40b2056768331b873c7ee4cc9845da7831d6ae0431dbbbc23d44561f8faadce6869a9af8f7b25235b824683814fc SHA512 7200880e179ac10dcb04ed534d2f3119ad4045e912016342e2552e3fc129a2b2d4360615bc03bc9f4e17c440cf07c8017c55f4c17400af140a8bf7b96dc52a2f
DIST inn-2.6.5.tar.gz.asc 488 BLAKE2B 1c4899f85831ab40f359097d77c740f343c76542678753b961ff8dafb79c0277a67186163396568623c5af5fc0d1918ce7b1c0c73d936d65120039c2c72dd73a SHA512 f488554d90dcb8a4251113d7a7cc76899616797374e8e9703fffb5dd77ab83870fe6626564fe52ad6fc40b96c8b37f3aec125181008f7c2771a83715eaa06ea2
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
-120
View File
@@ -1,120 +0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
inherit optfeature perl-functions python-single-r1 systemd tmpfiles verify-sig
DESCRIPTION="InterNetNews -- the Internet meets Netnews"
HOMEPAGE="https://www.eyrie.org/~eagle/software/inn/"
SRC_URI="https://archives.eyrie.org/software/${PN}/${P}.tar.gz
verify-sig? ( https://archives.eyrie.org/software/${PN}/${P}.tar.gz.asc )"
LICENSE="BSD BSD-2 BSD-4 GPL-2+ ISC MIT RSA powell public-domain"
SLOT="0"
KEYWORDS="~amd64"
IUSE="berkdb gzip kerberos keywords largefile low-memory +perl +python sasl ssl systemd zlib"
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
?? ( low-memory largefile )
" # ?? ( bzip2 gzip )
DEPEND="
app-crypt/gnupg
sys-libs/pam
virtual/libcrypt:=
!berkdb? ( sys-libs/gdbm:= )
berkdb? ( sys-libs/db:* )
kerberos? ( app-crypt/mit-krb5 )
perl? ( dev-lang/perl:= )
python? ( ${PYTHON_DEPS} )
sasl? ( dev-libs/cyrus-sasl:2 )
ssl? ( dev-libs/openssl:= )
systemd? ( sys-apps/systemd:= )
zlib? ( sys-libs/zlib:= )
"
RDEPEND="${DEPEND}
virtual/sendmail
"
BDEPEND="
sys-devel/flex
app-alternatives/yacc
verify-sig? ( sec-keys/openpgp-keys-russallbery )
"
DOCS=( CONTRIBUTORS HACKING INSTALL NEWS README TODO )
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/russallbery.asc"
src_configure() {
econf_args=(
--prefix="${EPREFIX}"/opt/${PN}
--libdir="${EPREFIX}"/usr/$(get_libdir)/${PN}
--includedir="${EPREFIX}"/usr/include
--sysconfdir="${EPREFIX}"/etc/news
--with-db-dir="${EPREFIX}"/var/db/news
--with-doc-dir="${EPREFIX}"/usr/share/doc/${PF}
--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 keywords)
$(use_enable largefile largefiles)
$(use_enable low-memory tagged-hash)
$(use_with berkdb bdb)
$(use_with kerberos krb5)
$(use_with perl)
$(use_with python)
$(use_with sasl)
$(use_with ssl openssl)
$(use_with zlib)
)
if use gzip; then
econf_args+=( --with-log-compress=gzip )
# elif use bzip2; then
# econf_args+=( --with-log-compress=bzip2 )
else
econf_args+=( --with-log-compress=cat )
fi
econf "${econf_args[@]}"
}
src_install() {
default
keepdir /var/log/news/OLD
keepdir /var/tmp/news
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 || die
doenvd "${FILESDIR}"/30inn
newinitd "${FILESDIR}"/ovdb.initd ovdb
for svc in cnfsstat innd innwatch; do
newinitd "${FILESDIR}"/${svc}.initd ${svc}
newconfd "${FILESDIR}"/${svc}.confd ${svc}
done
systemd_dounit "${FILESDIR}"/innd.service
newtmpfiles "${FILESDIR}"/inn.tmpfiles inn.conf
}
pkg_postinst() {
if use perl; then
optfeature "controlchan program" dev-perl/MIME-tools
optfeature "innreport script" dev-perl/GD
optfeature "send-uucp backend" net-misc/taylor-uucp
fi
tmpfiles_process inn.conf
}