diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-18 12:11:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-18 12:11:36 +0100 |
commit | bcd00c826070701606b0ccebf46234dfc792d3e9 (patch) | |
tree | 3aeb69c5dd0a179ff8214b99f8db0aea63953d22 /app-admin | |
parent | 7be9edf526114e427a3a44ff8b418fed3ce570aa (diff) |
gentoo auto-resync : 18:09:2024 - 12:11:36
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/Manifest.gz | bin | 32029 -> 32032 bytes | |||
-rw-r--r-- | app-admin/djbdns-logparse/Manifest | 2 | ||||
-rw-r--r-- | app-admin/djbdns-logparse/djbdns-logparse-0.0.2-r2.ebuild | 2 | ||||
-rw-r--r-- | app-admin/sysklogd/Manifest | 2 | ||||
-rw-r--r-- | app-admin/sysklogd/sysklogd-2.6.2.ebuild | 85 |
5 files changed, 89 insertions, 2 deletions
diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz Binary files differindex 280ca4bb3a37..746363576522 100644 --- a/app-admin/Manifest.gz +++ b/app-admin/Manifest.gz diff --git a/app-admin/djbdns-logparse/Manifest b/app-admin/djbdns-logparse/Manifest index ff3684750cf7..7406628f6e1c 100644 --- a/app-admin/djbdns-logparse/Manifest +++ b/app-admin/djbdns-logparse/Manifest @@ -1,3 +1,3 @@ DIST djbdns-logparse-0.0.2.tar.gz 23425 BLAKE2B dfcad00ddc27d85497d671fde9d51cad033d63b132b7d73e35b65825af4c222239a4815a8081eecdeeab18ec3a00237a16a4a12b647ad6520c0a8e302d0830cc SHA512 8b4b8a59567b929e20571f50bbd302280bcf2755d6e016475db20b98884d380bdeb6800a1ce815265b0655c4f5c725c28575c89f907c89d85a163f88b7a97f6c -EBUILD djbdns-logparse-0.0.2-r2.ebuild 800 BLAKE2B 8e267a7312976e1279b6b356e7f2a2bf443cb6d79e9bfa8d438017be86848da9bb871ddc6be7b83f066e4ad447e2eb99a8e8e7efc5088806b636b918c30bf40a SHA512 da3d92502f827ffeb94b8d486b0a8b75d9185902a9064e5740b50b5a50e227e29db430b45ac242191da041d273451d4a3cece8ec08d52385a6f44768c177d590 +EBUILD djbdns-logparse-0.0.2-r2.ebuild 838 BLAKE2B 40b394679f6959bb1489784be70c57f4328d19ea82ae7bb54352a6661bbf5bae6ca253922d4fe67181f662ad4f4daa647bb868c6d7303c0903cf3b7bcc07adfa SHA512 6a60d01bfcdf2a86f03c409b6e1cde6df5afc327f27f3aa659787cfd4e624475342a40176b3ea2612949cbc0111c91d26a020329bac8fb26a44d203c2af5d2cc MISC metadata.xml 219 BLAKE2B 27094593eb47f098fe9df926d3a827b65c2ca39ac6b03d392efe2c19d646274e5b462f65a7177ba2556a9167c994544688e53a3df810dc7f86ae43c4a75fd59e SHA512 e990bf6d766d6c0380344187a03b66380e4ed7a1554dd7a900ccf1f6f2dd3a51b06b382cedd5c73e0ad75301436b351fea0e7f1fb720c3d1345a8958554d341c diff --git a/app-admin/djbdns-logparse/djbdns-logparse-0.0.2-r2.ebuild b/app-admin/djbdns-logparse/djbdns-logparse-0.0.2-r2.ebuild index 2a5bb8a3b82e..bda4829ac142 100644 --- a/app-admin/djbdns-logparse/djbdns-logparse-0.0.2-r2.ebuild +++ b/app-admin/djbdns-logparse/djbdns-logparse-0.0.2-r2.ebuild @@ -28,5 +28,5 @@ python_install_all() { } python_test() { - esetup.py test + "${EPYTHON}" -m doctest --verbose djbdns/*.py || die } diff --git a/app-admin/sysklogd/Manifest b/app-admin/sysklogd/Manifest index 2016a361a375..0c8ca5084927 100644 --- a/app-admin/sysklogd/Manifest +++ b/app-admin/sysklogd/Manifest @@ -5,9 +5,11 @@ DIST sysklogd-2.4.4.tar.gz 451938 BLAKE2B 218d9487440ab3fa395f596e5e4a9fa95df9df DIST sysklogd-2.5.0.tar.gz 459695 BLAKE2B ab8185e114f7da2c35b6ba3e3b42e13f3697155b43ccfa923229d95150e3734f74db6f732bcbc999068d8a2f8124a404ee893d2e6ce4c154f89301b3b523df39 SHA512 4599f153b046317977de990455b1eea195967da81f68451f1bda4fadba6fe685d7fe533aba3b39f4daa456d6c4931743162a021067e0a16f072a7c77908286f9 DIST sysklogd-2.5.1.tar.gz 461179 BLAKE2B efb1e1ef6456644935b0c5341bf844fe87ed910aec3fd0725da2cc2d6b3f0e1f8d4667e45525b61fa3a249387a23757291daa33aac2a72d4fcd89d325e12ab89 SHA512 24d8a76cab4c25b646d879676b46f98bb56c2079badab4f351bf983015479134e4a3e4d64fb50faade26fea8dd7e31c2c45610c17420c147c36bbbe054634983 DIST sysklogd-2.5.2.tar.gz 459292 BLAKE2B c61a89e80d6fde10f5955cf3a7a563fbe9e00799eb1199bc9a2995585c074e7ab2b4fe6a30ae8bc224876448a521c3be9031853ae4710db2555279789aeda95d SHA512 0c160236d0f5ec31d0c5679c04b6f0f40a35af2b5b159af8b2b9dd2d37f5959efbe550dfc50c0b0419bea702b91a6594f2e141c2fbb78fdb20715ee8b2d27805 +DIST sysklogd-2.6.2.tar.gz 462950 BLAKE2B 591bf168cd9249af888feefd45ed10b8f90e7bdb71c75fbc8a95867dba0abfd20c08b0bbc13f80de2eb9ccf69ab9f77690978963ce96bf17472d2c036f96bb15 SHA512 4fb5ccba9e94c273e92ca4a55c6a7234a3dd6bbfd4568c8227b515c0ac5eeb6fdca452c82c989432e86a667dcf13df87f96aef302141e6023d630dc90466224d EBUILD sysklogd-2.4.4.ebuild 2094 BLAKE2B 2922d8f502adc6e8fc69d829e4262bc12e621b78eb769412daa2c6955e83a2a3a0f45d32f0a53e119421e8a534202df2d8b3f66badfb57e18693bae34940b94e SHA512 3fefb062a7b9e98112ad73f9b88ed819d50b41f5caca435701524fe160f1d137dd7c3863707bbdb22c21e79ee3cc9be5b2fdfadc98778d2225ac9f4e23fc75af EBUILD sysklogd-2.5.0.ebuild 2058 BLAKE2B 4620722b7c97e9768c694096d30a25fce4886bbdfc264d4d1bed67dc69df7baa63195758afb2f9a83c10a42f3fe2691500e86c565acfee85bbd592e9dad42e00 SHA512 42ab3b896282a6d4da6e1c649f90d3f9d80b5f85ccbdca9e8e0975a1ce4c945bb0ede719a638e2b610e598036bc44dcf6edb5d5a112e41280bfd721e39142f34 EBUILD sysklogd-2.5.1.ebuild 2052 BLAKE2B 09f45503ee22122af9d444409e82aa9bfffe205eb37110e62b2e123d5336c0e868bb75839859c93557269e77976b726f28a197f61b3490073269159950aeaeb4 SHA512 85d7d0b8cb2345ea7edcf5b3fc11e3b24c133593b107ac2d6ba779c8abe1b853ad6662e0bcb8684fda361fc11084ca8fa1b4d2a44a582b01ac5aaace590dc183 EBUILD sysklogd-2.5.2.ebuild 2051 BLAKE2B cde2b7385317f9f67ec1a8aacade6ca46414b7dd5f6328f314e81845c4707e0af68ab7cf45b2722f83e716993e4cfdcb674b5e90422f7e35bbaac6f3df4bf7cc SHA512 e303309f2c871741a1d327c617c80ff08b08ef98288c02e083912ae56a17e059d88f8ff9a977c83ae8af8b9b06d6fea9a138139041e49103c6024666360ef772 +EBUILD sysklogd-2.6.2.ebuild 2058 BLAKE2B 8cd19ef3290f8b50d4bb7a175c5eed04a78331977e6b610d09c9e42b19d5662bd3afa653b0ef9c83a8ddf29da6ee96d88223bdea15830269bbd649c0e35e6a7b SHA512 ae4c7801d2585a2360eadfa1db11f220534c75a060c0be30571580c010d4c3c5af20a46b50aa396a4cea3c26d48640c7ac57ecafea4f694b0124d332c94f71d1 EBUILD sysklogd-9999.ebuild 2058 BLAKE2B 4620722b7c97e9768c694096d30a25fce4886bbdfc264d4d1bed67dc69df7baa63195758afb2f9a83c10a42f3fe2691500e86c565acfee85bbd592e9dad42e00 SHA512 42ab3b896282a6d4da6e1c649f90d3f9d80b5f85ccbdca9e8e0975a1ce4c945bb0ede719a638e2b610e598036bc44dcf6edb5d5a112e41280bfd721e39142f34 MISC metadata.xml 527 BLAKE2B c425ac629ecb84dc5e6df9d943d5366594bcfc95eac4f529720c97825f4192d4ecba8d3f5174110e654775faf368a73ef91117eb63123d09f5f6ae9880d6ddb6 SHA512 9a4deed01fed81180553cdac43d0a03967fea0aa2a1ce1747faf592abee998c8fde4744b5cd90adc3dbc324e62df7479c686297364010aeeafc09128981fee27 diff --git a/app-admin/sysklogd/sysklogd-2.6.2.ebuild b/app-admin/sysklogd/sysklogd-2.6.2.ebuild new file mode 100644 index 000000000000..7a72c587b181 --- /dev/null +++ b/app-admin/sysklogd/sysklogd-2.6.2.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit 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 ) +" + +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 && [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -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 [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.1 ; then + elog "Starting with version 2.1 sysklogd no longer provides klogd." + elog "syslogd now also logs kernel messages." + fi +} |