summaryrefslogtreecommitdiff
path: root/net-irc
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/Manifest.gzbin8228 -> 8228 bytes
-rw-r--r--net-irc/znc/Manifest1
-rw-r--r--net-irc/znc/znc-1.8.2-r1.ebuild194
3 files changed, 0 insertions, 195 deletions
diff --git a/net-irc/Manifest.gz b/net-irc/Manifest.gz
index 4920432c0f7f..c782a1e52a3c 100644
--- a/net-irc/Manifest.gz
+++ b/net-irc/Manifest.gz
Binary files differ
diff --git a/net-irc/znc/Manifest b/net-irc/znc/Manifest
index f4904cfdf556..db52277f7036 100644
--- a/net-irc/znc/Manifest
+++ b/net-irc/znc/Manifest
@@ -9,7 +9,6 @@ AUX znc.confd-r1 720 BLAKE2B 4857a8bcd36ed1008a558ac7b067d6fad53b5d39c0df9130ca2
AUX znc.initd-r2 952 BLAKE2B 81346bf0a1581543683eb5c125b29474c0bc01b8aee11c036a134c5a01042059564f2982aaec65715ac0a2c87b64fcd9746464148a81daeee549f4228d6ff55f SHA512 c3d676796aaa485dcaebee0fba58a8f86560cd192e0e2ccf06f58346c1368f58aa5be1c1e5160f8105e3dc5c684d3d1f82eff6a4d7b87c07f11450b72288727f
DIST gtest-1.8.1.tar.gz 992298 BLAKE2B 40ef3417fe424205c0617f07207347ce671ac87605f8ac9b8a333b0b06e3fbef9f556041ee324c18f957f3258ab9fe06704f31cdd038355fb7890180eb77ced1 SHA512 e6283c667558e1fd6e49fa96e52af0e415a3c8037afe1d28b7ff1ec4c2ef8f49beb70a9327b7fc77eb4052a58c4ccad8b5260ec90e4bceeac7a46ff59c4369d7
DIST znc-1.8.2.tar.gz 2101215 BLAKE2B 7f0e5840fe57cc6b6549115b0fcf02e6afd3be0bf52e79da0a39bcc1463d983cbeb504bad30f3d2f7582f0295c7210d3c1eec40ec87bcc3546ba2d21a67cca9e SHA512 e821647b50698c3a82fad039e69943e030bf644d8f8e82afa87c6c11da44761bceecddd510a7a956a1b487b1cca6ee46e8ac8818ea03127f0f1ff8f5d1a1a7f9
-EBUILD znc-1.8.2-r1.ebuild 5541 BLAKE2B 54c77b0863f41b84ce5e18d5920fdb44495b1bed382bdf81a9b71b499d0a51c90c78ca568432fc7f25b7f4d291ea0947572ae44e97f51c268422603419b2a40a SHA512 91e57ff215c28bc30292046083a1aef451786cc49243b5363cfafe53ccfaba0e525c10ba813f7aff94009189388a460c61e0d326147fc4ed3e4c967a0f83d3bb
EBUILD znc-1.8.2-r2.ebuild 5610 BLAKE2B c6db44a5485f8c618142ca0d0a86386c323204b5ff08ad44303f7432eea5e7cf121a0d09b0333bf5afa7e2fa028ad5903b81486ef5b5af7828b3ae8e8113056c SHA512 06c3090bf39b5969db0ee691a06ce1152f3c29ffa8800a5ee520d0917e3da4343daeac22a3506043169f88cb85c47e805541e16358bfea5f2decfa5c60e8d4cc
EBUILD znc-9999.ebuild 5383 BLAKE2B 86d27fad845a830674635f43744f825adb8ac1382a6bf4660405f4c50d141cea5100202dd2cff3633517237a9aeef867eeb3428b3b08ff8d0b8c0488a3324241 SHA512 096192ed5d997df19d1e79426868027b9b194359ce781c6eb2925522b73dfdf9b009e1049cf42d0ba29d5453468d9f4adc0201d0c5a77dbff1bea9aa89a0572d
MISC metadata.xml 508 BLAKE2B 55a9f6a41856dfab6261b5cc23afa06756835fd740253084e06cfa53afcf6036974aeb5455373f43432515a5a88f476471ef9fa8bb38b30b8335af469eabf0c2 SHA512 5974ad23cb5256888b7b9c2c34a6fdbe46efb3e48bc075a3ebf09612bdb70ac27b56fd0bab13e1ada8234e2a3dce725aa8fc2bcf8e5248227f27e6e8a371c438
diff --git a/net-irc/znc/znc-1.8.2-r1.ebuild b/net-irc/znc/znc-1.8.2-r1.ebuild
deleted file mode 100644
index 1f40b9dfe14d..000000000000
--- a/net-irc/znc/znc-1.8.2-r1.ebuild
+++ /dev/null
@@ -1,194 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit cmake python-single-r1 readme.gentoo-r1 systemd
-
-GTEST_VER="1.8.1"
-GTEST_URL="https://github.com/google/googletest/archive/${GTEST_VER}.tar.gz -> gtest-${GTEST_VER}.tar.gz"
-DESCRIPTION="An advanced IRC Bouncer"
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/znc/znc.git"
-else
- MY_PV=${PV/_/-}
- MY_P=${PN}-${MY_PV}
- SRC_URI="
- https://znc.in/releases/archive/${MY_P}.tar.gz
- test? ( ${GTEST_URL} )
- "
- KEYWORDS="amd64 arm arm64 ~riscv x86"
- S=${WORKDIR}/${MY_P}
-fi
-
-HOMEPAGE="https://znc.in"
-LICENSE="Apache-2.0"
-# "If you upgrade your ZNC version, you must recompile all your modules."
-# - https://wiki.znc.in/Compiling_modules
-SLOT="0/${PV}"
-IUSE="+ipv6 +icu nls perl python +ssl sasl tcl test +zlib"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} icu )"
-
-# perl is a build-time dependency of modpython
-BDEPEND="
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
- perl? (
- >=dev-lang/swig-3.0.0
- >=dev-lang/perl-5.10
- )
- python? (
- >=dev-lang/swig-3.0.0
- >=dev-lang/perl-5.10
- )
- test? (
- ${PYTHON_DEPS}
- dev-qt/qtnetwork:5
- )
-"
-DEPEND="
- icu? ( dev-libs/icu:= )
- nls? ( dev-libs/boost:=[nls] )
- perl? ( >=dev-lang/perl-5.10:= )
- python? ( ${PYTHON_DEPS} )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- ssl? ( dev-libs/openssl:0= )
- tcl? ( dev-lang/tcl:0= )
- zlib? ( sys-libs/zlib:0= )
-"
-RDEPEND="
- ${DEPEND}
- acct-user/znc
- acct-group/znc
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.7.1-inttest-dir.patch
- # All these are backports
- "${FILESDIR}"/${P}-fix-systemd-datadir.patch
- "${FILESDIR}"/${P}-add-libera.patch
- "${FILESDIR}"/${P}-fix-python-3.10.patch
-)
-
-pkg_setup() {
- if use python; then
- python-single-r1_pkg_setup
- fi
-}
-
-src_prepare() {
- # Let SWIG rebuild modperl/modpython to make user patching easier.
- if [[ ${PV} != *9999* ]]; then
- rm modules/modperl/generated.tar.gz || die
- rm modules/modpython/generated.tar.gz || die
- fi
-
- sed -i -e "s|DZNC_BIN_DIR:path=|DZNC_BIN_DIR:path=${T}/inttest|" \
- test/CMakeLists.txt || die
-
- sed -i "s|--datadir=|&${EPREFIX}|" znc.service.in || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DWANT_SYSTEMD=yes # Causes -DSYSTEMD_DIR to be used.
- -DSYSTEMD_DIR="$(systemd_get_systemunitdir)"
- -DWANT_ICU="$(usex icu)"
- -DWANT_IPV6="$(usex ipv6)"
- -DWANT_I18N="$(usex nls)"
- -DWANT_PERL="$(usex perl)"
- -DWANT_PYTHON="$(usex python)"
- -DWANT_PYTHON_VERSION="${EPYTHON#python}"
- -DWANT_CYRUS="$(usex sasl)"
- -DWANT_OPENSSL="$(usex ssl)"
- -DWANT_TCL="$(usex tcl)"
- -DWANT_ZLIB="$(usex zlib)"
- )
-
- if [[ ${PV} != *9999* ]] && use test; then
- export GTEST_ROOT="${WORKDIR}/googletest-release-${GTEST_VER}/googletest"
- export GMOCK_ROOT="${WORKDIR}/googletest-release-${GTEST_VER}/googlemock"
- fi
-
- cmake_src_configure
-}
-
-src_test() {
- cmake_build unittest
- DESTDIR="${T}/inttest" cmake_build install
- local filter='-'
- if ! use perl; then
- filter="${filter}:ZNCTest.Modperl*"
- fi
- if ! use python; then
- filter="${filter}:ZNCTest.Modpython*"
- fi
- # CMAKE_PREFIX_PATH and CXXFLAGS are needed for znc-buildmod
- # invocations from inside the test
- GTEST_FILTER="${filter}" ZNC_UNUSUAL_ROOT="${T}/inttest" \
- CMAKE_PREFIX_PATH="${T}/inttest/usr/share/znc/cmake" \
- CXXFLAGS="${CXXFLAGS} -isystem ${T}/inttest/usr/include" \
- cmake_build inttest
-}
-
-src_install() {
- cmake_src_install
-
- dodoc NOTICE
- newinitd "${FILESDIR}"/znc.initd-r2 znc
- newconfd "${FILESDIR}"/znc.confd-r1 znc
-
- local DOC_CONTENTS
- # "local" has its own return value which is not what we want to catch
- DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r1") || die
- local DISABLE_AUTOFORMATTING=1
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- if [[ -d "${EROOT}/var/lib/znc/.znc/" ]]; then
- eerror "${EROOT}/var/lib/znc/.znc/ exists, please move your data to ${EROOT}/var/lib/znc/"
- eerror ""
- eerror "The systemd unit has changed and now expects data to be located"
- eerror "at the root of ${EROOT}/var/lib/znc instead of its '.znc' subfolder."
- eerror "The recommended procedure to move the data is the following:"
- eerror "1. stop the service: systemctl stop znc.service"
- eerror "2. move the data: cp -a '${EROOT}/var/lib/znc/.znc/.' '${EROOT}/var/lib/znc/'"
- eerror "3. fix the config file: sed -i 's|${EROOT}/var/lib/znc/.znc|${EROOT}/var/lib/znc|g' '${EROOT}/var/lib/znc/configs/znc.conf'"
- eerror "4. restart znc: systemctl start znc.service"
- eerror "5. once everything works, remove the old data directory: rm -r '${EROOT}/var/lib/znc/.znc/'"
- eerror "See https://bugs.gentoo.org/743856 for details."
- fi
-
- if [[ -z "${REPLACING_VERSIONS}" ]]; then
- # This is a new installation
- readme.gentoo_print_elog
- fi
-}
-
-pkg_config() {
- if [[ -d "${EROOT}/var/lib/znc/configs" ]]; then
- ewarn "${EROOT}/var/lib/znc/configs/ already exists,"
- ewarn "aborting to avoid damaging any existing configuration."
- ewarn "If you are sure you want to generate a new configuration,"
- ewarn "remove the folder and try again."
- else
- einfo "Press enter to interactively create a new configuration file for znc."
- einfo "To abort, press Control-C"
- read
- su ${PN} -p -s /bin/sh -c 'ZNC_NO_LAUNCH_AFTER_MAKECONF=1 \
- "${EROOT}"/usr/bin/znc --makeconf \
- --datadir "${EROOT}/var/lib/znc"' || die "Config failed"
- einfo
- einfo "You can now start the znc service using the init system of your choice."
- einfo "Don't forget to enable it if you want to use znc at boot."
- fi
-}