From 4df3bf9762850b34cd1ead5c80374d1a0fc3362e Mon Sep 17 00:00:00 2001 From: V3n3RiX <venerix@redcorelinux.org> Date: Mon, 12 Jul 2021 08:41:54 +0100 Subject: gentoo resync : 12.07.2021 --- net-irc/ngircd/Manifest | 2 +- net-irc/ngircd/ngircd-26.1-r1.ebuild | 103 +++++++++++++++++++++++++++++++++++ net-irc/ngircd/ngircd-26.1.ebuild | 103 ----------------------------------- 3 files changed, 104 insertions(+), 104 deletions(-) create mode 100644 net-irc/ngircd/ngircd-26.1-r1.ebuild delete mode 100644 net-irc/ngircd/ngircd-26.1.ebuild (limited to 'net-irc/ngircd') diff --git a/net-irc/ngircd/Manifest b/net-irc/ngircd/Manifest index cf17fa75d30f..7c96559993e9 100644 --- a/net-irc/ngircd/Manifest +++ b/net-irc/ngircd/Manifest @@ -1,5 +1,5 @@ AUX ngircd.init-r1.d 388 BLAKE2B 10b6d4eb2cd39fe4e3087461cdc15f2ee8f1002e826552e145903b69e16ce46169a2dde19e03af38228ed9ede0473a828aa8cd123ab4a2b043fde448bb180954 SHA512 12e62e23899d1143a35e60bf983c319f72aa13c49123b497963f96317b2990cb2529919336da5a9b5c230e55479c289358261af92d25ef54bd19079908e18158 DIST ngircd-26.1.tar.gz 562938 BLAKE2B a1a4ca8b6e12a02cb4ba2e07d777cf77051b5330464c91634cfac0b385157ab7c648e3b71151247bc8ee6cc847e84755fdca3d9b4a25205bbb57b8296995dd17 SHA512 4a3ee379dd8d8655a71134c745f750359ceb0512e184db555f65f2bcab68087480365a35680a9ec75b1e6eb0fef23e1cbe0a0e13c3c58d211e5a520a8eeaa71c DIST ngircd-26.1.tar.gz.sig 310 BLAKE2B 108daa66aeccd51468aa0c6ab2de18c3ce476e812145902186ac4b3b8b29b0da32057c5a6f44133cfa4507310a9a76a001301ebe2d37ca809e1b7d8502aaa492 SHA512 e0b6b28c65f1363c0e8043378d52bccc0a634d7c17018edbc33130c9dbc4c2896f3b3a3ab758746707b37e3e527abbd61e5af8c1455d5fcc5b1b202758c82576 -EBUILD ngircd-26.1.ebuild 2222 BLAKE2B 6d7b2a5a13b6b96a3f274f5c145f7e4ed144c03786e6dc0265e31a755f7737c9287a37016eac6be38cb59e149cbf5436ebd876d148bcccaa50dc72d41bf19bf0 SHA512 8d0299646ac41e45519e66c49c560e3f0a52dd376a3e4092a19a67c0bd23490be90ac710602edceb191d9cb54210f138452b513503a4e9edcf15c71a0d1f55ae +EBUILD ngircd-26.1-r1.ebuild 2224 BLAKE2B 28c7d3c23b46b67de978c857a4ea694ebd95be927a534589a30501cd127ff8a6c655fecb1165c8162d144cea6a3d9bfd419fe47ea7c5ffd3e9ce3cc42ef47c97 SHA512 4ccc4d187ccd312309723069890e73342d829b3704bc8ec3c66156dd28b64b1420bfc1c5add18d6e6ba3b0f943cfaec0d4d9e2f609260de18fbdb4ad59b196ce MISC metadata.xml 650 BLAKE2B dd80efa442d59f04e26bb338e371ffa8380a4cdbb630db30e25adbaa930d9f0e4a486bbd05321b8185c23558ad4e29023153a69d1214294c345b46685eb7de86 SHA512 9b8879892c2edc6c7792c22a684f87ae559a43b034ee66f6242e73075012e1f53a33a63fc3ffa62c41f5fd620a4be6c1ffc57a1b62cf42ffa3c032cec4ff743b diff --git a/net-irc/ngircd/ngircd-26.1-r1.ebuild b/net-irc/ngircd/ngircd-26.1-r1.ebuild new file mode 100644 index 000000000000..b85654fa0929 --- /dev/null +++ b/net-irc/ngircd/ngircd-26.1-r1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/alexbarton.asc +inherit verify-sig + +DESCRIPTION="An IRC server written from scratch" +HOMEPAGE="https://ngircd.barton.de/" +SRC_URI="https://arthur.barton.de/pub/${PN}/${P}.tar.gz" +SRC_URI+=" verify-sig? ( https://arthur.barton.de/pub/${PN}/${P}.tar.gz.sig )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 x86 ~x64-macos" +IUSE="debug gnutls ident irc-plus +ipv6 pam +ssl strict-rfc tcpd test zlib" + +# Flaky test needs investigation (bug 719256) +RESTRICT="test" + +RDEPEND=" + acct-user/ngircd + acct-group/ngircd + irc-plus? ( virtual/libiconv ) + ident? ( net-libs/libident ) + pam? ( sys-libs/pam ) + ssl? ( + gnutls? ( net-libs/gnutls:= ) + !gnutls? ( + dev-libs/openssl:0= + ) + ) + tcpd? ( sys-apps/tcp-wrappers ) + zlib? ( sys-libs/zlib ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/automake:1.11 + test? ( + dev-tcltk/expect + net-misc/netkit-telnetd + ) + verify-sig? ( app-crypt/openpgp-keys-alexbarton ) +" + +src_prepare() { + default + + if ! use prefix ; then + sed -i \ + -e "s:;ServerUID = 65534:ServerUID = ngircd:" \ + -e "s:;ServerGID = 65534:ServerGID = ngircd:" \ + doc/sample-ngircd.conf.tmpl || die + fi + + # Note that if we need to use automake, we need a certain version (for now): + # https://github.com/ngircd/ngircd/issues/261 + # eautomake +} + +src_configure() { + local myeconf=( + --sysconfdir="${EPREFIX}"/etc/${PN} + $(use_enable debug sniffer) + $(use_enable debug) + $(use_enable irc-plus ircplus) + $(use_enable ipv6) + $(use_enable strict-rfc) + $(use_with irc-plus iconv) + $(use_with ident) + $(use_with pam) + $(use_with tcpd tcp-wrappers) + $(use_with zlib) + ) + + if use ssl ; then + if use gnutls ; then + myeconf+=( + $( use_with gnutls ) + ) + else + myeconf+=( + $( use_with !gnutls openssl ) + ) + fi + fi + + econf "${myeconf[@]}" +} + +src_install() { + default + + newinitd "${FILESDIR}"/ngircd.init-r1.d ngircd +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] && use pam ; then + elog "ngircd will use PAMIsOptionalPAM by default, please change this option." + elog "You may not be able to login until you change this." + fi +} diff --git a/net-irc/ngircd/ngircd-26.1.ebuild b/net-irc/ngircd/ngircd-26.1.ebuild deleted file mode 100644 index 213f2c993db4..000000000000 --- a/net-irc/ngircd/ngircd-26.1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/alexbarton.asc -inherit verify-sig - -DESCRIPTION="An IRC server written from scratch" -HOMEPAGE="https://ngircd.barton.de/" -SRC_URI="https://arthur.barton.de/pub/${PN}/${P}.tar.gz" -SRC_URI+=" verify-sig? ( https://arthur.barton.de/pub/${PN}/${P}.tar.gz.sig )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86 ~x64-macos" -IUSE="debug gnutls ident irc-plus +ipv6 pam +ssl strict-rfc tcpd test zlib" - -# Flaky test needs investigation (bug 719256) -RESTRICT="test" - -RDEPEND=" - acct-user/ngircd - acct-group/ngircd - irc-plus? ( virtual/libiconv ) - ident? ( net-libs/libident ) - pam? ( sys-libs/pam ) - ssl? ( - gnutls? ( net-libs/gnutls:= ) - !gnutls? ( - dev-libs/openssl:0= - ) - ) - tcpd? ( sys-apps/tcp-wrappers ) - zlib? ( sys-libs/zlib ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - sys-devel/automake:1.11 - test? ( - dev-tcltk/expect - net-misc/netkit-telnetd - ) - verify-sig? ( app-crypt/openpgp-keys-alexbarton ) -" - -src_prepare() { - default - - if ! use prefix ; then - sed -i \ - -e "s:;ServerUID = 65534:ServerUID = ngircd:" \ - -e "s:;ServerGID = 65534:ServerGID = ngircd:" \ - doc/sample-ngircd.conf.tmpl || die - fi - - # Note that if we need to use automake, we need a certain version (for now): - # https://github.com/ngircd/ngircd/issues/261 - # eautomake -} - -src_configure() { - local myeconf=( - --sysconfdir="${EPREFIX}"/etc/${PN} - $(use_enable debug sniffer) - $(use_enable debug) - $(use_enable irc-plus ircplus) - $(use_enable ipv6) - $(use_enable strict-rfc) - $(use_with irc-plus iconv) - $(use_with ident) - $(use_with pam) - $(use_with tcpd tcp-wrappers) - $(use_with zlib) - ) - - if use ssl ; then - if use gnutls ; then - myconf+=( - $( use_with gnutls ) - ) - else - myconf+=( - $( use_with !gnutls openssl ) - ) - fi - fi - - econf "${myeconf[@]}" -} - -src_install() { - default - - newinitd "${FILESDIR}"/ngircd.init-r1.d ngircd -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] && use pam ; then - elog "ngircd will use PAMIsOptionalPAM by default, please change this option." - elog "You may not be able to login until you change this." - fi -} -- cgit v1.2.3