[net-irc/znc] sync with tree
This commit is contained in:
parent
0c53874a63
commit
af9e666648
@ -7,6 +7,7 @@
|
|||||||
</maintainer>
|
</maintainer>
|
||||||
<use>
|
<use>
|
||||||
<flag name="zlib">Enable mod_deflate-like gzip support for znc's web interface using <pkg>sys-libs/zlib</pkg>.</flag>
|
<flag name="zlib">Enable mod_deflate-like gzip support for znc's web interface using <pkg>sys-libs/zlib</pkg>.</flag>
|
||||||
|
<flag name="argon2">Store password hashes using Argon2id instead of SHA-256</flag>
|
||||||
</use>
|
</use>
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="github">znc/znc</remote-id>
|
<remote-id type="github">znc/znc</remote-id>
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{10..12} )
|
PYTHON_COMPAT=( python3_{11..14} )
|
||||||
|
|
||||||
inherit cmake python-single-r1
|
inherit cmake python-single-r1
|
||||||
|
|
||||||
GTEST_VER="1.8.1"
|
GTEST_VER="1.14.0"
|
||||||
GTEST_URL="https://github.com/google/googletest/archive/${GTEST_VER}.tar.gz -> gtest-${GTEST_VER}.tar.gz"
|
GTEST_URL="https://github.com/google/googletest/archive/${GTEST_VER}.tar.gz -> gtest-${GTEST_VER}.tar.gz"
|
||||||
DESCRIPTION="An advanced IRC Bouncer"
|
DESCRIPTION="An advanced IRC Bouncer"
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ LICENSE="Apache-2.0"
|
|||||||
# "If you upgrade your ZNC version, you must recompile all your modules."
|
# "If you upgrade your ZNC version, you must recompile all your modules."
|
||||||
# - https://wiki.znc.in/Compiling_modules
|
# - https://wiki.znc.in/Compiling_modules
|
||||||
SLOT="0/${PV}"
|
SLOT="0/${PV}"
|
||||||
IUSE="+icu nls perl python +ssl sasl tcl test +zlib"
|
IUSE="+argon2 +icu nls perl python +ssl sasl tcl test +zlib"
|
||||||
RESTRICT="!test? ( test )"
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
# tests run znc-buildmod which is a Python script
|
# tests run znc-buildmod which is a Python script
|
||||||
@ -53,12 +53,12 @@ BDEPEND="
|
|||||||
)
|
)
|
||||||
test? (
|
test? (
|
||||||
${PYTHON_DEPS}
|
${PYTHON_DEPS}
|
||||||
dev-qt/qtnetwork:5
|
dev-qt/qtbase:6[network]
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
DEPEND="
|
DEPEND="
|
||||||
app-crypt/argon2
|
dev-cpp/cctz:=
|
||||||
dev-cpp/cctz
|
argon2? ( app-crypt/argon2:= )
|
||||||
icu? ( dev-libs/icu:= )
|
icu? ( dev-libs/icu:= )
|
||||||
nls? ( dev-libs/boost:=[nls] )
|
nls? ( dev-libs/boost:=[nls] )
|
||||||
perl? ( >=dev-lang/perl-5.10:= )
|
perl? ( >=dev-lang/perl-5.10:= )
|
||||||
@ -70,7 +70,7 @@ DEPEND="
|
|||||||
"
|
"
|
||||||
|
|
||||||
PATCHES=(
|
PATCHES=(
|
||||||
"${FILESDIR}"/${PN}-1.7.1-inttest-dir.patch
|
"${FILESDIR}/${PN}-1.7.1-inttest-dir.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
@ -97,6 +97,7 @@ src_prepare() {
|
|||||||
src_configure() {
|
src_configure() {
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
-DWANT_ICU="$(usex icu)"
|
-DWANT_ICU="$(usex icu)"
|
||||||
|
-DWANT_ARGON="$(usex argon2)"
|
||||||
-DWANT_IPV6=yes
|
-DWANT_IPV6=yes
|
||||||
-DWANT_I18N="$(usex nls)"
|
-DWANT_I18N="$(usex nls)"
|
||||||
-DWANT_PERL="$(usex perl)"
|
-DWANT_PERL="$(usex perl)"
|
||||||
@ -109,8 +110,8 @@ src_configure() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
if [[ ${PV} != *9999* ]] && use test; then
|
if [[ ${PV} != *9999* ]] && use test; then
|
||||||
export GTEST_ROOT="${WORKDIR}/googletest-release-${GTEST_VER}/googletest"
|
export GTEST_ROOT="${WORKDIR}/googletest-${GTEST_VER}/googletest"
|
||||||
export GMOCK_ROOT="${WORKDIR}/googletest-release-${GTEST_VER}/googlemock"
|
export GMOCK_ROOT="${WORKDIR}/googletest-${GTEST_VER}/googlemock"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cmake_src_configure
|
cmake_src_configure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user