diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2025-01-13 19:03:19 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2025-01-13 19:03:19 +0000 |
commit | c0a56f93d54d0dbe2e33e4b465096f30d49a09dc (patch) | |
tree | 35c235f2d6d3d6433c95c4ea515612638bd0cd94 | |
parent | 2025-01-13 18:48:28 UTC (diff) | |
parent | net-misc/lldpd: add 1.0.19 (diff) | |
download | gentoo-c0a56f93d54d0dbe2e33e4b465096f30d49a09dc.tar.gz gentoo-c0a56f93d54d0dbe2e33e4b465096f30d49a09dc.tar.bz2 gentoo-c0a56f93d54d0dbe2e33e4b465096f30d49a09dc.zip |
Merge updates from master
-rw-r--r-- | app-containers/runc/Manifest | 1 | ||||
-rw-r--r-- | app-containers/runc/runc-1.2.4.ebuild | 75 | ||||
-rw-r--r-- | app-office/ktimetracker/Manifest | 1 | ||||
-rw-r--r-- | app-office/ktimetracker/ktimetracker-6.0.0_pre20250109.ebuild | 46 | ||||
-rw-r--r-- | app-text/kbibtex/Manifest | 1 | ||||
-rw-r--r-- | app-text/kbibtex/kbibtex-0.10.50_pre20250113.ebuild | 71 | ||||
-rw-r--r-- | dev-util/heaptrack/Manifest | 2 | ||||
-rw-r--r-- | dev-util/heaptrack/files/heaptrack-1.5.0-c99.patch | 43 | ||||
-rw-r--r-- | dev-util/heaptrack/heaptrack-1.5.80_pre20250110.ebuild (renamed from dev-util/heaptrack/heaptrack-1.5.0.ebuild) | 32 | ||||
-rw-r--r-- | net-misc/lldpd/Manifest | 1 | ||||
-rw-r--r-- | net-misc/lldpd/lldpd-1.0.19.ebuild | 111 |
11 files changed, 322 insertions, 62 deletions
diff --git a/app-containers/runc/Manifest b/app-containers/runc/Manifest index 2c7cd812dcff..edd5fa0271cd 100644 --- a/app-containers/runc/Manifest +++ b/app-containers/runc/Manifest @@ -5,3 +5,4 @@ DIST runc-1.2.0.tar.gz 2776027 BLAKE2B 743ea8641c0fabda5e32c1d3e044627241337bcdf DIST runc-1.2.1.tar.gz 2742512 BLAKE2B 06beda96edb4fa0796371d28f646b01760cd9b663104045407ae27f3ddd51e0318eddba8fc3dbe107629831a5f4051af0f50406418213485b7ee90cdf9a86085 SHA512 098ba9810d6a6704b11f97360cf403d0e5cccdf635a9b5c594b70e26c2c1554c328506265754f500e2faec1f08655839837036010c6a25265047a47c31f4defd DIST runc-1.2.2.tar.gz 2743483 BLAKE2B d1e59aff284dcacdc50a17c4efab09b4bdda5d93ce13822542ea73ec696d3642d4dcc715d2adad308622100b04ef62365d3848be6418db5a325ac574b66e314c SHA512 87066ff0fe7ff6dc0eefd61ba2b194fa96433a091a34e9035350123b7da7dccf7fcec6f52b377c72be853820b4a57154b42bcd58c872263f8b7a16bfc480e5d7 DIST runc-1.2.3.tar.gz 2757883 BLAKE2B adc3b23ddc487d674a406de8e9e17c2d41d2335e4e18ed2a8a1f5add0909ec235a01fc9483e91e74fb2869950c572d0a22882034b8b5f80c4719d20790e3b38c SHA512 e422e469dbcd60fbc3bf9ca348ba04f8b27b2a43bca8f3ee4c9407539f5dec71373d53d192b47d42eaefa1d7ca2ac9e64839cbe4b82bf930b5a496f3028e5212 +DIST runc-1.2.4.tar.gz 2759394 BLAKE2B 02b282c9fbe7f82ad1d4297b9d2576ee99db7f4db193aa6b08b595d1a18f4a0cb41c5fddb8184ca389e77726c71f4b64b686b2ee1b8e8df97179669362c17ff7 SHA512 2a14bfe7759e0cefcf88fac9d756eb2cbed8a9ebf7b6eacb96855467ea151c278ae0d58735d2a5a2d3335fc54eae4625dfcdb641065df58ba10fd1faafbd3119 diff --git a/app-containers/runc/runc-1.2.4.ebuild b/app-containers/runc/runc-1.2.4.ebuild new file mode 100644 index 000000000000..9d93d3d7ccda --- /dev/null +++ b/app-containers/runc/runc-1.2.4.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module linux-info + +# update on bump, look for commit ID on release tag. +# https://github.com/opencontainers/runc +RUNC_COMMIT=6c52b3fc541fb26fe8c374d5f58112a0a5dbda66 + +CONFIG_CHECK="~USER_NS" + +DESCRIPTION="runc container cli tools" +HOMEPAGE="https://github.com/opencontainers/runc/" +MY_PV="${PV/_/-}" +SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="Apache-2.0 BSD-2 BSD MIT" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv ~x86" +IUSE="apparmor hardened +kmem +seccomp selinux test" + +COMMON_DEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp )" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + !app-emulation/docker-runc + selinux? ( sec-policy/selinux-container )" +BDEPEND=" + dev-go/go-md2man + test? ( "${RDEPEND}" )" + +# tests need busybox binary, and portage namespace +# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox +# majority of tests pass +RESTRICT+=" test" + +src_compile() { + # Taken from app-containers/docker-1.7.0-r1 + CGO_CFLAGS+=" -I${ESYSROOT}/usr/include" + CGO_LDFLAGS+=" $(usex hardened '-fno-PIC ' '') + -L${ESYSROOT}/usr/$(get_libdir)" + + # build up optional flags + local options=( + $(usev apparmor) + $(usev seccomp) + $(usex kmem '' 'nokmem') + ) + + myemakeargs=( + BUILDTAGS="${options[*]}" + COMMIT="${RUNC_COMMIT}" + ) + + emake "${myemakeargs[@]}" runc man +} + +src_install() { + myemakeargs+=( + PREFIX="${ED}/usr" + BINDIR="${ED}/usr/bin" + MANDIR="${ED}/usr/share/man" + ) + emake "${myemakeargs[@]}" install install-man install-bash + + local DOCS=( README.md PRINCIPLES.md docs/. ) + einstalldocs +} + +src_test() { + emake "${myemakeargs[@]}" localunittest +} diff --git a/app-office/ktimetracker/Manifest b/app-office/ktimetracker/Manifest index 66674bb57015..fbd917e4370d 100644 --- a/app-office/ktimetracker/Manifest +++ b/app-office/ktimetracker/Manifest @@ -1 +1,2 @@ DIST ktimetracker-5.0.1.tar.xz 422820 BLAKE2B 4aa4aba97f612b4ea426ed13cb0f830f646311254e75ab8ddef5f6edc62bbf2acb85d85d8031bae969f3dde411e649f645bb1fbd2a52b95eb831a530fa4e80ba SHA512 78de8651efd72fa9fd5c7f06992ab8970e1d763c6f30f5eba52ec93bb6a2bb19ae777bc90809ef5198bc3b6a5f9f5ee78e240eadcacd8ce8489bdb28cd62431e +DIST ktimetracker-6.0.0_pre20250109-72017cd5.tar.gz 1030979 BLAKE2B 60dc94c25c28bf3b72a5c9fb3fc47e6dce57d49d95bb6562b13ceb6d21c1eaaac7ecc9e40cc23c9850aa35f5b29d52caa5af9a0972286202e1de0bc5b8b1abc8 SHA512 a4ad27fb420fdb7a23cc0a1a2973965d7e35d40cd714e9618a06c849417a2b006531c44918861f8c810f6a21553a2e4a20c45469d770b9d84549842676ba1e15 diff --git a/app-office/ktimetracker/ktimetracker-6.0.0_pre20250109.ebuild b/app-office/ktimetracker/ktimetracker-6.0.0_pre20250109.ebuild new file mode 100644 index 000000000000..2e5ad6873aa5 --- /dev/null +++ b/app-office/ktimetracker/ktimetracker-6.0.0_pre20250109.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KDE_ORG_COMMIT=72017cd540ed4e7a5a443a493962f6e612cafde9 +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +KDE_ORG_CATEGORY="pim" +KFMIN=6.3.0 +QTMIN=6.6.2 +inherit ecm kde.org + +DESCRIPTION="Todo management and time tracker" +HOMEPAGE="https://userbase.kde.org/KTimeTracker" + +LICENSE="GPL-2+ handbook? ( FDL-1.2 )" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets,xml] + >=dev-qt/qt5compat-${QTMIN}:6 + >=kde-frameworks/kcalendarcore-${KFMIN}:6 + >=kde-frameworks/kcmutils-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kconfigwidgets-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kcrash-${KFMIN}:6 + >=kde-frameworks/kdbusaddons-${KFMIN}:6 + >=kde-frameworks/kiconthemes-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kidletime-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/kjobwidgets-${KFMIN}:6 + >=kde-frameworks/knotifications-${KFMIN}:6 + >=kde-frameworks/ktextwidgets-${KFMIN}:6 + >=kde-frameworks/kstatusnotifieritem-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kwindowsystem-${KFMIN}:6 + >=kde-frameworks/kxmlgui-${KFMIN}:6 +" +RDEPEND="${DEPEND} + !${CATEGORY}/${PN}:5 +" diff --git a/app-text/kbibtex/Manifest b/app-text/kbibtex/Manifest index c44092fd5cf1..79e591e2d74e 100644 --- a/app-text/kbibtex/Manifest +++ b/app-text/kbibtex/Manifest @@ -1 +1,2 @@ DIST kbibtex-0.10.0.tar.xz 3885328 BLAKE2B c417cc3628739e1f3ed3231e9ba5387834a65b4ef78517273b53876ecc89e72194cdbbe14a5a479c5948beb5219d0345b1c22daa6f394b6ad7d664e260c8124d SHA512 37f4e9eb0bd7be8a64bae4076be20a6e59b33f17d59de35dec8833bce027172388aa3a49a8cbdac84c56686ad287a39e0c6f13665ed9e9b696c9ce3a6ec7de1d +DIST kbibtex-0.10.50_pre20250113-3b5dcb59.tar.gz 5612866 BLAKE2B 1e338432fdc0ee9119127bd73df14e45d77a07d259c81802d614e8e42785fa4dd91676708bd8178f9833cf848149acf07d2997485afb71821b9966e98f663f30 SHA512 9981cd4af9a89c5b500bf30b30f0d54e18fbe2822cd90aee4191872874370b1d0823d8753419b89b3287923f449d942ed21e2a60f8d8bf0fdd97fa25e8840e08 diff --git a/app-text/kbibtex/kbibtex-0.10.50_pre20250113.ebuild b/app-text/kbibtex/kbibtex-0.10.50_pre20250113.ebuild new file mode 100644 index 000000000000..96dabb1e1157 --- /dev/null +++ b/app-text/kbibtex/kbibtex-0.10.50_pre20250113.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KDE_ORG_COMMIT=3b5dcb59ca4b7a27b4549e37f951e8a358f8d89f +ECM_HANDBOOK="optional" +ECM_TEST="true" +KFMIN=6.3.0 +QTMIN=6.6.2 +inherit ecm kde.org optfeature + +DESCRIPTION="BibTeX editor to edit bibliographies used with LaTeX" +HOMEPAGE="https://apps.kde.org/kbibtex/ https://userbase.kde.org/KBibTeX" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="webengine" + +RESTRICT="test" + +COMMON_DEPEND=" + app-text/poppler[qt6] + dev-libs/icu:= + >=dev-qt/qt5compat-${QTMIN}:6 + >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets,xml] + >=dev-qt/qtnetworkauth-${QTMIN}:6 + >=kde-frameworks/kcompletion-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kconfigwidgets-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kcrash-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kiconthemes-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/kitemviews-${KFMIN}:6 + >=kde-frameworks/kjobwidgets-${KFMIN}:6 + >=kde-frameworks/kparts-${KFMIN}:6 + >=kde-frameworks/kservice-${KFMIN}:6 + >=kde-frameworks/ktexteditor-${KFMIN}:6 + >=kde-frameworks/ktextwidgets-${KFMIN}:6 + >=kde-frameworks/kwallet-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kxmlgui-${KFMIN}:6 + virtual/tex-base + webengine? ( >=dev-qt/qtwebengine-${QTMIN}:6[widgets] ) +" +RDEPEND="${COMMON_DEPEND} + !${CATEGORY}/${PN}:5 + dev-tex/bibtex2html +" +DEPEND="${COMMON_DEPEND} + >=dev-qt/qtbase-${QTMIN}:6[concurrent] +" + +src_configure() { + local mycmakeargs=( + -DQT_MAJOR_VERSION=6 # TODO: re-add KDocTools search to this awful piece of cmake... + $(cmake_use_find_package webengine Qt6WebEngineWidgets) + ) + + ecm_src_configure +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "PDF or PostScript document previews" "kde-apps/okular:6" + fi + ecm_pkg_postinst +} diff --git a/dev-util/heaptrack/Manifest b/dev-util/heaptrack/Manifest index 08cdd294b831..953a3fdd2edc 100644 --- a/dev-util/heaptrack/Manifest +++ b/dev-util/heaptrack/Manifest @@ -1 +1 @@ -DIST heaptrack-1.5.0.tar.xz 5447668 BLAKE2B f4a69311267daf9439e264bf8bb9802db41abb3fa766e5dfc8fcfe39c58feab2d0fe32710c6b5a2d63715e8b013e4a81e2984de425be871e253b1b2567a1dca2 SHA512 b52cc63a29d67dade85f40a7f9abb43e104762b9c853385f501d37fcbcef90fdcdfc93e2900c71b5a47c773bf98fe75f66f8b6a9e31a12610b6deec20d9736aa +DIST heaptrack-1.5.80_pre20250110-5d8bfe44.tar.gz 9485092 BLAKE2B 86c04c9892a845c382b8c28248c6230517fff3ed536f773e8cd24b73c1655e08d571bb351b606aca4f0147141256f2496f119d5406a04f8da89f58de29c969db SHA512 019882341d4e046b5a1f7f8873227f455995ce1c837efa1f934c17578b41e13fa8dd4c6a20edaaea4e2e9659b43e9631c1cb3d4ccd87108f5c4342889374dff1 diff --git a/dev-util/heaptrack/files/heaptrack-1.5.0-c99.patch b/dev-util/heaptrack/files/heaptrack-1.5.0-c99.patch deleted file mode 100644 index 4d88af050d5c..000000000000 --- a/dev-util/heaptrack/files/heaptrack-1.5.0-c99.patch +++ /dev/null @@ -1,43 +0,0 @@ -https://invent.kde.org/sdk/heaptrack/-/merge_requests/24 - -From ce0e0d218e76b1b724f4e10b9da2d8f33e4156b6 Mon Sep 17 00:00:00 2001 -From: Florian Weimer <fweimer@redhat.com> -Date: Fri, 15 Dec 2023 22:53:19 +0100 -Subject: [PATCH] cmake: Fix C compatibility of libunwind probes -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Future compilers such as GCC 14 are likely to enforce C type -compatibility rules by default and report errors like this one: - -…/TryCompile-aAxUZn/src.c: In function ‘main’: -…/TryCompile-aAxUZn/src.c:3:43: error: passing argument 1 of ‘unw_backtrace’ from incompatible pointer type - 3 | int main() { void* buf[10]; unw_backtrace(&buf, 10); return 0; } - | ^~~~ - | | - | void * (*)[10] -In file included from /usr/include/libunwind-x86_64.h:129, - from /usr/include/libunwind.h:23, - from …/TryCompile-aAxUZn/src.c:2: -/usr/include/libunwind-common.h:318:27: note: expected ‘void **’ but argument is of type ‘void * (*)[10]’ - 318 | extern int unw_backtrace (void **, int); - | ^~~~~~~ - -Removing the address operator ensures that the array type decays to -a pointer, and that the types are compatible. ---- a/cmake/FindLibunwind.cmake -+++ b/cmake/FindLibunwind.cmake -@@ -57,8 +57,8 @@ if (LIBUNWIND_LIBRARY) - LIBUNWIND_HAS_UNW_GETCONTEXT) - check_c_source_compiles("#define UNW_LOCAL_ONLY 1\n#include <libunwind.h>\nint main() { unw_context_t context; unw_cursor_t cursor; unw_getcontext(&context); unw_init_local(&cursor, &context); return 0; }" - LIBUNWIND_HAS_UNW_INIT_LOCAL) -- check_c_source_compiles("#define UNW_LOCAL_ONLY 1\n#include <libunwind.h>\nint main() { void* buf[10]; unw_backtrace(&buf, 10); return 0; }" LIBUNWIND_HAS_UNW_BACKTRACE) -- check_c_source_compiles ("#define UNW_LOCAL_ONLY 1\n#include <libunwind.h>\nint main() { void* buf[10]; unw_backtrace_skip(&buf, 10, 2); return 0; }" LIBUNWIND_HAS_UNW_BACKTRACE_SKIP) -+ check_c_source_compiles("#define UNW_LOCAL_ONLY 1\n#include <libunwind.h>\nint main() { void* buf[10]; unw_backtrace(buf, 10); return 0; }" LIBUNWIND_HAS_UNW_BACKTRACE) -+ check_c_source_compiles ("#define UNW_LOCAL_ONLY 1\n#include <libunwind.h>\nint main() { void* buf[10]; unw_backtrace_skip(buf, 10, 2); return 0; }" LIBUNWIND_HAS_UNW_BACKTRACE_SKIP) - check_c_source_compiles ("#define UNW_LOCAL_ONLY 1\n#include <libunwind.h>\nint main() { return unw_set_cache_size(unw_local_addr_space, 1024, 0); }" LIBUNWIND_HAS_UNW_SET_CACHE_SIZE) - check_c_source_compiles ("#define UNW_LOCAL_ONLY 1\n#include <libunwind.h>\nint main() { return unw_set_caching_policy(unw_local_addr_space, UNW_CACHE_PER_THREAD); }" LIBUNWIND_HAS_UNW_CACHE_PER_THREAD) - set(CMAKE_REQUIRED_QUIET ${CMAKE_REQUIRED_QUIET_SAVE}) --- -GitLab diff --git a/dev-util/heaptrack/heaptrack-1.5.0.ebuild b/dev-util/heaptrack/heaptrack-1.5.80_pre20250110.ebuild index eb794b0466ad..f4c9330b0834 100644 --- a/dev-util/heaptrack/heaptrack-1.5.0.ebuild +++ b/dev-util/heaptrack/heaptrack-1.5.80_pre20250110.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +KDE_ORG_COMMIT=5d8bfe4441be81ff3ced10114bb012d24ec0ab86 inherit cmake kde.org xdg-utils DESCRIPTION="Fast heap memory profiler" HOMEPAGE="https://apps.kde.org/heaptrack/ https://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux" -SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz" LICENSE="LGPL-2.1+" SLOT="0" @@ -17,23 +17,22 @@ IUSE="+gui test zstd" RESTRICT="!test? ( test )" +# TODO: unbundle robin-map DEPEND=" dev-libs/boost:=[zstd?,zlib] sys-libs/libunwind:= sys-libs/zlib gui? ( - dev-libs/kdiagram:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - kde-frameworks/kconfig:5 - kde-frameworks/kconfigwidgets:5 - kde-frameworks/kcoreaddons:5 - kde-frameworks/ki18n:5 - kde-frameworks/kio:5 - kde-frameworks/kitemmodels:5 - kde-frameworks/kwidgetsaddons:5 - kde-frameworks/threadweaver:5 + dev-libs/kdiagram:6 + dev-qt/qtbase:6[gui,widgets] + kde-frameworks/kconfig:6 + kde-frameworks/kconfigwidgets:6 + kde-frameworks/kcoreaddons:6 + kde-frameworks/ki18n:6 + kde-frameworks/kio:6 + kde-frameworks/kitemmodels:6 + kde-frameworks/kwidgetsaddons:6 + kde-frameworks/threadweaver:6 ) zstd? ( app-arch/zstd:= ) " @@ -47,10 +46,6 @@ QA_CONFIG_IMPL_DECL_SKIP=( unw_backtrace_skip ) -PATCHES=( - "${FILESDIR}"/${PN}-1.5.0-c99.patch -) - src_prepare() { cmake_src_prepare rm -rf 3rdparty/boost-zstd || die # ensure no bundling @@ -58,6 +53,7 @@ src_prepare() { src_configure() { local mycmakeargs=( + -DHEAPTRACK_USE_QT6=ON -DHEAPTRACK_BUILD_GUI=$(usex gui) -DBUILD_TESTING=$(usex test) $(cmake_use_find_package zstd ZSTD) diff --git a/net-misc/lldpd/Manifest b/net-misc/lldpd/Manifest index 96161893a88d..d28d40ac2a46 100644 --- a/net-misc/lldpd/Manifest +++ b/net-misc/lldpd/Manifest @@ -1 +1,2 @@ DIST lldpd-1.0.18.tar.gz 1988691 BLAKE2B 37ee156013ab9ceaee06d10025fe0b76e26ebafef7a8254866347db8e6b316805a49d0f9f2ba330bb5f863336e95983214c9c9fb453e2290e9be0c47808504c7 SHA512 c8734221767cd879c98ea3ee6fa80e1dce2f8470a97b0f757cfe7ef8fe2adaf878fdedcda896cf65e1af980634f2ab312588658fb85f89c6d5b6cc9d2da52045 +DIST lldpd-1.0.19.tar.gz 1987102 BLAKE2B 8303683af56492027a5610240d9c5007ce2a6653dbe6b8f5ce5e28089dac4c06c8716ad96ed5dda31af4a29e10abbbe675ec5cf29b639a1c17db24698e318715 SHA512 128a664de09fb91fd1cab4070e3a9cf2705d91f57e956f6953f431f17fcf21ce3f12b89a536e66057ef456840cfd0c2ac5102ec9736f2856586d7a64751cfb67 diff --git a/net-misc/lldpd/lldpd-1.0.19.ebuild b/net-misc/lldpd/lldpd-1.0.19.ebuild new file mode 100644 index 000000000000..cc14c4a59beb --- /dev/null +++ b/net-misc/lldpd/lldpd-1.0.19.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd bash-completion-r1 autotools tmpfiles + +DESCRIPTION="Implementation of IEEE 802.1ab (LLDP)" +HOMEPAGE="https://lldpd.github.io/" +SRC_URI="https://github.com/lldpd/lldpd/releases/download/${PV}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/4" +KEYWORDS="~amd64 ~x86" +IUSE="cdp doc +dot1 +dot3 edp fdp graph +lldpmed old-kernel sanitizers + seccomp sonmp snmp static-libs test readline valgrind xml" +RESTRICT="!test? ( test )" + +RDEPEND=" + acct-group/lldpd + acct-user/lldpd + dev-libs/libbsd + >=dev-libs/libevent-2.1.11:= + sys-libs/readline:0= + seccomp? ( sys-libs/libseccomp:= ) + snmp? ( net-analyzer/net-snmp:=[extensible(+)] ) + xml? ( dev-libs/libxml2:= ) +" +DEPEND="${RDEPEND} + test? ( dev-libs/check ) + valgrind? ( dev-debug/valgrind ) +" +BDEPEND="virtual/pkgconfig + doc? ( + graph? ( app-text/doxygen[dot,doc] ) + !graph? ( app-text/doxygen ) + ) +" + +REQUIRED_USE=" + graph? ( doc ) + test? ( snmp sanitizers ) +" + +# tests need root +RESTRICT+=" test" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + export ac_cv_header_valgrind_valgrind_h=$(usex valgrind) + + econf \ + --cache-file="${S}"/config.cache \ + --without-embedded-libevent \ + --with-privsep-user=${PN} \ + --with-privsep-group=${PN} \ + --with-privsep-chroot=/run/${PN} \ + --with-lldpd-ctl-socket=/run/${PN}.socket \ + --with-lldpd-pid-file=/run/${PN}.pid \ + $(use_enable cdp) \ + $(use_enable doc doxygen-doc) \ + $(use_enable doc doxygen-man) \ + $(use_enable doc doxygen-pdf) \ + $(use_enable doc doxygen-html) \ + $(use_enable dot1) \ + $(use_enable dot3) \ + $(use_enable edp) \ + $(use_enable fdp) \ + $(use_enable graph doxygen-dot) \ + $(use_enable lldpmed) \ + $(use_enable old-kernel oldies) \ + $(use_enable sonmp) \ + $(use_enable static-libs static) \ + $(use_with readline) \ + $(use_enable sanitizers) \ + $(use_with seccomp) \ + $(use_with snmp) \ + $(use_with xml) +} + +src_compile() { + emake + use doc && emake doxygen-doc +} + +src_install() { + emake DESTDIR="${D}" install + find "${D}" -name '*.la' -delete || die + + newinitd "${FILESDIR}"/${PN}-initd-5 ${PN} + newconfd "${FILESDIR}"/${PN}-confd-1 ${PN} + newbashcomp src/client/completion/lldpcli lldpcli + + use doc && dodoc -r doxygen/html + + insinto /etc + doins "${FILESDIR}/lldpd.conf" + keepdir /etc/${PN}.d + + systemd_dounit "${FILESDIR}"/${PN}.service + newtmpfiles "${FILESDIR}"/tmpfilesd ${PN}.conf +} + +pkg_postinst() { + tmpfiles_process ${PN}.conf +} |