From d39b2406e1496a2848b3f450a5737ae3dbd8c6f7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Oct 2024 01:26:11 +0100 Subject: gentoo auto-resync : 02:10:2024 - 01:26:10 --- dev-db/Manifest.gz | Bin 16749 -> 16747 bytes dev-db/redict/Manifest | 4 +- dev-db/redict/redict-7.3.0-r1.ebuild | 159 ---------------------------------- dev-db/redict/redict-7.3.1.ebuild | 160 +++++++++++++++++++++++++++++++++++ dev-db/redis/Manifest | 2 +- dev-db/redis/redis-7.4.0.ebuild | 2 +- 6 files changed, 164 insertions(+), 163 deletions(-) delete mode 100644 dev-db/redict/redict-7.3.0-r1.ebuild create mode 100644 dev-db/redict/redict-7.3.1.ebuild (limited to 'dev-db') diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz index ed38fb43db29..3dd1767b9edd 100644 Binary files a/dev-db/Manifest.gz and b/dev-db/Manifest.gz differ diff --git a/dev-db/redict/Manifest b/dev-db/redict/Manifest index 3ec023f58beb..5777dda8966e 100644 --- a/dev-db/redict/Manifest +++ b/dev-db/redict/Manifest @@ -9,6 +9,6 @@ AUX redict.initd 730 BLAKE2B 6754f6fb672f134d22e6849433459f0d369b218f12992206a2e AUX redict.logrotate 108 BLAKE2B ed7c2f04a7994b88a18fee851775bb2fb964bd835b26a7498ea27e57bf275a3f5b4bf6bd9642f390f5d42159f242d0f83ffac10b5f36ec8cdbab64d4ff6fe9cf SHA512 63f1af50b7e9e7e90cf2c3f83013c6484c8020c14c519161d7d0bf3045ca9f90d1032d40bebf59aba906ad5929cd84ec9ef45556d60a83dc75cd148ef4984a88 AUX redict.service 261 BLAKE2B 0dd1a9fb7adae63f794602cca9a913f1c41e706e603e33870ebbe13d9bf794a7b73f8e528a17f16002891263ff7a20a322950d6ff9f274fc5916cc457a96e574 SHA512 b80670424709577f946d3a063032011690aff1aa3b55849f143370c61703fbc6bdb02561f04bf20864addcca8ee5491e95d971bf37458939daa9bc54f8f57ab8 AUX redict.tmpfiles 60 BLAKE2B 79f15e360cb2fbdc07a676a17a438fb5d85cb0252505e5fb86d52294eb5f6fc304c5dde98149e344223b11e599901fdd2f0cba6dbb09400b5afbbb3c0190e7c7 SHA512 4e81318de5760e152403b44ec3ee0b18a9be602501143bb2d2b0841608ea5460fc890fb211264d7c80ac363b2295e14bd06d51ea7bd6259f28c9b947d322a30a -DIST redict-7.3.0.tar.gz 3414514 BLAKE2B dd2ce2fdd8fbede33ddea9fee34e81535b0948a8963fb0d3391aac32ddf786e5cce996d1d405d81182ef6098ab8389b3c71b95ff9d8cbc68637746538e36999d SHA512 d33f4dfaf728f5a22abe7a6223f3192c39dc41a32e7bcb0f453caaa859f35b512534979c26ced9f4458c19611debd282f37955e930151c0f827035f349647226 -EBUILD redict-7.3.0-r1.ebuild 3719 BLAKE2B e374237bad6af40ff0ac618e6c73a18beaee7842147eac8d1d3e016aa84320dcc40903d7ef42a6841571f054bf9e439d99afaaaa76555d11a52b5a404e8443d9 SHA512 4bf94148055fa1fa6bb77a2acb9ef21564af2484d9a14d4c902769addf12d7a7232163f18867c78c022ce5c158b99f6511a5bf0c95db8f8487bbf000cd5d16c1 +DIST redict-7.3.1.tar.gz 3414766 BLAKE2B ff4a4078683ec6e4f236e605e29711d1033c8632cd6c12035d7fdf1566d75d375daa61383fd8a6c098444e1cf382f5934f961e67a2041351fb4c9aaa6a7635c0 SHA512 79d174c0f58c73a52f3b0225280f69f92790f8d43cdf70a2353cefd06d73030ffb5e3eb30e06dcd9c47161f2d43a09cca6dc815e9dd83b620716c2ae3243d3bc +EBUILD redict-7.3.1.ebuild 3824 BLAKE2B 297cbfd40782e3b102bf0a86c25bbb8a67830ce39fd36cd61b9a66b2b1887595697b8c04973ef0085d486fe755afcedf005585486d562eeb50bdd8c88dbc57ad SHA512 1601142e3daac812f6294a6e501b89febaac7a6dd5a1cfb88c0fd42bbeb972fdbb21def11d8d6ec89ee7e3162edcb1bab13f253cb7d35f0a4b9931a7e55d942c MISC metadata.xml 610 BLAKE2B 0c61950ab5459b6122247c049a2f18373fa5bd21496882d4478f7e9d91683d6978f23997cbe3ce11bde346d9ad0bcad810a358f719aea6355c86466f0299f08e SHA512 65141d43ca54cf57962b24a5d5cacb3894675994a0b87b561216a6c7a26526bf5f9b4952c23eadd1e4598c56d9b147b219ef010fe62e0cc8f500f8bc4cb40366 diff --git a/dev-db/redict/redict-7.3.0-r1.ebuild b/dev-db/redict/redict-7.3.0-r1.ebuild deleted file mode 100644 index b53bf105c3a1..000000000000 --- a/dev-db/redict/redict-7.3.0-r1.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# N.B.: It is no clue in porting to Lua eclasses, as upstream have deviated -# too far from vanilla Lua, adding their own APIs like lua_enablereadonlytable - -inherit edo multiprocessing systemd tmpfiles toolchain-funcs - -DESCRIPTION="A persistent caching system, key-value, and data structures database" -HOMEPAGE="https://redict.io" - -SRC_URI="https://codeberg.org/redict/redict/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" - -S=${WORKDIR}/${PN} - -LICENSE="BSD Boost-1.0 LGPL-3" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="+jemalloc ssl systemd tcmalloc test" -RESTRICT="!test? ( test )" - -REQUIRED_USE="?? ( jemalloc tcmalloc )" - -RDEPEND=" - acct-group/redict - acct-user/redict - dev-libs/hiredict:0=[ssl?] - jemalloc? ( >=dev-libs/jemalloc-5.1:=[stats] ) - ssl? ( dev-libs/openssl:0= ) - systemd? ( sys-apps/systemd:= ) - tcmalloc? ( dev-util/google-perftools ) -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - virtual/pkgconfig - test? ( - dev-lang/tcl:0= - ssl? ( dev-tcltk/tls ) - ) -" - -PATCHES=( - "${FILESDIR}"/redict-7.3.0-config.patch - "${FILESDIR}"/redict-sentinel-7.3.0-config.patch - "${FILESDIR}"/redict-7.3.0-system-jemalloc.patch - "${FILESDIR}"/redict-7.3.0-system-hiredict.patch -) - -src_prepare() { - default - - # Respect user CFLAGS in bundled lua - sed -i '/LUA_CFLAGS/s: -O2::g' deps/Makefile || die -} - -_build() { - tc-export AR CC RANLIB - local myconf=( - AR="${AR}" - CC="${CC}" - RANLIB="${RANLIB}" - CFLAGS="${CFLAGS}" - LDFLAGS="${LDFLAGS}" - V=1 # verbose - OPTIMIZATION= - DEBUG= - DEBUG_FLAGS= - BUILD_TLS=$(usex ssl) - USE_SYSTEMD=$(usex systemd) - USE_SYSTEM_HIREDICT=yes - ) - - if use jemalloc; then - myconf+=( - MALLOC=jemalloc - USE_SYSTEM_JEMALLOC=yes - ) - elif use tcmalloc; then - myconf+=( MALLOC=tcmalloc ) - else - myconf+=( MALLOC=libc ) - fi - - emake -C src "${myconf[@]}" "$@" -} - -src_compile() { - _build -} - -src_test() { - local runtestargs=( - --clients "$(makeopts_jobs)" # see bug #649868 - - --skiptest "Active defrag eval scripts" # see bug #851654 - ) - - if has usersandbox ${FEATURES} || ! has userpriv ${FEATURES}; then - ewarn "oom-score-adj related tests will be skipped." \ - "They are known to fail with FEATURES usersandbox or -userpriv. See bug #756382." - - runtestargs+=( - # unit/oom-score-adj was introduced in version 6.2.0 - --skipunit unit/oom-score-adj # see bug #756382 - - # Following test was added in version 7.0.0 to unit/introspection. - # It also tries to adjust OOM score. - --skiptest "CONFIG SET rollback on apply error" - ) - fi - - if use ssl; then - edo ./utils/gen-test-certs.sh - runtestargs+=( --tls ) - fi - - edo ./runtest "${runtestargs[@]}" -} - -src_install() { - insinto /etc/redict - doins redict.conf sentinel.conf - use prefix || fowners -R redict:redict /etc/redict /etc/redict/{redict,sentinel}.conf - - newconfd "${FILESDIR}/redict.confd" redict - newinitd "${FILESDIR}/redict.initd" redict - - systemd_newunit "${FILESDIR}/redict.service" redict.service - newtmpfiles "${FILESDIR}/redict.tmpfiles" redict.conf - - newconfd "${FILESDIR}/redict-sentinel.confd" redict-sentinel - newinitd "${FILESDIR}/redict-sentinel.initd" redict-sentinel - - insinto /etc/logrotate.d/ - newins "${FILESDIR}/redict.logrotate" "${PN}" - - _build DESTDIR="${ED}" PREFIX="/usr" install - - if use prefix; then - diropts -m0750 - else - diropts -m0750 -o redict -g redict - fi - keepdir /var/{log,lib}/redict -} - -pkg_postinst() { - tmpfiles_process redict.conf - - if has_version dev-db/redis && [[ -z "${REPLACING_VERSIONS}" ]]; then - ewarn "Redict uses different configuration files than redis:" - ewarn "/etc/redict/{redict,sentinel}.conf" - ewarn "Please apply your changes to the new configuration files." - fi -} diff --git a/dev-db/redict/redict-7.3.1.ebuild b/dev-db/redict/redict-7.3.1.ebuild new file mode 100644 index 000000000000..8218bbe76716 --- /dev/null +++ b/dev-db/redict/redict-7.3.1.ebuild @@ -0,0 +1,160 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# N.B.: It is no clue in porting to Lua eclasses, as upstream have deviated +# too far from vanilla Lua, adding their own APIs like lua_enablereadonlytable + +inherit edo multiprocessing systemd tmpfiles toolchain-funcs + +DESCRIPTION="A persistent caching system, key-value, and data structures database" +HOMEPAGE="https://redict.io" + +SRC_URI="https://codeberg.org/redict/redict/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" + +S=${WORKDIR}/${PN} + +LICENSE="BSD Boost-1.0 LGPL-3" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64" +IUSE="+jemalloc ssl systemd tcmalloc test" +RESTRICT="!test? ( test )" + +REQUIRED_USE="?? ( jemalloc tcmalloc )" + +RDEPEND=" + acct-group/redict + acct-user/redict + dev-libs/hiredict:0=[ssl?] + jemalloc? ( >=dev-libs/jemalloc-5.1:=[stats] ) + ssl? ( dev-libs/openssl:0= ) + systemd? ( sys-apps/systemd:= ) + tcmalloc? ( dev-util/google-perftools ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + virtual/pkgconfig + test? ( + dev-lang/tcl:0= + ssl? ( dev-tcltk/tls ) + ) +" + +PATCHES=( + "${FILESDIR}"/redict-7.3.0-config.patch + "${FILESDIR}"/redict-sentinel-7.3.0-config.patch + "${FILESDIR}"/redict-7.3.0-system-jemalloc.patch + "${FILESDIR}"/redict-7.3.0-system-hiredict.patch +) + +src_prepare() { + default + + # Respect user CFLAGS in bundled lua + sed -i '/LUA_CFLAGS/s: -O2::g' deps/Makefile || die +} + +_build() { + tc-export AR CC RANLIB + local myconf=( + AR="${AR}" + CC="${CC}" + RANLIB="${RANLIB}" + CFLAGS="${CFLAGS}" + LDFLAGS="${LDFLAGS}" + V=1 # verbose + OPTIMIZATION= + DEBUG= + DEBUG_FLAGS= + BUILD_TLS=$(usex ssl) + USE_SYSTEMD=$(usex systemd) + USE_SYSTEM_HIREDICT=yes + ) + + if use jemalloc; then + myconf+=( + MALLOC=jemalloc + USE_SYSTEM_JEMALLOC=yes + ) + elif use tcmalloc; then + myconf+=( MALLOC=tcmalloc ) + else + myconf+=( MALLOC=libc ) + fi + + emake -C src "${myconf[@]}" "$@" +} + +src_compile() { + _build +} + +src_test() { + local runtestargs=( + --clients "$(makeopts_jobs)" # see bug #649868 + + --skiptest "Active defrag eval scripts" # see bug #851654 + --skiptest "FUNCTION - redict version api" # test fails due to release mishap on 7.3.1, remove on bump + ) + + if has usersandbox ${FEATURES} || ! has userpriv ${FEATURES}; then + ewarn "oom-score-adj related tests will be skipped." \ + "They are known to fail with FEATURES usersandbox or -userpriv. See bug #756382." + + runtestargs+=( + # unit/oom-score-adj was introduced in version 6.2.0 + --skipunit unit/oom-score-adj # see bug #756382 + + # Following test was added in version 7.0.0 to unit/introspection. + # It also tries to adjust OOM score. + --skiptest "CONFIG SET rollback on apply error" + ) + fi + + if use ssl; then + edo ./utils/gen-test-certs.sh + runtestargs+=( --tls ) + fi + + edo ./runtest "${runtestargs[@]}" +} + +src_install() { + insinto /etc/redict + doins redict.conf sentinel.conf + use prefix || fowners -R redict:redict /etc/redict /etc/redict/{redict,sentinel}.conf + + newconfd "${FILESDIR}/redict.confd" redict + newinitd "${FILESDIR}/redict.initd" redict + + systemd_newunit "${FILESDIR}/redict.service" redict.service + newtmpfiles "${FILESDIR}/redict.tmpfiles" redict.conf + + newconfd "${FILESDIR}/redict-sentinel.confd" redict-sentinel + newinitd "${FILESDIR}/redict-sentinel.initd" redict-sentinel + + insinto /etc/logrotate.d/ + newins "${FILESDIR}/redict.logrotate" "${PN}" + + _build DESTDIR="${ED}" PREFIX="/usr" install + + if use prefix; then + diropts -m0750 + else + diropts -m0750 -o redict -g redict + fi + keepdir /var/{log,lib}/redict +} + +pkg_postinst() { + tmpfiles_process redict.conf + + if has_version dev-db/redis && [[ -z "${REPLACING_VERSIONS}" ]]; then + ewarn "Redict uses different configuration files than redis:" + ewarn "/etc/redict/{redict,sentinel}.conf" + ewarn "Please apply your changes to the new configuration files." + fi +} diff --git a/dev-db/redis/Manifest b/dev-db/redis/Manifest index c460025e7ad1..513d5b045287 100644 --- a/dev-db/redis/Manifest +++ b/dev-db/redis/Manifest @@ -21,5 +21,5 @@ DIST redis-7.4.0.tar.gz 3525325 BLAKE2B 232e5d8db368e1a6c13e044ea40b4f4cd2b1f8f8 EBUILD redis-6.2.14-r1.ebuild 5480 BLAKE2B 03ab7cacdd2720e6b70e177f83814f5ebc4f5ccf010efca90b01fdabb9d553ce40f7e80c241cc90f9cf1f9d11746e3565a549fad345b93863277fa599026834b SHA512 7822951152271e852494c8500d17eeefe4e749cd0178b0a4ddf54810e063765d0cc0574bb448b815b4f15de5aa125f96926a5cf0f06a4d4eb07a4ff122cf8a5c EBUILD redis-7.0.15-r1.ebuild 4940 BLAKE2B 9a3479bddd9566f08a9d7bca3aeb5be6ef5b1b9b06b6d0b27073983a4114ff087b3db05399e5f178c06d349c67cc8d695430fa6563a59c9b5944057601938bbe SHA512 93cd8775146b02b7b6a4296fc03f4802b5f7d8b6c12bf602d0bdd15d511cc8a6e022640a5ef8ceb241ece8083a3145ec6a4ef34fc879e72f0510c627145934be EBUILD redis-7.2.5.ebuild 5024 BLAKE2B 54dfdbc184b04c83b20667bf5db958cb2a689c67051b3cab78ecf9bc968110bc5e886ca4d5f87713dce638f91826a210f9e73a846183af0e57f4da3ea34824b3 SHA512 f9e99196b5ccbec2dc7cbd4fc6d11b73c1fce0e56588e19147b0bd5ba6c9f15fe4f9bf69244e77b20797af7209ed4713938a9669012a2af5ba51b53cd1b1aa9e -EBUILD redis-7.4.0.ebuild 4860 BLAKE2B 1bae3712b3f54b5ccd373b0e53ed0fbe306fa03c41dde9910c5e71cc5b55acde590c8f03bc985a305ae3006a8c78ca24fa3db6d343c116177f880d2dee403a02 SHA512 6c8614e6a8538476835b49f8c7f0848b520aa82395c72a49f7c9b2853367d1b504747270f5f660154ad15239bc47c62498d8cb2a1f642832410ba72b24f8e41e +EBUILD redis-7.4.0.ebuild 4858 BLAKE2B 71ffa087a193e274467ea3e52edb8090166bcb5179d8d10a558b0a333c9d42097c8851a00913a62c2e4804326e8dcf498c609e68f55c1f4d8e8cb5fc57888907 SHA512 c4588b8bca359c617ffb0ccf4eca79ee59095169e9ff74260af2926e0178ac1384ca1ba6777d1dbf721e916eb233ad87d9c308e87195dd58294b8f97e1cf864b MISC metadata.xml 547 BLAKE2B 43d462a2c301c4431aa233467563140076269fec170063a9b5501fad2bad3afb9602aab971a5ef16997dd24cc5cfd27c9a9e194059b8db8784250cdae0fd5db3 SHA512 6b4549d4c296c19bc054175c7cf2d1af785d9217b4f298460be5ed08c0197ad8d6fdc29c998c85a5c6926947d99665265a008163e2dc15def2e1230ca6b561eb diff --git a/dev-db/redis/redis-7.4.0.ebuild b/dev-db/redis/redis-7.4.0.ebuild index 8d583a5f437c..4b4da0bea49b 100644 --- a/dev-db/redis/redis-7.4.0.ebuild +++ b/dev-db/redis/redis-7.4.0.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://download.redis.io/releases/${P}.tar.gz" LICENSE="Boost-1.0 SSPL-1" SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="+jemalloc selinux ssl systemd tcmalloc test" RESTRICT="!test? ( test )" -- cgit v1.2.3