From a0ce545d52f231499bf9f3644493113d8af58ec9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 9 May 2024 00:01:03 +0100 Subject: gentoo auto-resync : 09:05:2024 - 00:01:03 --- dev-db/Manifest.gz | Bin 16597 -> 16597 bytes dev-db/lmdb/Manifest | 2 ++ dev-db/lmdb/lmdb-0.9.32.ebuild | 66 +++++++++++++++++++++++++++++++++++++++++ dev-db/pspg/Manifest | 4 ++- dev-db/pspg/metadata.xml | 3 ++ dev-db/pspg/pspg-5.8.5.ebuild | 33 +++++++++++++++++++++ 6 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 dev-db/lmdb/lmdb-0.9.32.ebuild create mode 100644 dev-db/pspg/pspg-5.8.5.ebuild (limited to 'dev-db') diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz index 80063b055c61..649aa8cc033b 100644 Binary files a/dev-db/Manifest.gz and b/dev-db/Manifest.gz differ diff --git a/dev-db/lmdb/Manifest b/dev-db/lmdb/Manifest index 051a950b76e2..09098b9d6e6c 100644 --- a/dev-db/lmdb/Manifest +++ b/dev-db/lmdb/Manifest @@ -1,4 +1,6 @@ AUX lmdb.pc 295 BLAKE2B 29c1cc5a70eb3d7f5c9dc4b1646644045514929428f164894ece93a4fabf33ca464e1f116c8a803b499aabf28b6dec372b50c46a2fa4fc1eb65105208759f4ba SHA512 d0749849a0ca0593fbff0b4f8db7143177c588e342978bdb8331238761379f5d5bf686190e39506ff6b0abf6f9d668c96480da685c56d7ed44e7756f92f4e057 DIST openldap-LMDB_0.9.31.tar.gz 145086 BLAKE2B 8df437c27cb9d40b71a8e9f516c503676dade2342c9d618dcfff6081bf0034f67d1216a6a25a364e7dacd588acb2e254b98486efade12307fa3ad7977be5ed54 SHA512 318aa89b7e39f98f636dba01620f866ddc255d81a2d4def8a9d9fdd80878608db1ac7b60bde58e954aba802d94df42786a9cd00d0c7e11646f09fd5d64821ac4 +DIST openldap-LMDB_0.9.32.tar.gz 149188 BLAKE2B 8c15585a10644b791e54d3344c91ad1d86da0af06b02361685ec365309c8188dfd253d7a10f8708cd7f22363f99cc71aaaa170cc3349183f06d0765216cc19ef SHA512 3b8d45085f7a679e27f4b1d8b0a62531d4897d27c2a17f424462da07bd88f6c8fe8d64f866203c9e301b353dff1036fc48d9801917e97cfe7d3fd28f2d918d7a EBUILD lmdb-0.9.31.ebuild 2187 BLAKE2B 84623ed256611df1d59e200a9add524d68ee47ff733c5ca63422b84370d9b20d2a6df0b7803b4fd236a89a2cc88edf186993948b5f756370a25f470ae4828cdd SHA512 ffe23c19323ffbf6af7299bb05cc235667bb3ad8f7b60cf34903861ee33de61439b358763521ff17fda221bc18e0235e143135786cdd964fe113cd2b1b2b81f6 +EBUILD lmdb-0.9.32.ebuild 2194 BLAKE2B f590620663547ce9530df998d47603d50f4f838c799cc104eafc3eaadc538bdfe1da3e43ab678667fb9be4ed7437824b7682f4835e0e1cc3e1f2f377bdb81a74 SHA512 0aba186fa81e86de7e07c88709a75e8db6df17535bfb38abf03cb09365572044c8613b689ac939fd83be8d164a60a3393472ac9033d22682aec13a39c1c644d4 MISC metadata.xml 433 BLAKE2B cf3186fe7876aa15283c1d2154469b7f8451e99b3a36637e67820703a576fa1297ac7804ef7df660aaa63a44b1c18a3d2298dac12159a3b3268526e10d7bdaf9 SHA512 f526eb14df23a1b9e92bec0b643e8dc993ad489e8776641aa330d1db878dcf4fb1b7dbb8b62e0c88a4ea484a393e5b396902abb2d035b8a311555e1e69fe387a diff --git a/dev-db/lmdb/lmdb-0.9.32.ebuild b/dev-db/lmdb/lmdb-0.9.32.ebuild new file mode 100644 index 000000000000..192658950b08 --- /dev/null +++ b/dev-db/lmdb/lmdb-0.9.32.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit flag-o-matic multilib multilib-minimal toolchain-funcs + +MY_P="${PN^^}_${PV}" + +DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store" +HOMEPAGE="https://symas.com/lmdb/technical/" +SRC_URI="https://git.openldap.org/openldap/openldap/-/archive/${MY_P}/openldap-${MY_P}.tar.gz" +S="${WORKDIR}/openldap-${MY_P}/libraries/liblmdb" + +LICENSE="OPENLDAP" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="static-libs" + +src_prepare() { + default + if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -lt 10 ]] ; then + # posix_memalign isn't available before 10.6, but on OSX + # malloc is always aligned for any addressable type + sed -i -e '/(__APPLE__)/a#define HAVE_MEMALIGN 1\n#define memalign(X,Y) malloc(X)' mdb.c || die + fi + multilib_copy_sources +} + +multilib_src_configure() { + local soname="-Wl,-soname,liblmdb$(get_libname 0)" + if [[ ${CHOST} == *-darwin* ]] ; then + soname="-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/liblmdb$(get_libname 0)" + replace-flags -O[123456789] -O1 + fi + sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \ + -e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \ + -e "s!^AR.*!AR = $(tc-getAR)!" \ + -e "s!^SOEXT.*!SOEXT = $(get_libname)!" \ + -e "/^prefix/s!/usr/local!${EPREFIX}/usr!" \ + -e "/^libdir/s!lib\$!$(get_libdir)!" \ + -e "s!shared!shared ${soname}!" \ + "Makefile" || die +} + +multilib_src_compile() { + emake LDLIBS+=" -pthread" +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + mv "${ED}"/usr/$(get_libdir)/liblmdb$(get_libname) \ + "${ED}"/usr/$(get_libdir)/liblmdb$(get_libname 0) || die + dosym liblmdb$(get_libname 0) /usr/$(get_libdir)/liblmdb$(get_libname) + + insinto /usr/$(get_libdir)/pkgconfig + doins "${FILESDIR}/lmdb.pc" + sed -i -e "s!@PACKAGE_VERSION@!${PV}!" \ + -e "s!@prefix@!${EPREFIX}/usr!g" \ + -e "s!@libdir@!$(get_libdir)!" \ + "${ED}"/usr/$(get_libdir)/pkgconfig/lmdb.pc || die + + if ! use static-libs; then + rm "${ED}"/usr/$(get_libdir)/liblmdb.a || die + fi +} diff --git a/dev-db/pspg/Manifest b/dev-db/pspg/Manifest index 35f9f6239e99..de550107987c 100644 --- a/dev-db/pspg/Manifest +++ b/dev-db/pspg/Manifest @@ -1,7 +1,9 @@ DIST pspg-5.5.4.tar.gz 2415002 BLAKE2B 1b7712318069c5fe69afe5e7477aa2a415d007a1f41af866726b11e65073c507ed12a51de14fc39ee06df9ccbe2763472332f55dda49167547e6ba590850bb5b SHA512 f13f4d7424d7b172a1fc5f963e7390a53f73f5c53ea4af7a9bed32dabc99f657e46cae550e8d5c7dd756b3496dd2ad665f3fd6551e54f9add1b3aef491709572 DIST pspg-5.5.8.tar.gz 2428371 BLAKE2B 09021f61c51698fd85ccf61c559014b6ffecad72079abf10c7dc50249bffbe34b86afa124a30a8d4f5c360af069ec623a4815288267a2ee225f7030de14b76d4 SHA512 f3fa9bc097ac43ab0113586b3474e9137c84b2ca844c45397a7ec185a01c66daa204f7bf739f7b65f1d741de02be8f7c1ba7df5abaa962008f33f6082c576b9f DIST pspg-5.8.1.tar.gz 2442046 BLAKE2B 173b7250299927f140597d510e41aacad8be10b58e14094cbca2c2c3648925f71267a44728084ebf10cb832669c601ba121e529d7130b15cb2ab6accb3a9f77e SHA512 1ffcae86559f17e2cafba31a7bf9ba0170f4cdf8f2f5885a3650fea30463327e6a040e7746a8a074302fbb5080ce032a10775da503a5788a622203669609706f +DIST pspg-5.8.5.tar.gz 2445232 BLAKE2B 90d6ca969bd365fea1801fb9125e4d3c5e92b916c7a13ae949a8170a7566d862d436c5d23358a6433ffa90bbf2551013b2f12a6c204614e0974c1fe6698c580e SHA512 f33be2e0ddd8f56054c82f4f3a8ea531faef2f9ca21a706f894f5419e8122d291a9174495d68dc8637728cc57fe764e63c34b843e8ed8a3b3ff7546a6c904e7e EBUILD pspg-5.5.4.ebuild 439 BLAKE2B db8b1de5b6be0673a72436bdae85c087ad23de36ce212e9601e3a698f85a8a73e5ac0b5333e42d0d663ab21ee79662cce97d68371df15271b02e7444672cee6f SHA512 27f6dde8fc504e29d059dac4a35189f46f95f45ecf4fbc234f6c51b7803ea96dcb8445ff5e3ea66783d2376912b47f84bbe357de27131c8cddebceead271b702 EBUILD pspg-5.5.8.ebuild 552 BLAKE2B f2205e51ed599efcc708d5f6baaeefd30fbd3692f0faf7bf51b62da0c7d34256135e8cb9b28a7ecaf21645a48e5e58eab71015e2eba1521b5eaa265bf056974b SHA512 c9d19d2162d95e203fe7bdca23c32bb73c4381af36de8dc9c598997779b5467cb69dbf93c3f3ef0c46e0ff188041d7c1e3c78203306cbabbb30fb84bff34e6c8 EBUILD pspg-5.8.1.ebuild 557 BLAKE2B 1eaed8396be4fc1293e0ad933ca3b33dac2c390c977f1b2fa2d1e58978fe948531871874d839726fab8a285436fc8e97dee0f2e3d98f2bb22721649d0ffcc753 SHA512 655edc70f86ce3257d04c473f4c7d11a91c0ba75cf71f6b208218ec193794a4735f0de58a03be60480fbb079a1c5985ddd9ecdd583c43fb814e922115e8fd616 -MISC metadata.xml 661 BLAKE2B 20e3f40d583fa5cfd41028757d8b332ab5cced7d76c9aa8e96451bf3d10b549cbd42a25193fa20054bbed0782eb51663742fb25e95d93505f76c4916e8bc6a5e SHA512 0c2c8ce1aefd384146b27d84886783ea0bd8b7f1d62de60a485db501dc642778f2a016d2f848eaa2f9aa17204270d2b31833c7ad3219b93797424d569758250e +EBUILD pspg-5.8.5.ebuild 662 BLAKE2B 17db5033506ba2f9b65803e276596045b2706914c9050ba861405096fe0e8509e0ffd860ae8bf813f52f5190ff6ab2fd13d8146a9947f6b3311545349928ab13 SHA512 e2fb2e9a1e560ea7e111776e7b2e360295308d49fd9bd487712961c6afa7e8a0f5cd7480b1e5c5481ac8712b257095b1373e4c5f62ee0dda7e32bd1a5fbfdd78 +MISC metadata.xml 746 BLAKE2B fbf6df3b4bddc3c61508c50c9ecdd1f0fa0191b1123f60da461160a4b667a9b810dbe15effcef7776f97b0fa9de9a0ed6050d25e06e8d922f4bec519456c24c2 SHA512 e03312cd437fed48a22fae4a28ab64c6633f6079204809fd3fd26eee255c5a979c05520348a9bd9396fefa611f31225798d771616ba27ed96b8e3c637eadf0d6 diff --git a/dev-db/pspg/metadata.xml b/dev-db/pspg/metadata.xml index 334189f9edab..b852c5503b93 100644 --- a/dev-db/pspg/metadata.xml +++ b/dev-db/pspg/metadata.xml @@ -12,4 +12,7 @@ supports searching, selecting rows, columns, or block and export selected area to clipboard. + + okbob/pspg + diff --git a/dev-db/pspg/pspg-5.8.5.ebuild b/dev-db/pspg/pspg-5.8.5.ebuild new file mode 100644 index 000000000000..30c83cc68ff9 --- /dev/null +++ b/dev-db/pspg/pspg-5.8.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 + +DESCRIPTION="A better pager for CLI database clients and can be used in place of psql" +HOMEPAGE="https://github.com/okbob/pspg" +SRC_URI="https://github.com/okbob/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="postgres" +RESTRICT="test" + +RDEPEND=" +sys-libs/ncurses:= +sys-libs/readline:= +postgres? ( dev-db/postgresql:= ) +" +DEPEND="${RDEPEND}" + +src_configure() { + econf $(use_with postgres postgresql) +} + +src_install() { + default + + newbashcomp bash-completion.sh ${PN} +} -- cgit v1.2.3