summaryrefslogtreecommitdiff
path: root/dev-libs/librelp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-09 12:02:14 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-09 12:02:14 +0000
commit0fd62365fc104d7e6d5f3ef67800df09225a4019 (patch)
tree163b4a5055e07325ae1dc4f9bbbc2021ca1b6afa /dev-libs/librelp
parent442eaf1780a48ddbd7a39f5a3f34d959c3c6d27e (diff)
gentoo auto-resync : 09:03:2023 - 12:02:14
Diffstat (limited to 'dev-libs/librelp')
-rw-r--r--dev-libs/librelp/Manifest4
-rw-r--r--dev-libs/librelp/librelp-1.10.0-r1.ebuild (renamed from dev-libs/librelp/librelp-1.10.0.ebuild)23
-rw-r--r--dev-libs/librelp/librelp-1.11.0.ebuild72
3 files changed, 87 insertions, 12 deletions
diff --git a/dev-libs/librelp/Manifest b/dev-libs/librelp/Manifest
index 199c399e2d81..da7b1158cb94 100644
--- a/dev-libs/librelp/Manifest
+++ b/dev-libs/librelp/Manifest
@@ -1,3 +1,5 @@
DIST librelp-1.10.0.tar.gz 543414 BLAKE2B 3c7bace3c7892755c943dc4fc9bee7962e6891f5200ac184555da5f552d19d65f5604c745653d06a87210152af9b57f7234636e59257dd29dc83b5dc566c9680 SHA512 a38840231902bec034edb497166deded7577c989e4f735e406c8488384972925de1ca6132b3080472f7919d2439559c8774c02a49c356e90ad791dfbba2a4865
-EBUILD librelp-1.10.0.ebuild 1362 BLAKE2B 120dd524e286335ec34c52fc61c6b0f6b8c2ef6d99f236197525ece88258f263f0c3e0f5bc73b29b074babba9bb0fe00e772456005687d33a5d0cffb368cd33a SHA512 363ae8937221bab1c5caa1fdccdca70b835fbc1561619bd88e6c65128e4fa11b2795b3063328685ce1432c38da933e84acf502cae31e2cdc8289c543d50bf797
+DIST librelp-1.11.0.tar.gz 546841 BLAKE2B 3645675f7300cca72847973e2414c7ead560f4dcf6d3eb92ae53ce2b279d6a19b792f6fa6b4e9f837710681f0a224c4a85f90091dd45d46aae5ef16180f4a1ee SHA512 e93cbc12fb6e596762c351cdfa3293fea89dd8cf90de4f890771216b56c3f66e3578fefea447d4ca9f754f146712481e7bab9a831f16fcf0cd15b10d475925bc
+EBUILD librelp-1.10.0-r1.ebuild 1422 BLAKE2B 2903609264d612632f564ef0f91afb2880b634bffea7ea1f5472c98a0b6bac96eb37855807271cc4cc5804bd6fa346c977042af6a18b5fe8316089b911a7292c SHA512 e8cee29e74d4d11c06b6ebbe3e627377ab11d6b88f383e6a88d68823f55805d1ed56b7b47ec3325379246928aa1001f47438ed307fee3d8de72dd961ddf606e0
+EBUILD librelp-1.11.0.ebuild 1427 BLAKE2B f4f06025fa403c20f9dd370640404cf0d1f88fd5d99391ba3b5c0d0dca85ab7d1b239b094f1b7d4fbab7e28c3b0b30f37d721e35c94e472c1afb42b51334e51f SHA512 07a83121a5eeed579bbdd47244a2e8793674547613599963168da776a80cc9d6e2d6a940028ec49ae990d0f02949974db4f92e27a6384fda6e6330d73a3d4138
MISC metadata.xml 265 BLAKE2B cf265e8518b92ad42867e1f3ca408b8322012281c007b55885d9b530efbd8b5be78c80c6e666975ca445af9340e666e3ecd204636cc6e63c3c6ead8eb13a9ad6 SHA512 6f369b519e83fb49fcb942e69f468d3d0dcbb55e67c9ecf065d6abf88fe1676921761d8297ac55a928110c42b35bf81cb1c9edc5c41d84e45b2c123e8df8a814
diff --git a/dev-libs/librelp/librelp-1.10.0.ebuild b/dev-libs/librelp/librelp-1.10.0-r1.ebuild
index c277894327aa..5aac6f9418b9 100644
--- a/dev-libs/librelp/librelp-1.10.0.ebuild
+++ b/dev-libs/librelp/librelp-1.10.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit autotools python-any-r1
DESCRIPTION="An easy to use library for the RELP protocol"
@@ -11,24 +11,24 @@ HOMEPAGE="https://www.rsyslog.com/librelp/"
SRC_URI="https://download.rsyslog.com/${PN}/${P}.tar.gz"
LICENSE="GPL-3+ doc? ( FDL-1.3 )"
-
# subslot = soname version
SLOT="0/0.5.1"
-
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc64 ~riscv sparc x86"
IUSE="debug doc +ssl +gnutls openssl static-libs test"
REQUIRED_USE="ssl? ( ^^ ( gnutls openssl ) )"
+RESTRICT="!test? ( test )"
RDEPEND="
ssl? (
- gnutls? ( >=net-libs/gnutls-3.3.17.1:0= )
- openssl? ( dev-libs/openssl:0= )
- )"
-DEPEND="${RDEPEND}
+ gnutls? ( >=net-libs/gnutls-3.3.17.1:= )
+ openssl? ( dev-libs/openssl:= )
+ )
+"
+DEPEND="
+ ${RDEPEND}
test? ( ${PYTHON_DEPS} )
- virtual/pkgconfig"
-
-RESTRICT="!test? ( test )"
+"
+BDEPEND="virtual/pkgconfig"
pkg_setup() {
use test && python-any-r1_pkg_setup
@@ -47,13 +47,14 @@ src_prepare() {
src_configure() {
local myeconfargs=(
--disable-valgrind
+ --disable-Werror
$(use_enable debug)
$(use_enable gnutls tls)
$(use_enable openssl tls-openssl)
$(use_enable static-libs static)
)
- econf "${myeconfargs[@]}"
+ CONFIG_SHELL="${BROOT}"/bin/bash econf "${myeconfargs[@]}"
}
src_test() {
diff --git a/dev-libs/librelp/librelp-1.11.0.ebuild b/dev-libs/librelp/librelp-1.11.0.ebuild
new file mode 100644
index 000000000000..81815f17a365
--- /dev/null
+++ b/dev-libs/librelp/librelp-1.11.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit autotools python-any-r1
+
+DESCRIPTION="An easy to use library for the RELP protocol"
+HOMEPAGE="https://www.rsyslog.com/librelp/"
+SRC_URI="https://download.rsyslog.com/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+ doc? ( FDL-1.3 )"
+# subslot = soname version
+SLOT="0/0.5.1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc ~x86"
+IUSE="debug doc +ssl +gnutls openssl static-libs test"
+REQUIRED_USE="ssl? ( ^^ ( gnutls openssl ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ssl? (
+ gnutls? ( >=net-libs/gnutls-3.3.17.1:= )
+ openssl? ( dev-libs/openssl:= )
+ )
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( ${PYTHON_DEPS} )
+"
+BDEPEND="virtual/pkgconfig"
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ sed -i \
+ -e 's/ -g"/"/g' \
+ configure.ac || die "sed failed"
+
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-valgrind
+ --disable-Werror
+ $(use_enable debug)
+ $(use_enable gnutls tls)
+ $(use_enable openssl tls-openssl)
+ $(use_enable static-libs static)
+ )
+
+ CONFIG_SHELL="${BROOT}"/bin/bash econf "${myeconfargs[@]}"
+}
+
+src_test() {
+ emake -j1 check
+}
+
+src_install() {
+ local DOCS=( ChangeLog )
+ use doc && local HTML_DOCS=( doc/relp.html )
+ default
+
+ if ! use static-libs; then
+ find "${D}" -name '*.la' -delete || die
+ fi
+}