diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-04-01 01:33:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-04-01 01:33:27 +0100 |
commit | 9cb5d77a6732fadf391fd38da00e6921f3e23112 (patch) | |
tree | 30f5c59801151fa131da4743ca598f950b2e5b4b /app-admin | |
parent | 033286afc1eb2e64a87a58798a0c620d8b56f497 (diff) |
gentoo auto-resync : 01:04:2025 - 01:33:27
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/Manifest.gz | bin | 32857 -> 32857 bytes | |||
-rw-r--r-- | app-admin/awscli/Manifest | 2 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.38.24.ebuild | 93 | ||||
-rw-r--r-- | app-admin/rsyslog/Manifest | 4 | ||||
-rw-r--r-- | app-admin/rsyslog/metadata.xml | 1 | ||||
-rw-r--r-- | app-admin/rsyslog/rsyslog-8.2502.0-r1.ebuild (renamed from app-admin/rsyslog/rsyslog-8.2502.0.ebuild) | 5 | ||||
-rw-r--r-- | app-admin/sysklogd/Manifest | 2 | ||||
-rw-r--r-- | app-admin/sysklogd/sysklogd-2.7.2.ebuild | 86 |
8 files changed, 189 insertions, 4 deletions
diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz Binary files differindex 1e0054b8fcd7..bbb52b68b8fa 100644 --- a/app-admin/Manifest.gz +++ b/app-admin/Manifest.gz diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 76beab815956..981aa5f93347 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -5,6 +5,7 @@ DIST aws-cli-1.38.20.gh.tar.gz 2943124 BLAKE2B 049e6791cafba4731b3a5eb7668ce5602 DIST aws-cli-1.38.21.gh.tar.gz 2943903 BLAKE2B d7b78e85e552c90321bb5f8ac3db4aee1daa37982489908fe9f1d3a8bf580c94cff0dceefc11a09a0905021a0f8652fe355ebd9ef7e2dc545f3266add3309076 SHA512 3621588933d3e9e7614f2a9e702acf3070ab6c23b7d276f75a0f07631e2d4097ad4e54c67ba24e7ecee7ff78d0cd02bf7b7005769c663eed327def8f8c643064 DIST aws-cli-1.38.22.gh.tar.gz 2944494 BLAKE2B 01ec94cc6b644a79396e532cd563851b5ecd65e7fe29ec4caad3f1383fc6fcf9798844e342fe16a74617c7e7c43db60c1c9e31ba4480ae7784d30c045edce782 SHA512 45a927a9b2cdf9c99229c3ded7d72dea28aff873336c7459a313d71d5f7a1d5f4c6c9b4ca457b66c8887b33a9e51a873fb41e60b94102c813fecf22359d6d6aa DIST aws-cli-1.38.23.gh.tar.gz 2945172 BLAKE2B e60a7465a8f03e73244eee0e8993f35cdfd4210aa16fa63ad2b5813420b0401fd7a8589da68f61c18f4c4a3aef198ac05b1e2d48ba51d0300135ea3b1d54d547 SHA512 c3bf38d2cc3e7b1f783ca9424f64bcb9c1757874d47bc7d44e98f9c42f4e1841749ec0d8a984b249215aefe1e2c44f55ff76708fb8ac630ce5bd8375a230197b +DIST aws-cli-1.38.24.gh.tar.gz 2946279 BLAKE2B 96f6ad7a7c44a59b174edff0176c4d986598a49fa3606c2c5c77d1b3ccf5cf8d349155a2f8fb0c71ad10af0a5d1f5ad4f5ea042debb81ff11fd7bd60c232ced6 SHA512 145a81e957015c911fda29c419c6ebf6bd05ff3b1c9a1169bb73aa32f0557a05577bc5c8aca359a1beac1f9f98ecb91039660622e0b3613521ff771ba2ad27c6 DIST aws-cli-1.38.9.gh.tar.gz 2921470 BLAKE2B fb6b616095702417335be03a763a4434759c79fa1a31ec7c8c84cb59567461167b0b3c5b80baa950cd0b7298985b298c825f669b82d33ef5bd35adefe947729c SHA512 23fd65c3a0b0c8bb0cd64d52db924cddc8663671c0d80e45c9af1afb2c8558e42eed7a88d3fba2351fa1cf2d0dda1ca1b51a3baaba04b5249bd5d1551059b100 EBUILD awscli-1.38.13.ebuild 3131 BLAKE2B 8a61c4d672bc9bc67974d876f40ee63bd5c0c585be1325b849e84fde874754025abf8e865d1b23ffac3adacf23025902d5b1268dab87dbd622cf4485f959a4c0 SHA512 b59539df0de6cb7927d67e150c651c078cbf4f19415787abe6d8e27ef51c6c5a374f3df09aed35249bb9d00afb69ccc633fd070be45ee301c99ade2e454c30f0 EBUILD awscli-1.38.18.ebuild 3131 BLAKE2B 8a61c4d672bc9bc67974d876f40ee63bd5c0c585be1325b849e84fde874754025abf8e865d1b23ffac3adacf23025902d5b1268dab87dbd622cf4485f959a4c0 SHA512 b59539df0de6cb7927d67e150c651c078cbf4f19415787abe6d8e27ef51c6c5a374f3df09aed35249bb9d00afb69ccc633fd070be45ee301c99ade2e454c30f0 @@ -13,5 +14,6 @@ EBUILD awscli-1.38.20.ebuild 3131 BLAKE2B 8a61c4d672bc9bc67974d876f40ee63bd5c0c5 EBUILD awscli-1.38.21.ebuild 3131 BLAKE2B 8a61c4d672bc9bc67974d876f40ee63bd5c0c585be1325b849e84fde874754025abf8e865d1b23ffac3adacf23025902d5b1268dab87dbd622cf4485f959a4c0 SHA512 b59539df0de6cb7927d67e150c651c078cbf4f19415787abe6d8e27ef51c6c5a374f3df09aed35249bb9d00afb69ccc633fd070be45ee301c99ade2e454c30f0 EBUILD awscli-1.38.22.ebuild 3131 BLAKE2B 8a61c4d672bc9bc67974d876f40ee63bd5c0c585be1325b849e84fde874754025abf8e865d1b23ffac3adacf23025902d5b1268dab87dbd622cf4485f959a4c0 SHA512 b59539df0de6cb7927d67e150c651c078cbf4f19415787abe6d8e27ef51c6c5a374f3df09aed35249bb9d00afb69ccc633fd070be45ee301c99ade2e454c30f0 EBUILD awscli-1.38.23.ebuild 3131 BLAKE2B 8a61c4d672bc9bc67974d876f40ee63bd5c0c585be1325b849e84fde874754025abf8e865d1b23ffac3adacf23025902d5b1268dab87dbd622cf4485f959a4c0 SHA512 b59539df0de6cb7927d67e150c651c078cbf4f19415787abe6d8e27ef51c6c5a374f3df09aed35249bb9d00afb69ccc633fd070be45ee301c99ade2e454c30f0 +EBUILD awscli-1.38.24.ebuild 3131 BLAKE2B 8a61c4d672bc9bc67974d876f40ee63bd5c0c585be1325b849e84fde874754025abf8e865d1b23ffac3adacf23025902d5b1268dab87dbd622cf4485f959a4c0 SHA512 b59539df0de6cb7927d67e150c651c078cbf4f19415787abe6d8e27ef51c6c5a374f3df09aed35249bb9d00afb69ccc633fd070be45ee301c99ade2e454c30f0 EBUILD awscli-1.38.9.ebuild 3124 BLAKE2B 035e52b252c6e82be66ce01b02bb77556580162f4679e628c77be32fd256544ddc06781caae30bb763f949425b2545930c7704ebc509dd72588838834818bfdb SHA512 6297f03f60237a835600d4c3206600f833d1b013221ca349636360822b5d5bdb65a06a612070838605e70ad23b4bfd948461a113f63e4de106e6f8d35fb8e677 MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.38.24.ebuild b/app-admin/awscli/awscli-1.38.24.ebuild new file mode 100644 index 000000000000..88651d723a58 --- /dev/null +++ b/app-admin/awscli/awscli-1.38.24.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 shell-completion + +MY_P=aws-cli-${PV} +DESCRIPTION="Universal Command Line Environment for AWS" +HOMEPAGE=" + https://github.com/aws/aws-cli/ + https://pypi.org/project/awscli/ +" +SRC_URI=" + https://github.com/aws/aws-cli/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# botocore is x.(y-1).z +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 1)).$(ver_cut 3-)" +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.11.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + !app-admin/awscli-bin +" +BDEPEND=" + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + # strip overzealous upper bounds on requirements + sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die + distutils-r1_src_prepare +} + +python_test() { + local serial_tests=( + tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success + tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success} + tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success + tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking + tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows + tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking + tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success + tests/unit/customizations/test_sessionmanager.py + tests/unit/test_compat.py::TestIgnoreUserSignals + tests/unit/test_help.py + tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + EPYTEST_XDIST= epytest "${serial_tests[@]}" + + local EPYTEST_DESELECT=( + "${serial_tests[@]}" + + # flaky (some ordering?) + tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32 + ) + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} +} + +python_install_all() { + newbashcomp bin/aws_bash_completer aws + newzshcomp bin/aws_zsh_completer.sh _aws + + distutils-r1_python_install_all + + rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die +} diff --git a/app-admin/rsyslog/Manifest b/app-admin/rsyslog/Manifest index 09917e284279..4a97f7a46b38 100644 --- a/app-admin/rsyslog/Manifest +++ b/app-admin/rsyslog/Manifest @@ -11,5 +11,5 @@ DIST rsyslog-8.2502.0.tar.gz 3470593 BLAKE2B 699782425f5c66b519f7d0801f6894b3dfb DIST rsyslog-doc-8.2412.0.tar.gz 8776066 BLAKE2B c5b0065e700dc37b7a8dff744b7fd242dff0bcf2b5c6f32c85cf7c43d959c669c897548a8608fcc77c5a107900fe48d3a429803f2f6548cca1a0804d036f3c0f SHA512 9b5d453b5774b027a6a4ba232133953d8a8058df4bfff31f835504656d7b01008cec5c0d28667bed0052799cf7389c0bafea7c76c3190bdcdf3d8a2eedf19b4e DIST rsyslog-doc-8.2502.0.tar.gz 8783963 BLAKE2B f7530c9bdd4b9f4a24a5206cc2cdf4ba075acc86e083f64eb5b9975061e0903ce93b3fc7de6ed23ce8f8bbf6712fbd671ea8b9ad186f8f9855a4d1353c735807 SHA512 ed6a80abea505b15a7f2a653f6edfb69b981aeb01d59a0ffb795bd224c3b2fde404b56b7bf84b46e3e6de12487c675ea1ff056f1c06da5262187b7dbfaebe8ce EBUILD rsyslog-8.2412.0.ebuild 13640 BLAKE2B 26dca8467a7df648bad4fe6528d188eb725b2af602c7b5e2fdc592966337dbfbbf8d124ce5159f6d58c26a9dbf47bbe106ee0308222263d54d8e3203e2cf8a2d SHA512 69c621fd8c5577fbb96bd3830d233c8e7951107ec3d977bf8e62e4f91729d5c101cf8d53f1460f0c4d44cceda987183e47c93210fb44893b383740b95de48fae -EBUILD rsyslog-8.2502.0.ebuild 13647 BLAKE2B e969253cf6a7ac65ae38bbe5ba46cbf401a34484461ff4cbcf842c1613493bb07251616983515f0a22893d8b0dcc17aede0e0de08fe65ae2248692f99457fb93 SHA512 3e6f766507bffe6b729bed88508ebaa669654f75e46f96a1f76dd7c18f06e59d17b5446d0e602671a6139fee1e5b547ddc3a64b67bcbf4e7bb25c141f878d723 -MISC metadata.xml 4688 BLAKE2B 61d9ef924def00bed85b9b164e95ae8f512e51a0f0090b61a5737ee93b21db69db642867ddb6076fda757ae10748b9172de42754839d01859529aec70760d04f SHA512 01bedda2baeefccffc765550ab2f8aa29235e7a3a3fc8b765beb205518785da9fb5905037ad9e8e6ba9385d2f009d260260e3c207bbf1eea5a5ce4834a004365 +EBUILD rsyslog-8.2502.0-r1.ebuild 13699 BLAKE2B cbaa26f44631e87519a99f265fdcfb2ec2bbcddd88f10d37b06e0edf94f2c53d5b44bcb41ca963d762ca9d5e2c8869fc6c29ec9fba3a5b7c0223b724176a025e SHA512 72b2602f449e6d6d29729869279ef4f05473fa176560f04d2a6eec14874bf1683eb7e0214050c51738b8c863d0c7fec830fe795956429ca0d566389258dbf4bc +MISC metadata.xml 4787 BLAKE2B 2e56532cd6661dc6ad50a7c4f3acbf4d1ca90632caa6c756cfcea496ef052d508cdbc74efe143d175269dd727cf076b6bd082ba26cf1a4eda7f964a50b162f19 SHA512 35303f9138a4e527161b2920ce2406e35ed3cfba70bf08e404c29a978b99851b32268cad0255de3c03b49bde1d363f5e21e4e55b709fa9e05515575c764d45d7 diff --git a/app-admin/rsyslog/metadata.xml b/app-admin/rsyslog/metadata.xml index 7a2ccda8e2a1..db2043bd36c5 100644 --- a/app-admin/rsyslog/metadata.xml +++ b/app-admin/rsyslog/metadata.xml @@ -24,6 +24,7 @@ <flag name="elasticsearch">Build the Elasticsearch output module (requires <pkg>net-misc/curl</pkg>)</flag> <flag name="gcrypt">Add support for encrypted log files using <pkg>dev-libs/libgcrypt</pkg></flag> <flag name="gnutls">Build the GnuTLS network stream driver (requires <pkg>net-libs/gnutls</pkg>)</flag> + <flag name="imdocker">Build the docker input module (requires <pkg>net-misc/curl</pkg>)</flag> <flag name="imhttp">Build the http input module (requires <pkg>www-servers/civetweb</pkg>)</flag> <flag name="impcap">Build the pcap input module (requires <pkg>net-libs/libpcap</pkg>)</flag> <flag name="kafka">Build the Apache Kafka input/output module (requires <pkg>dev-libs/librdkafka</pkg>)</flag> diff --git a/app-admin/rsyslog/rsyslog-8.2502.0.ebuild b/app-admin/rsyslog/rsyslog-8.2502.0-r1.ebuild index 42a9710ebb3e..f9139010f883 100644 --- a/app-admin/rsyslog/rsyslog-8.2502.0.ebuild +++ b/app-admin/rsyslog/rsyslog-8.2502.0-r1.ebuild @@ -30,7 +30,7 @@ fi LICENSE="GPL-3 LGPL-3 Apache-2.0" SLOT="0" -IUSE="clickhouse curl dbi debug doc elasticsearch +gcrypt gnutls imhttp" +IUSE="clickhouse curl dbi debug doc elasticsearch +gcrypt gnutls imdocker imhttp" IUSE+=" impcap jemalloc kafka kerberos kubernetes mdblookup" IUSE+=" mongodb mysql normalize omhttp omhttpfs omudpspoof +openssl" IUSE+=" postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp +ssl" @@ -61,6 +61,7 @@ RDEPEND=" dbi? ( >=dev-db/libdbi-0.8.3 ) elasticsearch? ( >=net-misc/curl-7.35.0 ) gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= ) + imdocker? ( >=net-misc/curl-7.40.0 ) imhttp? ( dev-libs/apr-util www-servers/civetweb @@ -218,7 +219,6 @@ src_configure() { # Input Plugins without dependencies --enable-imbatchreport --enable-imdiag - --enable-imdocker --enable-imfile --enable-improg --enable-impstats @@ -274,6 +274,7 @@ src_configure() { $(use_enable elasticsearch) $(use_enable gcrypt libgcrypt) $(use_enable gnutls) + $(use_enable imdocker) $(use_enable imhttp) $(use_enable impcap) $(use_enable jemalloc) diff --git a/app-admin/sysklogd/Manifest b/app-admin/sysklogd/Manifest index 2f670df3f1dd..1cfa3fe565d2 100644 --- a/app-admin/sysklogd/Manifest +++ b/app-admin/sysklogd/Manifest @@ -3,7 +3,9 @@ AUX sysklogd.logrotate 402 BLAKE2B 2aba98bcef0516602268132507248ea44097541ac5659 AUX sysklogd.rc10 443 BLAKE2B 04d5d645a6e79582ce4532fdf5eb4453c61e66017596c641b6ebc087963f7667dc3dcef6d2d90c0602da753fb77fdd063a1bae5907798c47e7c0e92feb9a884c SHA512 274642e7555badc2395e4a08684b07e4b5be91cfe92f5f2e47903263dde1ccb67c9a5932864eb623d11d97a3ad429b28a8ab7a8d93177e949a2f8dec9a1aaea4 DIST sysklogd-2.5.2.tar.gz 459292 BLAKE2B c61a89e80d6fde10f5955cf3a7a563fbe9e00799eb1199bc9a2995585c074e7ab2b4fe6a30ae8bc224876448a521c3be9031853ae4710db2555279789aeda95d SHA512 0c160236d0f5ec31d0c5679c04b6f0f40a35af2b5b159af8b2b9dd2d37f5959efbe550dfc50c0b0419bea702b91a6594f2e141c2fbb78fdb20715ee8b2d27805 DIST sysklogd-2.6.2.tar.gz 462950 BLAKE2B 591bf168cd9249af888feefd45ed10b8f90e7bdb71c75fbc8a95867dba0abfd20c08b0bbc13f80de2eb9ccf69ab9f77690978963ce96bf17472d2c036f96bb15 SHA512 4fb5ccba9e94c273e92ca4a55c6a7234a3dd6bbfd4568c8227b515c0ac5eeb6fdca452c82c989432e86a667dcf13df87f96aef302141e6023d630dc90466224d +DIST sysklogd-2.7.2.tar.gz 484398 BLAKE2B 6a42e049140ab64c5658b7fc112ee33b39481ebe78079271fe6fd7ad44976d3a6e861a4c42a8958599bc83c096e2d7e09cb0c447ffd46e4844c8cfdab13dace2 SHA512 894858d6fc7d6296649934a6fe6a25570857f2153ce94e4bb6c6a2cfc3d31701f516d842f85d6ef4deab2934cf58d7326cccea6f3934524fad882d118c25eadc EBUILD sysklogd-2.5.2-r1.ebuild 2081 BLAKE2B d195730424a0c8a3164734e6302302d14b1a5bee7d0d605a4d6c1bcd5415658da70436d4aabbf48aa8827f95ded5852b4e693589ad27c6aa977461abfb4cd16b SHA512 5d8143bf24ea059ee74396f8c5c16a5d5576b6c2ef74509f442f5a5a6a01d47340746f94baddb4f7cdb0e828c27c320657c147701a1121c0502693981717534b EBUILD sysklogd-2.6.2-r1.ebuild 1989 BLAKE2B 5d8bb0cbac55469a4623936483030190cb4013a57db7c69479f23a9eb0507cf6a7bdb61ed9ff7ddf59c0e0d1941c201c1ad7ffb7adabffb10b3f040ebb2f889a SHA512 73d3fa0aa0d290b70c6ec5626655d4a4d0c4d8280d71e1601e4b6fbd35669d3c1265f5d226095b7b9cd95ff61330a789fdd11b89b60f5a2bf6112de9e0f43de8 +EBUILD sysklogd-2.7.2.ebuild 1996 BLAKE2B a696c8b89202e8df3e6c202cf286a417a16a238a16ccd1b5389ca4fa05f134710749729cbaa92b1d14b88898b502a460d2bc2bf2f646256607f98bf89799693f SHA512 8b449b8ec5fa7c592a4e8b0940f2e4d84fac81fd1314b7769d6b9629dda844430952a1cca3b2abde4b3dc36e6cd37c119c2a81638c643d4c169a91e3a836ccb5 EBUILD sysklogd-9999.ebuild 1996 BLAKE2B a696c8b89202e8df3e6c202cf286a417a16a238a16ccd1b5389ca4fa05f134710749729cbaa92b1d14b88898b502a460d2bc2bf2f646256607f98bf89799693f SHA512 8b449b8ec5fa7c592a4e8b0940f2e4d84fac81fd1314b7769d6b9629dda844430952a1cca3b2abde4b3dc36e6cd37c119c2a81638c643d4c169a91e3a836ccb5 MISC metadata.xml 527 BLAKE2B c425ac629ecb84dc5e6df9d943d5366594bcfc95eac4f529720c97825f4192d4ecba8d3f5174110e654775faf368a73ef91117eb63123d09f5f6ae9880d6ddb6 SHA512 9a4deed01fed81180553cdac43d0a03967fea0aa2a1ce1747faf592abee998c8fde4744b5cd90adc3dbc324e62df7479c686297364010aeeafc09128981fee27 diff --git a/app-admin/sysklogd/sysklogd-2.7.2.ebuild b/app-admin/sysklogd/sysklogd-2.7.2.ebuild new file mode 100644 index 000000000000..9a1198818fec --- /dev/null +++ b/app-admin/sysklogd/sysklogd-2.7.2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit eapi9-ver flag-o-matic systemd toolchain-funcs + +DESCRIPTION="Standard log daemons" +HOMEPAGE="https://troglobit.com/sysklogd.html https://github.com/troglobit/sysklogd" + +if [[ ${PV} == *9999 ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/troglobit/sysklogd.git" +else + SRC_URI="https://github.com/troglobit/sysklogd/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="logger logrotate" +# Needs network access +RESTRICT="test" + +DEPEND=" + logger? ( sys-apps/util-linux[-logger(+)] ) +" +RDEPEND=" + ${DEPEND} + logrotate? ( app-admin/logrotate ) + !net-misc/inetutils[syslogd] +" + +DOCS=( ChangeLog.md README.md ) + +src_prepare() { + default + + [[ ${PV} == *9999 ]] && eautoreconf +} + +src_configure() { + append-lfs-flags + tc-export CC + + local myeconfargs=( + --disable-static + --runstatedir="${EPREFIX}"/run + --with-systemd=$(systemd_get_systemunitdir) + $(use_with logger) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + insinto /etc + doins syslog.conf + keepdir /etc/syslog.d + + newinitd "${FILESDIR}"/sysklogd.rc10 sysklogd + newconfd "${FILESDIR}"/sysklogd.confd3 sysklogd + + if use logrotate ; then + insinto /etc/logrotate.d + newins "${FILESDIR}"/sysklogd.logrotate sysklogd + sed 's@ -r 10M:10@@' -i "${ED}"/etc/conf.d/sysklogd || die + fi + + find "${ED}" -type f -name "*.la" -delete || die +} + +pkg_postinst() { + if ! use logrotate && ver_replacing -lt 2.0 ; then + elog "Starting with version 2.0 syslogd has built in log rotation" + elog "functionality that does no longer require a running cron daemon." + elog "So we no longer install any log rotation cron files for sysklogd." + fi + + if ver_replacing -lt 2.1 ; then + elog "Starting with version 2.1 sysklogd no longer provides klogd." + elog "syslogd now also logs kernel messages." + fi +} |