diff options
Diffstat (limited to 'dev-db')
183 files changed, 2479 insertions, 4793 deletions
diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz Binary files differindex 489a2b49c727..0310d85b6eee 100644 --- a/dev-db/Manifest.gz +++ b/dev-db/Manifest.gz diff --git a/dev-db/apgdiff/Manifest b/dev-db/apgdiff/Manifest index c2dd81a4fb9b..aede6bf47c4b 100644 --- a/dev-db/apgdiff/Manifest +++ b/dev-db/apgdiff/Manifest @@ -1,3 +1,3 @@ DIST apgdiff-2.7.0-sources.tar.gz 365759 BLAKE2B 6a43bea29fa77a6a07b8599b150769e42480e656d7930faf56dd5db89a2281e10baee596e78d245411879ca99e143d3ebfb6144ea68b5d2f56f7f939004897dc SHA512 db52bcf5af78339ab08cd6a5225d7df9d55cf4eb1bcefaf9e9b12f8ac06f7babb2261ac92b7aa49a6f43a39f9e7894f4dea88b1b794f0a87681ab872c5d1d430 -EBUILD apgdiff-2.7.0.ebuild 1438 BLAKE2B 11fadfe58847598d374689b85644f75c3c055b6b9ed99021db27725f5eeb81b7e6aa04cc6b40cb1d7529a9c70a9efa5206935fc99a7136a9a44754b86fd317eb SHA512 c34b4767f170f31a8c5dbc16458a5f43f39001e3fd55e882a00907513aed8fad4e9b32f0acc9b0d608a820d801773978ab080e61a9437ea732d6e236e31e737d +EBUILD apgdiff-2.7.0.ebuild 1433 BLAKE2B 3ac7579885521423222c0ff2ecd96b8618e4765c9262c62244aec885b70b0ea8c8ae2ded2f14a7803766a2d679fe120da37067530ff6eccf5c98392049a1cacf SHA512 c658f97bd22e7428b0665b779b7ae9b696345a409d9078239845d946c320c5489623e8718d82113d0022feb916be1cc6dc29d8092f722c73b9435871a0e36299 MISC metadata.xml 306 BLAKE2B b185e2d5851452096cf420f322649f490cc5454c6d463c7c2d3e49f7b2de333996b37d1e1cbcc7bd8ed9a9fb25755a4ce65687031bbe2d2a83c97dc4ba9dfba2 SHA512 ba3044cadef74e5508c4a9bea6201c06674f0ff822201faf97c48f8112252b673b834ceca5889b9bcb6bd3cbd6745c149399b30fd420ecee3ef512edce021280 diff --git a/dev-db/apgdiff/apgdiff-2.7.0.ebuild b/dev-db/apgdiff/apgdiff-2.7.0.ebuild index 40a2fdce9033..25a2bab6828c 100644 --- a/dev-db/apgdiff/apgdiff-2.7.0.ebuild +++ b/dev-db/apgdiff/apgdiff-2.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Skeleton command: @@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/fordfrog/apgdiff https://www.apgdiff.com/" SRC_URI="https://github.com/fordfrog/${PN}/archive/refs/tags/release_${PV}.tar.gz -> ${P}-sources.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" # Compile dependencies # POM: pom.xml diff --git a/dev-db/barman/Manifest b/dev-db/barman/Manifest index 49c7adce2178..378fbfca2ac2 100644 --- a/dev-db/barman/Manifest +++ b/dev-db/barman/Manifest @@ -1,7 +1,9 @@ DIST barman-3.10.0.tar.gz 1851778 BLAKE2B 8e481676ae8a41e5a38a206966e26523237ee13f7201d219c405f355795e9755778d5495be3274bb67a931820b069d96be21adbcefc471380f98cd5f41fc1a08 SHA512 d01f4e940a46964aa8359614195c2bdc423c5a57e18331ccd798e0d52a2bd8f6adf299d42c5e1ac47ece5100cb1a828093badd8e1b181b20e4480cf368c8d1d0 DIST barman-3.10.1.tar.gz 1852417 BLAKE2B d678ab90608684cbbc5c5196810bf4a4aa1a356f3f0b1157c112219d40151cbfc7d5b79857fa97147958eec34cfc2f7d2a2c4047417978d6f97b0f503fd5e08f SHA512 6fdecd83d8bc58d3712e825cdd2c691f5749c3e7fd0b7ec0807020f1a1ebc06b7c2a4640f8638264afa0250f0c2ccd86373ad7418ba6f25cdd8f2768788635ed +DIST barman-3.11.1.tar.gz 1899344 BLAKE2B 2c63486ef083546077fe6ee734a24e775b9dad7348090e1156ee35481b32d988d3286d1ec3f150f091a329e69c30550547ab1131f5012433c7cf95d9acf1ff95 SHA512 4d0b9e87590091c1909f85f69254f69b81ce5f93812d15c1400c08bbff92841185f60ffe281ce1c3c7a36af3be0ae84e2aa076b8291404bebed0f892efdd7f57 DIST barman-3.9.0.tar.gz 1819096 BLAKE2B 712ec047f9409014495afd868a9bbe889b6b2d54a511770a95e9c62513d7042673b7c1ebec31d45729211a1da0e55dfdc5cdc0ef62d84e7efa26b2b9fbff5feb SHA512 e5b4796a470f43e4ea79383defabd31cd4d33d8dfc06495bc4485bd1bc5cfab701c3719567bcc302de3f157e9ef08a6848776daa2cf9c537fb2829b7931111fd EBUILD barman-3.10.0.ebuild 1189 BLAKE2B f9b7d734ba585df731e6fba138b91638043bf8828202e14071ab764a437b4bf0bfd6cfb0cc44d796bd4c080d138383d0d894b2e5910675afeb4b4fdb7101c212 SHA512 2a440f916a1e8ebe06a42aae0b718da75727508da67bb23b3dec5040972088044e89597a30c064adb8cab9f63f41bcb4a1f1c7db6ebd5386227a57e94496acef EBUILD barman-3.10.1.ebuild 1189 BLAKE2B 582839c3f70cf61a6865db04e8718047280b777c5840f25a110bfc211d03c0505e018a378e52c4c2350756216b860daa43191cb53f71270a96b075137f603864 SHA512 4508cb6afdf4bea6cdde126c4220d16517b92a27bd18eb997c4392ac7f321c3c7af75a8bbd51d9de44498f23dbe7be2947175b02fc8e8b3276f1c5d430fa66c2 +EBUILD barman-3.11.1.ebuild 1189 BLAKE2B 582839c3f70cf61a6865db04e8718047280b777c5840f25a110bfc211d03c0505e018a378e52c4c2350756216b860daa43191cb53f71270a96b075137f603864 SHA512 4508cb6afdf4bea6cdde126c4220d16517b92a27bd18eb997c4392ac7f321c3c7af75a8bbd51d9de44498f23dbe7be2947175b02fc8e8b3276f1c5d430fa66c2 EBUILD barman-3.9.0.ebuild 1189 BLAKE2B f9b7d734ba585df731e6fba138b91638043bf8828202e14071ab764a437b4bf0bfd6cfb0cc44d796bd4c080d138383d0d894b2e5910675afeb4b4fdb7101c212 SHA512 2a440f916a1e8ebe06a42aae0b718da75727508da67bb23b3dec5040972088044e89597a30c064adb8cab9f63f41bcb4a1f1c7db6ebd5386227a57e94496acef MISC metadata.xml 452 BLAKE2B 21fa365e3d6c53cca2a4f18f46801ddefb86f1f5c0f257d4090ad4209dfda27e041506055c5e102ef193ea61b8ddb4e0887d9387acd4cb4986eb017e44138d7c SHA512 630b4513af924c08574beabcad91e91dc6db5713b32558fed35c45a384439c3db54e5c97bf080224321a606a250ef780b88b7667d0227b72acced29325d0091f diff --git a/dev-db/barman/barman-3.11.1.ebuild b/dev-db/barman/barman-3.11.1.ebuild new file mode 100644 index 000000000000..7fbafde8ce5e --- /dev/null +++ b/dev-db/barman/barman-3.11.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{10..13} ) + +RESTRICT="test" # missing azure sdk + +inherit distutils-r1 + +DESCRIPTION="Administration tool for disaster recovery of PostgreSQL servers" +HOMEPAGE="https://www.pgbarman.org https://sourceforge.net/projects/pgbarman/" +SRC_URI="https://github.com/2ndquadrant-it/barman/archive/release/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-release-${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/boto3[${PYTHON_USEDEP}] + dev-python/argh[${PYTHON_USEDEP}] + dev-python/psycopg:2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/argcomplete[${PYTHON_USEDEP}] + net-misc/rsync + dev-db/postgresql[server] +" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/python-snappy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + default + + sed -i -e \ + "s/^ def test_xlog_segment_mask(.*:/ @pytest.mark.xfail(reason='Test fails on Gentoo')\n\0/" \ + tests/test_xlog.py || die +} diff --git a/dev-db/cdb/Manifest b/dev-db/cdb/Manifest index 0aa9da3f94d8..ced8cd4eddfd 100644 --- a/dev-db/cdb/Manifest +++ b/dev-db/cdb/Manifest @@ -2,5 +2,5 @@ AUX cdb-errno.patch 170 BLAKE2B 806a8f0b83fef34796705596f7e4c2896d3ef56d0209a5a1 AUX cdb-inline.patch 251 BLAKE2B 16c4dd5cc00f243a51196977988fcae53365bab4b1a0034d44e24b5c5c0b3c6b819dfa00f6fd7ce583722f97847cba7e6b24b53596639a7df1fd0da42910c35c SHA512 c8d4cf0772b7373160c600ba1494f4933c62c9e1df929695c754c4e51ebaec4387d5f8e8739c88e0b82463bc26e8bd0c2060c43dffcfdb79431d2038f100a617 AUX cdb-stdint.patch 8956 BLAKE2B af2815290b395a23cb58a48b49361aa648d461ca247f6cba5fec7dfb0634be4fa1c09e4fc11536ff22dd5c221024cd0391d714fbb7fb160b91343111cebc37ca SHA512 2589722307e4b8c9e6e010a0a452a987bf5190bbaf20ece85b54666dd6633f30c85b443bddc31e70ea4024912a3999cd7197a0ac06cf86dbaf00c8b82551ae36 DIST cdb-0.75.tar.gz 54162 BLAKE2B 7b488bf330b2aac88a1cca82a6a49e24d0fd953c77935231a31bd72cc0936a37628736b5b22ea0d58aaa77cd118976ab8aa82ccc080f99e190e3f1db5d51b622 SHA512 6faeab91a77457348b58f685e81000b83fb609691317198a06284c5c62dee1e4d6138f90be1e727021f279d740169c175a21b23c96adb39a654e3f7fafdf36c0 -EBUILD cdb-0.75-r4.ebuild 1485 BLAKE2B 33f322b33a76674bdef8d8c7c63eedf8456ad846263c1296525953dc108ac831a22e32c93e5579d62da1661cf89e0ac43f8216ed3c4359c409745a4a893ed95a SHA512 b86aec28c44dff535033cb5e8957a47ee33242792851b288854ad41d1a4217ccd571814b17fb2e59ab9822d07dbc96e34ea3a0e38c0a540cb8ffc64b5b1a77ea +EBUILD cdb-0.75-r4.ebuild 1479 BLAKE2B e305b9959b5904229ad0cbada62eaa2a7c4272078831a825e0deee2639107881213ba3ec7b975bc9bb17bf49d5eb127818b1491f484f2b546439182d60f3c10b SHA512 1935beba1e232d26c9da189396dbd26e4d523df5c9879fb1c508794e5770ec0add2b71e7e2071e721482eb8fc9e46bedb9d7cc77fa3dddfdb52242fc1e90186a MISC metadata.xml 249 BLAKE2B a37da98d387308dab889eab2665b67e4176707f3c115a7a69cb7f4b19f9864b96bc2fe70efa105e627c4b57a7d626f6b23dc2709a225a9debada3356f3cf32a0 SHA512 a5095fb01e05f24583a962e36131b2f02cf2d1dd7a97051200e465ad97db014721de7c1857f5eb736cb0290682e8de833cb4c735f7de8d98cdfae1aed6d3d549 diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild index 58534e5e7073..0b27e7937670 100644 --- a/dev-db/cdb/cdb-0.75-r4.ebuild +++ b/dev-db/cdb/cdb-0.75-r4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://cr.yp.to/${PN}/${P}.tar.gz" LICENSE="public-domain" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="" RDEPEND="!dev-db/tinycdb" diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest index 90cd6fe4edeb..c89bb2e7c99e 100644 --- a/dev-db/etcd/Manifest +++ b/dev-db/etcd/Manifest @@ -4,19 +4,13 @@ AUX etcd.initd-r1 580 BLAKE2B 26213ae349b07f936b60ec9b48f63920b28f0d501adddbad21 AUX etcd.logrotated 104 BLAKE2B 3126c99db171af177d6d6368e7e53f3e5e07b9ae2926ff12cb0ff7fb877527df33a91dedcaa4bbbffa190b4f9c2f53868aeca093b93e9cad50718a23eb5fdd46 SHA512 64d3181a936f8bab635a17f90679041c2d70a712307928feae03a517ad02252fc37e25738979bc1ccd0657ef70439e65cb0306759bec3939e940ec382a02d94f AUX etcd.service-r1 458 BLAKE2B 4e2dd4934350821d01de1a0d9b8c4a402eeb87bf81a24f484652570e3e1c55f23acc3bc17c747400a09f9e26227c89a442a2a308586767595a9458a3a2f16688 SHA512 f105394411a2af0694bcb559a4b2447ed82402101f750af44315e3556afa77660f41d9404fdd04cc363d0dcd980adedf066c6b238a40e14c07706c8f67325fd4 AUX etcd.tmpfiles.d.conf 72 BLAKE2B b567592de5cc69c8e55ef16c537d0ad9207fd5f932bd2ca622f66909362033bb3387289af4675be53c0a5a7cf513805c4dfe45391091128a6ada3ffea4377420 SHA512 403fa63c0284811c655e5e9f3e7f6eb81ad6c10a1b0eb8df400e7e85c621c56b9580457bbb2a823c0ae3c2fac10f6b8bfb73991a10d9373e87f10b906d8d50cd -DIST etcd-3.4.26-deps.tar.xz 39352316 BLAKE2B 8b1a30d645b1ea756ac944d2d3f7e0c5b9491bab54d4d74c6525c519e5297a1e8e2a97f70a50a5681cf8941d2e4978d5c3717fccb552042bcd42e7c4bd2b29a8 SHA512 eb3af2910030a165699158a3dfe7e1267f29c0720865026da2a95941c7e1e19db793e177e9ca5a9f3b134c1a9a83b4a0613a32a30282b68fe3aef75b8dacae59 -DIST etcd-3.4.26.tar.gz 6043999 BLAKE2B 03f3bd0388e59dea9300b9a811b426ce03f1001750259dcd8386566efaa64783746f0353f83c1d01960004a77cea08a194aba394d91808aad15b5d4bb8f151cf SHA512 b2048070adb1df6e98c06e0e951f7940815dab238fe4ba49c36681a638f39eb7e40fed691baf70410d01467965094d70f008d0046b1b550b2ac1ed19ac89ca47 DIST etcd-3.4.31-deps.tar.xz 2212704 BLAKE2B 8b30941eefdb3811fb331014b69eb8d5b9c691b8ace1004432e5b05bb787bb3ba3ce872f881af2a559d7b955fae890a4ec0e8b10daa06cf388447af1b6a92679 SHA512 85915f5738493bfe3c09208649e26cfdc612df900916686006a437c44aad5afb2ab69b0840550e37544a50b79d2d3718e2cbdfd037e47bcaa8e33a8a6a95105f DIST etcd-3.4.31.tar.gz 6072806 BLAKE2B 30aa5b79d2fd0ba639bc766c104d5df28af50ae5398d860af3b3aff91c143ccd899538b341501386bac55dedc00086654de6e4ab9b237053b199a8de2fa509ec SHA512 4a7e366ced86ea86a324ab972ea47be56456c0aa8744e5ec07d499a56bdc9179ebc3bc2f33bd67c2d341181a5bcc703abc5a7c2e57879169a351457b4a0274f3 DIST etcd-3.5.12-deps.tar.xz 3935756 BLAKE2B c043cc55f59549734f38b1a734106bd25a1bbeb47f84e00a6b4308bad6086a6f0e0f3dee151bf1708bac269be124c782ea48c3761ee5e1d130a002989f99f2d3 SHA512 caae360e315756fe933bd87a7ce543d904084a745b5e42844a293bbf17c121d245f9f3645cd9992de5203c9efe4efcd4226ba294afb5a3550c114de78dad3110 DIST etcd-3.5.12.tar.gz 4083299 BLAKE2B 85615cf9095a440ef73aa59f5582293de543f7e473c8049712ff13646276c9441039c96c4e42aaedfddcfb3baede8d37f0ef68bb5ddabdb3f4833c8591ee1c8c SHA512 6fc8bd64ad63cff71c7645253273418fb3fa262c2da1742dc345576caa733af7cd75acad2f57610c5883e6bf16cffd36bc5a0c89cbbb0793c00c2a4db1c6d14b -DIST etcd-3.5.13-deps.tar.xz 5004004 BLAKE2B effc3c3fb8e6fff789f96030e485fb887b0f973e5943e66f744ce2d41c65c0756a81850be8f8cca96f50214a59e0eeac694c4669d809ddcee0771acc1703d9ff SHA512 ed80d70a14cf049e3af22757ad5cc4abd1ce563e00e0d422d38c82d66fe4381822ef1344de3ef803dedc2bfc038dabb520ad58fd489b8916529d24357628f002 -DIST etcd-3.5.13.tar.gz 4089792 BLAKE2B be7a46af3978108b7e25adabe736ac111a01ab7fcb8e142b75c0c87aa33905d42d10b721ebc982e834110388669d028e6a612c9745e2f5c93210dd05ffccba7d SHA512 dc85d80079b61e96eb06eb573d41d8972060392e49140a2414c283ea9edfef7b01d5554e50c7ab37c6ad079b373ae12a1b84dbcc533addc1d4d30a2a5abf7b7b DIST etcd-3.5.15-deps.tar.xz 5885840 BLAKE2B 378d8136da0ca3486433ee2d55f2d65e569de3807bd41ea9dbb69e2a220a75ad3b2b1efd971738de84a21ac7a2fa1cb97055553982ba571d4f115a88feddf9a1 SHA512 65810da4852df376b29b6023594af8da01fbdd63b3c25c4b95e2e643f327b15274750ed8db2f71da2d8a3223d00c603db5ed84ba13dce72303758e043ac62f19 DIST etcd-3.5.15.tar.gz 4113649 BLAKE2B b65ae93875cefffc09ff0c61eda485abd3a32691b0b8bb2d957c109c2e43cb36d26a51c4d81b7dadb9e96452dfdbfb626dfc5a151678154339d7e08324c15efb SHA512 1b22376fcda4c182ea0388b97f3b5a6a2fd62f753c2f4c13d06c3b53e9b7fb8efb2b20177f1724a5775f5ecc13bfcaabe6b308d4ee205dea86f7311fbe3a2900 -EBUILD etcd-3.4.26.ebuild 2043 BLAKE2B e97ddd6c5a5b08280249748ba46ed169bceb12c3f1db5009275cd54d9fca65878cfc29aa6f8247162326e1b6b582511684703a6dbdce9106974a7e656e87144d SHA512 f00e48beec1d548bf5303e629ea7aea5e1a88da78f894f72b0815ac8df7d684f31da874337a013fb21b70e404478eba07f872ba5ac4034c191b70ac402547523 EBUILD etcd-3.4.31.ebuild 2044 BLAKE2B 6e527a0a48a368426300a7b24f73651e56074260684ead38996a418e2cc51490a0ee5621cafc767bf426c385d44bf9be9cff3b296d75849c9d0c8d2fd2f9db2c SHA512 ad5b18908d458864acbaf9e4ac570b5dda321bec9f989549d25aaec3682e0819b086f015f12fd10ae69e4895466152610d74c0cd062cb37e9b99051e7ce1d429 EBUILD etcd-3.5.12.ebuild 2095 BLAKE2B c476ec700d5a1b1642dd364924302e63fe01d4cb52a7bb5f21e9e92f6e1545660c75d5a8f6f5e427b77d2594d6ee8ec4559c05104f7757ce515ff7b0bb441de0 SHA512 4575ff154dfcd068dcd39aa82c460f50fcbee8a8f51857d2b20b6ee46c18f9cefa0327eff770e28d91b00b11539e71fdd9ba8eeefd1278fc1b68c51bdd15e16d -EBUILD etcd-3.5.13.ebuild 2108 BLAKE2B 3ea78bf883260ffb5666188676bd26cbe1dbd48276d991ccdce24ac87ff321eb7759b66e400f68fb37cb3b286ca9a3b8da0b4767c335e32d7ec41466704b1466 SHA512 4e898666dc76d4d3611977f0162cd36f2332b716b3fa3d2938797e4fff511a13232168e32c6944151b7137306258c46eeef8b52ec7ea8d68aaff09b0bf53f652 EBUILD etcd-3.5.15.ebuild 2188 BLAKE2B 1830c6d33dafe08816432fb509e28ece04c4ccff7ac41e4b246b89efeb4af9512fa792b404aecdb9baa346d83f85a4b2721d689f08232728d0ae536bf8e1f480 SHA512 fd8863e639c6b21e58c2d5a08b26d4bd8a5deb8609d1b1027ce417379654bd982e242db55f23f32b07f9bbd2eceed5d375ab2888af0b699926bf70f927ddc82a MISC metadata.xml 421 BLAKE2B 5498a48643720f59f55d3b37d21fa80a4d8c984e7dc0e9beaccdb4f08d53819025e5849e481a7ce14fc519de15fdbed622f3c3912335cf81a678c522ba367b32 SHA512 ed8b5d3b552fdc284301ed63b941c2ce87cc808718dc15191597932d6543606907a175c929416f51193c63e12d79fef7993d0f91d9d0f70aacf75447c3744b73 diff --git a/dev-db/etcd/etcd-3.4.26.ebuild b/dev-db/etcd/etcd-3.4.26.ebuild deleted file mode 100644 index 691f72f29383..000000000000 --- a/dev-db/etcd/etcd-3.4.26.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit go-module systemd tmpfiles -GIT_COMMIT=a603c0798 - -DESCRIPTION="Highly-available key value store for shared configuration and service discovery" -HOMEPAGE="https://github.com/etcd-io/etcd" -SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz" - -LICENSE="Apache-2.0 BSD BSD-2 MIT" -SLOT="0" -KEYWORDS="amd64 ~loong ~riscv" -IUSE="doc +server" - -COMMON_DEPEND="server? ( - acct-group/etcd - acct-user/etcd - )" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" - -# Tests fail with this error: -# fatal error: checkptr: unsafe pointer conversion -RESTRICT="test" - -src_prepare() { - export GO_BUILD_FLAGS="-v -x" - default - sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\ - -i "${S}"/build || die - sed -e 's:\(for p in \)shellcheck :\1 :' \ - -e 's:^ gofmt \\$:\\:' \ - -e 's:^ govet \\$:\\:' \ - -e 's:^ govet_shadow \\$:\\:' \ - -i "${S}"/test || die - - sed -e "s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \ - -e "s|go test |go test ${GO_BUILD_FLAGS} |" \ - -i ./test || die -} - -src_compile() { - ./build || die -} - -src_test() { - ./test || die -} - -src_install() { - dobin bin/etcdctl - use doc && dodoc -r Documentation - if use server; then - insinto /etc/${PN} - sed -e 's|^data-dir:|\0 /var/lib/etcd|' -i etcd.conf.yml.sample || die - newins etcd.conf.yml.sample etcd.conf.yml - dobin bin/etcd - dodoc README.md - systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service" - newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf - newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} - newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN} - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}.logrotated" "${PN}" - keepdir /var/lib/${PN} /var/log/${PN} - fowners ${PN}:${PN} /var/lib/${PN} /var/log/${PN} - fperms 0700 /var/lib/${PN} - fperms 0755 /var/log/${PN} - fi -} - -pkg_postinst() { - if use server; then - tmpfiles_process ${PN}.conf - fi -} diff --git a/dev-db/etcd/etcd-3.5.13.ebuild b/dev-db/etcd/etcd-3.5.13.ebuild deleted file mode 100644 index 77d02b80751b..000000000000 --- a/dev-db/etcd/etcd-3.5.13.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit go-module systemd tmpfiles -GIT_COMMIT=c9063a0dc - -DESCRIPTION="Highly-available key value store for shared configuration and service discovery" -HOMEPAGE="https://github.com/etcd-io/etcd" -SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz" - -LICENSE="Apache-2.0" -LICENSE+=" BSD BSD-2 MIT" -SLOT="0" -KEYWORDS="~amd64 ~loong ~riscv" -IUSE="doc +server" - -COMMON_DEPEND="server? ( - acct-group/etcd - acct-user/etcd - )" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" - -# Tests fail with this error: -# fatal error: checkptr: unsafe pointer conversion -RESTRICT="test" -PATCHES=("${S}/go-mod-sum.patch") - -src_prepare() { - export GO_BUILD_FLAGS="-v -x" - default - sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|" \ - -i "${S}"/build.sh || die - sed -e 's:\(for p in \)shellcheck :\1 :' \ - -e 's:^ gofmt \\$:\\:' \ - -e 's:^ govet \\$:\\:' \ - -e 's:^ govet_shadow \\$:\\:' \ - -i "${S}"/test || die - - sed -e "s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \ - -e "s|go test |go test ${GO_BUILD_FLAGS} |" \ - -i ./test || die -} - -src_compile() { - ./build.sh || die -} - -src_test() { - ./test || die -} - -src_install() { - dobin bin/etcdctl - use doc && dodoc -r Documentation - if use server; then - insinto /etc/${PN} - sed -e 's|^data-dir:|\0 /var/lib/etcd|' -i etcd.conf.yml.sample || die - newins etcd.conf.yml.sample etcd.conf.yml - dobin bin/etcd - dodoc README.md - systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service" - newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf - newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} - newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN} - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}.logrotated" "${PN}" - keepdir /var/lib/${PN} /var/log/${PN} - fowners ${PN}:${PN} /var/lib/${PN} /var/log/${PN} - fperms 0700 /var/lib/${PN} - fperms 0755 /var/log/${PN} - fi -} - -pkg_postinst() { - if use server; then - tmpfiles_process ${PN}.conf - fi -} diff --git a/dev-db/freetds/Manifest b/dev-db/freetds/Manifest index 6645671205a6..50137b3d94bf 100644 --- a/dev-db/freetds/Manifest +++ b/dev-db/freetds/Manifest @@ -1,5 +1,5 @@ DIST freetds-1.4.17.tar.bz2 2401147 BLAKE2B 7155f902043411e57a9244c16bae49aa095d1f6af0b40bd1dc1e6949b3d78b3c8e58a7b6b2284ebac9e7b26920485a8ae12b691cc838410835786be51f027c89 SHA512 df5804a4bea20f995ecd3ef3ae4b898b9d9b32af6827aa2bada95008c8b909b682779c6776efb0d778615e21ac7af20b4aa0d1518a7a0d50bb793f4688a0e1a9 DIST freetds-dev.1.2.18.tar.gz 3406990 BLAKE2B f0134ee0a322cb9e7a7fefbf9e85c60b826318b546febde78e53d5ec22dc2c8e269b7e830da6d84267d16a2dc2cf367a54354765017a40e07af2c3c6be54676e SHA512 315f40ba0d97281f852ec99fac457ec4b2a30879a2384bfa2d7c680aad6c056b6ae23fc192c18db4fba75caff552ef86de7bbfc5d7b608ea5a12531bf9eadc4c -EBUILD freetds-1.2.18.ebuild 1648 BLAKE2B 5b9142c1fa91a03f4a51bfd34bf28c0d6dd28b8efaa1e54587a4b09c30f4530854f081bbae722f65d2e897e5f4fbf9ed1574224188a96dc49de7fae0a2c7d138 SHA512 239cc3551db9c9b264e6f34cd915e16cfa0d4f8672f47cd2f711f58b81943b61b1b7ac2b4778d115a6a26f7cf1adbf49bba23ef79b2a58f3707b4e04931d9199 -EBUILD freetds-1.4.17.ebuild 1456 BLAKE2B 75e461b41b996cdb2917896a7a80867b19a3e54ab52ab42ffaf07d31563e3c2963d474e1b16f3fe0c9211046af97983c21e1cb7ee589454048cb38df6a588663 SHA512 f0cc0ce41bd0bcb2834154b84ed75d1cc1e54587abf037c8dbd913aed5f5d7551fa30be0cf7a75024880446204fb9916af3d3bffac733fc857e76212156f4885 +EBUILD freetds-1.2.18.ebuild 1642 BLAKE2B 94ef56fb889124b134600f21eb1b9a9be3fe0fb40c7d19796c56187dd6039804ec4dc3e0ad43f9ad058e2acab954f502a4683b43ab235463dfed2f0afdd901fa SHA512 0db396b6c54d6ed0e802f90dbba4855070058995878af3bb79257ae73dc982fb2b4080ae413f062bb4a02c338252e808b4573a3cfcb1238398cb5e4dfe3382ce +EBUILD freetds-1.4.17.ebuild 1450 BLAKE2B 77e772be99c7f8d959515cffd33974e8e3772703537f11d8b6f13c8dbe2eb10f53dd22cf2d85e81a6882ed7b42ca31191bd3662975da3134a0e4d68c9fdab672 SHA512 9e5b967342b04b523b4298a9f80ed4a35cde7540939bc47f8a26a5b95b628c4f6c33e84f28eb0b6bd44be9fe6c27e1a23aa305fd2d7b379cc5506318f417baa8 MISC metadata.xml 307 BLAKE2B ef2023a0b7e091f47fa6e6e8c225a905e7456cbcccedaab86c3c9aa237eeaf87e5cafed83650a6ca569b3cc70bcd14ad0badabd0e4bd1739b619dbd3c3877de4 SHA512 e5489d7a456f904586f31a9c1e4b51a83d6db0ad27a7964df0ddf5a2cf75d3ba1e22fd2765d25540987e35932005968aa321dee761b64550dab27620ab9be3d7 diff --git a/dev-db/freetds/freetds-1.2.18.ebuild b/dev-db/freetds/freetds-1.2.18.ebuild index d76511a638fe..b6e582f0208d 100644 --- a/dev-db/freetds/freetds-1.2.18.ebuild +++ b/dev-db/freetds/freetds-1.2.18.ebuild @@ -13,7 +13,7 @@ SRC_URI="ftp://ftp.freetds.org/pub/${PN}/current/${MY_PN}.${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos" IUSE="debug gnutls iconv kerberos mssql iodbc odbc ssl static-libs" # iODBC and unixODBC are mutually-exclusive choices for diff --git a/dev-db/freetds/freetds-1.4.17.ebuild b/dev-db/freetds/freetds-1.4.17.ebuild index b9d879a08826..062663d7c46f 100644 --- a/dev-db/freetds/freetds-1.4.17.ebuild +++ b/dev-db/freetds/freetds-1.4.17.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://www.freetds.org/files/stable/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" IUSE="debug gnutls iconv kerberos mssql iodbc odbc ssl static-libs" # iODBC and unixODBC are mutually-exclusive choices for diff --git a/dev-db/futuresql5/Manifest b/dev-db/futuresql5/Manifest deleted file mode 100644 index f19fd4868cab..000000000000 --- a/dev-db/futuresql5/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST futuresql-0.1.1.tar.xz 27844 BLAKE2B d2f335c7a64b44b32785e2bf8522ca3670450ff2ec5190aa2ff296198e2ac62985e51dacb890566b24a52c54f6300688f17cbb208055d7b4a3ee007d19415d81 SHA512 ce9cd927c6da3ca7351640cc2c36854c1a728ec5c24517e61772e3571d56bcaa2221cfe05127f78554bd9d2b2d72bd46e911834c9fb1e9b89bd96b84b39bda16 -EBUILD futuresql5-0.1.1.ebuild 796 BLAKE2B 4748de7d8818f233aa9a50e280b0e3d397a3a931934fbc604bdf257a1f80c2bf9003bd4677dec651e3ab8125e52463d0fde2fb6c2636d025b91a466521118daa SHA512 f28316de290c30d08ebd8efc1ee20d69f5b978b777c721d3aaea530182f666a09a75977cace309c1dbe1d6a7b53fee7402a3f449aaa2c135fefafc25505c9b89 -MISC metadata.xml 381 BLAKE2B 8baa7ecfc8760e4a4ae2a3507ede44cda62346dab1feee357ff737c26714d4888665af8fb02b3d4c6ed096bafe6e2f7247bfebbd73d66ca8a8d19dcc2f1aa1b4 SHA512 cab8f42d78acc59bd863272275e35af36b6f93c22d8a0269038b591f7fefe161579d9c08c936bb66fd1a7dfc871d63213108753b6cd4cbd3f8cfada675a3a206 diff --git a/dev-db/futuresql5/futuresql5-0.1.1.ebuild b/dev-db/futuresql5/futuresql5-0.1.1.ebuild deleted file mode 100644 index cd018a1df132..000000000000 --- a/dev-db/futuresql5/futuresql5-0.1.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_EXAMPLES="true" -ECM_TEST="true" -KDE_ORG_NAME="${PN/5/}" -inherit ecm kde.org - -DESCRIPTION="Non-blocking Qt database framework" -HOMEPAGE="https://api.kde.org/futuresql/html/index.html https://invent.kde.org/libraries/futuresql" - -if [[ ${KDE_BUILD_TYPE} = release ]]; then - SRC_URI="mirror://kde/stable/${PN/5/}/${KDE_ORG_NAME}-${PV}.tar.xz" - S="${WORKDIR}/${KDE_ORG_NAME}-${PV}" - KEYWORDS="amd64 arm64 ~riscv x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="" - -RESTRICT="!test? ( test )" - -RDEPEND="dev-qt/qtsql:5" -DEPEND="${RDEPEND} - examples? ( dev-libs/qcoro5 ) - test? ( dev-libs/qcoro5 ) -" - -src_install() { - if use examples; then - docinto examples - dodoc -r examples/* - fi - ecm_src_install -} diff --git a/dev-db/futuresql5/metadata.xml b/dev-db/futuresql5/metadata.xml deleted file mode 100644 index 9049183544a1..000000000000 --- a/dev-db/futuresql5/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>kde@gentoo.org</email> - <name>Gentoo KDE Project</name> - </maintainer> - <upstream> - <bugs-to>https://bugs.kde.org/</bugs-to> - <remote-id type="kde-invent">libraries/futuresql</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-db/hsqldb/Manifest b/dev-db/hsqldb/Manifest index 3c5b657b8dba..73e69dc62e5e 100644 --- a/dev-db/hsqldb/Manifest +++ b/dev-db/hsqldb/Manifest @@ -4,5 +4,7 @@ AUX hsqldb-2.7.3-hsqldb.init.patch 740 BLAKE2B 948afb9bb1404d34f767bebd2010fdea9 AUX server.properties 686 BLAKE2B 6b4482dfe6187adada772cffb1a46e39bacd9fa8ca5501dd58414f9815dc6b118d3f9de909953f88f1055ae1984ef3f9aee479c339920bf182f31f4265cdb6f1 SHA512 c36a1d2e387762f96872d94bdb3a6a2af9edb949be9d33321f9ea4e3fb996baecff6fc3875b6bef8f73a54a6a1cedd71dcdf97c881819cb130b1a2b43ec7e842 AUX sqltool.rc 560 BLAKE2B 5f5e4bd1e9fe9759c2e2d5b6b5274343caa5028b29cfa4597c3a3348a1b07e4540d608d3dea5b189cf471b85721f15018490a7e4f8c56cc48ce648a07f0b7a45 SHA512 80ce53ad07c2091113787cb41232e5900426b042dcc3f62157569588538ad26d471e5d17aac62052902789065efb01647bfbc3488ff3d0f3c9e3df513895f57c DIST hsqldb-2.7.3.zip 11778622 BLAKE2B 9e7f6a0e0bdf8602c87ab770dcb43c17db9ae6dc5d50fda079a44a42b0ccb64a20f74d020b2dbedbbc6b6c6ee57acf062d2c74d53a7d34fe932dbd79b0cc86d0 SHA512 06825d5f1428630dae476d78de9e2c48834a34a8678adf0e6af594594c5e1a7efdf99e366add4f6bbc24136e6aaa8fcbf54bd7ff2f2c459c20f9f02f7415b70a -EBUILD hsqldb-2.7.3.ebuild 5371 BLAKE2B 7dc94cca85dea54c73b72cc47334238f99cb1fb71d780f3444ae13db905603399990511ade4467702b0f92e4f11819932165c33fca2b71ad4b8b08980c52b9bb SHA512 9108b291fc6b81d0c43efbdfe15be133ac3840a417a7d8445077d1ca17bf7bc59c48ffac6d879698d6d4aeb6ab24a4342bd66bb2cdc7ea4c87b18a282173bdbc +DIST hsqldb-2.7.4.zip 11792951 BLAKE2B 5f3661914b1a3ab006462c4d456d4601a61fcc57f057e18031346696342e9f95ac123c410c604ca7ede89d5c0a2702dc1c988b9269f1319929dea6fb8c66cebb SHA512 632017aa0776bdfe2442399451474a996491aa4584e7536b4c42199f613c0d1267d931fdcbe06acfa49061fa18dff7c3e4a0063a5ecd40fff73b9959e9975801 +EBUILD hsqldb-2.7.3.ebuild 5362 BLAKE2B 7bc2868548b10698a424dba1586ab0d310b057c506d51259684285c66f41e9d5eb5d86b585c92e20f6ceddee2a868efae250e5e5af15921cef3a22a008ae44a2 SHA512 b7829194f179ebb0548b7550a5e85c1791131d96a78234d53956d618b423ee5c27ebb670874245f3f484f6f6500b714f71dedff9724950148cd8e76857f280ed +EBUILD hsqldb-2.7.4.ebuild 5365 BLAKE2B 37e671985957c3920303d134aab63c45feeb8ce274b4a18919a64dc2c7fbd20fe94e10e96e79c64dae5a0d69f14fe9d84270d5c93407c60101987d1fb7fda0b9 SHA512 e8a3404ab289501f4a1fbc2a5fff88ea665346f82e83ec0a452307127da1034e314f46a4e361bc62d93dfd844e78a89e6dd66d3c9c56e5d644993085842ea931 MISC metadata.xml 313 BLAKE2B 9e6ce7bf4cf82ff78b3a930ec36589308e448ae076c231a742ce3bdc3c43648bb63946636c5564995f7463d2d69b039d0d533d4af1d55790f3fafaeaf68597d8 SHA512 f56b3020ded5e21f6ca53bd6d81396f16c3917c702bcda8553a46bdc996bd751ef30757f241efe61343a5af58886b3cfdad51aa7b1e008378bbc4891dd7fa308 diff --git a/dev-db/hsqldb/hsqldb-2.7.3.ebuild b/dev-db/hsqldb/hsqldb-2.7.3.ebuild index 3fef0b5b9daa..7af11c355afb 100644 --- a/dev-db/hsqldb/hsqldb-2.7.3.ebuild +++ b/dev-db/hsqldb/hsqldb-2.7.3.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${P}/${PN}" LICENSE="BSD GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="amd64 arm64 ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" BDEPEND=" app-arch/unzip diff --git a/dev-db/hsqldb/hsqldb-2.7.4.ebuild b/dev-db/hsqldb/hsqldb-2.7.4.ebuild new file mode 100644 index 000000000000..c2a6424fcd29 --- /dev/null +++ b/dev-db/hsqldb/hsqldb-2.7.4.ebuild @@ -0,0 +1,181 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.hsqldb:hsqldb:${PV}" + +inherit java-pkg-2 + +MY_PV="$(ver_cut 1-2)" +MY_PV="${MY_PV//./_}" + +DESCRIPTION="HSQLDB - Lightweight 100% Java SQL Database Engine" +HOMEPAGE="https://hsqldb.org" +SRC_URI="https://downloads.sourceforge.net/project/hsqldb/hsqldb/hsqldb_${MY_PV}/${P}.zip" +S="${WORKDIR}/${P}/${PN}" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + app-arch/unzip + >=dev-java/ant-1.10.14-r3:0 +" + +COMMON_DEPEND=" + acct-group/hsqldb + acct-user/hsqldb +" + +DEPEND="${COMMON_DEPEND} + dev-java/javax-servlet-api:3.1 + >=virtual/jdk-11:* + test? ( + >=dev-java/ant-1.10.14-r3:0[junit] + dev-java/junit:0 + )" + +RDEPEND="${COMMON_DEPEND} + >=virtual/jre-11:*" + +DOCS=( readme.txt doc/{changelist_2_0,odbc,readme-docauthors}.txt ) + +PATCHES=( + "${FILESDIR}/hsqldb-2.7.3-hsqldb.conf.patch" + "${FILESDIR}/hsqldb-2.7.3-hsqldb.init.patch" +) + +HSQLDB_JAR=/usr/share/hsqldb/lib/hsqldb.jar +HSQLDB_HOME=/var/lib/hsqldb + +src_prepare() { + default #780585 + java-pkg-2_src_prepare + java-pkg_clean + + # bin/hsqldb seems to have moved/renamed to sample/hsqldb.init + mv sample/hsqldb{.init,} || die + + mkdir conf + # sample-hsqldb.cfg seems to have moved/renamed to sample/hsqldb.conf + mv sample/hsqldb.conf conf/hsqldb || die + + cp "${FILESDIR}/server.properties" conf/ || die + cp "${FILESDIR}/sqltool.rc" conf/ || die +} + +src_compile() { + local targets=( hsqldb hsqldbutil sqltool ) + if use doc; then + mkdir doc-src/apidocs || die + cp doc{,-src}/apidocs/javadoc.css || die + rm -r doc/apidocs || die + targets+=( javadoc ) + fi + use test && targets+=( preprocessor ) + eant \ + -f build/build.xml \ + -Dservletapi.lib="$(java-pkg_getjars --build-only javax-servlet-api-3.1)" \ + -Djavac.bootcp.override \ + -Dant.java.iscjava11 \ + -Dant.build.javac.source="11" \ + -Dant.build.javac.target="11" \ + "${targets[@]}" +} + +src_test() { + mkdir -p test-src/org/hsqldb/{resources,jdbc/resources/{xml,sql},util/preprocessor} || die + eant -v \ + -f build/test.xml \ + -Dservletapi.lib="$(java-pkg_getjars --build-only javax-servlet-api-3.1)" \ + -Djunit.jar="$(java-pkg_getjars --build-only junit)" \ + -Djavac.bootcp.override \ + -Dant.java.iscjava11 \ + -Dant.build.javac.source="11" \ + -Dant.build.javac.target="11" \ + make.test.suite run.test.suite +} + +src_install() { + java-pkg_dojar lib/{hsqldb{,util},sqltool}.jar + + einstalldocs + use doc && java-pkg_dojavadoc doc/apidocs + + use source && java-pkg_dosrc src/* + + echo "CONFIG_PROTECT=\"${HSQLDB_HOME}\"" > "${T}"/35hsqldb || die + doenvd "${T}"/35hsqldb + + # Put init, configuration and authorization files in /etc + doinitd "${FILESDIR}/hsqldb" + doconfd conf/hsqldb + insinto /etc/hsqldb + # Change the ownership of server.properties and sqltool.rc + # files to hsqldb:hsqldb. (resolves Bug #111963) + use prefix || insopts -m0600 -o hsqldb -g hsqldb + doins conf/server.properties + use prefix || insopts -m0600 -o hsqldb -g hsqldb + doins conf/sqltool.rc + + # Install init script + dodir "${HSQLDB_HOME}/bin" + keepdir "${HSQLDB_HOME}" + exeinto "${HSQLDB_HOME}/bin" + doexe sample/hsqldb + + # Make sure that files have correct permissions + use prefix || chown -R hsqldb:hsqldb "${ED}${HSQLDB_HOME}" || die + chmod o-rwx "${ED}${HSQLDB_HOME}" || die + + # Create symlinks to authorization files in the server home dir + # (required by the hqldb init script) + insinto "${HSQLDB_HOME}" + dosym ../../../etc/hsqldb/server.properties "${HSQLDB_HOME}/server.properties" + dosym ../../../etc/hsqldb/sqltool.rc "${HSQLDB_HOME}/sqltool.rc" +} + +pkg_postinst() { + ewarn "If you intend to run Hsqldb in Server mode and you want to create" + ewarn "additional databases, remember to put correct information in both" + ewarn "'server.properties' and 'sqltool.rc' files." + ewarn "(read the 'Init script Setup Procedure' section of the 'Chapter 3." + ewarn "UNIX Quick Start' in the Hsqldb docs for more information)" + echo + elog "Example:" + echo + elog "${EPREFIX}/etc/hsqldb/server.properties" + elog "=============================" + elog "server.database.1=file:xdb/xdb" + elog "server.dbname.1=xdb" + elog "server.urlid.1=xdb" + elog + elog "${EPREFIX}/etc/hsqldb/sqltool.rc" + elog "======================" + elog "urlid xdb" + elog "url jdbc:hsqldb:hsql://localhost/xdb" + elog "username sa" + elog "password " + echo + elog "Also note that each hsqldb server can serve only up to 10" + elog "different databases simultaneously (with consecutive {0-9}" + elog "suffixes in the 'server.properties' file)." + echo + ewarn "For data manipulation use:" + ewarn + ewarn "# java -classpath ${EPREFIX}${HSQLDB_JAR} org.hsqldb.util.DatabaseManager" + ewarn "# java -classpath ${EPREFIX}${HSQLDB_JAR} org.hsqldb.util.DatabaseManagerSwing" + ewarn "# java -classpath ${EPREFIX}${HSQLDB_JAR} org.hsqldb.util.SqlTool \\" + ewarn " --rcFile ${EPREFIX}/var/lib/hsqldb/sqltool.rc <dbname>" + echo + elog "The Hsqldb can be run in multiple modes - read 'Chapter 1. Running'" + elog "and Using Hsqldb' in the Hsqldb docs at:" + elog " http://hsqldb.org/web/hsqlDocsFrame.html" + elog "If you intend to run it in the Server mode, it is suggested to add the" + elog "init script to your start-up scripts, this should be done like this:" + elog " \`rc-update add hsqldb default\`" + echo +} diff --git a/dev-db/influxdb/Manifest b/dev-db/influxdb/Manifest index f9b964b9245f..6a2a47e7782f 100644 --- a/dev-db/influxdb/Manifest +++ b/dev-db/influxdb/Manifest @@ -67,9 +67,9 @@ DIST idna-0.3.0.crate 271128 BLAKE2B cf8a2c43760f03e94953c6692423a12f28fe763aabe DIST indexmap-1.9.3.crate 54653 BLAKE2B 7bc1768589e74020dc15d3dd064009edaaef39b7aeb682d0ca8e49944e3f020b9c04d64feb102e88b22feb40863479dfaf4722d6a77b5d19e7ca553f4bf64c1b SHA512 2aa8069eb07a814c8fa3e11296c9f032ef60963520d7786ad20cca5cb7e73b8f76d97722a994d65295bb713020aadce5008cd3df5e99d8bd968ef1979f910a37 DIST influxdb-1.8.10-deps.tar.xz 151055544 BLAKE2B b660cdf996ea918db2d569472f42bb48cfdd694398d2577e4e97d549a549e90851b417463bc5228735b3b23d108fad83868971770953bea38ff27bde4fb9493f SHA512 bfd89dc2817c59de1286b2dbf4e9895d8a104aa1e2cd3db54069e40328d51baee152c761ba92818f67b2a6ab20591b543dd84259e4e2a545a79cd59ca197dd95 DIST influxdb-1.8.10.tar.gz 12082933 BLAKE2B 511202025bd0c2305b8fa3b8be439f6e2941313b42587e6e6eedfcb6ae44c8fd821e5ffcbde288eb4d2d426d3fcbde940cdcb2a993918263ec31c57ecfce0e85 SHA512 4f5d20c190288d6397f0e87abd9b9136340b17f091c361cbc111ba661a3e63626edf5c74ddeeda164d82102dd06026e0037f50da546cda25e6c8647f4c739fae -DIST influxdb-2.7.6-assets.tar.gz 19829786 BLAKE2B 1ca0fe1a6265329b226eb4de0d1310e71b766bcd8d05f636e3ee0c75c2b9f50c90b8c7f38225c0380b3074f84eb07805a7d42cf06cfbdac3b8b1ffad3befb8e5 SHA512 85f49e3e5a262fcecb801b3ba91157557fa30933a9cc210f2ad7395d3165225fba2f50190e452f76b2567adb765aba297dbcb425d388851f742edd55375da135 -DIST influxdb-2.7.6-deps.tar.xz 458572596 BLAKE2B 07985d3bfcf7179f76f4b3cd1bc6bf015c40e5e63ac1e407f2920a04d3728250d4f90e09915048faa224530b0ca002b3ae4d75184480898a4ab7d61bb060633b SHA512 a256e82bbe8c06fddb1cfe3a5857cfda7c9e78178d17951bb1d034c71033f55c7f5d70be1b56c7bdcb9b87e3631b8ce92375e974e1bfe5bb9a47f5103b919b9d -DIST influxdb-2.7.6.tar.gz 14258162 BLAKE2B b530203f7995f97fdc26eb1fbca808374e870691e549534e581492e9d14a27dd5cd4b5bc952cf6e9d3c0394fb05f76559964f7f2e9e9ca070c4c6afc7442b15f SHA512 841b720aa6351136cbae8ace0f48504cfc993f8f938542784d89c33523cbb6a3f0d5fd27644215e2f93018be57aad538a18a316b5172ace889a2bf9041190750 +DIST influxdb-2.7.10-assets.tar.gz 19554632 BLAKE2B a9d71bd511018e0cd1b46f41b32bb89da8a802acb3ed74e7742929d50f6caa80510ac219609ae659ded6a514e0b57ed8a2786a4428c1dd192f685dea1a2a9b41 SHA512 3ee86a57f3f4f83b1b68fe9541b7393d08466b819afd7e74e1d50e11306e00d9c9c14592002e2279693c9eb48876fd664179ad3a75363afca3d38e6102857af7 +DIST influxdb-2.7.10-deps.tar.xz 468839592 BLAKE2B 18de232ce5c6bfccb2f75fd77b4991008ceaf98cb2f92d97cf5f37508503d381f11b8484c17f76402a6ad462cb1974d60305e6861f9a7bd3502ff4bd92b8b7d4 SHA512 87bdaab1c3adc7fd037cb293d60119f1ea7829230d1c8ac1b8fc044b6270014769e9c6a7d8f649f001c7613426948d02ddeae27812c4a3c929c8fe8fb02e7d46 +DIST influxdb-2.7.10.tar.gz 14277469 BLAKE2B d5e5528f013780c53bec914d1a221170b59a6066e17164030d7cf624b7c9803e66dbffa95ce1b18fc997f40e4ea4e0860d5d9e15bc6d033d101c74033c021503 SHA512 5ad6fc094a847a3ec96579a43ebbfa5e3085842d3899608665e3b4a9680f87de29cc3dc5888482e23f636a3511e6797aa5ef5900c04ceb765ed4705f67e87bff DIST influxdb-2.7.8-assets.tar.gz 20147021 BLAKE2B 7d09dfa8fecc568b935964c350e13d6d539611e3d33b4364595f8a21f2b5eba9c8da60c4d9b03a55b9f1d7151cdf029785aff304c159ba15424f673aca01b20f SHA512 74a4baefe2d7cdc6dca86f2bd0621655c1836574bad658a891198f42c86032951f2cc7c66d7b54584ca37d3c14cb15c2e3930d8573e99e3910060e0e3a273f19 DIST influxdb-2.7.8-deps.tar.xz 468669044 BLAKE2B 6867a28693e7810c4bb269f262d3882a04d8eadf984f0a2cee73d8882d0294d478563fb50f47bba3b5a07a22efaf294eabac4d3a6630eb332c9c8765ac7c1fad SHA512 2d6af21e0bea4a54b45cbb1f1b8eb8fc71107bf56960a843d793cf43ad61ddf082d70f598f9fab299a021e03960b68fabf201408a137766f79e00a24da78fb30 DIST influxdb-2.7.8.tar.gz 14277447 BLAKE2B 107c41b69834ac19c26a3a90a547efe439189e1b4b1284a1e23a894df5722e2bfe071622ecf64e6c0d5099d59032859f9a2962203cc56738ea4c067504c11c7d SHA512 1756f02819e45251282277ece9b8760cad7c0d5764922bbb29f60f02a0f2c5790e65d00e32d7db3b6701269d1aac151879943479496df12282e4641d34038dc0 @@ -194,6 +194,6 @@ DIST windows_x86_64_msvc-0.42.2.crate 666936 BLAKE2B bc3a456e7f8bc272f8978ec6950 DIST windows_x86_64_msvc-0.48.0.crate 671422 BLAKE2B abb063610dcc38581657133182b7d9efeed5553df67bd2bd6f30f1668a645186e4824f9ef556a5abc84ace10b1b437b6325bbda6df5a64ce880d7dcb743ac786 SHA512 6e598b8e3ac54912a8ebac01b0dd2c58fd282072527d7fedc7f6ebecdfb7dcb09ae46c22293bc0117849437f8b053db5e90406e7a38276f0f0afd06be3966795 DIST yansi-0.5.1.crate 16525 BLAKE2B 3b5a93b98293daae72f53bf3f13bfc05feba8d5b27921f79595f7448fbcb9a0dfa6cd70f467c5735b914c46b7d3592e6cce080c540a458a904308525eb3aa839 SHA512 7b33005a066cc612408a65df6533e8718d1de43efc0fd57416a19dc2b811497570e6e18f100fb26073565e395e711518c27de7d644ae64777713f1a102eb16d2 EBUILD influxdb-1.8.10.ebuild 1415 BLAKE2B c32cd9f1b5ad1696b4e612f2c99c43170e828a41653004da588e607b19de495bc8926ca1a7d60287a49394c53509d9e542ecff4b378b4486e7b69d4c3e044afb SHA512 ee1e42b70fabf4ed8676033be9a0f5e10d514a9ad98741a0e685cfb8e11f4f8f51a0ed28f91043e5b78c44f7dbfe74aea6f93fc79193ca8da425316fcd561b69 -EBUILD influxdb-2.7.6.ebuild 6616 BLAKE2B fdc72ab8bd7507be44a23301f29eadf3236bc52bedab56e2de6b0ba51ee8fd2fd3caab046cb03e51328c2f6f10094d34e6ee3a1800dd4bda35f62847fb46dc89 SHA512 183a75df09aa81fd892694476cfaa1a48c7142c09812ce7c314dbe9047480d28ee6ee1ef0ea54bafc70ce9d81e75fbdc04233f6c8a467c45bcf8cda5185c536a +EBUILD influxdb-2.7.10.ebuild 6499 BLAKE2B 29e85d7dec8a7267ed1e4653f6df3ab92b3a7d038e2283130436499fe9117b2f86aa90a47afb66f3fa036a07e4fa8b64b0f8a2096cb3915ede1cf878cea5c6c7 SHA512 ef907164c20e8c666ae947b8d55fac72648aaebc02f20addbea349e1cddac8344a96607a84d79e83598ff34deedaca56c01198fa39e79278ce8066bb03e32f14 EBUILD influxdb-2.7.8.ebuild 6498 BLAKE2B ac5e9f2f4056ff3f044e144573d925d5107f8c4d9c01ba8ea3e0a4942b7f719f8ac1dde13f2fbafb99df817ee04b6798100fd42f3069cab753f77be7d8777725 SHA512 27d81200134d7b35d02855bd5beecd6f2238292d3fc028d9af81d5341f8fd0927daeec76065c5ee5c643602ba3cb74c6f68b067674160bfd2d260ddade74305e MISC metadata.xml 794 BLAKE2B b2918ee4b0c547e06957606fc84ce3fa44144f6e4510ac2bca9008645ca4a08058f02c8cd96623575214763856a97f9fa887ca70dd8a9ba884c9328b1ea54a8a SHA512 4badc736aae9a6aa97766dedc40f906b983f91c9a08fe2784df2768bcbf4e164a365276bfcef271767b9d86afa7ccccbc8dbe31857641c724eeb0e2deeda01ee diff --git a/dev-db/influxdb/influxdb-2.7.6.ebuild b/dev-db/influxdb/influxdb-2.7.10.ebuild index 6fc1b5b27282..60339b24dc5b 100644 --- a/dev-db/influxdb/influxdb-2.7.6.ebuild +++ b/dev-db/influxdb/influxdb-2.7.10.ebuild @@ -194,12 +194,11 @@ inherit cargo go-module systemd DESCRIPTION="Scalable datastore for metrics, events, and real-time analytics" HOMEPAGE="https://www.influxdata.com" -FLUX_PV="0.194.5" +FLUX_PV="0.195.2" SRC_URI="https://github.com/influxdata/influxdb/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://github.com/influxdata/ui/releases/download/OSS-v2.7.1/build.tar.gz -> ${P}-assets.tar.gz" +SRC_URI+=" https://github.com/influxdata/ui/releases/download/OSS-v2.7.9/build.tar.gz -> ${P}-assets.tar.gz" # Generate go-mod of base dir. Then cd go-mod/github.com/influxdata/pkg-config@v0.2.11 and generate go-mod of it -# The tarball has next backported commit: github.com/influxdata/flux/commit/68c831c40b396f0274f6a9f97d77707c39970b02 SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-deps.tar.xz" SRC_URI+=" ${CARGO_CRATE_URIS}" diff --git a/dev-db/kdb/Manifest b/dev-db/kdb/Manifest deleted file mode 100644 index b9b7c4c5c376..000000000000 --- a/dev-db/kdb/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX kdb-3.2.0-postgresql-gcc12.patch 1355 BLAKE2B 1884b7b1db9a60a625722a3d20cfc8aece7320675aaa627737edd841997859de9ac499f8c07101eed67d1190a66334a23a99562819f30466f5c56fc566f437a0 SHA512 c6527802b3c34661717fd190f11385d8a4338ec5e3757ebdbc48df36ef40d7f6bcf44cba221faeef95507045840a5652e996b1621890c25d3944df1a4089607a -DIST kdb-3.2.0-patches.tar.xz 7448 BLAKE2B 924a3ac0db2fedfa6d757dcb96fefc48540d5bee7dd2e1239e0e7eca9765393e3b72b13365a66a8e336a655aa4c8978e800f3baa86b704e85134d0c7281b90d7 SHA512 4fe59f33059dcfe19a26bed93615ce152f321f040daa57a2e6747a397aebbc896cd6c964cd2cb1350762552173ff146e4e51b864aa098ec5ae77e0dd6c6d9a2f -DIST kdb-3.2.0.tar.xz 650180 BLAKE2B 306152b37c2ecc670d26a2df2ae8acb950505ecb37c4994f4debd1b80c8b2ee94252658fe28b59255d9ad0d350375171f3b43dc9e94949417c3aa9ed167134fe SHA512 7df22f2c5b6e20ae3de71cb6c76b234d2f1f33b2abcdffa85be313c63d067a40a85ed102b6256207315db08ced5d69f8bc40afdf84a188463713a6b2ffdb2df7 -EBUILD kdb-3.2.0-r2.ebuild 1715 BLAKE2B e27441f117a587ff185c0af67ac579090972129ded11b7620a2e3ad1795d27b8358e26a1b4e3f4bf447c8907d9056edf981df29dd4e8c80f684462112c1433d4 SHA512 3d4b195090ab903997d689343785b454fec8173e05d5e105dda036f0bb04936dfb480fc6aa8d9e9af740716a380929ac9f0124e8edbaf99afc4120481cac2da2 -MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/dev-db/kdb/files/kdb-3.2.0-postgresql-gcc12.patch b/dev-db/kdb/files/kdb-3.2.0-postgresql-gcc12.patch deleted file mode 100644 index d62539179b13..000000000000 --- a/dev-db/kdb/files/kdb-3.2.0-postgresql-gcc12.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 48f9167e37c9a2d024c525cab0ba65a2e02e248f Mon Sep 17 00:00:00 2001 -From: Yaakov Selkowitz <yselkowi@redhat.com> -Date: Mon, 20 Jun 2022 14:49:26 -0400 -Subject: [PATCH] postgresql: Fix build with GCC 12 (standard attributes in - middle of decl-specifiers) - ---- - src/drivers/postgresql/PostgresqlConnection_p.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/drivers/postgresql/PostgresqlConnection_p.h b/src/drivers/postgresql/PostgresqlConnection_p.h -index c0485786..99040c6a 100644 ---- a/src/drivers/postgresql/PostgresqlConnection_p.h -+++ b/src/drivers/postgresql/PostgresqlConnection_p.h -@@ -155,14 +155,14 @@ public: - return PQnfields(result); - } - -- inline Q_REQUIRED_RESULT KDbSqlField *field(int index) override -+ Q_REQUIRED_RESULT inline KDbSqlField *field(int index) override - { - return new PostgresqlSqlField(result, index); - } - - Q_REQUIRED_RESULT KDbField *createField(const QString &tableName, int index) override; - -- inline Q_REQUIRED_RESULT QSharedPointer<KDbSqlRecord> fetchRecord() override -+ Q_REQUIRED_RESULT inline QSharedPointer<KDbSqlRecord> fetchRecord() override - { - return QSharedPointer<KDbSqlRecord>(recordToFetch < recordsCount - ? new PostgresqlSqlRecord(result, recordToFetch++) --- -GitLab - diff --git a/dev-db/kdb/kdb-3.2.0-r2.ebuild b/dev-db/kdb/kdb-3.2.0-r2.ebuild deleted file mode 100644 index f62284ddcc1d..000000000000 --- a/dev-db/kdb/kdb-3.2.0-r2.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_QTHELP="true" -ECM_TEST="true" -PYTHON_COMPAT=( python3_{9..12} ) -KFMIN=5.82.0 -QTMIN=5.15.2 -inherit ecm kde.org python-any-r1 - -DESCRIPTION="Database connectivity and creation framework for various vendors" -HOMEPAGE="https://community.kde.org/KDb" - -if [[ ${KDE_BUILD_TYPE} = release ]]; then - SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz - https://dev.gentoo.org/~asturm/distfiles/${P}-patches.tar.xz" - KEYWORDS="amd64 x86" -fi - -LICENSE="LGPL-2+" -SLOT="5/4" -IUSE="debug mysql postgres sqlite" - -DEPEND=" - dev-libs/icu:= - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtnetwork-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=dev-qt/qtxml-${QTMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - mysql? ( dev-db/mysql-connector-c:= ) - postgres? ( - dev-db/postgresql:* - >=dev-qt/qtnetwork-${QTMIN}:5 - ) - sqlite? ( dev-db/sqlite:3 ) -" -RDEPEND="${DEPEND}" -BDEPEND="${PYTHON_DEPS} - dev-qt/linguist-tools:5 -" - -PATCHES=( - # 3.2 branch - "${WORKDIR}"/${P}-patches/${P}-build-w-pg12.patch - "${WORKDIR}"/${P}-patches/${P}-qt-5.15.patch - "${WORKDIR}"/${P}-patches/${P}-cmake-pg15.patch - "${WORKDIR}"/${P}-patches/${P}-Q_REQUIRED_RESULT-placing.patch - "${WORKDIR}"/${P}-patches/${P}-gcc12.patch - # master - "${WORKDIR}"/${P}-patches/${P}-KDEInstallDirs.patch - "${FILESDIR}"/${P}-postgresql-gcc12.patch # bug 869368 -) - -pkg_setup() { - python-any-r1_pkg_setup - ecm_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_CXX_STANDARD=17 - -DKDB_DEBUG_GUI=$(usex debug) - $(cmake_use_find_package mysql MySQL) - $(cmake_use_find_package postgres PostgreSQL) - $(cmake_use_find_package sqlite Sqlite) - ) - - ecm_src_configure -} diff --git a/dev-db/kdb/metadata.xml b/dev-db/kdb/metadata.xml deleted file mode 100644 index d925f2439758..000000000000 --- a/dev-db/kdb/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>kde@gentoo.org</email> - <name>Gentoo KDE Project</name> - </maintainer> - <upstream> - <bugs-to>https://bugs.kde.org/</bugs-to> - </upstream> -</pkgmetadata> diff --git a/dev-db/kyotocabinet/Manifest b/dev-db/kyotocabinet/Manifest index b813fa03e094..62c0b8b32926 100644 --- a/dev-db/kyotocabinet/Manifest +++ b/dev-db/kyotocabinet/Manifest @@ -1,11 +1,7 @@ AUX fix_configure-1.2.62.patch 1668 BLAKE2B 5a572607b5c848c3616fcccac1e936f9218ace5e7f657f04583ce89e6a1a34eefdb9ffbf76a64862529afd6076444efd831b44b4d658b18fab6b402007ee0114 SHA512 cd36241bdde29f62b99b2bfcb45b592fad3d15a32a370c925e5085be18893a8ba9bb15cb55939871beb9776dc6ab7da4f2d2cf54efed6f86310f3297d33dd567 AUX kyotocabinet-1.2.76-configure-8-byte-atomics.patch 1250 BLAKE2B 882c4897a40609bbfa1183cb97e80e5ed6d95d0035c30c836e3f252962db822249f8b48934923e816a720d3cbf64a6f47f80cef77528216f3171f332ca3a350b SHA512 4833cecd6c67515e0c59d7161be6891df290ae816593de1bf35718e9c9d8691db221bec5078c5dc7cf56e55b0086d61c415e148a7ee63b2a47ac4885f6d0960e -AUX kyotocabinet-1.2.76-flags.patch 894 BLAKE2B 50efb4b21f0101a942eb758213cf703460056a951617298057567d08b116c7e0a631d631eace992ff447bed5b74940d2b60a8adad373cb77fe42b8c40bfcc9fd SHA512 60a15c54994a5f338cf168feb831d858fdd2cadd16ea0c8001ef652e8502797f5920d3fed0a3ec4a6a2d817381b4690410878a18c7c859df34e26b033f48fe03 -AUX kyotocabinet-1.2.79-configure-clang16.patch 505 BLAKE2B 86113c69eb70f3d44305566119af61b773252c1fa30857f34af71ff04bc6d6574de266fe6dd716ebf031e61282788e30a076177427bd379fa209df76e86b0bd2 SHA512 aa214f0a4f207dcb667541708af41444db9a5b2e19547e0fc03228173143ccc22cbf359c8214e677530ad746c29ebacb1c48989702dec6f503063ac44b22c871 AUX kyotocabinet-1.2.79-initialize-parameter-error-clang16.patch 2453 BLAKE2B 42ea518397fdb464198e5701075b6bb92f5702cc4c03f1241851ef93a18ee760fc55c96242d7f4976909e1ebd6f47f3a83513aac3b62880be2458226ef0d9f03 SHA512 5ca4c9bfede8bdc59040707379c6cc5361d6dc5218969f6f45d0d12740d59a6a1fb74a7e277d453f551601228f602941f8af6093130f56f3ef782f433b2baff1 AUX kyotocabinet-1.2.80-flags.patch 1011 BLAKE2B 63047b98feead5b2ceb86282b40d8a55dec36ed01a72829241aff0956a00ab60f2a37c7fac00b0468b1613729c25a9a0188369c9d0b436256aa356250795f28e SHA512 6020c493039bf03d68b5860f7bf937e860f5d959b4305b579d1b70567f4ee2ae4915a2ccf58e87904e5109b62ac3a31b32ffa28f074ff3d9cdddbf5f55c7d53f -DIST kyotocabinet-1.2.79.tar.gz 943804 BLAKE2B 8a12e6dd953a1ba995d5a60126fb2682a07be390698bf98535633af894573aafc63b55497dc869cad14eceb14824ceb4f8c471b9aa1dad51944c35eac0cf4912 SHA512 9243192c81d3aa37cc8c80eb3bdf235192a0919b134cededa2b4178be515d148916e7405e094cbcdd7dbf13bf38a569bf21863afac7cc05d6418cca5853a2ff4 DIST kyotocabinet-1.2.80.tar.gz 942543 BLAKE2B 0a2c5e14fe1362d69d5676c9a8b203bee5a7f7c077d5a9fcb90b5697f0d0cfa5081d0547bff84493f4e1e3fdf5b263f6e4929aeae816e2f567236afaa905fd14 SHA512 9fe0a92c9a76db5ce06ef4d5a551c05930f2a9c065ab695b030fdaf45692bfe88d91f1b75791f50d0772c699567744cd74f3ef407172874d4bba467989d54328 -EBUILD kyotocabinet-1.2.79-r2.ebuild 1597 BLAKE2B 01c613bfb185cc5d9c6fa58c2283556116a71563cd910254116801c2889c8c56466b366b9c36dbb161208659855cd0171dc78ebfd1f92eef3cc0ac400e60aeea SHA512 48fe034868a8402863b6097059bf2280c5f49f5ca57f8a405036606926ec6ac63df5ed729c027ed6d1d01a6dc7e89a9276b982c9e1889fe52dbf7dd66e113b8f -EBUILD kyotocabinet-1.2.80.ebuild 1552 BLAKE2B 63538d1317734d060fa898c6ad95c7955d34fb6a7311901db5f3d762875561087bfadb7601eb4a4559cd6331764c9a5dd85a84583a9a4bac48a87a181f6b3ad7 SHA512 d8d4390496ac946589ecb5ee62a66077a41035a1cd5dfa7161a4626496ddd7a770b0edf363ea350bcc87a7d1dfc27138de72f7a6881b88cc718e2075fa685416 +EBUILD kyotocabinet-1.2.80.ebuild 1539 BLAKE2B 82d09096a979ea699c06bc9d0219be91e4317ffe2ab14708ec923e4ab5fe2a5ee4e9c4401cea416fc94ae21bc292fbc3394789f53e462fbbe91f1b7e28a9ebb9 SHA512 8956abdc0f6ebbf5da8ce5955a9b57f906b40d930964cf9e35a63f7dd3ddd82eb5e947b1705336943fcaa78a3df9bf36d177ce76898ce22bee9b9edc1abf0c96 MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 diff --git a/dev-db/kyotocabinet/files/kyotocabinet-1.2.76-flags.patch b/dev-db/kyotocabinet/files/kyotocabinet-1.2.76-flags.patch deleted file mode 100644 index 931e8c3f7bbe..000000000000 --- a/dev-db/kyotocabinet/files/kyotocabinet-1.2.76-flags.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/configure.in -+++ b/configure.in -@@ -193,28 +193,6 @@ - # Byte order - AC_C_BIGENDIAN(MYCPPFLAGS="$MYCPPFLAGS -D_MYBIGEND") - --# System-depending optimization --printf 'checking for 64-bit availability... ' --if printf 'main() {}' | $CC -xc -m64 -o config.tmp - >config.tmp 2>&1 --then -- MYCFLAGS="-m64 $MYCFLAGS" -- MYCXXFLAGS="-m64 $MYCXXFLAGS" -- printf 'yes\n' --else -- printf 'no\n' --fi --if test "$enable_opt" != "no" --then -- printf 'checking for CPU optimization availability... ' -- if printf 'main() {}' | $CC -xc -march=native -o config.tmp - >config.tmp 2>&1 -- then -- MYCFLAGS="-march=native $MYCFLAGS" -- MYCXXFLAGS="-march=native $MYCXXFLAGS" -- printf 'yes\n' -- else -- printf 'no\n' -- fi --fi - printf 'checking for useless warnings... ' - if printf 'main() {}' | $CC -xc \ - -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -o config.tmp - >config.tmp 2>&1 diff --git a/dev-db/kyotocabinet/files/kyotocabinet-1.2.79-configure-clang16.patch b/dev-db/kyotocabinet/files/kyotocabinet-1.2.79-configure-clang16.patch deleted file mode 100644 index f066cd59bb3e..000000000000 --- a/dev-db/kyotocabinet/files/kyotocabinet-1.2.79-configure-clang16.patch +++ /dev/null @@ -1,12 +0,0 @@ -https://bugs.gentoo.org/879653 ---- a/configure.in -+++ b/configure.in -@@ -194,7 +194,7 @@ test -n "$LDFLAGS" && MYLDFLAGS="$LDFLAGS $MYLDFLAGS" - AC_C_BIGENDIAN(MYCPPFLAGS="$MYCPPFLAGS -D_MYBIGEND") - - printf 'checking for useless warnings... ' --if printf 'main() {}' | $CC -xc \ -+if printf 'int main(void) {}' | $CC -xc \ - -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -o config.tmp - >config.tmp 2>&1 - then - MYCFLAGS="$MYCFLAGS -Wno-unused-but-set-variable -Wno-unused-but-set-parameter" diff --git a/dev-db/kyotocabinet/kyotocabinet-1.2.79-r2.ebuild b/dev-db/kyotocabinet/kyotocabinet-1.2.79-r2.ebuild deleted file mode 100644 index a416da22084e..000000000000 --- a/dev-db/kyotocabinet/kyotocabinet-1.2.79-r2.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools toolchain-funcs - -DESCRIPTION="A straightforward implementation of DBM" -HOMEPAGE="https://dbmx.net/kyotocabinet/" -SRC_URI="https://dbmx.net/kyotocabinet/pkg/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="debug doc examples +lzma +lzo static-libs" - -DEPEND="sys-libs/zlib[static-libs?] - lzma? ( app-arch/xz-utils:=[static-libs?] ) - lzo? ( dev-libs/lzo:=[static-libs?] )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/fix_configure-1.2.62.patch - "${FILESDIR}"/${PN}-1.2.76-configure-8-byte-atomics.patch - "${FILESDIR}"/${PN}-1.2.76-flags.patch - "${FILESDIR}"/${PN}-1.2.79-configure-clang16.patch - "${FILESDIR}"/${PN}-1.2.79-initialize-parameter-error-clang16.patch -) - -src_prepare() { - default - - sed -i -e "/DOCDIR/d" Makefile.in || die - tc-export AR - - mv configure.in configure.ac || die - eautoreconf -} - -src_configure() { - # We need to set LD_LIBRARY_PATH which will be assigned to RUNENV later - # used by test suite - LD_LIBRARY_PATH=. \ - econf $(use_enable debug) \ - $(use_enable static-libs static) \ - $(use_enable !static-libs shared) \ - $(use_enable lzma) \ - $(use_enable lzo) -} - -src_test() { - emake -j1 check -} - -src_install() { - default - - if ! use static-libs; then - find "${ED}" -name '*.a' -delete || die - fi - - if use doc; then - dodoc -r doc/* - fi - - if use examples; then - docinto example - dodoc example/* - fi -} diff --git a/dev-db/kyotocabinet/kyotocabinet-1.2.80.ebuild b/dev-db/kyotocabinet/kyotocabinet-1.2.80.ebuild index 3872117c7f2c..b1df93bc890e 100644 --- a/dev-db/kyotocabinet/kyotocabinet-1.2.80.ebuild +++ b/dev-db/kyotocabinet/kyotocabinet-1.2.80.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://dbmx.net/kyotocabinet/pkg/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="debug doc examples +lzma +lzo static-libs" DEPEND="sys-libs/zlib[static-libs?] diff --git a/dev-db/libdbi-drivers/Manifest b/dev-db/libdbi-drivers/Manifest index 3d5d3c3f2ab8..5c658899f4e2 100644 --- a/dev-db/libdbi-drivers/Manifest +++ b/dev-db/libdbi-drivers/Manifest @@ -5,7 +5,5 @@ AUX libdbi-drivers-0.9.0-doc-build-fix.patch 694 BLAKE2B 95207e6fbd947c01a1c3a99 AUX libdbi-drivers-0.9.0-fortify-source-sqlite.patch 451 BLAKE2B cf41debe291737ec418d0a96b5d839ac2ae44cfe487982dbb18ec5658b275da673d7f6066c6113af0ffbe622ad26595033aeb244f38702e920fcdd38619f2279 SHA512 d2e9e14fcff631fdada7bbc063aa5266d5f17fe5589405707867cc6eb95dc198ec62adc9d3b615c5ca29d31853644913aa82503ae6161be06d5924d8c1430b56 AUX libdbi-drivers-0.9.0-slibtool-libdir.patch 564 BLAKE2B 7effa5db121872b079af2919b56857fda040f9712a10789ba3e4c4352a0b172127026f1df9c2f93071cf78a14f05431557e23e63b74f52df87710942d9c14711 SHA512 9f4ca8fd4147ed1c619c2d7ac40b4d67e67f3f6f940568647dd1782a705a52cd3d10241b2c4039ad8cca2ecc7186841640ffa44fd56d5fc9d19a7e8f3fc974ba DIST libdbi-drivers-0.9.0.tar.gz 1829864 BLAKE2B 2071c0cc21b1b4eeda926d5ce36f6dde03ede206dac91780aabafcb7c5b399f4b9580910e5ede08c9f0bf026f4af2088d1d0e8c1835b86273a7739b2946ed3c3 SHA512 f4d3aaa71014697c53012a10bf9f0af398bcf5ee5872af165f8f43a682d2fb3045a9172ffea0e068dcbfcad52494878c037d8d90fadfaf176936e42f7f1e85c1 -EBUILD libdbi-drivers-0.9.0-r1.ebuild 2243 BLAKE2B 45a77565c172b685eceb001e4d60cadb8b3a120f5778a67bdc27ff6017d946787e4189f3e6db99a7c87b1c396611b7779312e1b7d0a26f467bdd0a00e31ed1dd SHA512 bd5d7e8bdbde99ce2304c537f2a3059d22f6f04a9b364c7430be4a7a97c65c4e8ce5452aaf663e22c7818a0ca0658839229cfeb14ee1d3638c1f210d9e87780d -EBUILD libdbi-drivers-0.9.0-r2.ebuild 2165 BLAKE2B 913337e185c5a912987cafa8de77a380b54261ff4d041068b5e4d33339db8f281c9625e6e30eaf1eeb7fa8588f01fe598c0e7c8178e684f6740f34d9aed89a13 SHA512 0057ca42127698863f40557c18cd993d0f07a7b105eff63b269982679369d665943155d127599b70a5463cd9cb2c3d23375afaa44bd7d8dae6ddd422e34f3e0b -EBUILD libdbi-drivers-0.9.0-r3.ebuild 2313 BLAKE2B 299e55229011975e065f7a087da17e03dec94d1b812436409e16a215eca3c394939f3c0352882d73f057ca8852477d6957952d9f36f53c82c051ac93851bea6a SHA512 b39dcf721881a9433abcac0642e0edfb0f51d5933ff30a05dbf76a6f8869c0254fb260a2a17354604175911d9295c3472b8185c694869772e0ee4c316d51f137 +EBUILD libdbi-drivers-0.9.0-r3.ebuild 2300 BLAKE2B a9ef8a2b312dd8450b5f01029256d8617f968a60222dd9b88eee634ac0f8b9cd10fc070e448ce5e34c27f9966166509ae1338c995fdfe1886e2c9ceb8b210ba3 SHA512 f7fa2593b78d368127e7514c0af25dc654619991b81808d7a9364c228a3e903692cb023b3aa66f866991e6a4bf3b44e95bae7bfb6dd8eb50191a9977d78c291b MISC metadata.xml 303 BLAKE2B 0157e37665116984034696663a1469b658cbcbd59bb144dc8972f6a1994330835bc6e787dc490c877eff0495004cc10f336b61a77d9057a50a757bed7e2423b5 SHA512 590af573bc7adf876ea969185568ae84dc41b9484d9efa9e89b5b6cde1f7af787e54b5c17f75731db4a42e615c1e1731e784a4dd309e03e7ca9b2850bcc34edf diff --git a/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r1.ebuild b/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r1.ebuild deleted file mode 100644 index 55f80228a0b7..000000000000 --- a/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="The libdbi-drivers project maintains drivers for libdbi" -HOMEPAGE="http://libdbi-drivers.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${P}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="doc firebird mysql oci8 postgres +sqlite static-libs" - -REQUIRED_USE="|| ( mysql postgres sqlite firebird oci8 )" -RESTRICT="firebird? ( bindist )" - -RDEPEND=" - >=dev-db/libdbi-0.9.0 - firebird? ( dev-db/firebird ) - mysql? ( dev-db/mysql-connector-c:= ) - postgres? ( dev-db/postgresql:* ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND}" -BDEPEND="doc? ( app-text/openjade )" - -DOCS=( AUTHORS ChangeLog NEWS README README.osx TODO ) - -PATCHES=( - #"${FILESDIR}"/${P}-fix-ac-macro.patch - #"${FILESDIR}"/${PN}-0.8.3-oracle-build-fix.patch - #"${FILESDIR}"/${PN}-0.8.3-firebird-fix.patch - "${FILESDIR}"/${PN}-0.9.0-doc-build-fix.patch - "${FILESDIR}"/${PN}-0.9.0-slibtool-libdir.patch -) - -pkg_setup() { - use oci8 && [[ -z "${ORACLE_HOME}" ]] && die "\$ORACLE_HOME is not set!" -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local myconf="" - # WARNING: the configure script does NOT work correctly - # --without-$driver does NOT work - # so do NOT use `use_with...` - # Future additions: - # msql - # freetds - # ingres - # db2 - use mysql && myconf+=" --with-mysql" - use postgres && myconf+=" --with-pgsql" - use sqlite && myconf+=" --with-sqlite3" - use firebird && myconf+=" --with-firebird" - if use oci8; then - [[ -z "${ORACLE_HOME}" ]] && die "\$ORACLE_HOME is not set!" - myconf+=" --with-oracle-dir=${ORACLE_HOME} --with-oracle" - fi - - econf \ - $(use_enable doc docs) \ - $(use_enable static-libs static) \ - --with-dbi-libdir=/usr/$(get_libdir) \ - ${myconf} -} - -src_test() { - if [[ -z "${WANT_INTERACTIVE_TESTS}" ]]; then - ewarn "Tests disabled due to interactivity." - ewarn "Run with WANT_INTERACTIVE_TESTS=1 if you want them." - return 0 - fi - einfo "Running interactive tests" - emake check -} - -src_install() { - default - - find "${ED}" -name '*.la' -type f -delete || die -} diff --git a/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r2.ebuild b/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r2.ebuild deleted file mode 100644 index 0f7e30695892..000000000000 --- a/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r2.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="The libdbi-drivers project maintains drivers for libdbi" -HOMEPAGE="https://libdbi-drivers.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${P}/${P}.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="doc firebird mysql oci8 postgres +sqlite static-libs" - -REQUIRED_USE="|| ( mysql postgres sqlite firebird oci8 )" -RESTRICT="firebird? ( bindist )" - -RDEPEND=" - >=dev-db/libdbi-0.9.0 - firebird? ( dev-db/firebird ) - mysql? ( dev-db/mysql-connector-c:= ) - postgres? ( dev-db/postgresql:* ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND}" -BDEPEND="doc? ( app-text/openjade )" - -DOCS=( AUTHORS ChangeLog NEWS README README.osx TODO ) - -PATCHES=( - "${FILESDIR}"/${PN}-0.9.0-doc-build-fix.patch - "${FILESDIR}"/${PN}-0.9.0-slibtool-libdir.patch - "${FILESDIR}"/${PN}-0.9.0-clang16-build-fix.patch -) - -pkg_setup() { - use oci8 && [[ -z "${ORACLE_HOME}" ]] && die "\$ORACLE_HOME is not set!" -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local myconf="" - # WARNING: the configure script does NOT work correctly - # --without-$driver does NOT work - # so do NOT use `use_with...` - # Future additions: - # msql - # freetds - # ingres - # db2 - use mysql && myconf+=" --with-mysql" - use postgres && myconf+=" --with-pgsql" - use sqlite && myconf+=" --with-sqlite3" - use firebird && myconf+=" --with-firebird" - if use oci8; then - [[ -z "${ORACLE_HOME}" ]] && die "\$ORACLE_HOME is not set!" - myconf+=" --with-oracle-dir=${ORACLE_HOME} --with-oracle" - fi - - econf \ - $(use_enable doc docs) \ - $(use_enable static-libs static) \ - --with-dbi-libdir=/usr/$(get_libdir) \ - ${myconf} -} - -src_test() { - if [[ -z "${WANT_INTERACTIVE_TESTS}" ]]; then - ewarn "Tests disabled due to interactivity." - ewarn "Run with WANT_INTERACTIVE_TESTS=1 if you want them." - return 0 - fi - einfo "Running interactive tests" - emake check -} - -src_install() { - default - - find "${ED}" -name '*.la' -type f -delete || die -} diff --git a/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r3.ebuild b/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r3.ebuild index d82a8c964d2e..06afb104b621 100644 --- a/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r3.ebuild +++ b/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${P}/${P}.tar.gz" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="doc firebird mysql oci8 postgres +sqlite static-libs" REQUIRED_USE="|| ( mysql postgres sqlite firebird oci8 )" diff --git a/dev-db/libdbi/Manifest b/dev-db/libdbi/Manifest index 9432da745adf..9ce3724d9e5f 100644 --- a/dev-db/libdbi/Manifest +++ b/dev-db/libdbi/Manifest @@ -1,4 +1,4 @@ AUX libdbi-0.9.0-doc-build-fix.patch 662 BLAKE2B 652bdba6b0e9b04bee87f48f0db1fba774bf153bd73f925b3d1111823c14e82ccf3202f8023736e3b0a91e00c28c6aca14ca5ffcad3126723c7f02cbc30a7049 SHA512 db18d3697be13ef416914843d0933caead3b1f57c13790373ec435318212f0ccfb599514f8bd6f1c603e09f13bd526b62322ff92e68512e43020b31f8d0dec55 DIST libdbi-0.9.0.tar.gz 1194284 BLAKE2B 36ee5d9ec0a9b088735173cfa9a85e30ee595d6781aafeb994271e7745d259dbe983bea037182c471dc35ae36486a5fb8690e9c716e2e08a4a3964d90abd64f0 SHA512 ee8777195af43057409d051a6055ec0467cd926d48da076458b09f91d2f0995a1cc4bc071762e401b7bdcd8a4173fd8ea3472db3a1518e34b4c5b5ed24e4e2ce -EBUILD libdbi-0.9.0.ebuild 1198 BLAKE2B c5743fa0c4bc137fd4d895074691133543966870b5e59b281a030afbc66dacb0bb4ef729615c8d74faf033f0b5394fa47a9f1c29e4d28f8b89e66ed5ff79ff95 SHA512 8afad3974bc2c22dd97de2515fc061f5bc2539a78aa72fa5dd05dc5cc894193db33b20f4c04a26d9db72171b149c1e24da81262e184f34baa6cc0c91e9ad449b +EBUILD libdbi-0.9.0.ebuild 1192 BLAKE2B 023f69fb473bc1a193ca5e16e8d5f7432bcd5d471436e6ad012407dcc532e8c83159f75605972d39263fad7428576fb6a084a13c0054d6480cbfe85912124b2a SHA512 9845a9a04caf8ace629ff8d939c066b6b678d530da4622b6f800962f6170c9cfbe6a8fdbd0ce613425b9601dc9ff35da80573e077d075f20a2ac239c6572eb6b MISC metadata.xml 295 BLAKE2B 731127fd925f427b5456c96f280ce1dc6cf7604face11c80c3dd105a82e2c9691da8d8f1d6b73bf02611bea0900eef4715801c6b155fd68b5bd3122237552078 SHA512 a34b0c217188e8e1217c27331c38766cb6d93fcfd1781115ac93bd521b66f8159ed9f25f93a73ac0e1a0863894e99e30e482af2e0e53e6870c8c47871ee0474c diff --git a/dev-db/libdbi/libdbi-0.9.0.ebuild b/dev-db/libdbi/libdbi-0.9.0.ebuild index 88e08dd0b03b..754474d22c37 100644 --- a/dev-db/libdbi/libdbi-0.9.0.ebuild +++ b/dev-db/libdbi/libdbi-0.9.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="doc static-libs" DOCS=( AUTHORS ChangeLog README README.osx TODO ) diff --git a/dev-db/libiodbc/Manifest b/dev-db/libiodbc/Manifest index 8f04eeff5bd0..7877d0c2e127 100644 --- a/dev-db/libiodbc/Manifest +++ b/dev-db/libiodbc/Manifest @@ -3,5 +3,5 @@ AUX libiodbc-3.52.12-multilib.patch 849 BLAKE2B acf21f410e8f187cdd221de8f4c6099e AUX libiodbc-3.52.7-debian_bug501100.patch 190 BLAKE2B 9543a5d3a1772b12b76d7a5ebcd01437de37a9d8c26189b2c4eae8e69fa16d9ba1239aecdf8be616cd204e7bc3ba66a296aeb006ecd7c1e771d8a491ad40f49e SHA512 57f0f6f1cc6f513daabf0e57db6d2ca1445e19615987d5714c3b5e7ee9672ce782da17711d1051660042a6e062e6b827c59b6dc6c8ba3e4799dfdaaa9ce269ed AUX libiodbc-3.52.7-unicode_includes.patch 213 BLAKE2B cc4c0abb2d694497cb38bac5dc746a70ffb8c0b904133a128c2328bcbe11ff2e5926b1cbb330c8b017ec39face9925b646dc655fde5554bf22118572242f2a76 SHA512 56d370dfd916c74f4bb66db4e13378fc3b6978a53921c831c0c56bd8e803773fd2e327ac43b69ce533acdd023cc042f1748159bd82a8cfe2dedb0f98fb17b496 DIST libiodbc-3.52.15.tar.gz 658200 BLAKE2B 856855f424e31629e3c3fb11f31e189d22daee877e989622a4f5c2a9c7145697a639fd79bd7bdc17be03176b0ee34a3bc02afe958c278531de0f9b9685947988 SHA512 843a938c961c77e12b6c5571fa7c5528e547c028e213195e72224166cebb49acb746e2e1e636c37991686d9e476dfd64ee42bb113013f01b4201d6d9cf99c3bd -EBUILD libiodbc-3.52.15-r1.ebuild 1579 BLAKE2B bbd7e0ade4f08f1c88d4f01df74fa0c7d07508e0b45a17b0b290265e98c3c4731b6fd6e9ba7a79ec104c4f00fbb245b7c35ad347604cfb5452e76570c405107b SHA512 d9ce7e1d8c08145f606e677709f21b4c453a9e8cf680b2e07a8ffecca5c9c4215f920197db242d4439ad89acabe7b58ce9d5091a5dd741e1570076e6d381a16d +EBUILD libiodbc-3.52.15-r1.ebuild 1573 BLAKE2B 1e87e4bff085c8884df6fb5896d3b9e85487b6f84ae3f4a1bc9e48aed75db49051a41be6e26c9957fb644d4c35b13fd0aacf43b037453b56e80a0b6550f0ecb8 SHA512 db116e5ca0311425507c183ba047720acd87fc03f9288d51fcfcb2a6fe82774e40c81e73228100c138d7f2512094bfa700dd4e6d26d05a8bf5a2ed00ad2a27b0 MISC metadata.xml 252 BLAKE2B c48698f239955ff265566b577f25b7ad378e4a4d99cdd5b3b16f6cee868a5b9ab2a2a4608c85a2c69d73d5b1b7f79d86eb694bb8967de22fb6ef1cd0ace42970 SHA512 c62de540e8df42046695b7e30cdad164aad5dfa0ad262d118a7cd92b3ec9fe672c7fd8bc0c17afd5c1c147779bf8a7c36d98f171812217b8c7a7c3200edb92ae diff --git a/dev-db/libiodbc/libiodbc-3.52.15-r1.ebuild b/dev-db/libiodbc/libiodbc-3.52.15-r1.ebuild index 6c034f3eb3ba..88f9f7f009f2 100644 --- a/dev-db/libiodbc/libiodbc-3.52.15-r1.ebuild +++ b/dev-db/libiodbc/libiodbc-3.52.15-r1.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="|| ( LGPL-2 BSD )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="gtk" RDEPEND="gtk? ( x11-libs/gtk+:2 )" diff --git a/dev-db/litecli/Manifest b/dev-db/litecli/Manifest index 5c112e7ce88f..e62dd26ca619 100644 --- a/dev-db/litecli/Manifest +++ b/dev-db/litecli/Manifest @@ -1,5 +1,5 @@ -DIST litecli-1.11.0.tar.gz 887986 BLAKE2B 4f445a0d29152998ab0e27ec814f1f46af44db949c817a50e7be8af659525f13113c4a831a8bf4f31a21c7922d93e12c792e8aa44b1e8480619418aeaa72aa89 SHA512 31a97d412d5749b6e8d32b88d8b41fde79d8ca9657da9885f39dc92cb0ad00ac6ab98f931ab57806be05ba9249580f1ea5ff25849d86c2f044dc40f437b6a52e DIST litecli-1.11.1.tar.gz 888013 BLAKE2B ed159a35df254f2ff1221a14d2af86497a51c7b7dd904963ef33ada9b0d83f2df975d550aeab94fc172c9b530e0e12c04f55e50f2363572fce51b4c90db3e0bd SHA512 54746b99a7cb5f5adf2651e685d9fab5aadc7a4974bd4411189152c6316c40bf69bc7bc64de2499cbe99165d3010ff62382fa4454bcf42c9bac3adc838666da2 -EBUILD litecli-1.11.0.ebuild 923 BLAKE2B d706caab31f833c8059e43d782f3a8aee78a69e7ad5506e981860580393c6a5c68a570e10ed64720203695aa78cb7673d9595490dd6b890e5822b59902a56cc9 SHA512 e7f53dbe8f4350ce952b4f00214be63d9dfdbc69cb9bf90c65a7913ea9aa08155c4038d97148413f03169017726371694addd362a8a1b8e61164e3a5653edefd +DIST litecli-1.12.3.tar.gz 884895 BLAKE2B eb4aeb8e268ae5d878aee960be68d86085ee87a1089d2f80e1f7be01c31b030ce12432656452867efc9a5b915b1c15ae69d1ab9b461a16586a1d76e001e4d51a SHA512 2b9dda031984d142a9341b19446d2cca366be98058ff57874e66fc60ee936b27f0b2900d7b00dffed058fd985028236148594372dac6a0010894d0502d7db04a EBUILD litecli-1.11.1.ebuild 923 BLAKE2B d706caab31f833c8059e43d782f3a8aee78a69e7ad5506e981860580393c6a5c68a570e10ed64720203695aa78cb7673d9595490dd6b890e5822b59902a56cc9 SHA512 e7f53dbe8f4350ce952b4f00214be63d9dfdbc69cb9bf90c65a7913ea9aa08155c4038d97148413f03169017726371694addd362a8a1b8e61164e3a5653edefd +EBUILD litecli-1.12.3.ebuild 933 BLAKE2B a319eeb4e1aea532d7225722eb14b3294a07101ef6c42dccc4b485940afd1f358074dae7a9edfa5ddcef0af4da37f968c17a94eaff25aaf2f581b753d489c6aa SHA512 f64295a8faf040e372cba1bf244c6c28fba66f30009d9cd7f08afd5edc026206846e719b4dfeb6fc11aa2c4a28824cb3083d10060650a30041e2e8e60befa7d1 MISC metadata.xml 513 BLAKE2B 5dd598b28d70f0eea45122b3bc54386581426f5e93266e39cd56c89118bb30193d8a4839868dc9efead7aff2087aaf480b06548a069eddc057ca36e3b74b30c8 SHA512 59e097ac5c0d9ea37cb6e87fc59a142bec6576c041a184a69f01f029b2355dfbd989ab3177db7473cf9637b82e988ac42677942126c5da9cfd7a06532dc3bfe3 diff --git a/dev-db/litecli/litecli-1.11.0.ebuild b/dev-db/litecli/litecli-1.12.3.ebuild index a75b4d11a68a..8ebb5cc3be86 100644 --- a/dev-db/litecli/litecli-1.11.0.ebuild +++ b/dev-db/litecli/litecli-1.12.3.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/dbcli/litecli/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="~amd64 ~x86" RDEPEND=" >=dev-python/click-4.1[${PYTHON_USEDEP}] @@ -23,7 +23,7 @@ RDEPEND=" >=dev-python/prompt-toolkit-3.0.3[${PYTHON_USEDEP}] <dev-python/prompt-toolkit-4.0.0[${PYTHON_USEDEP}] >=dev-python/pygments-1.5[${PYTHON_USEDEP}] - dev-python/sqlparse[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.4.4[${PYTHON_USEDEP}] " BDEPEND=" test? ( diff --git a/dev-db/lmdb/Manifest b/dev-db/lmdb/Manifest index 164a37662683..f6edbde820ee 100644 --- a/dev-db/lmdb/Manifest +++ b/dev-db/lmdb/Manifest @@ -2,7 +2,7 @@ AUX lmdb.pc 295 BLAKE2B 29c1cc5a70eb3d7f5c9dc4b1646644045514929428f164894ece93a4 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 DIST openldap-LMDB_0.9.33.tar.gz 149281 BLAKE2B 0750f392fdcb2fd6459943d3d8e8268a6210b25559c882c7705349ad6f68b9dfd71636d01c06b2101fe6aea8deeb21534c3aa06aeeac1a0e925fd4d0d9ef41ca SHA512 57404b35adb5136fcdf60552c2dd2626b9753868f2707d3279725e08145cee3be0d311189b2c6ef6879f25cf09962e6b423c70c8a2e09ef1b368948e873d92b5 -EBUILD lmdb-0.9.31.ebuild 2187 BLAKE2B 84623ed256611df1d59e200a9add524d68ee47ff733c5ca63422b84370d9b20d2a6df0b7803b4fd236a89a2cc88edf186993948b5f756370a25f470ae4828cdd SHA512 ffe23c19323ffbf6af7299bb05cc235667bb3ad8f7b60cf34903861ee33de61439b358763521ff17fda221bc18e0235e143135786cdd964fe113cd2b1b2b81f6 -EBUILD lmdb-0.9.32.ebuild 2194 BLAKE2B f590620663547ce9530df998d47603d50f4f838c799cc104eafc3eaadc538bdfe1da3e43ab678667fb9be4ed7437824b7682f4835e0e1cc3e1f2f377bdb81a74 SHA512 0aba186fa81e86de7e07c88709a75e8db6df17535bfb38abf03cb09365572044c8613b689ac939fd83be8d164a60a3393472ac9033d22682aec13a39c1c644d4 -EBUILD lmdb-0.9.33.ebuild 2194 BLAKE2B f590620663547ce9530df998d47603d50f4f838c799cc104eafc3eaadc538bdfe1da3e43ab678667fb9be4ed7437824b7682f4835e0e1cc3e1f2f377bdb81a74 SHA512 0aba186fa81e86de7e07c88709a75e8db6df17535bfb38abf03cb09365572044c8613b689ac939fd83be8d164a60a3393472ac9033d22682aec13a39c1c644d4 +EBUILD lmdb-0.9.31.ebuild 2181 BLAKE2B b4ceeebe0a53429c118510bba4c9e861a9aed5964cbd89373b0361a76bc971c6227626e93b10fa04d223989a004ed552aade6331018375cbfb14bcb14aba46e5 SHA512 73029b354ec1c2a0e183041ef26cef9daaba172d1d67ab358649ac14c0e68ddac2187281efce0f60c8865bcc6e1b27c01cea055dd3e6c0ea585282d6488332e3 +EBUILD lmdb-0.9.32.ebuild 2188 BLAKE2B 3cb13c11dc1996a8388caa281fc19e02d74231c834ad4c5f0669cf24ab56e9c15d801a35117d905b77894f785224aa90479a6416b85d3dbf8e780d5304773dbb SHA512 41d53e3417d4caf480efd4c84a63a676b865563ffd9f12592514dce74d158de1051ff56aeb7c75915b4e68de8709a3bb5b347cb816e06eeb399fc66aa20c5cba +EBUILD lmdb-0.9.33.ebuild 2188 BLAKE2B 3cb13c11dc1996a8388caa281fc19e02d74231c834ad4c5f0669cf24ab56e9c15d801a35117d905b77894f785224aa90479a6416b85d3dbf8e780d5304773dbb SHA512 41d53e3417d4caf480efd4c84a63a676b865563ffd9f12592514dce74d158de1051ff56aeb7c75915b4e68de8709a3bb5b347cb816e06eeb399fc66aa20c5cba MISC metadata.xml 433 BLAKE2B cf3186fe7876aa15283c1d2154469b7f8451e99b3a36637e67820703a576fa1297ac7804ef7df660aaa63a44b1c18a3d2298dac12159a3b3268526e10d7bdaf9 SHA512 f526eb14df23a1b9e92bec0b643e8dc993ad489e8776641aa330d1db878dcf4fb1b7dbb8b62e0c88a4ea484a393e5b396902abb2d035b8a311555e1e69fe387a diff --git a/dev-db/lmdb/lmdb-0.9.31.ebuild b/dev-db/lmdb/lmdb-0.9.31.ebuild index 423945a76b08..de0676db7d24 100644 --- a/dev-db/lmdb/lmdb-0.9.31.ebuild +++ b/dev-db/lmdb/lmdb-0.9.31.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://git.openldap.org/openldap/openldap/-/archive/${MY_P}/openldap-$ 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" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="static-libs" S="${WORKDIR}/openldap-${MY_P}/libraries/liblmdb" diff --git a/dev-db/lmdb/lmdb-0.9.32.ebuild b/dev-db/lmdb/lmdb-0.9.32.ebuild index 192658950b08..8b13992c000e 100644 --- a/dev-db/lmdb/lmdb-0.9.32.ebuild +++ b/dev-db/lmdb/lmdb-0.9.32.ebuild @@ -13,7 +13,7 @@ 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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~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() { diff --git a/dev-db/lmdb/lmdb-0.9.33.ebuild b/dev-db/lmdb/lmdb-0.9.33.ebuild index 192658950b08..8b13992c000e 100644 --- a/dev-db/lmdb/lmdb-0.9.33.ebuild +++ b/dev-db/lmdb/lmdb-0.9.33.ebuild @@ -13,7 +13,7 @@ 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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~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() { diff --git a/dev-db/m17n-db/Manifest b/dev-db/m17n-db/Manifest index 14f7fda3c07d..777d9b8c5eb6 100644 --- a/dev-db/m17n-db/Manifest +++ b/dev-db/m17n-db/Manifest @@ -1,6 +1,4 @@ DIST glibc-2.39.tar.xz 18520988 BLAKE2B 9d98459a2d58401e07c081e0d841935b23998da75a7eb5a7ebd23a1f9ebab99dee623fe166397c1b6c926960c570f62dbca5cb3b5ce84a918adff6b7a15e16bb SHA512 818f58172a52815b4338ea9f2a69ecaa3335492b9f8f64cbf8afb24c0d737982341968ecd79631cae3d3074ab0ae4bc6056fc4ba3ffe790849dc374835cd57e2 -DIST m17n-db-1.8.0.tar.gz 1977364 BLAKE2B 303afaf8eb105b8cc034be96efc7790f774870c5cbb688dc33da02847b545b42b20fc041c3842d9fbf9d17417472815e8185df37b58f4d2d72fac762a2669272 SHA512 b21abfdcb5eb42e71fbd5edd1a99eca4a05df14f5a57eac7cdd3dc657337bd143a419f4b3f3dd0b74b82c827ede4d3666dd213af9041593cef50118ee43898d5 DIST m17n-db-1.8.5.tar.gz 2492374 BLAKE2B 306a86cb74735893f6aafb4869f785108af038c065fb2a51ee26402077d22ff23638176810b411bb23c13c4933d7536e23e48dafe07ab77700c7545d9c9ecf45 SHA512 6c3f42072b7e0a36870fd8143fb1ac7c3efc21c41869d984dfa0cbb87eb1f9958e429f1144a975b401791f0423386a03ab02531f162496531e303d9b0e049987 -EBUILD m17n-db-1.8.0.ebuild 873 BLAKE2B 5b3cd1d733298d170104935078edba4c1e9617c62bfab8f618a40300351fece6969735f0975236311ffff704ae1092cf6a1e8ef1c4050e9cf106bf82101654ea SHA512 64a1a36f080b44d676eb5cd8ee7808e3ebc640001b4098bad221888872753744247bc48a03e993365242bd710e5385c18856284ce7dedd71ef517c5f52775913 -EBUILD m17n-db-1.8.5.ebuild 874 BLAKE2B 0065fd0e4bddebf31ea83be52650ac0bce02351e03e706b35d2f94da6251ca754bd53a7e25d83543b5ba7f554e3ca65fef62ccd24e586dc8080f30e3b2b48c3f SHA512 a8fd436c5491f2b21c74b9903705a3bfa1c58480482b2306f9afe0227f6fd05871208a411cf8923bb7398373bd1ce602fe1b775e4089f3c4959737a72ec7a5d9 +EBUILD m17n-db-1.8.5.ebuild 867 BLAKE2B 00b61e1871c6ad4431d67c5ced219fac1deabb3e93e27fa08b1169cdd9dc56bea892de0069662ed5454bae0e98d18753eb36d402e6e9f299856466e5e9084b69 SHA512 0ee62414d415e6cee925336c368a1928a390b87ec7a8a4c56024fe7d02e1d9ab2eacd339f7e34584646b56fc0f43b7dafd1a767d64bcfdce5c585f5bf09a3cfc MISC metadata.xml 313 BLAKE2B a280c675a102285022654a8b20bc06c7bf3dcd5cac118fdd95b9d453d2adba18c44adae95b4b70835e5f1d03a49dcd3a837e36ef79b2f82dbe91a478171b10d2 SHA512 76e6031dc40226735274b26085dbd3c5b7419f50c445611df406d75422769dd6c23442fc9afa446e979143d5ba3c5b99e42fba3fcf6f20cdfd7fb6e55c202a11 diff --git a/dev-db/m17n-db/m17n-db-1.8.0.ebuild b/dev-db/m17n-db/m17n-db-1.8.0.ebuild deleted file mode 100644 index d3af0f12121c..000000000000 --- a/dev-db/m17n-db/m17n-db-1.8.0.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -GLIBC_PV="2.39" -GLIBC_P="glibc-${GLIBC_PV}" - -DESCRIPTION="Database for the m17n library" -HOMEPAGE="https://www.nongnu.org/m17n/" -SRC_URI="mirror://nongnu/m17n/${P}.tar.gz - elibc_musl? ( mirror://gnu/glibc/${GLIBC_P}.tar.xz )" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86" -IUSE="" - -RDEPEND="virtual/libintl" -BDEPEND="sys-devel/gettext" - -CHARMAPS="${GLIBC_P}/localedata/charmaps" - -src_unpack() { - unpack ${P}.tar.gz - - if use elibc_musl; then - tar xf "${DISTDIR}"/${GLIBC_P}.tar.xz ${CHARMAPS} || die - fi -} - -src_configure() { - econf $(usex elibc_musl "--with-charmaps=${WORKDIR}/${CHARMAPS}" "") -} - -src_install() { - default - - docinto FORMATS - dodoc FORMATS/* - - docinto UNIDATA - dodoc UNIDATA/* -} diff --git a/dev-db/m17n-db/m17n-db-1.8.5.ebuild b/dev-db/m17n-db/m17n-db-1.8.5.ebuild index 0bbdc69f3286..39c5f7fb429d 100644 --- a/dev-db/m17n-db/m17n-db-1.8.5.ebuild +++ b/dev-db/m17n-db/m17n-db-1.8.5.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/m17n/${P}.tar.gz LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86" IUSE="" RDEPEND="virtual/libintl" diff --git a/dev-db/mariadb-connector-c/Manifest b/dev-db/mariadb-connector-c/Manifest index a0fd2daebdc3..5d55af670715 100644 --- a/dev-db/mariadb-connector-c/Manifest +++ b/dev-db/mariadb-connector-c/Manifest @@ -4,8 +4,8 @@ AUX mariadb-connector-c-3.3.4-remove-zstd.patch 732 BLAKE2B 56544c653e2eded85bce DIST mariadb-connector-c-3.2.7-src.tar.gz 1212691 BLAKE2B ae2d1317fdc087c6d64b7cf11f4343bf35662d04da5c693f6f3b45ec405ff0f3d5d03157eb56a9c05cf4e16b9980baffec8800b886ae3d962d22a828a6938671 SHA512 3f0c67c5fd12e889a3704e0a638b64a784f05d12c7c424f7ce64e78a3eb17e2ad588e0e23f0ce037cd49efb695294ab69277da78f02940c2a7ea0676886b9c36 DIST mariadb-connector-c-3.3.4-src.tar.gz 1389030 BLAKE2B 4bee45ee4f76979d36072ab2119042b4de1127a42e99510bd0c1bc5e163fdb4e9b7ca4cce9381ed89e0c733158293d0641c7b7cbd14feaf3257a442c62083e23 SHA512 3a3f20efe58f8458a426501248b154107b76bd2001a43e41923e31568c8419cd88f2379e3636a54118ee64ac160a1c6f68dd79c0ac053fa273d9b6b127410ef6 DIST mariadb-connector-c-3.3.8-src.tar.gz 1393368 BLAKE2B 09a8a310f97809f0b0396770a77d4512fe1124de263e2077e5a14a2fa1fbc59d7e35a09d97b0471b687943fc9ce06925507e4b950fdacfdc7ca04ea5ee56bf9e SHA512 d2630bda8deb28696842a6b5dd308060a8b9a83a04dfb3ed908387f53af4108510c6f536aaecc4a3c9a035c7be91b98229d6c480366a3579b6be2c5a8d85ff56 -EBUILD mariadb-connector-c-3.2.7.ebuild 3506 BLAKE2B 37a73276c6ac296a4522df9e0f2c4b2e32a17e2efcf978263862c66ac37872236734d52b9894d5f90f3dcc790fc78e4a80e72db85d424ffeaab8128872740c0c SHA512 8e5773976bc20aca17758d0066ace8b5d812d9c6c475d1f066293139b5948e70fa2c9030368f196a13abd122ebabf055348a4c244a55039b3b71a79677f2fea1 -EBUILD mariadb-connector-c-3.3.4.ebuild 3617 BLAKE2B e766159d763b75eaec2f0e2856c47795f666707fbb033b44c00c1ba0cee4d9fd8c670b74dfa75e899ccd3b29c9ce17f90f8de1d03bf27fce997b73a23d39406d SHA512 a77df5fde47685e66bbaa6010bf2f073b271bd80ee5b5771034e4f20de7390d08eeb0b090a24d294c6249288e2f4fa90bcbbf8f88dc4414133204b9ce3a8b3ff -EBUILD mariadb-connector-c-3.3.8.ebuild 3818 BLAKE2B 20bca4e60c06a47d759710a645d3a0d913678b63b6cac9878ba1470b4dcebe4c5658d089424074826d2c7dc647841d7118159ae0046ce9f0864eaa63d2f128b5 SHA512 1f0f283b7fa76e895fc340cb617b1206aa6433f084bf6bb0a58ebd781692619efcd6fde67fd6fe8a42c6cad5629bbf5996f6eb404103fb50515e7094c07792aa -EBUILD mariadb-connector-c-9999.ebuild 3818 BLAKE2B 20bca4e60c06a47d759710a645d3a0d913678b63b6cac9878ba1470b4dcebe4c5658d089424074826d2c7dc647841d7118159ae0046ce9f0864eaa63d2f128b5 SHA512 1f0f283b7fa76e895fc340cb617b1206aa6433f084bf6bb0a58ebd781692619efcd6fde67fd6fe8a42c6cad5629bbf5996f6eb404103fb50515e7094c07792aa +EBUILD mariadb-connector-c-3.2.7.ebuild 3500 BLAKE2B ce482edaf7858f1c117453e6a22f665ccd58bb3030d3638649e1535efd823714854cf3777cb6947284e369b8ab724c12a40bc91405cccee9618967661c4a3c3b SHA512 fb8639f5f557fb43d2351373f3863e96253fa9ca8c688713962976c65f520de8c2b58627dd8d745e591e119aeb3e52d4e99ecfa8fd24dba20344fdb82b0df116 +EBUILD mariadb-connector-c-3.3.4.ebuild 3611 BLAKE2B 96b919fc67061718183e9978b4d69534fb3cff7b36fc56185106c3c459c0c48fb626ab89c694287adf3dfd067ad572e03896a8b0dc5aad49ade9cf9fe9902368 SHA512 522d68756c9ccf0159467d488fb613ac7ca3b64f93237f16f2e27032e1b713cca87b90a011ecb2c00d2fb20f98868c86b28302b827d4ce3500869eb2a40184ab +EBUILD mariadb-connector-c-3.3.8.ebuild 3812 BLAKE2B aafdc3af70c3b0e6df6ae7e1a68c86a532adf1db241db9cddb3b4da0df3f7b02ab47ec6c15264ebed448eb23b2c94827d36aeb9447b3049d7b6dd6d0b870bcc6 SHA512 23d54c709091e1f3dbc56341f316318d288d5e38b3328c1d072e553afe1b7f85914c8dd77929d54395f7c86a58bceead8e7ab0421878cdd9ed97c91a842c1f39 +EBUILD mariadb-connector-c-9999.ebuild 3812 BLAKE2B aafdc3af70c3b0e6df6ae7e1a68c86a532adf1db241db9cddb3b4da0df3f7b02ab47ec6c15264ebed448eb23b2c94827d36aeb9447b3049d7b6dd6d0b870bcc6 SHA512 23d54c709091e1f3dbc56341f316318d288d5e38b3328c1d072e553afe1b7f85914c8dd77929d54395f7c86a58bceead8e7ab0421878cdd9ed97c91a842c1f39 MISC metadata.xml 348 BLAKE2B 4c817753c3ccda9cdade926d129408d83169373335553a3c990224a74444e122d1150cfb031395d923959911e8485b1dc88e00cce2aeb599d4a26b2fd5d8eef5 SHA512 009615c60fbffadc877e7d26cddd26e1f5fbfbbc844ba7cf388ea748a091f16f819ac539a8998c0588fc96c3cd882fb3cadde556510fa1732636aac64c95ddf9 diff --git a/dev-db/mariadb-connector-c/mariadb-connector-c-3.2.7.ebuild b/dev-db/mariadb-connector-c/mariadb-connector-c-3.2.7.ebuild index 455985c30d27..32b2a72a9b2f 100644 --- a/dev-db/mariadb-connector-c/mariadb-connector-c-3.2.7.ebuild +++ b/dev-db/mariadb-connector-c/mariadb-connector-c-3.2.7.ebuild @@ -11,7 +11,7 @@ else MY_PV=${PV/_b/-b} SRC_URI="https://downloads.mariadb.com/Connectors/c/connector-c-${PV}/${P}-src.tar.gz" S="${WORKDIR%/}/${PN}-${MY_PV}-src" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 x86" fi inherit cmake-multilib flag-o-matic toolchain-funcs diff --git a/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.4.ebuild b/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.4.ebuild index 3ebe51ce18fc..d162dff6697d 100644 --- a/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.4.ebuild +++ b/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.4.ebuild @@ -11,7 +11,7 @@ else MY_PV=${PV/_b/-b} SRC_URI="https://downloads.mariadb.com/Connectors/c/connector-c-${PV}/${P}-src.tar.gz" S="${WORKDIR%/}/${PN}-${MY_PV}-src" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86" fi inherit cmake-multilib flag-o-matic toolchain-funcs diff --git a/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.8.ebuild b/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.8.ebuild index c7280c550ded..018cfb5eb5b1 100644 --- a/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.8.ebuild +++ b/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.8.ebuild @@ -11,7 +11,7 @@ else MY_PV=${PV/_b/-b} SRC_URI="https://downloads.mariadb.com/Connectors/c/connector-c-${PV}/${P}-src.tar.gz" S="${WORKDIR%/}/${PN}-${MY_PV}-src" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86" fi inherit cmake-multilib flag-o-matic toolchain-funcs diff --git a/dev-db/mariadb-connector-c/mariadb-connector-c-9999.ebuild b/dev-db/mariadb-connector-c/mariadb-connector-c-9999.ebuild index c7280c550ded..018cfb5eb5b1 100644 --- a/dev-db/mariadb-connector-c/mariadb-connector-c-9999.ebuild +++ b/dev-db/mariadb-connector-c/mariadb-connector-c-9999.ebuild @@ -11,7 +11,7 @@ else MY_PV=${PV/_b/-b} SRC_URI="https://downloads.mariadb.com/Connectors/c/connector-c-${PV}/${P}-src.tar.gz" S="${WORKDIR%/}/${PN}-${MY_PV}-src" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86" fi inherit cmake-multilib flag-o-matic toolchain-funcs diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest index a7996afbd021..082acedbc22f 100644 --- a/dev-db/mariadb/Manifest +++ b/dev-db/mariadb/Manifest @@ -17,12 +17,12 @@ DIST mariadb-10.6.17.tar.gz 99067793 BLAKE2B 9df7592eb11a92fc4cbf4f1913e11f7ae65 DIST mariadb-10.6.18.tar.gz 99344652 BLAKE2B 28dee90813dea005bcc94386b67b46734354b508d3ad13384203620d2c5d254b9f0e8d1addc4499fc2e2a7ed0411dba26818944234faf1faf41194aa59262710 SHA512 c4e89639775a8c6063851fa191cb1096b11299d3d22f19657848bc60ba67b2774978f38ca7625d1741ca80b7932fa65727427ae197899d286f921d5c6fc38af5 DIST mariadb-11.4.2-patches-01.tar.xz 4876 BLAKE2B a306a5ddb04f73fa419e15b1bbfeda43df3a50ad76626732f8db70a75ad7676ad1fdbb5e9e8b3cd49c4e82c47da36aae1e02ddcb28c9abf233fadca39431f9ef SHA512 d9cf96b5479a64be478a785b7e82c1ce6eaee3333c64e768d8649fafb9c0a5a64c36b44a589fbb14e020730d84dc5796705a942907c8f11c5d9c2b04f47f34fe DIST mariadb-11.4.2.tar.gz 107373265 BLAKE2B b249e325ec1d67ad642dab9bfd886d24a596ded65f574f7f9b5c77b7d879c21cbbca1d563cf3b8167f72306a273f616d54129bdc17c94f69003896e7cea4d40b SHA512 02db06115e1f1f7c8a872b5cae4e299011813bc9f097e9d77756dfd68d4cb7fc91d6b94380d70910cb6994c0f71d60400a58c226fbce08dd9efc337ab028f6a6 -EBUILD mariadb-10.11.5.ebuild 42531 BLAKE2B d091673ea4c11f51a32befdf0bfceb57e2eb39e5507adc7ffe77262c317e672644738736d47f34b1ff441a1805615f7fa2226ad127572344fd0d1edccba8278e SHA512 5456414b868f312a32ff5a2e92a0bcfe7d1c0d2c905fc3d373f1254143abb709feb94f82d3a5fbd7bdbd950875904c9444b2bca77ef59df7cbb1aaf766cbaa61 -EBUILD mariadb-10.11.7.ebuild 42391 BLAKE2B feae52caf0144b5602b2af8472a399ad60dafbea0d76261e93da46e6ccec8513749259036ff90b16eeaf98b49a8877ebe65eaf68198767b6cb86b97b02c18598 SHA512 14465f92067fc304789f0ecf6111c7cafc4df564dcecc8486d31e35709db067f93609bcc7b9ccd73e4c8ed121947e0b792cbb10a12a276380a5cc701bda24cc4 -EBUILD mariadb-10.11.8.ebuild 42477 BLAKE2B ec69502eabb6f3eeb5f82fcf9587cea944f97ea8c96291f1fa91d84b05dd9ce896caa76b99d085db92729d1434ffe8f622da72f93fe46010156b552736b4fdaa SHA512 f178c1d9583737d6d75c8f99df4d9afc52fe849a71640953975240a053f3f9f8f38210f74ed80420e18e4ee7413d375ce16a41bbe2506813de48eac7a5432692 -EBUILD mariadb-10.6.14.ebuild 42790 BLAKE2B 2700f3c261b601459989014c5e65374b6437ffc259bd9d4042c2bbaf6660da912a5362c0cdf8476ccb240366046e9d8e2fd3c1d2d447c988b83a23b7914e2d93 SHA512 07ff8176f82feb50a279f20bc368ee0a9f8dd5ad56c0b3e3a2edf8d8378cb11b2306019c8544df030dbb51cb973c7cde2f42920b469a8219f2095b5a2a7bb146 -EBUILD mariadb-10.6.15.ebuild 42796 BLAKE2B f44efc89d35f4482d34d445709bd411eb9489cb0028c3a2ab952eb4b6f4364c3c6514b62fb0383ed936b11d71e0a7666c4a418fbd9666f51d2d9f5bca4ba7f95 SHA512 11bb7215e4dd1fa9f03e9cf32d48212d93e34ad0987bbeef19419b2ac19e3894fb18d70759891d7f78576d3c171fb5ec93e00d02e573927451b9f035f42772f3 -EBUILD mariadb-10.6.17.ebuild 42648 BLAKE2B 772623f8941e6e6fd28f4f5221a564291a9c3586bec872cd31b93ba652982433f562e3a7c2ef45d475a64910c8176a83e542191c7eae83c3302393469c4754ba SHA512 8c30741dfff22991cd5df4cbfcbc349120267641668f44f0736f3686f93e68fedf1d2a20d1af180796b7516c7d99ed0776ac8576f7241d6994393867a3b804fb -EBUILD mariadb-10.6.18.ebuild 42736 BLAKE2B 93b27a3a0db32c2f49c9f307377e8f90b7e06735d44be58e4dfdab491457caa994383456411fd806f31404553affa084c6992a598ccc242f1586525003ca3183 SHA512 f042e95b9360d3b54cffecdbe80d6acda2e44154735ca3ae9efffd9644fdc0d1d42df7d9547ec8365ad84ea4c4172aef01c215ad88df8f0801d3b664bca05b9f -EBUILD mariadb-11.4.2.ebuild 42478 BLAKE2B 623ae0dce4041f28442f80a4b0d5e4eb8426d1d7b2425d7265958fc2235169ec1bb5cd9daae6cd2286a1c9dd3f678c71a7b0c3d1b6c19e226747f5046ee119dd SHA512 9ef983aa443e69cf9dee1549232f928075d63647f0e71f88d76095aa756f1667c558171035e8c144edc3fe94fc1306bbc84d97073e56b9486677345a194e31d2 +EBUILD mariadb-10.11.5.ebuild 42525 BLAKE2B b1bc730c8bd50a1f81905df3e0f87d4a9477aeb9fc301ac32ac372fc44fcaed0127413b7dc2d71fcaddf5cfae2e9ad269a02278d2ef9a4a37c6258deeb039318 SHA512 b42916ff71b00ba4304e26e2007efdf05dc7a8d258b0d71e2ee8b60d469ee4e1ae7eb821d31027ae6b8c77bdf166916a54caf7028a35c6a7551eaf74ccab978f +EBUILD mariadb-10.11.7.ebuild 42385 BLAKE2B 07e30c9a49b549131bd041049a0faf5ccfe24e058c69cd10f27ac94436d9fb3b6bc85051b81a368cdf7714c7499b4ab11dcefd3428e6fb845158eefa0446cddc SHA512 297e033968086fa88453e4279beba9de3113a79542aa9496d48407447fe11dd218a472a37bcde2fed62c1faa28f29d2b246dcfe6c396c6e8a7d1a01aedbfc81d +EBUILD mariadb-10.11.8.ebuild 42471 BLAKE2B 0ee4658c982fecbd03a75848349879dbe82653c34df9641a8c45b98b1188c35162be015bd6b16991a6881b8afb1a51c84693379bc93ea8ff9290ed61e4bd90f8 SHA512 c97cb9e0f9c182706814ae338e4b66ef77184d51ba0979d865a177c9f98ed4764d09e507bc3d8aee262e11949f004c49cc7d0ebf6f523156f2185393522659e6 +EBUILD mariadb-10.6.14.ebuild 42784 BLAKE2B 01f3f35d0f70abd13cce4fef0f232d7c0461b3b3ab1656b923629d98a115eb65b48203d279a77b81f17fb82d97741070e4615427da09078fb4d5d76a9babc54f SHA512 4da0a3bd26c001616d59dce98b787a21ca23a1bbb1d2334e25c59f2cb58cd05cb818486d32b1eda894ebe008cd23575d2941ca4bb82e1a6efcb273f4ded12339 +EBUILD mariadb-10.6.15.ebuild 42790 BLAKE2B ed6962c16910d7e7c27168c98abf72dc268ee4aed9a5dba788a03c2ba84aa81fbc65c5cbdad561a5c562ba62faf21fc755c27cc28be6d425eae567a796ce6f2d SHA512 fc3938e2590e128c5ad1e02bf11d88dbfe8acf89df4803fa2dfd2f75079499619b76aac99e05aed1a795dd0641e46257375ebede2a9a2b5790e90bea9f770c7b +EBUILD mariadb-10.6.17.ebuild 42642 BLAKE2B c0b9b0f2dbae445ced25c699bfb257b255eb8fae9887fa77d0c989ac55da9fe19718488192b840895bd71b23e3f732cbc5cd0d5b8f0db8e86a323eae30eeee1d SHA512 8f9b25e8ce1451f6526afc56f9ca8ad0ee8b0aeef6b2fb5c3be0016117e640e6c86d4e3380b9d29b896d0629c5cb91f94711f02074e7a8db7a556d5ec214c85a +EBUILD mariadb-10.6.18.ebuild 42730 BLAKE2B f74cbead81aceca4584502965b01ecfd1f3730106a660442c2663ad9d7e0785454b0e289c4947b20e583031ff823e842975cc86a3bc97f598e41bf01393dced9 SHA512 46cf7ad9f2747779f31ed951cd8f5517d908c301e1f70f39ef9f4220bdccafeb86db5f75c517480bd0da0839b87238f798f2c596cf4342ea098f374fc9a6118b +EBUILD mariadb-11.4.2.ebuild 42472 BLAKE2B 317e2b293a5ca37751243f3c53af963812788832625418df38d9e18a542ca590076f782ad3f4377ee75b3327575df916a6e103b91c190074ee63a9e8b084bcc9 SHA512 8a82de74ab3c3106303ffabc9be77d788458a2abb04eeac3fc0658faab03c3d235b4f69c52b5d772e713200523da6f656742c615baa603745eb014c09dbf4961 MISC metadata.xml 2415 BLAKE2B 15e491cb0881203b21f66652af9e420582e3992a610bde08dfae2d076c417b298529eafd659adaa4cdeecd70b0c10c83796f8dfd8fbdede7489c48fdd2bdb015 SHA512 ecc641157ada5ad6d84b534b6a40e27e59ef428668d61f3908817735d31d4828dd0327343bf4ad13a5f6a1bc306cc46137388489176c3116f2a0e0946471b49b diff --git a/dev-db/mariadb/mariadb-10.11.5.ebuild b/dev-db/mariadb/mariadb-10.11.5.ebuild index a4216b24f9fb..1c79754a36de 100644 --- a/dev-db/mariadb/mariadb-10.11.5.ebuild +++ b/dev-db/mariadb/mariadb-10.11.5.ebuild @@ -29,7 +29,7 @@ REQUIRED_USE="jdbc? ( extraengine server !static ) static? ( yassl !pam ) test? ( extraengine )" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" # Shorten the path because the socket path length must be shorter than 107 chars # and we will run a mysql server during test phase diff --git a/dev-db/mariadb/mariadb-10.11.7.ebuild b/dev-db/mariadb/mariadb-10.11.7.ebuild index 4659641ec020..33df80f534b2 100644 --- a/dev-db/mariadb/mariadb-10.11.7.ebuild +++ b/dev-db/mariadb/mariadb-10.11.7.ebuild @@ -29,7 +29,7 @@ REQUIRED_USE="jdbc? ( extraengine server !static ) static? ( yassl !pam ) test? ( extraengine )" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" # Shorten the path because the socket path length must be shorter than 107 chars # and we will run a mysql server during test phase diff --git a/dev-db/mariadb/mariadb-10.11.8.ebuild b/dev-db/mariadb/mariadb-10.11.8.ebuild index 406c7f242ccf..0c20910f0bd3 100644 --- a/dev-db/mariadb/mariadb-10.11.8.ebuild +++ b/dev-db/mariadb/mariadb-10.11.8.ebuild @@ -29,7 +29,7 @@ REQUIRED_USE="jdbc? ( extraengine server !static ) static? ( yassl !pam ) test? ( extraengine )" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" # Shorten the path because the socket path length must be shorter than 107 chars # and we will run a mysql server during test phase diff --git a/dev-db/mariadb/mariadb-10.6.14.ebuild b/dev-db/mariadb/mariadb-10.6.14.ebuild index a47a18609606..25e4c8272981 100644 --- a/dev-db/mariadb/mariadb-10.6.14.ebuild +++ b/dev-db/mariadb/mariadb-10.6.14.ebuild @@ -29,7 +29,7 @@ REQUIRED_USE="jdbc? ( extraengine server !static ) static? ( yassl !pam ) test? ( extraengine )" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" # Shorten the path because the socket path length must be shorter than 107 chars # and we will run a mysql server during test phase diff --git a/dev-db/mariadb/mariadb-10.6.15.ebuild b/dev-db/mariadb/mariadb-10.6.15.ebuild index 56661ef5dc05..778634af9ae9 100644 --- a/dev-db/mariadb/mariadb-10.6.15.ebuild +++ b/dev-db/mariadb/mariadb-10.6.15.ebuild @@ -29,7 +29,7 @@ REQUIRED_USE="jdbc? ( extraengine server !static ) static? ( yassl !pam ) test? ( extraengine )" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" # Shorten the path because the socket path length must be shorter than 107 chars # and we will run a mysql server during test phase diff --git a/dev-db/mariadb/mariadb-10.6.17.ebuild b/dev-db/mariadb/mariadb-10.6.17.ebuild index 07dceb2a13e5..f0e877f4ab0c 100644 --- a/dev-db/mariadb/mariadb-10.6.17.ebuild +++ b/dev-db/mariadb/mariadb-10.6.17.ebuild @@ -29,7 +29,7 @@ REQUIRED_USE="jdbc? ( extraengine server !static ) static? ( yassl !pam ) test? ( extraengine )" -KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" # Shorten the path because the socket path length must be shorter than 107 chars # and we will run a mysql server during test phase diff --git a/dev-db/mariadb/mariadb-10.6.18.ebuild b/dev-db/mariadb/mariadb-10.6.18.ebuild index 739054f5b222..82793b4e975f 100644 --- a/dev-db/mariadb/mariadb-10.6.18.ebuild +++ b/dev-db/mariadb/mariadb-10.6.18.ebuild @@ -29,7 +29,7 @@ REQUIRED_USE="jdbc? ( extraengine server !static ) static? ( yassl !pam ) test? ( extraengine )" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" # Shorten the path because the socket path length must be shorter than 107 chars # and we will run a mysql server during test phase diff --git a/dev-db/mariadb/mariadb-11.4.2.ebuild b/dev-db/mariadb/mariadb-11.4.2.ebuild index c0f3096224ad..93425fc5aaeb 100644 --- a/dev-db/mariadb/mariadb-11.4.2.ebuild +++ b/dev-db/mariadb/mariadb-11.4.2.ebuild @@ -29,7 +29,7 @@ REQUIRED_USE="jdbc? ( extraengine server !static ) static? ( yassl !pam ) test? ( extraengine )" -#KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86" +#KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" # Shorten the path because the socket path length must be shorter than 107 chars # and we will run a mysql server during test phase diff --git a/dev-db/mydumper/Manifest b/dev-db/mydumper/Manifest index 9ca97e2bc965..3b3375e8eb00 100644 --- a/dev-db/mydumper/Manifest +++ b/dev-db/mydumper/Manifest @@ -1,10 +1,6 @@ AUX mydumper-0.13.1-atomic.patch 965 BLAKE2B 789b72fc49a8362466b7081ea6f112d373ebfb428959be96bbf4f9a7dc42366f90d574040a3aed9d32af29074fcda1da96850522d78f8f11c32d925a40d80348 SHA512 4bf764fb119a9c6fd2ab106e20259b48c526729a49ebbb93b3d27e483170ebbb849dcd2af1599ce41ee3ff26233735fbc02f39a8402b0d526f224cdb148663f8 -AUX mydumper-0.14-Do-not-overwrite-the-user-CFLAGS.patch 1460 BLAKE2B d2b66719b9191a7f7580ceebec060949a9effdbe11c75d27120c0a7caa2ac1ca67365232b614ae5f9717c1d8b4e693fb5571456217fa807eb4fee5c791cd70ab SHA512 ed6162d0d70a0322ea5f27be1808b2dfe546632eb029aa8dc542b280cd99086f8b473d1cbcb2843b6a0c038cd391147627c11966d1730707af0a9998cb19ff7b AUX mydumper-0.15-Do-not-overwrite-the-user-CFLAGS.patch 984 BLAKE2B 6b47af57b37adf29e273c9ce4384e75efe9ad4ed89ff54bf93ac491d7149f240b4b67263886c30acc6f69c60fe05cdf14572da781614d7a2697ddd5defeb1d4d SHA512 959c56f38912844e7e10aced0e9bde14ea5db68962de83b0649647ebd348c94a0999e17845cd2b2f565f5e14c942930b9c7b7020247378d211d9894cb977a8ac AUX mydumper-0.15-fix-call-to-open.patch 1341 BLAKE2B 8d7080f694fe99eb70c79519877873ce4e237015647b8997590df3dd95c3307e3b818ead2f8735405b3040049844b85d83d277b169a8662709a6199b6eb3f681 SHA512 e9baeeb10d61f129df457106be56ab379b9cf948aee2bf9f5f68cabf14a8876d749459ad6c42280e67ed5caf3ad6735bae39901a6c16cf93f65677b9d8e464c1 -DIST mydumper-0.14.5-2.tar.gz 177402 BLAKE2B bcd2658e1d8e452803608f27ed1b2ccc6fe428fcb44117f88a5cb0e6de1536f89c1f0768020da2d954a95cc20fe1315af8a38f477aee7c394540fbb4f001ac8d SHA512 d19c22fb3932f7428f560dcd7cdafc92e035f924ee35320048eca2067e75a297a44aaf08c6f124ef55c604c34311be2eeb0858c6d41be5ea73a68c8c0afa66ab DIST mydumper-0.15.2-8.tar.gz 186389 BLAKE2B 84e08fa6460a156771f598a8a0c98c79089490f9f2fe3b90fa49efd519e2270468fe86287bab03612006489a3a1d5ab2442e76cc0f4825c8df95acec30a1c4ba SHA512 f6ca5c5756944bd2704e8a25432db1fbe14ed2a1e88b549c0799c3e0c251e524523ed39797b0b2c15c9d65c0e6e5ce3d93a60a17c77090732a8f909ab24a0126 -EBUILD mydumper-0.14.5.2.ebuild 1213 BLAKE2B d00d9fbcf99d50e9956b4413158ac3f0de02d735a6f9518dc6dbf2e506cf8061060b97c0fe39d384f1d0347de8d2c7eec6da5c7d50d47e6c74eed20feb68ff48 SHA512 53d2b66901a3b42543f3f301769a4cfb1d5465e5e958c0a020452b50c1d906dd2211fca9892dc592212146b9c47b92b2f283744c0711755dfc579700b5058005 -EBUILD mydumper-0.15.2.8-r1.ebuild 1266 BLAKE2B 9bc3751f8b222c2db271a7ca62fe85bc5c4090692b340ce1205dd55c6d96e21d75124409a645e38f4ebcca630c2914d68454329722a11925dcbc01e53d12c2db SHA512 e2998aa2b6c82fc87854fb34e5ea7ad96150feb156ce844420fcb2a963a42f2ed2bd3c1085260ba9f03000317159cea18d8840da6f4b6da4720dc152c1cc2e88 -EBUILD mydumper-0.15.2.8.ebuild 1216 BLAKE2B a07ac2f9da30457597d727251e08bacc383d0c46ba696895f4554d9741a3f23fe8b2187d739e47b9286024117ea7264494d94b38ac8d4f15270a5d8105e6482b SHA512 252dffa78f47c186eabc7122454d025cb2a50d230a4b79eb69b31620416d94e629bac9ea9fc2fa50f2325cae69727c476ba3557d5203e07e32d3bd20e770d65a +EBUILD mydumper-0.15.2.8-r1.ebuild 1265 BLAKE2B 221ab1b3ca989ea53a26bc0216c60538b3be6b1293e6a30e888b1a3f9525a91a58517a763e91e3ccddb573c8ca4c8b0bc0fe9347c55c314423cad5456c7bf8aa SHA512 0902075b31384658fe192618cf8f5bc149dd16b03150d50183bdf7ac43b71dc0ce031235f4aef90951c79c74b1e38fa94bee95aa97e9a4ddcb69b744f729b5b7 MISC metadata.xml 480 BLAKE2B b046228a8aea053cdd034cb3ce0e28e3fd666fe9a600b7bb82a36083fff6686559a6746518ff8c41002476ac8214ff45376c5b08fa9e71c1e2ed1ed890b68091 SHA512 8d71ae229741c263328195baec3917d9c496d9afeff591e3c66ef8744776d8cbc53f17ff526255e61139338b03f5027e19142108dd9c37c0871a6510f72a8661 diff --git a/dev-db/mydumper/files/mydumper-0.14-Do-not-overwrite-the-user-CFLAGS.patch b/dev-db/mydumper/files/mydumper-0.14-Do-not-overwrite-the-user-CFLAGS.patch deleted file mode 100644 index fe5fc15378d8..000000000000 --- a/dev-db/mydumper/files/mydumper-0.14-Do-not-overwrite-the-user-CFLAGS.patch +++ /dev/null @@ -1,29 +0,0 @@ -From a7630737a37c11478de265e69605befa89b910b4 Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 10 Mar 2024 21:12:29 -0400 -Subject: [PATCH] Do not overwrite the user CFLAGS - ---- - CMakeLists.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 088811c..c051a31 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -35,10 +35,10 @@ if (WITH_ZSTD) - endif (WITH_ZSTD) - - if (WITH_ZSTD) -- set(CMAKE_C_FLAGS "-Wall -Wno-deprecated-declarations -Wunused -Wwrite-strings -Wno-strict-aliasing -Wextra -Wshadow -g -DZWRAP_USE_ZSTD=1 -Werror -Wno-discarded-qualifiers ${MYSQL_CFLAGS}") -+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-deprecated-declarations -Wunused -Wwrite-strings -Wextra -Wshadow -DZWRAP_USE_ZSTD=1 -Wno-discarded-qualifiers ${MYSQL_CFLAGS}") - include_directories(${MYDUMPER_SOURCE_DIR} ${MYSQL_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${PCRE_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS} ${ZSTD_INCLUDE_DIR} ) - else (WITH_ZSTD) -- set(CMAKE_C_FLAGS "-Wall -Wno-deprecated-declarations -Wunused -Wwrite-strings -Wno-strict-aliasing -Wextra -Wshadow -g -Werror ${MYSQL_CFLAGS}") -+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-deprecated-declarations -Wunused -Wwrite-strings -Wextra -Wshadow ${MYSQL_CFLAGS}") - include_directories(${MYDUMPER_SOURCE_DIR} ${MYSQL_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${PCRE_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS} ) - endif (WITH_ZSTD) - --- -2.43.2 - diff --git a/dev-db/mydumper/mydumper-0.14.5.2.ebuild b/dev-db/mydumper/mydumper-0.14.5.2.ebuild deleted file mode 100644 index 44adc19c83dd..000000000000 --- a/dev-db/mydumper/mydumper-0.14.5.2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -MY_PV="$(ver_rs 3 -)" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="A high-performance multi-threaded backup (and restore) toolset for MySQL" -HOMEPAGE="https://github.com/maxbube/mydumper" -SRC_URI="https://github.com/maxbube/mydumper/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="doc" - -RDEPEND="app-arch/zstd - dev-db/mysql-connector-c:= - dev-libs/glib:2 - dev-libs/libpcre - dev-libs/openssl:= - sys-libs/zlib:=" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig - doc? ( dev-python/sphinx )" - -PATCHES=( - "${FILESDIR}/${PN}-0.13.1-atomic.patch" #654314 - - "${FILESDIR}"/${PN}-0.14-Do-not-overwrite-the-user-CFLAGS.patch -) - -src_prepare() { - # fix doc install path - sed -i -e "s|share/doc/mydumper|share/doc/${PF}|" docs/CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/855239 - # - # Fixed upstream in git master: - # https://github.com/mydumper/mydumper/pull/1413 - filter-lto - - local mycmakeargs=(-DBUILD_DOCS=$(usex doc)) - - cmake_src_configure -} diff --git a/dev-db/mydumper/mydumper-0.15.2.8-r1.ebuild b/dev-db/mydumper/mydumper-0.15.2.8-r1.ebuild index 388b59989451..f887a9e47fb4 100644 --- a/dev-db/mydumper/mydumper-0.15.2.8-r1.ebuild +++ b/dev-db/mydumper/mydumper-0.15.2.8-r1.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="doc" RDEPEND="app-arch/zstd diff --git a/dev-db/mydumper/mydumper-0.15.2.8.ebuild b/dev-db/mydumper/mydumper-0.15.2.8.ebuild deleted file mode 100644 index 3163f03bbf04..000000000000 --- a/dev-db/mydumper/mydumper-0.15.2.8.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -MY_PV="$(ver_rs 3 -)" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="A high-performance multi-threaded backup (and restore) toolset for MySQL" -HOMEPAGE="https://github.com/mydumper/mydumper" -SRC_URI="https://github.com/mydumper/mydumper/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -RDEPEND="app-arch/zstd - dev-db/mysql-connector-c:= - dev-libs/glib:2 - dev-libs/libpcre - dev-libs/openssl:= - sys-libs/zlib:=" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig - doc? ( dev-python/sphinx )" - -PATCHES=( - "${FILESDIR}/${PN}-0.13.1-atomic.patch" #654314 - - "${FILESDIR}"/${PN}-0.15-Do-not-overwrite-the-user-CFLAGS.patch -) - -src_prepare() { - # fix doc install path - sed -i -e "s|share/doc/mydumper|share/doc/${PF}|" docs/CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/855239 - # - # Fixed upstream in git master: - # https://github.com/mydumper/mydumper/pull/1413 - filter-lto - - local mycmakeargs=(-DBUILD_DOCS=$(usex doc)) - - cmake_src_configure -} diff --git a/dev-db/myodbc/Manifest b/dev-db/myodbc/Manifest index d23ca9f716a0..533c9bda5cb7 100644 --- a/dev-db/myodbc/Manifest +++ b/dev-db/myodbc/Manifest @@ -3,8 +3,6 @@ AUX myodbc-8.0.19-cxxlinkage.patch 812 BLAKE2B 18e0f62ceb6bb33ad282972a8aae2f755 AUX myodbc-8.0.32-include-string.patch 291 BLAKE2B a7645e918f7453f5d469976f5a52bc7dd02c3b8c0d814d0faa6eb96506220cb463a562f4ada2bcb0116906e4c233d6c53f0a722839580b3999f373e9d7539ab5 SHA512 25c228df7bfe383f26f63982f71fc13b32248b89f4bba4d82a1b20f913bd8d2cc1a237d0eb9cc22762f38a45edf83005949786436f962056b2735c461b485baf AUX odbc.ini.m4 406 BLAKE2B 3a20c28b1971753a14a4aa4d30efcc7de833488501a41d9404987567623d48250ce1daea1d3138adaef36741c4f2e0eafc60eba554e5262b45084f93f5205160 SHA512 84ab2a3aab594123d42b65205a7faf8e91fe9416a9e3c4c4c354533b9a298395f59172649c91dc0b671392bfbe5baeaddb6aa47119ce4c825917f3977d9dd521 AUX odbcinst.ini.m4 118 BLAKE2B 6da835746e063f415ad7d640233cfd96e744cd56e12aaab4a21a2bf0bd5f1bd1e5c3d1c9a28522e3aa07c1261abac92301819d4112ac6a000a729aca9f7f7ad6 SHA512 6d929bbffd602a9f060a05998149a6b16334f8a5e3db30d02ff5d38c0065085d085042521e700b87a63766e32aa27ae92be72cef33c2a7aa8f6767b6b71c82c8 -DIST mysql-connector-odbc-8.0.27-src.tar.gz 3849283 BLAKE2B 6a2500cdd706c0f8cda83dd04d3e573baa0bfbad59c931e20bb25a3f09dd78d2380079d0a20e075c3f44482d58acb6e727f4cbcf490e9d4d7817dd26f98061ee SHA512 4f907b7647425c274d3bd1c3b3ebbb83ac2360f2ee56733dabb501c17b800a26ef1117e16e5b05180ff904bfc642d25393baa861b96a79edf9d35f186a8689b2 DIST mysql-connector-odbc-8.0.32-src.tar.gz 3845574 BLAKE2B 84adca951149739b79c60ee89416d2e638c5a5880feaed69afbd9de3a671ce505bad04303ccab9f13410f83e8827d9e3ee658b9e1241e66243d3424ac525525b SHA512 8011b131657e214de3f33407893ff990e2238e79a5d0ef76a64797c6f160f0895ed819e81c04054b3b4d439fc0db85c4813c713401db28092a9f6da16f24fb34 -EBUILD myodbc-8.0.27-r1.ebuild 3390 BLAKE2B f7076a9259031d8d92b121cf3deed3be0a61122329bcca9cfff585f104cdda355f159cc4191beafeb59531342d52ec5c791102eb72bc3dfbdd33eeee0d915303 SHA512 a044e12eb06896bc00e4d4fc1f36875d725b3ff127c7648012557633af60e62d03f7a8f34ef90cca6754d461a8ae811951acfa24ce1d34ea1d35c66017a7bc57 -EBUILD myodbc-8.0.32.ebuild 3476 BLAKE2B 3b96475d402c219dc9abfc494f475da9d61526cdbe1269bdef378e88431860330c22d7211c19f42be45c0309d7b7dbd0a68a0e260ff8412bdb3b5e96e6cff557 SHA512 df3b22989a19e9a4e23e35c89af9b2935375c2d860cd8e5e807a12428e364c9ba56181d743a3953b7826bbd3138a174161ca9c136471c32364187a53b8eecf50 +EBUILD myodbc-8.0.32.ebuild 3474 BLAKE2B bc5a9c509e32797257f443f031f966bd1e7a13ca7637ca5dea79740e7451083751a2a07e00cbc00da13aefee2ecfd16afb249c1ad757caaf457bf1a77e1022e8 SHA512 47aab6cd5df43cda60830ad5283c59edb5b7875947e60cb6d35142b60f48d47a1d01387d17674bd0b8bb60f55aadf2ef100dc49071c83b30c7a90d2863b0cdea MISC metadata.xml 335 BLAKE2B bd41dfc9b0bb01a54d8754c81bbdfe4fe9e1b9331865beeeed7b853100a27c008feb7977b5a7ec1a1f50e95bf66e3361e85a12ac9d0009de134f5437f6bd8b52 SHA512 dc350644f551aaee6c0437721e8bd842bb33b9e55d60e38b169c861182103d4a1afd7ce99d38606912fc944d32bd5b7db0a280c9a65c833a16e7cf075a95f067 diff --git a/dev-db/myodbc/myodbc-8.0.27-r1.ebuild b/dev-db/myodbc/myodbc-8.0.27-r1.ebuild deleted file mode 100644 index 9caec83a8560..000000000000 --- a/dev-db/myodbc/myodbc-8.0.27-r1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake-multilib - -MAJOR="$(ver_cut 1-2)" -MY_PN="mysql-connector-odbc" -MY_P="${MY_PN}-${PV/_p/r}-src" - -DESCRIPTION="ODBC driver for MySQL" -HOMEPAGE="https://dev.mysql.com/downloads/connector/odbc/" -SRC_URI="https://dev.mysql.com/get/Downloads/Connector-ODBC/${MAJOR}/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="${MAJOR}" -KEYWORDS="amd64 ~ppc x86" -IUSE="" - -RDEPEND=" - dev-db/unixODBC[${MULTILIB_USEDEP}] - >=dev-db/mysql-connector-c-8.0:0=[${MULTILIB_USEDEP}] -" -DEPEND="${RDEPEND}" -S=${WORKDIR}/${MY_P} - -# Careful! -DRIVER_NAME="${PN}-${SLOT}" - -# Patch document path so it doesn't install files to /usr -PATCHES=( - "${FILESDIR}/${MAJOR}-cmake-doc-path.patch" - "${FILESDIR}/${PN}-8.0.19-cxxlinkage.patch" -) - -src_prepare() { - # Remove Tests - sed -i -e "s/ADD_SUBDIRECTORY(test)//" \ - "${S}/CMakeLists.txt" - - cmake_src_prepare -} - -multilib_src_configure() { - CMAKE_BUILD_TYPE="RelWithDebInfo" - - mycmakeargs+=( - -DCMAKE_C_FLAGS_RELWITHDEBINFO=-DNDEBUG - -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-DNDEBUG - -DMYSQLCLIENT_STATIC_LINKING=OFF - -DMYSQL_CXX_LINKAGE=YES - -DWITH_UNIXODBC=YES - -DWITH_DOCUMENTATION_INSTALL_PATH="${EPREFIX}"/usr/share/doc/${PF} - -DLIB_SUBDIR="$(get_libdir)/${PN}-${MAJOR}" - -DMYSQLCLIENT_NO_THREADS=ON - -DDISABLE_GUI=ON - # Don't build "libmysql_strings.so" and "libmysql_sys.so" which are only - # used internally - -DBUILD_SHARED_LIBS=OFF - # The NUMA and LIBWRAP options are not really used. - # They are just copied from the server code - -DWITH_NUMA=OFF - -DWITH_LIBWRAP=OFF - ) - - cmake_src_configure -} - -multilib_src_install_all() { - debug-print-function ${FUNCNAME} "$@" - - dodir /usr/share/${PN}-${SLOT} - for i in odbc.ini odbcinst.ini; do - einfo "Building $i" - sed \ - -e "s,__PN__,${DRIVER_NAME},g" \ - -e "s,__PF__,${MAJOR},g" \ - -e "s,lib/libmyodbc3.so,$(get_libdir)/${PN}-${MAJOR}/libmyodbc${SLOT:0:1}a.so,g" \ - >"${D}"/usr/share/${PN}-${SLOT}/${i} \ - <"${FILESDIR}"/${i}.m4 \ - || die "Failed to build $i" - done - - rm -rf "${ED}/usr/$(get_libdir)/${PN}-${MAJOR}/private" \ - || die "failed to remove bundled libs" - - mv "${D}/usr/bin/myodbc-installer" \ - "${D}/usr/bin/myodbc-installer-${MAJOR}" || die "failed to move slotted binary" -} - -pkg_config() { - [ -n "${ROOT}" ] && \ - die 'Sorry, non-standard ROOT setting is not supported :-(' - - local msg='MySQL ODBC driver' - local drivers=$(/usr/bin/odbcinst -q -d) - - if echo $drivers | grep -vq "^\[${DRIVER_NAME}\]$" ; then - ebegin "Installing ${msg}" - /usr/bin/odbcinst -i -d -f /usr/share/${PN}-${SLOT}/odbcinst.ini - rc=$? - eend $rc - [ $rc -ne 0 ] && die - else - einfo "Skipping already installed ${msg}" - fi - - local sources=$(/usr/bin/odbcinst -q -s) - msg='sample MySQL ODBC DSN' - if echo $sources | grep -vq "^\[${DRIVER_NAME}-test\]$"; then - ebegin "Installing ${msg}" - /usr/bin/odbcinst -i -s -l -f /usr/share/${PN}-${SLOT}/odbc.ini - rc=$? - eend $rc - [ $rc -ne 0 ] && die - else - einfo "Skipping already installed ${msg}" - fi -} - -pkg_postinst() { - elog "If this is a new install, please run the following command" - elog "to configure the MySQL ODBC drivers and sources:" - elog "emerge --config =${CATEGORY}/${PF}" - elog "Please note that the driver name used to form the DSN now includes the SLOT." - elog "The myodbc-install utility is installed as myodbc-install-${MAJOR}" -} diff --git a/dev-db/myodbc/myodbc-8.0.32.ebuild b/dev-db/myodbc/myodbc-8.0.32.ebuild index 942a50b491f7..e72b91f75f08 100644 --- a/dev-db/myodbc/myodbc-8.0.32.ebuild +++ b/dev-db/myodbc/myodbc-8.0.32.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="${MAJOR}" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="amd64 ~ppc x86" RDEPEND=" dev-db/unixODBC[${MULTILIB_USEDEP}] diff --git a/dev-db/mysql-connector-c/Manifest b/dev-db/mysql-connector-c/Manifest index 466a38e7b1a0..2ba0b1344e1e 100644 --- a/dev-db/mysql-connector-c/Manifest +++ b/dev-db/mysql-connector-c/Manifest @@ -5,6 +5,6 @@ AUX mysql-connector-c-8.0.32-musl.patch 833 BLAKE2B 92fd8e0b41ec07faf37bf94795e8 AUX mysql-connector-c-8.0.36-always-build-decompress-utilities.patch 607 BLAKE2B 67196391d8d9a042087129cda2d7aa67903e73aa9446f32e831eef5b97d7c48cdf1c9774af19c814e82ee6a7524ae8ec481a8bb5a998f4e4fc67238b8cb89c14 SHA512 f020448bbe67d6ad262a444af4c36efc3b2dd7d1a2fa21145f1018e5dd20c1ab447e4171ad23536fbeb1ba3a1a2bdbc8e58c7bce9608ab858889e1f4e2426c64 DIST mysql-boost-8.0.32.tar.gz 436207624 BLAKE2B 8a75fd6fe12d4f870622b3386118737b8f17d116df625ef6187647c870d456823543e0a1e9aa05fff53313c3872df1df23add2508ec735bb7972718fc1e90539 SHA512 937e0d0350cb583bb4de15b080f08ed92b253a6d7c09f13a028855dae154fc84f0c95fb082b818b2fa6fa792cd2d9db8d7dc7a20a2a0d3d2b6839fbd2c821b44 DIST mysql-boost-8.0.36.tar.gz 438154682 BLAKE2B 066c9dd7f2804ad29808c3bfcf5eae53466f7c40cf1386a9c1f26a0b45dcc3eda8d9618de36e8008e5e4d58b726d6c8ca85aec8d1eda8981f5a49e495b32f046 SHA512 a6c1c009a322b7e7aa2aa607573060414c847c77d48f44a24058ffb89673621f2ebbcc1a4448fa841a87ff721159cc8eaf44a57721c7dc233c130691c16a9d4a -EBUILD mysql-connector-c-8.0.32-r1.ebuild 3333 BLAKE2B bf0ffe80aa379845e04228435fc822702e1b696a486b50acaf671e674a36f1a1354eb21eb93a29f4b5cf7ff7328d68b855947f4ccecc8989da5ca0969f1e5984 SHA512 db9ef6fa1daabc08cf0b86cb978f63630ea7679916f2631d2a273fdf956bde330036969d7888e82593beb9f4fb5ba7e86e08acf4696cd0732e98235760977eec -EBUILD mysql-connector-c-8.0.36.ebuild 3206 BLAKE2B 92c4b0204437ca6d7bf039daac1af9681e7b9b9b888091f2e15907b1f2d97cacafec7be2daa67d7bc52e5c873ae4e299534dd369f7d0e86c642d12ff7302f6bc SHA512 e585b893754cf47b5307c0f8bb06138cee29016219f178c201f1619903ec32af9440c21fc7b76fd9c9ac099a3033df9c808058b6e4c45bbdecad221dca33b24e +EBUILD mysql-connector-c-8.0.32-r1.ebuild 3327 BLAKE2B 60483b60dfcc46df33fe68dda5289b4e8092b5bc942083637e5b25a554b880235a53cf0772a9b58e3edfce9051cc3c05a0f73986df3d573483d6dea76e77f2d2 SHA512 d59fa7278607f1a2760f7d291a30afd4ab69115de9e9e171efb14a66899c838647a69b47d4389aba6695b5796ef109398af9095572de5c03c1ba0db9b8ed8175 +EBUILD mysql-connector-c-8.0.36.ebuild 3200 BLAKE2B b5785e80233e16b234677b7ddbc199a0f86a593b6ba072e6f359f68bebf03912922440024e3c6c0837b21b8112d6f3d77594674928ab890a691c6d3eeb4ff68b SHA512 fd169c52ad41142c898722051ccc14b0f63f13b60c07c1880acd10ec6613d746befaaa723a9fe1b989896350d559463d13f141fad15801b814103d73b3c8b30a MISC metadata.xml 240 BLAKE2B cc93ae4da8408b221c296e092d9db6ae3879754ade669d81c1218d53a5f007c6b7717bda6f92dbb0af38ff9b5e45f44e91503b12d3603d9955ec7d5a2a67399b SHA512 0f41c32ce3d736e061302252f14913d7425bc97e19d0c2f3b80c50637ab3521aa6cfc67f82e5f70f91174cddb36bb5622837dc18fd9db3bf75eb860359aade27 diff --git a/dev-db/mysql-connector-c/mysql-connector-c-8.0.32-r1.ebuild b/dev-db/mysql-connector-c/mysql-connector-c-8.0.32-r1.ebuild index 7e872e2d3d73..439f779c8568 100644 --- a/dev-db/mysql-connector-c/mysql-connector-c-8.0.32-r1.ebuild +++ b/dev-db/mysql-connector-c/mysql-connector-c-8.0.32-r1.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == "9999" ]]; then inherit git-r3 else SRC_URI="https://dev.mysql.com/get/Downloads/MySQL-$(ver_cut 1-2)/mysql-boost-${PV}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" S="${WORKDIR}/mysql-${PV}" fi diff --git a/dev-db/mysql-connector-c/mysql-connector-c-8.0.36.ebuild b/dev-db/mysql-connector-c/mysql-connector-c-8.0.36.ebuild index 724061855292..323996632b64 100644 --- a/dev-db/mysql-connector-c/mysql-connector-c-8.0.36.ebuild +++ b/dev-db/mysql-connector-c/mysql-connector-c-8.0.36.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == "9999" ]]; then inherit git-r3 else SRC_URI="https://dev.mysql.com/get/Downloads/MySQL-$(ver_cut 1-2)/mysql-boost-${PV}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" S="${WORKDIR}/mysql-${PV}" fi diff --git a/dev-db/mysql-init-scripts/Manifest b/dev-db/mysql-init-scripts/Manifest index 125bde96d2fc..2797832fa9a1 100644 --- a/dev-db/mysql-init-scripts/Manifest +++ b/dev-db/mysql-init-scripts/Manifest @@ -9,5 +9,5 @@ AUX mysqld-v2.service 1208 BLAKE2B 9dad4cfa0a102fe7705f4d1db042d0c65d66e669b51b8 AUX mysqld-wait-ready 1758 BLAKE2B 2a6ccc105cedc78e4e8acf77fd13f8083af80b3488572079bd063fac263382cd37a85cf40c02ffa8a9a047f146402dc2f7bfef91d47487003b64c84cdc8196c9 SHA512 ad4a850d045149df156c8236ae114e94887626e3ca803dea9bcc3909349043b51357a71ac17d694e0217f7856e076a0736267fc1ea3dedbef8a319fc9014c01b AUX mysqld_at-v2.service 1170 BLAKE2B d02f7ee3549d273d309e8e6e5cd8c2f987c6feab42bb330367c14df6932a887f7740ca6c28ecd15aba8bf2f89c33854345d773134630a5e8cd5ce8b99a8b6667 SHA512 a91eb574925afc0096e668799f9806b1cfa4c808ffab26dab5df1934db0dd8059a5e7913b0fdc3374f41e14cc72a6450890c9d746d3ff2de873af91199a71ee0 AUX run-s6 268 BLAKE2B ebc9c74527257e1a35a4671afe2d34d9ed9868db0e0f33eebe655b31317a4ceeb02affe471ad49007534a9ce0a9399d9f14af664488ae753e207cf97d467107b SHA512 82be247195f6d9d230b063e9bda393bab8855382c2f3e5eb4d427fc1eb7e23dbd8c90939224ff2b5e4116a5c9d3f26ebdc9b9f548cde91e7c1217f4f8500c0d3 -EBUILD mysql-init-scripts-2.3-r8.ebuild 1995 BLAKE2B 50f8556000b92104a683513d48a16d2febcdc7d51e80a2f1f4bfb6d3a9f9d7fd16350a4ba41cb7ff9bbcd916a21c9dfb9c88c680688f6f7ec82eef9d34e7322e SHA512 8192804f56afc61331ede765517f6edda1a933e2180154f0f5a9f902f0f3a93bc51ed3f6f1bfab5d1f6c733817467bbb57a1991cd7aa36adf3c6d8731ebc2efe +EBUILD mysql-init-scripts-2.3-r8.ebuild 1989 BLAKE2B 600a87c50994885268332243ce7890771161bc406378d798c3234e4d3fc43170e215bfab28e93e022f73bad6c28b4c4d9c36634de914acaf88c2e55a8473127b SHA512 d39bb40a0f7270325df04ecf718d39601354111f853a9d910dc8b7a4e71ec64bdbdd6d4db300ecdd8853059ea24a784e54b07212ff8c5fa7ddaae1ab08aec1c9 MISC metadata.xml 244 BLAKE2B 4123aca5430915cc6801ba9b4e57e1ff48f31a4bacaa785c4dfbbf2d1aadf14f274684cad9b24a09e875a7f621b33bd9bd3333f7ababbd44aa173d4ace98b46e SHA512 380cbd85bebb869f4a2ec1e3518dc6ac5abed1fa5364172e7436098dbd910e738c4d59ee18aa7cf387b354020ed5782732e43702dc83c1857d46b720d623143d diff --git a/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r8.ebuild b/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r8.ebuild index ce3110eecafa..de9b1bd5e809 100644 --- a/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r8.ebuild +++ b/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r8.ebuild @@ -12,7 +12,7 @@ S=${WORKDIR} LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" # This _will_ break with MySQL 5.0, 4.x, 3.x # It also NEEDS openrc for the save_options/get_options builtins. diff --git a/dev-db/mysql-workbench/Manifest b/dev-db/mysql-workbench/Manifest index 0992223ea54a..32f99b3ee9b9 100644 --- a/dev-db/mysql-workbench/Manifest +++ b/dev-db/mysql-workbench/Manifest @@ -2,6 +2,9 @@ AUX mysql-workbench-6.2.5-wbcopytables.patch 496 BLAKE2B 4666f32098ec43ad36f1c72 AUX mysql-workbench-8.0.19-mysql-connector-8.patch 624 BLAKE2B 0cb899a8b0127664471877bb9cdcda946c35ed7a159646b94891a791a618c77201cc7696d6f2893e95fd78dbc13325cef752740f76e69974e10c0f88084594fb SHA512 09c2349cb42393f6d32f24804e2c3438a5d846fc9611e0684ccf2139fd30b0abcb0f2aa7b205c60a081259e073fb345cd72837dab1a216e6a8aaaba5ec3decf7 AUX mysql-workbench-8.0.33-gcc13.patch 1516 BLAKE2B 831bde621ae092aeb75bf3e9cab6ad8eecfef27e036586fe4a3ca8a60f8d512ce4610a9ebf20e956c4a903df18eb0c3f2c5608cda462ca3c2a1cee50b0e6b1f9 SHA512 a37e9d9de5d7606528bdf80f15fda67511328bb8826005810a633eeb5b12d942b27c8a4b8287d13de8e77979f8dab90f671fb3d0334cdb9d4d7ed10bdac84ef5 DIST antlr-4.11.1-complete.jar 3547867 BLAKE2B 24e9799a402302fd13ebd91028a8e3b8141af50b446bc06bb4df3f7619cad956e9b681c0908b870a1f9d6701049e89099906cdc6038dc007984b19f7a8cc756b SHA512 a445bb71e4470ffa7bbb382a873fe5c5737b96b2c68b57593c1151ed9944ec701ce0c299ea5c3b593bd33916d384d598e2538a9b0b11b41c77a399beca4aab88 +DIST antlr-4.13.2-complete.jar 2140045 BLAKE2B b810c171c7bcce7e259beda70a2efbee7868188432868953229dd4457f977b162f384823ccce2ac497dd472fe80d05930d28b6eae865b88fd8bc70def86df131 SHA512 22569a011d207fb8f33e7e71162542a5748cc3daa67eec59cbdc2aeb0894c331dfb8b6100ea88529c6cea72672cbddd77ca6134ddf331685d68b3e72b4e0a914 DIST mysql-workbench-community-8.0.38-src.tar.gz 59069184 BLAKE2B ace0afbab46c106200da5234595065766798d97f57008261c166f97bed842f185e1bba90e0c60b9acf4843b54261b5aa49c8a3a6b096e72597443fcb1a011217 SHA512 9fa18d3a66111461dd47dec05ea8dfa214dac85017d51358e694d56cb05439d96a91f675e105cfbecc70c456127964a81ddb2a5a2951457196b20b10dcb6f502 +DIST mysql-workbench-community-8.0.40-src.tar.gz 59113554 BLAKE2B 3e0f86015ba6999284c9bee42e01ad2723b7e3292a67311f29bd0dc630b0bb14a82b8cef9509e1809de82b8330f5ea99594c413e347368a0dc26d69c89366021 SHA512 81f2db45f2dba2a546e02b3cb2eb1ab2e0dc142fa76f6579c0b6069e43cbdfe9cb1fb626aac435031e92aa2fa08cc00b311e7737043623b3d12291df48de9779 EBUILD mysql-workbench-8.0.38.ebuild 2999 BLAKE2B e9e6452fe944e8ae846e8e60f1d9642a268074eccfcdc63637effb1cd77bc253b01d54b1225105180d01a394341cf1c87a5a49a9198546b02ec1b7e55e1f1481 SHA512 f34ec499aca287e946ff01ed51010b5e6a77a4a5a850b935448f8e3f30ff03d5c3f05daa371eb806160100de7f7ad7d61d24a5cc9f9c60c6a7982aa10c324028 +EBUILD mysql-workbench-8.0.40.ebuild 3000 BLAKE2B 2506732059ffb12f85341dd21e0550b3e16947d8c1d2c204524063c31a86ebbebb826f2bd1c68faa06d782c2518fa1086cc5c0cbcf4e30a408e67179155c8ff4 SHA512 1450460c1ba62fed9cb2fee891d2ff3e272190a6c01ba7bd421539c0884ffb643c032ba316a858d83ea99c8693f2cd1aa032c1071fdbef2777327bf808f5dfc3 MISC metadata.xml 312 BLAKE2B 8c491f0d45e24b9e367ef63f8822daf6925a17f8d44ff822b8faf7485f729524de02309b91e18411421b4533aa086853914c4a0b2a93d3fd5573a289fa1e3715 SHA512 01f2f645d167290bdb313e6c1c386b0426b41edd0ee9b50acf538a7353855c84321111ffd11c213c71424c7df73aa48b8fb9f3f2af914b595fb2961cc6b3186c diff --git a/dev-db/mysql-workbench/mysql-workbench-8.0.40.ebuild b/dev-db/mysql-workbench/mysql-workbench-8.0.40.ebuild new file mode 100644 index 000000000000..4a2002cbe0d9 --- /dev/null +++ b/dev-db/mysql-workbench/mysql-workbench-8.0.40.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GCONF_DEBUG="no" + +PYTHON_COMPAT=( python3_{10,11,12} ) +PYTHON_REQ_USE="sqlite" + +ANTLR_VERSION=4.13.2 + +inherit gnome2 flag-o-matic python-single-r1 cmake + +MY_P="${PN}-community-${PV}-src" + +DESCRIPTION="MySQL Workbench" +HOMEPAGE="https://www.mysql.com/products/workbench/" +SRC_URI="https://cdn.mysql.com/Downloads/MySQLGUITools/${MY_P}.tar.gz + https://www.antlr.org/download/antlr-${ANTLR_VERSION}-complete.jar" +S="${WORKDIR}"/"${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="debug doc" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# glibc: deprecated mutex functions, removed in 2.36.0 +CDEPEND="${PYTHON_DEPS} + app-crypt/libsecret + dev-libs/glib:2 + >=dev-cpp/antlr-cpp-4.11.1:4 + dev-cpp/atkmm:* + dev-cpp/pangomm:1.4 + >=dev-cpp/glibmm-2.14:2 + dev-cpp/gtkmm:3.0 + >=net-libs/libssh-0.9.5[server] + x11-libs/pango + x11-libs/gtk+:3 + >=x11-libs/cairo-1.5.12[glib,svg(+)] + >=dev-libs/rapidjson-1.1.0 + dev-libs/libsigc++:2 + dev-libs/boost[nls] + >=dev-cpp/ctemplate-0.95 + >=dev-libs/libxml2-2.6.2:2 + dev-libs/libzip + dev-libs/libpcre[cxx] + >=sci-libs/gdal-1.11.1-r1:= + virtual/opengl + || ( sys-fs/e2fsprogs dev-libs/ossp-uuid ) + dev-libs/tinyxml[stl] + >=dev-db/mysql-connector-c++-8.0.27-r1[legacy(-)] + dev-db/vsqlite++ + || ( dev-db/libiodbc >=dev-db/unixODBC-2.3.11 ) + dev-python/pexpect + >=dev-python/paramiko-1.7.4 +" + +RDEPEND="${CDEPEND} + app-admin/sudo + >=sys-apps/net-tools-1.60_p20120127084908" + +DEPEND="${CDEPEND} + dev-lang/swig + >=virtual/jre-11 + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-6.2.5-wbcopytables.patch" + "${FILESDIR}/${PN}-8.0.19-mysql-connector-8.patch" + "${FILESDIR}/${PN}-8.0.33-gcc13.patch" +) + +src_unpack() { + unpack ${PN}-community-${PV}-src.tar.gz +} + +src_prepare() { + ## remove hardcoded CXXFLAGS + sed -i -e 's/-O0 -g3//' ext/scintilla/gtk/CMakeLists.txt || die + ## And avoid -Werror + sed -i -e 's/-Werror//' CMakeLists.txt || die + ## Fix doc install directory + sed -i -e "/WB_INSTALL_DOC_DIR/ s/mysql-workbench/${P}/ ; /WB_INSTALL_DOC_DIR/ s/-community//" CMakeLists.txt || die + + ## package is very fragile... + strip-flags + + cmake_src_prepare +} + +src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/924671 + # https://bugs.mysql.com/bug.php?id=115735 + filter-lto + + if has_version dev-db/libiodbc ; then + IODBC="-DIODBC_CONFIG_PATH=/usr/bin/iodbc-config" + fi + + if has_version dev-db/unixODBC ; then + UNIXODBC="-DUNIXODBC_CONFIG_PATH=/usr/bin/odbc_config" + fi + + append-cxxflags -std=c++11 + ANTLR_JAR_PATH="${DISTDIR}/antlr-${ANTLR_VERSION}-complete.jar" + local mycmakeargs=( + -DWITH_ANTLR_JAR=${ANTLR_JAR_PATH} + -DLIB_INSTALL_DIR="/usr/$(get_libdir)" + -DIODBC_INCLUDE_PATH="/usr/include/iodbc" + ${IODBC} + ${UNIXODBC} + -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" + -DPYTHON_LIBRARY="$(python_get_library_path)" + -DMySQL_CONFIG_PATH="/usr/bin/mysql_config" + ) + cmake_src_configure +} diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest index a256bf70e93d..bc73872b1ebd 100644 --- a/dev-db/mysql/Manifest +++ b/dev-db/mysql/Manifest @@ -19,11 +19,11 @@ DIST mysql-boost-8.0.32.tar.gz 436207624 BLAKE2B 8a75fd6fe12d4f870622b3386118737 DIST mysql-boost-8.0.34.tar.gz 439550780 BLAKE2B f50701b7e97e6cec21d6ce0f80f07a8df68a14c637a67841c06f578be8ed01d216dcb3b859a29f1befd4223b99e60675d6fa70f4b227bf6af81804e2c43161d4 SHA512 e5e79ac6870c214cf62c8e2830106d60e09d2e6df30654b84bb5d26864b4eabe777468a223e6ee4c1e22b7f6ec086c73e85e3f4c1fa66912b0e59b606ab46cd6 DIST mysql-boost-8.0.36.tar.gz 438154682 BLAKE2B 066c9dd7f2804ad29808c3bfcf5eae53466f7c40cf1386a9c1f26a0b45dcc3eda8d9618de36e8008e5e4d58b726d6c8ca85aec8d1eda8981f5a49e495b32f046 SHA512 a6c1c009a322b7e7aa2aa607573060414c847c77d48f44a24058ffb89673621f2ebbcc1a4448fa841a87ff721159cc8eaf44a57721c7dc233c130691c16a9d4a DIST mysql-boost-8.0.37.tar.gz 445594692 BLAKE2B 105521985ec8c622a28b5e0f7f13e519b2d91af6ce7c2b483cf1c096aa79f156cc59eabb6281b485d6f558eb6e20a95d5edc349bbd72d1c4a2591eef59270f4c SHA512 4c6033d4f96990d3f324f0d5733273425ddf7cc11660e110e0dc848da6cfa47b7565c1eb0b5d1e08878a0ea2c7d1eb85b400ccca28e5b4383f7e9216ba3e1660 -EBUILD mysql-5.7.41.ebuild 38694 BLAKE2B 4a9759253852a10b64d093d756f533c00c9f11c0864831e570bedbe4cdbc2d53fe8e3a122e13335a924ab27bb4c69bd58d13768456efecb5dc55d9ae9ee490fa SHA512 d4777b8a2c029e1a744814463e3fc05525379575f6820ed9fcda7f3278c651acc054a5e130fa8d4c312bc5b04a4ef36c739f16da9af46183a3e57ccabeb5bee9 -EBUILD mysql-8.0.27-r1.ebuild 40508 BLAKE2B 5f2e62ce42582929b30cf3f4536d43d1c85a9569e77a1a6f01b02f96367a0b4841ac140b2c0a8689fc1330dcae7e7acc5478b95703f55f807c8284569a34bf05 SHA512 32760dc886c67e2d9a343037fca648d73356e830cd627e848b4495e1ce8408bd2db701907f815452802ca242f14c983a582c220e4131e2b5cc591dcf99ea1dea -EBUILD mysql-8.0.31-r2.ebuild 40554 BLAKE2B 3c1930c3dbc66783e490cbe0e9583d54ea74119f51c9ee9cdffe54d1b7039ed2195954465c1f3bba7e2dd812f3658e9ff74999ceed08113b5c7158f3967594dd SHA512 ccd8c45981644edca27e3f022dddee64defaf6fd4c0e7bfc6aa4faed956492d2ace1836bdeb95f1a47b014d1c86617121ad07939bc257a88adb3531def756e42 -EBUILD mysql-8.0.32-r2.ebuild 40298 BLAKE2B 26ece821d8aebd85b745b0ce3bd72466616f92418a92b6496b49f2206d7e23d9eb86139c6a4b9aaa2a63738748cf53a65863f2910e89f8400f2852afc4b065c6 SHA512 23bc6425039c3ea2aae640663608d36f4b8d639dcebf8e53fc4da28c50a181673361bb3fe02bf93bc8bee95e4be3c3781defe6f24441f211469da21a2f583c83 -EBUILD mysql-8.0.34.ebuild 39617 BLAKE2B e850c6dc5976c6a6057b6ad98526405204dc2ec2c47c3a43100a2db0ba4391f1b98343155eefd329deebae45fb78c09a12c1d533ae4ad6de18372c300e921705 SHA512 6aca4b08baeff43337034f3198172327382816b7212143d7bdb1d59db0efa085d89648f264f170d5bc243f16bf24d927274cc59aa09f59729d9d6e210575cce3 -EBUILD mysql-8.0.36.ebuild 41209 BLAKE2B f0573eae1a7b9ebfbd65cf634205d0a2577a5ae9fda14a272b2702a55e2c3ac1ed2ef6dd52af2dfd2ef0a965d761dc28b75d5ff482b56cb327493dfe10f6c778 SHA512 6e29a2a355aa677b52ce39807cdbf0f5bd457140fb735be0863c57bd613ca403d35a3871a0fedda3c1825b001558a3d9fab9b5f0b963e32a228d05e4ae188fff -EBUILD mysql-8.0.37.ebuild 41727 BLAKE2B 824dda587be695ea6af4c804abfbaf27f8bc9b84447f40b5a54ae8a7be355f385a9be31a98bb14908ea4f7adfc201e287666ea167364d5c0f244459c0961a36d SHA512 6afa304b08546a958d6c2a4c907b80b330e61514ee36af71702c00ae5044a4cbd7a63d9b9332fa323cb27c4dea39ccb651dcdfdd039e82782d46966738599959 +EBUILD mysql-5.7.41.ebuild 38688 BLAKE2B 962c28d2f6ee89e005820d780c1e95676274f9bb2e800728844680489618363c5a75819362c168d8adb321a077b5ee054b19e901fde8a3e190e210efd5dce482 SHA512 46f86f07913896c824ba0c4c409f15a9bc60882ca310dfd175a611ca068900bf7ac52bca6053dbcf556e437549980de423fd42182bd6601bbf1ce52e9a1750dc +EBUILD mysql-8.0.27-r1.ebuild 40502 BLAKE2B 38e264de6f1e6c13e75218d858ea74887d14be9b3d2b17408584612a63c768d2538a793f15e1eead6c7d96995699b52768ae387c50c2954f8a0d7a6729fc6f60 SHA512 f5b962dc40f9acf9cb53eb6db7987ad1ca16cb2e032bf5b9276bae1c84175d839239eb99100f4e897bc70dc5971e23a0ab3fbd3fb59dcf794c3583bfba951df7 +EBUILD mysql-8.0.31-r2.ebuild 40548 BLAKE2B cc9db5c5fae53a999020e481ab25f21d83af55d45b04377e7f22b587d45501c7cdf048985da4f473ea1ad1eb53a8e9b61cb9efb49d997ff9cb3dd657c2291506 SHA512 e9b0cbb6ed06d5225335101b188d07ade195bb37aa23b6e4e7816dff64c65cce3a1de17f204fb5985656e6c414c9db02ca3dabe8cc414789f320f705d6ffc7e2 +EBUILD mysql-8.0.32-r2.ebuild 40292 BLAKE2B 6147630b1e441f5b1317c51d9df9283be141ad76984d74ede6a96f200a0f366e8fb2210b177a1be2b05c8eee401cff13ef12c01dc35bba4f04dc16976eee6303 SHA512 d92988cc5a628b31b39eaabea54fdf564071c11d5fe4b51a4ae49e90e3f2357155fb894ecc66726b7a7905c39d9dce26be7356abd1958b16dd6db00e2a46169c +EBUILD mysql-8.0.34.ebuild 39611 BLAKE2B d4a6add580108cf55d750afec27d7101804b22a9e9658a947bb0e6a1d02d03262822c3691ae0b739635acf4a5b8c4c49e9df2890e0a9a9f00d6bc37b5527977d SHA512 ed8ed74e95ccd1e583cd91624dd40438cb10109a72c9f1e58383cd059dcc9606283409302d56b0ba75ee8ad0a6f62d791f590c10c4e5e550fa0fd6e043f50c77 +EBUILD mysql-8.0.36.ebuild 41203 BLAKE2B 500fabafb926c5da8b0dcf71f906753fa4d41ddc706c2fd2f7ee589d484cf5db959965c9165d375abe66a3dd2d1ff4b22f996a6dcf08e66ada998feb8cfba426 SHA512 8b12c0241ad5de4ed0026cf92b00b4b5efb031074738a6821fad1d8741cd7c16d15cd900d1cd7b153726bc2b115c9955940f89e818a224c9d3ab0124ff5ffee0 +EBUILD mysql-8.0.37.ebuild 41721 BLAKE2B f3908e79658472091f5c1a3fa64724458454f539ebf559c1be6acc2a60cf2c2c02c242a4d4869cfeb0883122d425c48389e340705430fd0556506f1dfe007b96 SHA512 ed54f559c35b71086d1657d7ee601f014da8d49aa610a3e3930022e03ac2a5451641bb61cc11e571f55ae94edc39f566b1e9cd92b9906a2d801b52d858c3120f MISC metadata.xml 1353 BLAKE2B ec0454ffdcce75567e9817fa199f1e6ec1ac73520001c299b794cbfebcd42f9e5abfcf9e6faec47bd0b04f40b03846798f1735e1561c91e4e3c0df48627fe4da SHA512 d5f33d05fd1505d13afa2e968cbfcbe1c6ad6a581468608ed1fd88daf1dd17dd66fbc55b8b6eceb42e2d03bd4327985ff7432c668f983775b103e4375b4ad8c6 diff --git a/dev-db/mysql/mysql-5.7.41.ebuild b/dev-db/mysql/mysql-5.7.41.ebuild index ded1631d3809..1e3a9dce41a2 100644 --- a/dev-db/mysql/mysql-5.7.41.ebuild +++ b/dev-db/mysql/mysql-5.7.41.ebuild @@ -27,7 +27,7 @@ RESTRICT="!test? ( test )" REQUIRED_USE="?? ( tcmalloc jemalloc )" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ~mips ~ppc ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" # Shorten the path because the socket path length must be shorter than 107 chars # and we will run a mysql server during test phase diff --git a/dev-db/mysql/mysql-8.0.27-r1.ebuild b/dev-db/mysql/mysql-8.0.27-r1.ebuild index fb831d0ded5e..3e1f2bf8e459 100644 --- a/dev-db/mysql/mysql-8.0.27-r1.ebuild +++ b/dev-db/mysql/mysql-8.0.27-r1.ebuild @@ -37,7 +37,7 @@ REQUIRED_USE="?? ( tcmalloc jemalloc ) tcmalloc? ( server )" # -ppc, -riscv for bug #761715 -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips -ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ~mips -ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" # Shorten the path because the socket path length must be shorter than 107 chars # and we will run a mysql server during test phase diff --git a/dev-db/mysql/mysql-8.0.31-r2.ebuild b/dev-db/mysql/mysql-8.0.31-r2.ebuild index 854e55432dfc..3b9b79fb88df 100644 --- a/dev-db/mysql/mysql-8.0.31-r2.ebuild +++ b/dev-db/mysql/mysql-8.0.31-r2.ebuild @@ -25,7 +25,7 @@ S="${WORKDIR}/mysql" LICENSE="GPL-2" SLOT="8.0" # -ppc, -riscv for bug #761715 -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips -ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ~mips -ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" IUSE="cjk cracklib debug jemalloc latin1 numa +perl profiling router selinux +server tcmalloc test" RESTRICT="!test? ( test )" REQUIRED_USE="?? ( tcmalloc jemalloc ) diff --git a/dev-db/mysql/mysql-8.0.32-r2.ebuild b/dev-db/mysql/mysql-8.0.32-r2.ebuild index 4f6fa4715c82..bf84e493abbe 100644 --- a/dev-db/mysql/mysql-8.0.32-r2.ebuild +++ b/dev-db/mysql/mysql-8.0.32-r2.ebuild @@ -25,7 +25,7 @@ S="${WORKDIR}/mysql" LICENSE="GPL-2" SLOT="8.0" # -ppc, -riscv for bug #761715 -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips -ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ~mips -ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" IUSE="cjk cracklib debug jemalloc latin1 numa +perl profiling router selinux +server tcmalloc test" RESTRICT="!test? ( test )" REQUIRED_USE="?? ( tcmalloc jemalloc ) diff --git a/dev-db/mysql/mysql-8.0.34.ebuild b/dev-db/mysql/mysql-8.0.34.ebuild index 2b86120d9b9a..f7feb0d829ce 100644 --- a/dev-db/mysql/mysql-8.0.34.ebuild +++ b/dev-db/mysql/mysql-8.0.34.ebuild @@ -24,7 +24,7 @@ S="${WORKDIR}/mysql" LICENSE="GPL-2" SLOT="8.0" # -ppc for bug #761715 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips -ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips -ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" IUSE="cjk cracklib debug jemalloc latin1 numa +perl profiling router selinux +server tcmalloc test" RESTRICT="!test? ( test )" diff --git a/dev-db/mysql/mysql-8.0.36.ebuild b/dev-db/mysql/mysql-8.0.36.ebuild index 724501d96d0c..0c85a6c2b3cd 100644 --- a/dev-db/mysql/mysql-8.0.36.ebuild +++ b/dev-db/mysql/mysql-8.0.36.ebuild @@ -24,7 +24,7 @@ S="${WORKDIR}/mysql" LICENSE="GPL-2" SLOT="8.0" # -ppc for bug #761715 -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips -ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips -ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" IUSE="cjk cracklib debug jemalloc latin1 numa +perl profiling router selinux +server tcmalloc test" RESTRICT="!test? ( test )" diff --git a/dev-db/mysql/mysql-8.0.37.ebuild b/dev-db/mysql/mysql-8.0.37.ebuild index 27ef30ae8d8c..7cfb7a41bb10 100644 --- a/dev-db/mysql/mysql-8.0.37.ebuild +++ b/dev-db/mysql/mysql-8.0.37.ebuild @@ -24,7 +24,7 @@ S="${WORKDIR}/mysql" LICENSE="GPL-2" SLOT="8.0" # -ppc for bug #761715 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips -ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips -ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" IUSE="cjk cracklib debug jemalloc latin1 numa +perl profiling router selinux +server tcmalloc test" RESTRICT="!test? ( test )" diff --git a/dev-db/mysqltuner/Manifest b/dev-db/mysqltuner/Manifest index 7bbe0b3b0ec5..809f7a1b78b1 100644 --- a/dev-db/mysqltuner/Manifest +++ b/dev-db/mysqltuner/Manifest @@ -1,6 +1,3 @@ -AUX mysqltuner-2.5.2-missing-shebang.patch 3569 BLAKE2B e1e1e95c5da2ef035b94f8e17b78e3a811aad7f31138821332f37ff3d691eb5fde68ad06ff307561e2b40c49894f35b535f89c07b4f414ed3cb788c4f694f38f SHA512 7949e22a66535314165d90881f9b4f82e3941cbe60fdbfc609c010fcf537310f06611aa7e93543530459cbcc99db66662d70c046adff58018c22461c58d3fafa -DIST mysqltuner-2.5.2.tar.gz 5132683 BLAKE2B 439559c05ed9daad6f21fc90f91b3b39619ca2012a719eca3ba4b5d8cb2d963fb8bc10b0ea2855052ca5716fc98aa62f35bd0288380dceb79c1832150fe7f2a8 SHA512 9fe3d77636e3779ca2ab5f93cd7c480d651f6c26f4e6271adfcee6012aa423579f124ce6858bbf7142b2967f30bc0f0517b5d82ad2a35ecc004b1b621d0bee45 DIST mysqltuner-2.6.0.tar.gz 5137050 BLAKE2B 37f94b71fc8523ab36ed7a6f39a73f1f831bd551d4935ad87b3d20a9894f86551dcf600e806947e62e3cce154658212e39349ed4a83aaec76ad06e3367d6d6d8 SHA512 0ba8b5a8fd952b961d8b8a13f9339925d106abc27d5f9f32c892c268bfbf3742ed6a516b10ef3a64d123c78d0ce6e37a708911487375d06fa7fe91acfe833e0b -EBUILD mysqltuner-2.5.2.ebuild 920 BLAKE2B 7e1a91515c62e83bc78915b1ecf6424348dd96716e4952cec26b5f735a03895e7fc6fe04fcd84cf4918b34229cbf38fd68ed8e677fced9c6c81bb2fa456d2a67 SHA512 f622d2afd11614cb4c3fffd3988595251ee353d2777282443d76093666a98c5ce00b28a88fa2ecd8e220f3907dcf902450ecd0d12b0a03254b9e19c1aa6726e2 -EBUILD mysqltuner-2.6.0.ebuild 861 BLAKE2B ff0b00253215112abcd555468a6a5b737739d476dc0af9dde2b7dcd333215e53c4406eb51ee094dbbe73b413a23e646a557e1111751660cf4f90d01f8094d382 SHA512 83fe58e83c668bffc7d66ebd5b9c52de6dae099029097788dc3ffa8bd94207495162e7821002b84069a4cc5cb93d769805e276cb4b7195692ca026098766406b +EBUILD mysqltuner-2.6.0.ebuild 859 BLAKE2B f46cdea2ad4eae8909f6a9820e8bcc7bc35d8bed70e00d4a06c7cade864041db690c11429e797176f87125ee9a53b827471518d5e52007974d05cb83057522ec SHA512 0d23daeb2a37906731f41e381a3d0f84177d963e43ff7574f22d9d5ef0a8d0a0065d06f8fc43fb883497b14e43c2e6b9113f521657e76c4fb3ac04a8ae055650 MISC metadata.xml 607 BLAKE2B 51f3f5075cefa6184953d66ab4267463138fb02ae96f461f61eadbac9f49bba644f8ed4f293a49d4f56cdd361975a713b8ee08456874fee2a694d75cb99f3b7a SHA512 bf276a0a678188581b493b791771ad4c5508371b9db2a6dbcaf1afa401b7959179bdaaeea7c33c42ec4733fb78093009e5459a06de799bbbecc85150434a3397 diff --git a/dev-db/mysqltuner/files/mysqltuner-2.5.2-missing-shebang.patch b/dev-db/mysqltuner/files/mysqltuner-2.5.2-missing-shebang.patch deleted file mode 100644 index d32ea2751978..000000000000 --- a/dev-db/mysqltuner/files/mysqltuner-2.5.2-missing-shebang.patch +++ /dev/null @@ -1,107 +0,0 @@ -From ca10ec741100501aa8190d129263b86104c08222 Mon Sep 17 00:00:00 2001 -From: Jean-Marie Renouard <jmrenouard@gmail.com> -Date: Tue, 6 Feb 2024 18:35:38 +0100 -Subject: [PATCH] Adding shebang comment for auto execution - ---- - mysqltuner.pl | 1 + - v2.5.2.txt | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 82 insertions(+) - create mode 100644 v2.5.2.txt - -diff --git a/mysqltuner.pl b/mysqltuner.pl -index 3a755318..2006e20d 100755 ---- a/mysqltuner.pl -+++ b/mysqltuner.pl -@@ -1,3 +1,4 @@ -+#!/bin/env perl - # mysqltuner.pl - Version 2.5.2 - # High Performance MySQL Tuning Script - # Copyright (C) 2015-2023 Jean-Marie Renouard - jmrenouard@gmail.com -diff --git a/v2.5.2.txt b/v2.5.2.txt -new file mode 100644 -index 00000000..b8e4d854 ---- /dev/null -+++ b/v2.5.2.txt -@@ -0,0 +1,81 @@ -+commit 4fdd80139269691828c0a27ff583b2ee49987451 -+Author: Jean-Marie Renouard <jmrenouard@gmail.com> -+Date: Tue Feb 6 18:00:04 2024 +0100 -+ -+ Generate CVE list at 2024-02-06T17:59:02+01:00 -+ -+commit dd2ed7264295a6d328c59c7c395eeb9be933fdde -+Author: Jean-Marie Renouard <jmrenouard@gmail.com> -+Date: Tue Feb 6 17:58:57 2024 +0100 -+ -+ Indenting mysqltuner at 2024-02-06T17:58:52+01:00 -+ -+commit 30d1d9ecc61393ec807d2596ef8b5e178a4b52cd -+Author: Jean-Marie Renouard <jmrenouard@gmail.com> -+Date: Tue Feb 6 17:58:35 2024 +0100 -+ -+ Generate 2.5.2 sub version at 2024-02-06T17:58:35+01:00 -+ -+commit b3a776576e7e568143797d62b754d9f992ffd1db -+Author: Jean-Marie Renouard <jmrenouard@gmail.com> -+Date: Sun Feb 4 00:34:49 2024 +0100 -+ -+ Two separate garb install script with or without SSL -+ -+commit 27525ca922a74d1df5c53c4d3ed1a1f07029919c -+Author: Jean-Marie Renouard <jmrenouard@gmail.com> -+Date: Sun Feb 4 00:31:54 2024 +0100 -+ -+ Fix issue in Buffer Pool instead of Log Buffer Pool -+ -+commit 65b1c138a56157774d8d98f93741a42054b3f4c6 -+Author: Jean-Marie Renouard <jmrenouard@gmail.com> -+Date: Thu Jan 18 05:38:00 2024 +0100 -+ -+ #741 false positive in log error detection -+ -+commit 56d16e168efe85ba4a93b93800c50b42cdd32aee -+Merge: 3fd633b b608da0 -+Author: Jean-Marie Renouard <jmrenouard@gmail.com> -+Date: Wed Jan 17 18:35:27 2024 +0100 -+ -+ Merge pull request #745 from FabioPedretti/master -+ -+ Enable color by default when running on a terminal -+ -+commit b608da0fb1a8ad3200b5857a4ef6e6706934ab46 -+Author: Fabio Pedretti <pedretti.fabio@gmail.com> -+Date: Thu Jan 11 11:27:25 2024 +0100 -+ -+ Enable color by default when running on a terminal -+ -+commit 3fd633b507d48e7505c28aab8dc48d73f028f8da -+Author: Jean-Marie Renouard <jmrenouard@gmail.com> -+Date: Fri Dec 1 00:46:15 2023 +0100 -+ -+ Generate 2.5.0 minor version at 2023-12-01T00:45:45+01:00 -+ -+commit 77699b72ae2e12f948aff622dd8194c9dbec9e09 -+Author: Jean-Marie Renouard <jmrenouard@gmail.com> -+Date: Fri Dec 1 00:45:34 2023 +0100 -+ -+ Suggest incrementing log_buffer_size to improve InnoDB Write Log efficiency. -+ #462 -+ -+commit c20bcbf8f0c00f9e900a880559ac95688ec9b1dc -+Merge: b10cdb7 01a1e53 -+Author: Jean-Marie Renouard <jmrenouard@gmail.com> -+Date: Thu Nov 30 21:51:53 2023 +0100 -+ -+ Merge pull request #744 from paskal/remove_innodb_stats_on_metadata -+ -+ Remove innodb_stats_on_metadata mentions in Readme -+ -+commit 01a1e5336487e8464d655a4a8a1d51af0ebd38ee -+Author: Dmitry Verkhoturov <paskal.07@gmail.com> -+Date: Thu Nov 30 15:59:51 2023 +0100 -+ -+ remove innodb_stats_on_metadata mentions in Readme -+ -+ That flag is off by default, starting with MySQL 5.7, and the tool -+ itself reports it in the "Performance Metrics" section. diff --git a/dev-db/mysqltuner/mysqltuner-2.5.2.ebuild b/dev-db/mysqltuner/mysqltuner-2.5.2.ebuild deleted file mode 100644 index 0fe8e0faba42..000000000000 --- a/dev-db/mysqltuner/mysqltuner-2.5.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="MySQLTuner-perl" - -DESCRIPTION="Makes recommendations for increased performance and stability for MySQL" -HOMEPAGE="https://github.com/major/MySQLTuner-perl" -SRC_URI="https://github.com/major/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - dev-lang/perl - virtual/perl-Getopt-Long -" - -PATCHES=( "${FILESDIR}/${PN}-2.5.2-missing-shebang.patch" ) - -src_compile() { - :; -} - -src_install() { - newbin mysqltuner.pl mysqltuner - dodoc {CONTRIBUTING,INTERNALS,USAGE}.md - einstalldocs - - # Passwords and vulnerabilities are meant to be fed to the script uncompressed. - dodoc basic_passwords.txt vulnerabilities.csv - docompress -x "/usr/share/doc/${PF}/basic_passwords.txt" "/usr/share/doc/${PF}/vulnerabilities.csv" -} diff --git a/dev-db/mysqltuner/mysqltuner-2.6.0.ebuild b/dev-db/mysqltuner/mysqltuner-2.6.0.ebuild index b1b47ccba813..14805d9170fe 100644 --- a/dev-db/mysqltuner/mysqltuner-2.6.0.ebuild +++ b/dev-db/mysqltuner/mysqltuner-2.6.0.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" dev-lang/perl diff --git a/dev-db/percona-server/Manifest b/dev-db/percona-server/Manifest index 52ba0387db3c..d1c08f576339 100644 --- a/dev-db/percona-server/Manifest +++ b/dev-db/percona-server/Manifest @@ -6,5 +6,5 @@ AUX percona-server-8.0.26.16-gcc-13.patch 1164 BLAKE2B 5961ed50fee052e2a1579094a DIST boost_1_73_0.tar.bz2 109247910 BLAKE2B 5995ff6ca21f45988b187b94bf743795cca97531baa8355f488be0987b9426289dd85d6ce25b7eb03ccd690109f05ba56252a95bca50505ad9cd66f4e0e234e8 SHA512 86c296511c0766145097625a62bf099c3d155284d250ad6e528e788bc90b2945838498dfe473c6c6c78d1694b6fba8e19f7dee0d064a043841e6231603fff668 DIST percona-server-8.0.26-16.tar.gz 532328971 BLAKE2B bef32f7a26261f3b0d89bd9b95b826101e2e84c662ce2200a2d9d8a612d949804d233905db71bfab5aa04458e7773231659d67ea09e08e68df8ef5eca4391f39 SHA512 9ae60e2d81dfaabc214692cd0919c2fc3ba698bd0a399e42df662766c1d67714f6f3cfe6416019b26e7866bc59b78d99fc5767f64ede1ca8e5a344995c1ff4c0 DIST percona-server-8.0.26.16-patches-01.tar.xz 8144 BLAKE2B 28a4eaec657c09a6f8290b654dd5316d44a4cbf94e418edee3754742f21df56a058de9332c15abbb7c8bbd3ed6fc63e48e6c5fa77524dccf44ff1d5a89085a6b SHA512 4a128a89abc1f48582b0c6ab841643fa0b7e018eaa32414e775705cd1e8c2dcacecd334face9db33775ca3a2a862528e1cc7f2bfd8b259b7367f0f2ebdee52c4 -EBUILD percona-server-8.0.26.16-r2.ebuild 42880 BLAKE2B a077742944a586e8475037178985fdd098cc82b35710929439a5bddbffffafdc053034757b412c913e4c76b1f1021d3738ddebec13382577f7036aa36e2c5ecb SHA512 c70a33cd11d7273100c5a266802af705cc16fbaea078a45b68fba95a0e75d28e1b25e12b59c9bdd9071451cc05477076b51a16af2483d48ae94928e8a3e5b2c3 +EBUILD percona-server-8.0.26.16-r2.ebuild 42874 BLAKE2B 5588c3ce49061be58ffaea84c2143ae2233a44e3a1c803008c86b343e15ff94c001df156f58e33283db9a0ec4a342492cb12dfe729b9a460db7ff404c086b182 SHA512 ba6bbc8abe9aeaf95f22398a3f272841f277b226802b919d0e988ba98cd0c9b768118a463e4468c692119eceb5f43110e75d43ed4ad42c02b4df8fbf284d7ed0 MISC metadata.xml 1013 BLAKE2B 1840cf84cccf0b9d993428a1135b94f39168b611d81ac6849dff5ea50f39d5ef7411bd30aeb2cf003b29c38eb454a40c248cb7291f498b6eb8415174e0152c18 SHA512 932d4a5e3d4e65eeb31fa893fc3d565c51b012a339510ca444ebef75326a8abd730a316d33f3d60a84f7ff9d309a040c576f51b0bf1091a90c405956390397d2 diff --git a/dev-db/percona-server/percona-server-8.0.26.16-r2.ebuild b/dev-db/percona-server/percona-server-8.0.26.16-r2.ebuild index b0e0d9ef4d84..151c550ab7d7 100644 --- a/dev-db/percona-server/percona-server-8.0.26.16-r2.ebuild +++ b/dev-db/percona-server/percona-server-8.0.26.16-r2.ebuild @@ -41,7 +41,7 @@ REQUIRED_USE="?? ( tcmalloc jemalloc ) router? ( server ) tcmalloc? ( server )" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 -riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" # Shorten the path because the socket path length must be shorter than 107 chars # and we will run a mysql server during test phase diff --git a/dev-db/percona-toolkit/Manifest b/dev-db/percona-toolkit/Manifest index c8a336315c27..71fdba207615 100644 --- a/dev-db/percona-toolkit/Manifest +++ b/dev-db/percona-toolkit/Manifest @@ -4,5 +4,5 @@ DIST percona-toolkit-3.5.5.tar.gz 14847253 BLAKE2B f26b88581b84a12fd2b353984b2db DIST percona-toolkit-3.5.7-deps.tar.xz 108954608 BLAKE2B 788246531bdf3e1faa7d310fdd920b2fa42d9d82a75d730bb143047d0ce0c22d23ee86cf58bd646aae3dac503d88793040168be15fc74a7686979233a8d65dc1 SHA512 54a0698c5e3ae0fe30b6e253a31829db4c4656cccd48107126a5b99c148fe1ed9515d91e79784e1970569bfe8853d1b5cb74cf968dbc2d08e95aec6ef209659d DIST percona-toolkit-3.5.7.tar.gz 138784243 BLAKE2B a589c884348ad820ccadbb871ad85bf89a21ae49e8cea34fa019c61ab53302a5b7db03f01ae191138e15f61c77068388cb5d3863f360a7207d9f9075e9100385 SHA512 cfe232aa5b59d262242348ec18b676d0d8c7752dddadd1f027772346e02d329f5bc53b96dfdb82fbdb18524095f88ad0721e4b4c6ed611c727c0a5cde85998bd EBUILD percona-toolkit-3.5.5.ebuild 1205 BLAKE2B db6a44d0959530b831cd10a8cfba0027edd156ebf85cd542f94fbc2c7c8395ee911906be689cee3f433e85b3d2ae3dd92b812c66d80180e55a5498ce77bf90be SHA512 845e6b2cd64b12e7e7a95a1fce9face54d02eb1f05387e446b11b5e4f237dd06cc31951af8a5dfee1fa90d93b8eb115b0c6b6488ee770861887371dbc6575085 -EBUILD percona-toolkit-3.5.7.ebuild 1317 BLAKE2B 1648ff945af0b7bfe3d38f6359391e7c97f0fbf862171c5c38eccdf82421f39a36ce9046ea5a1efc5609665785d1382fa1a70c2d3231e1b5efa01954a73eb1ad SHA512 6188277bfb2cad2c1bd48ede7f715c9b21e41871fd6a6443d9ad8d87751efd4a5c7058c3160aa3ac98a6a4f66a6701dd65930b5fb5d297f2c563a4f32ef4bcfd +EBUILD percona-toolkit-3.5.7.ebuild 1315 BLAKE2B c560894a7dae83b7ca3c45585858ce0040023cd8c4fc07f134f05c0912d834838b5be882ab7f2edbea9b2663e72342bd99241c40ebe8a7d1c69f410b76df8f56 SHA512 85fe8f09d29f7846d6afdf3464928be572f2c04128e79ee0c771c0cc397c6a1379cd6786e7e9df58b9d8e66401ab0d38bffe8ff6a5b6154fc09f0d92fa0d25dc MISC metadata.xml 648 BLAKE2B a1d5ee4c53fe96e65ebfc310e5e9e58c8e9d30dd5c160cc5e212f735a9f0d1e87dfd6c2020d785051c9349d9a8c2ea00ffce8d6bc95dfb279268aa9ab154ff64 SHA512 cd0d16d6d9a7e8585a1e11f9717b4b98bec459e72b127bd379d56cf0ef4b8347eb385d762ff4ebf36bebea27b9fc13195ecaab53b5453bfb02b01aa6d14111ec diff --git a/dev-db/percona-toolkit/percona-toolkit-3.5.7.ebuild b/dev-db/percona-toolkit/percona-toolkit-3.5.7.ebuild index 40dc0b2abad8..902171bcf790 100644 --- a/dev-db/percona-toolkit/percona-toolkit-3.5.7.ebuild +++ b/dev-db/percona-toolkit/percona-toolkit-3.5.7.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.percona.com/downloads/${PN}/${PV}/source/tarball/${P}.tar.g LICENSE="|| ( GPL-2 Artistic )" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" # Package warrants IUSE doc IUSE="" diff --git a/dev-db/percona-xtrabackup/Manifest b/dev-db/percona-xtrabackup/Manifest index dfd295997f73..94e21530f533 100644 --- a/dev-db/percona-xtrabackup/Manifest +++ b/dev-db/percona-xtrabackup/Manifest @@ -5,5 +5,5 @@ DIST boost_1_77_0.tar.bz2 110361537 BLAKE2B 106aeb09ec7705b595f2ca966a76c53c649e DIST percona-xtrabackup-8.0.30-23.tar.gz 338259133 BLAKE2B 3b73731497013aea6abae7d83cd96914cb5300dd867f6066514c71d68f8a1420227e33512a5f2faf082029ccd2c871394acbf43fb58c029472cbeb5605f354fc SHA512 acada88f3509526259281b7f9805fcabb31c5924eb50c5ed761b0813f89adda046b060a57825b6a49178171daec8b4388e99202ef9c9def4b2b0932e73b4d535 DIST percona-xtrabackup-8.3.0-1.tar.gz 460238502 BLAKE2B 9c0857c40f5df26ab279e355cbbb37f36c89e2c78197e348d35b903cb337d4c06c0efcc27e9ec3d6254c0314db50a4ef786f19bbd3fd1060d107cff2c301648d SHA512 85351d3e13a4da7394052ac9725fc7793a8fbcafd11f1232669c32ecad2349d9f57a86dc8437359a7db9a0de8bab8d6b0d40942e9e5dff67b5ab143902750c30 EBUILD percona-xtrabackup-8.0.30.23-r1.ebuild 3179 BLAKE2B 1fedefc5ffc56a29796e1fc233ee154081394f8821cddcb527c369a497747313340ced60022bdb1d3dee2de55fbadd78b22a5d856da9559dc6c5dab46a3814ea SHA512 17f954af9637a688f9159c068fce3398ef3ef97e0366bbe810265e56294dc7374a0f7a5117fe05df4f6a62cd62ad0c6a9e7a910bd463be114f41a499d43a04ce -EBUILD percona-xtrabackup-8.3.0.1.ebuild 2424 BLAKE2B 6c60f18c398fcd1b00a14e3ed07aee3adcc21d0886f48b9871863500c169cc88edc90970c756cc0063741c1bdd33c1a9398d49c80361c3f34cd864150431bd7c SHA512 03f96894f5baf352ced1494f4d51e742ed878a10ecf010c9b49de62c43e8ee53a99d7665141f62792e7d615050a841324047b80069f62956eecddaf39a864900 +EBUILD percona-xtrabackup-8.3.0.1.ebuild 2461 BLAKE2B 039ee68b2cfc5d2cfe779f8b22cf8c2368082a80c4ab06b23b7d2ca84e05aa812aff8c5e34ec7fc0b2337c5581e8350304c5771ccf72b643a2b73ffdd22bbeb4 SHA512 308a74155d594ab67bd17cb7ca8cb90bfcdbc1575859be8dfa26415c6d32a74249ddeabb17e1957cf1449031eb3b6652cd01762e62be18c6b4fe7115ffc7a3a4 MISC metadata.xml 259 BLAKE2B 8c0dbb14e3352c1c5ee3a0331d2ecf20277153f56cd49df743368b319f52173e6c95338fcb2844d9abd5222029239bd60e95789512cb486789c79d099ee81cde SHA512 301466f584c5c44f450e104d0388b2b2daa8654ac034bba953e3833be4affb95f20880072030823ff5b9c197a84749fd2a501fce5f891c7b829e8e54601b87ec diff --git a/dev-db/percona-xtrabackup/percona-xtrabackup-8.3.0.1.ebuild b/dev-db/percona-xtrabackup/percona-xtrabackup-8.3.0.1.ebuild index c84d5bb7801d..f563902d8dd0 100644 --- a/dev-db/percona-xtrabackup/percona-xtrabackup-8.3.0.1.ebuild +++ b/dev-db/percona-xtrabackup/percona-xtrabackup-8.3.0.1.ebuild @@ -21,7 +21,8 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +# Only supports 64-bit (bug #940127) +KEYWORDS="~amd64 -x86" DEPEND=" app-arch/lz4:0= diff --git a/dev-db/pg_top/Manifest b/dev-db/pg_top/Manifest index c67c117172ae..d8dd3f868e7c 100644 --- a/dev-db/pg_top/Manifest +++ b/dev-db/pg_top/Manifest @@ -1,5 +1,3 @@ -DIST pg_top-4.0.0.tar.xz 117920 BLAKE2B 5c13fd868804492ccce3b660875602df958f065126f9dc17f45ebcac7961384cd1d3d3313da49832a1219ea7e86ae78cbbdb975467b13b32d5f836f5cd33a443 SHA512 b7a016137495ceecdcf0ac0e95c73b7eca20b57264f7b63b0a38c3f31db742c704ed0094e07f6df051bce9bc26214f5a8f66ced1e923bb66e0c86fff1e2ffc19 DIST pg_top-4.1.1.tar.xz 103128 BLAKE2B 6899b3e4963880aff9e4b3d94441903ea6a2141fb2cac56821c9ca3a5333cca4ed6a80c83f6feef34c9fe634c7c7b2d9ab1fbaba844b0485d7a5edb2e5bc9598 SHA512 bc58b0aaf02326d90cd7e6ed894021edf20dd6f7b67125d856bec474afe16cb6f096506c73becbde4a104c61fe62e5281df02f16c7bdbdd74478faa1e91ed9ae -EBUILD pg_top-4.0.0-r3.ebuild 556 BLAKE2B 18fc9add528f0a74cf5d1f1b82e6ff79c962f19f617bc65a549c9adedaefe5cbfaeb1b82101bc72c134915aa7612b94dd48b66164d600200076cd499d5ddb855 SHA512 d73fe03ee28c23b72bc64bc376d144936b69442db71731b2dd945249232ffd02b87dc176642ffc5e8de1588d1b29100c2b1a586da88fc4c9c5d0c6b348275fc3 -EBUILD pg_top-4.1.1.ebuild 558 BLAKE2B 697d25bee26a3f9e6e4c09554ba099f1c190390639eb0da18f4d5cc0e4c4d30760fa00217125664556cfaa49b8736e509c4446bf5f762947f9a9366da56a1aec SHA512 f571603b668be21ba8600786bddcb82fd262b1adf692fbb5c2f0f0c755cb68b228b3d89b3de6a899a73107e38051012a2d9a562ae10bc26eb3de3edc9ba174e3 +EBUILD pg_top-4.1.1.ebuild 556 BLAKE2B 6a1eb41db0cb3ed48c1bee27a45955de7f2d7ca304fe6d26f3888ff91d0c9beb62c8b6c5cd32ae90df44f9218966b301423d36f1d159ab649f936ea64ef8cf53 SHA512 0391e7e6fbc3e604ad05fdc3c641787bc228721f3009f592f55710635b1761a3c538ff6eed395ed3e5f65ac022144b97be7f5159d4d175135f961850c58da6b2 MISC metadata.xml 540 BLAKE2B 1788f81c174a420261812980f74c0726b8b51fc0fdac8ff254f1ce21fb43340493d0b645ae92bc1fab15cebced7d96946c5933a30ab8fb62c06ba54b69333e14 SHA512 6d6bbdeb2680a7dbb84f237b38d58f0966ae39963fee7136800e4c426b0bf109d2ddba64f94c519fb226f4bd90fbe166d716a6d907f6fc6fc1a1419de27c5653 diff --git a/dev-db/pg_top/pg_top-4.0.0-r3.ebuild b/dev-db/pg_top/pg_top-4.0.0-r3.ebuild deleted file mode 100644 index 5f3dab62c30b..000000000000 --- a/dev-db/pg_top/pg_top-4.0.0-r3.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="'top' for PostgreSQL" -HOMEPAGE="https://pg_top.gitlab.io/" -SRC_URI="https://pg_top.gitlab.io/source/${P}.tar.xz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="dev-db/postgresql:= - dev-libs/libbsd - sys-libs/ncurses:= - virtual/libelf:=" -DEPEND="${RDEPEND}" - -DOCS=( HISTORY.rst README.rst TODO Y2K ) - -src_prepare() { - sed 's/set(CMAKE_C_FLAGS "-Wall")//' -i CMakeLists.txt || die - cmake_src_prepare -} diff --git a/dev-db/pg_top/pg_top-4.1.1.ebuild b/dev-db/pg_top/pg_top-4.1.1.ebuild index d27371e092fe..afcc5c0fc912 100644 --- a/dev-db/pg_top/pg_top-4.1.1.ebuild +++ b/dev-db/pg_top/pg_top-4.1.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://pg_top.gitlab.io/source/${P}.tar.xz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" RDEPEND="dev-db/postgresql:= diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 8539379c6004..e8bed4409046 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -5,7 +5,9 @@ AUX pgbouncer.initd-r2 2204 BLAKE2B 9c417188d4a762906c7631f1ae8fc7c7b8f6c52805ac DIST pgbouncer-1.16.1.tar.gz 591450 BLAKE2B 137193ad614586d708598fd7003af4dee69f03f88a7235ba4074b63d57ffc3ee1c41fbccb49c5df7c23a2272b33810f8c2a9084d98e2e695a3b5f5ec317e0227 SHA512 9ecb7c7ae136d85e3da434094909df3a6ff06ce8586a1848c0c00914d87a877aecbb26ea30ad8230062160f3177621cc16deb4a490e9a2a649c8032dacb86341 DIST pgbouncer-1.22.0.tar.gz 670589 BLAKE2B feb0138c09eb2e3f865f9c372d1924f9fbe67785a52534f8b99783c0bc2d5a54a6fd8b0554ea8ac7d4e8e108fd2296a3a9ae19cb75d628052c45e4a57fd037cd SHA512 1d8f4b352103e17a3905ec0677362954f4b9f606f6dc00011514c2ec46d8c4e8d17b24e9ca92794ccaf4c86c9c77ac062e6be92be7856192b7c534b5a4911163 DIST pgbouncer-1.22.1.tar.gz 677351 BLAKE2B c67eba10b51ae74fb77ad61f7c597b687769e75b687ff9682c16d0ac0b32c0e9d20d4c90cd5803331d128f3f388800faa38dd9965b86c5a75688455db1a06d6b SHA512 ac63fe877f68745f1faab096ee9d9e185de9cab97d4fef121c2c551fa0e69ea22342dc8b5ce75cadff755314e5493a5440f0748b5ee9f524f71d871ec1861530 +DIST pgbouncer-1.23.1.tar.gz 700025 BLAKE2B 60fd69362fe6c4bacdda33064cb0b871ceabe086b22b6fff8762a129e0d1d8332fba1b0abf6dac1ac4426654d84cb283bd86b02fde5229e6c97a7a310c6bf0f1 SHA512 efcd4efa3871a43f2498e4cbbae0c85b98bb7eefa46b6081ceeafd652179e215fcaa74de63941c7e14a919e41f550aff182e2b940c9f8bb0fbf5fffb6440e99b EBUILD pgbouncer-1.16.1.ebuild 1910 BLAKE2B f6ddc0ecff2e75ed4b0c898b5713f524036fe62cfa42d9602798214092cd8c98b14f8b44cd1ef08010dc2768d8c7d2548f91c3246d97a132fc1bd22d0e0e298e SHA512 b30ca00889f08567adb7f7498a38fc3cbae96135f754b8a090c7636b469939e9c337e312e562998384c2ee73f99ed567d52be6fadd20032d5c23843e0c266c29 EBUILD pgbouncer-1.22.0.ebuild 1753 BLAKE2B 2544111c7f9352aebd4ce60ff8ed372ea5c1bf680750aca386806bc5c1fc3859aa9ec212b0cedb12e8857c6dd34651cb9cf917545facfa98dac8163f7bee804a SHA512 c3de79226dfd28598ad79ab27f01e0e3708d00543f16cd2e126a271c4c372b66b57505f1297fcac1da2e0c4740a70b3b3db8e48e1c842d5189b2efb28cc9612a -EBUILD pgbouncer-1.22.1.ebuild 1753 BLAKE2B 2544111c7f9352aebd4ce60ff8ed372ea5c1bf680750aca386806bc5c1fc3859aa9ec212b0cedb12e8857c6dd34651cb9cf917545facfa98dac8163f7bee804a SHA512 c3de79226dfd28598ad79ab27f01e0e3708d00543f16cd2e126a271c4c372b66b57505f1297fcac1da2e0c4740a70b3b3db8e48e1c842d5189b2efb28cc9612a +EBUILD pgbouncer-1.22.1.ebuild 1751 BLAKE2B b222efc5565112bb715b9dc67f382a0b5eb721a3e0259bc5859197a1c4b6d0b823ea0eb86ed7cea60c1c4480f9e245a15e7b5e7884eb935f0a03308296b2eb19 SHA512 a948fcbf8457e5c4adfe1faee71ee5878cc2f5c419490b5fa9276c4bee63f6b98868acdfc060929576224d18450fafc35f140adbc2b4939eda003fa71001a8ca +EBUILD pgbouncer-1.23.1.ebuild 1753 BLAKE2B 2544111c7f9352aebd4ce60ff8ed372ea5c1bf680750aca386806bc5c1fc3859aa9ec212b0cedb12e8857c6dd34651cb9cf917545facfa98dac8163f7bee804a SHA512 c3de79226dfd28598ad79ab27f01e0e3708d00543f16cd2e126a271c4c372b66b57505f1297fcac1da2e0c4740a70b3b3db8e48e1c842d5189b2efb28cc9612a MISC metadata.xml 473 BLAKE2B 9a55701f54f80f87559e57543574c98ad69eb8af4f6f93df3f115d55f3f3a8abf712a42e6f7b36dccb9813ec37d03924f001f4dce2b626f80658d29618068bbe SHA512 82f8d497578074d070bd0ee269ad49f58809524e17f444fb557a7a2dfd7f143d40700208a66c074d508d33be94efa4c021486642624fb416e6da735855ecd66e diff --git a/dev-db/pgbouncer/pgbouncer-1.22.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.22.1.ebuild index 1647a74fb4c5..39495217565b 100644 --- a/dev-db/pgbouncer/pgbouncer-1.22.1.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.22.1.ebuild @@ -8,7 +8,7 @@ HOMEPAGE="https://www.pgbouncer.org/" SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="+c-ares debug doc pam ssl systemd" RDEPEND=" diff --git a/dev-db/pgbouncer/pgbouncer-1.23.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.23.1.ebuild new file mode 100644 index 000000000000..1647a74fb4c5 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.23.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://www.pgbouncer.org/" +SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl systemd" + +RDEPEND=" + >=dev-libs/libevent-2.0:= + acct-user/pgbouncer + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) + systemd? ( sys-apps/systemd ) +" + +DEPEND="${RDEPEND}" + +# Tests require a local database server, wants to fiddle with iptables, +# and doesn't support overriding. +RESTRICT="test" + +src_prepare() { + eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with systemd) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.md + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo " man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +} diff --git a/dev-db/pgcli/Manifest b/dev-db/pgcli/Manifest index 790beea33323..391804c33a8b 100644 --- a/dev-db/pgcli/Manifest +++ b/dev-db/pgcli/Manifest @@ -1,4 +1,6 @@ AUX pgcli-4.0.1-no-pendulum.patch 3569 BLAKE2B 52379d64088803fd51d9535d7ac13bae34ea866c74e5a7c87a92f12f6bb8c25179b392f2bf9eb112770ccacad46d886f4bbfd39ff6ada1016301daf7123b1d0a SHA512 1d7fb9562b1e7bc4b4953e041d6e5620850b5f355ab8adaec7392579926a3b2a41661c6d1579b514d4763a171885d8d35df11b22ea03c576eb73cd987fbc89f2 DIST pgcli-4.0.1.tar.gz 646421 BLAKE2B ceb0537344d1fc4c22fc424b7d1df809515778e9d1e492aead517c904ed6274f8c330e1f9bd73da377543e0d078acc8c385951a6717784205dbff0ab427b2d49 SHA512 eba490b979d7b1120eda817c3fe2afc2f2a8e4608e67e41be9b73597dc51027fbe013d5f72f8a6f2853c85395fb51f622dcf6b30c8d2185e5d9a9c1aada378ba +DIST pgcli-4.1.0.tar.gz 651048 BLAKE2B d5fd9dcce5ebaaa2ece556891a6a7d0e6fc9a82d20490a3a0a0a6f9eb445305a965057bfff8cdbed88e5a8494a647d566f8754f67194ce674173f949382b710d SHA512 77e19e953d8793527352efdd145742de8eba09f5ebfbf054fd53e06286b0411a3e11d9fe7b3d1f1d0f8ce275eba8f7148c6f271326fe7e912ce261c2a25e890c EBUILD pgcli-4.0.1-r1.ebuild 1366 BLAKE2B f6b68b1bc4dc44f2ba78960d74b2817c2a0d4f18b425fed6a590e0de92d44385d48e8082ad08da1555fae094000449780c35d8e904531f0d652d735f8b9e7c0d SHA512 55ba0a1344de3dafbe73b5d6c77ac7246770b95c93557ba2c5998fd6afe6e479433b11e9f8f424374d3df89d23d3080b61653508a3aebc5fbb3fb7b9fdbc35da +EBUILD pgcli-4.1.0.ebuild 1271 BLAKE2B 00e9c1e8c2e516e220bfaf1ab5b38c9b32d8d128b3bbf59fd6364ec15b6f994ce0f851d02b5c7faaef6db58e0bd9567e94d7d0ce1ae01fae18bb734936e43594 SHA512 22ceed3f0a8759a43cb940904095affefee53620d32948d21189c61727806b39ca4cadcbb105845843cf6bbc355cdf1362753a0e2bea630f292ecd537c382ccb MISC metadata.xml 359 BLAKE2B c8107f0af400492e5365311f645a91c0a56448f3f2983c470c8e8eb08126202f2b5895978971f5f77eec87bbe29e4f198d954dcd87b14b2cfa019fb98dbfe272 SHA512 bca1ac9cb841c4b17c07b6a581d54f860fe384ce139b9894fcdb442024f75ef7996ea55535be177472dc5149e1dd1cf4859181210bbcd637f6b82b8816334cc4 diff --git a/dev-db/pgcli/pgcli-4.1.0.ebuild b/dev-db/pgcli/pgcli-4.1.0.ebuild new file mode 100644 index 000000000000..992a27446914 --- /dev/null +++ b/dev-db/pgcli/pgcli-4.1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 + +DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting" +HOMEPAGE="https://www.pgcli.com https://github.com/dbcli/pgcli" +SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="amd64 ~x86" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + >=dev-python/cli-helpers-2.2.1[${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/pgspecial[${PYTHON_USEDEP}] + dev-python/prompt-toolkit[${PYTHON_USEDEP}] + dev-python/psycopg:0[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/setproctitle[${PYTHON_USEDEP}] + dev-python/sqlparse[${PYTHON_USEDEP}] + dev-python/sshtunnel[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/postgresql + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # hang while trying to create a keyring + # https://bugs.gentoo.org/925085 + tests/test_main.py::test_pg_service_file + tests/test_ssh_tunnel.py::test_ssh_tunnel + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-db/pgxnclient/Manifest b/dev-db/pgxnclient/Manifest index 10c1264a6c5a..53f51f6f80d3 100644 --- a/dev-db/pgxnclient/Manifest +++ b/dev-db/pgxnclient/Manifest @@ -1,3 +1,3 @@ DIST pgxnclient-1.3.2.tar.gz 86146 BLAKE2B 452eb33999362b97c4f65aadcc9d19f1a24534fd7647b0ad66bbe8b87d006cee59ae5de71551be7bcd42402f40bdc551946bb38e960f217617357fb65657f161 SHA512 ce4e2b7512e4fc8f36ee9ebb7280096bdc18c5c372bb483c8cec35b7e5d5c0f19c256d1a916b5f9b2adb96c80736524df9dee90dcd7e76bf4b1af13fbf8d96bc -EBUILD pgxnclient-1.3.2.ebuild 866 BLAKE2B c1a1dabdac01818e652815439c97f0f3a581c8a7f5ab957b85af85d5da13c2b5fe288c5cb6cee07e1b7a69b113370f8383f39785d0a1bdf4a00ec3f10558bbcf SHA512 9c4f62c5200133fcbe352a79431d1a2beb9edf4abafe1fdfbed437c8e47f0720e68962968aff888584c5a92f7fcd089eb8b95fcf878ed6ecccfcd1ce5da073f8 +EBUILD pgxnclient-1.3.2.ebuild 860 BLAKE2B 92f2c042bcd7d727c5f4c2812c2cb622af186772f1e884497e8971e91dbbaa61c1846ef1c2c151ef1b8d54c21edf8d61b4a409400b70c2b60f54b10b65ccaf3a SHA512 5bdb4adc90de9e8b910ad29a44ab4cc521eaf0f072700a2f67ab3905369f0dd468ffdced77108aed0843d7344d75b0a2192e248c1be7c9a3a2b67b05a0058a75 MISC metadata.xml 478 BLAKE2B 61f149978926254d3c5574857bb50e537749883239b8ba14d4bed46848ea57be598f55176a7429456205576d6560197521e05583a96e54feccf05caa38d7b8ed SHA512 70195e6ae236aa62b11cc49c8e96f3183b60414986a96a98766debabf5a4c0ec76e2761415b20e426eee2515b65e0ce1ac541a2b93b5787a20c54b23d459d448 diff --git a/dev-db/pgxnclient/pgxnclient-1.3.2.ebuild b/dev-db/pgxnclient/pgxnclient-1.3.2.ebuild index 586adb9e7094..fb552f7a8dcc 100644 --- a/dev-db/pgxnclient/pgxnclient-1.3.2.ebuild +++ b/dev-db/pgxnclient/pgxnclient-1.3.2.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="PostgreSQL Extension Network Client" HOMEPAGE="https://pgxn.github.io/pgxnclient/ https://pypi.org/project/pgxnclient/" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" LICENSE="BSD" SLOT="0" diff --git a/dev-db/postgis/Manifest b/dev-db/postgis/Manifest index 0dcd9425ab4c..6897c95894de 100644 --- a/dev-db/postgis/Manifest +++ b/dev-db/postgis/Manifest @@ -1,23 +1,10 @@ -AUX postgis-2.2.0-arflags.patch 535 BLAKE2B 6420573e9623d4e2115ed3616bc3b8648ae7782bf4624ee60d3827a4d61cbdac1dc62b4937f36113ed6d0856af4728f5cc1b544d502512e88dd87a7b590135ab SHA512 7f8b92a582dd11b3040832278b75e65036315ca0e438cb9b19cc5b63a7b5c5bcae8ec274a487a29abadfbbc31cdfacf6c668e46f249d4bf88c09607501cacf66 -AUX postgis-3.0.3-avoid-calling-ar-directly.patch 2302 BLAKE2B b45f5c1e3bfd694acc2ee9a07ba5e47eb02fae1cb53786ebc9a25e00c06510d411437cec1dd12984bcc9ebbddba3fe43e8b3cf6f5d63b25a5e0b6a33680e6074 SHA512 856b06dd9cbaf3ad7d8e62d749ef703bfd98402a904a70bacca22c86c857634d70912882c487a06c1ddaa34e299419564d73e62fe2c2a64a066b3895a88dab3e -AUX postgis-3.0.3-detect-only-stdc.patch 813 BLAKE2B 837b1bcd9dc2084d452dc3403293c159fac081f9564783a787bfe4a22af4486207f84d9f426926acd106d50d83ffaf239abb671eeba75d12677db00a9aab27b2 SHA512 cf950a100dda547caf7f1da3f92cd4f070d4f6e0e864be5cf049c1904ee2ad7e4cdf3f19468a591bdab1e921728d62ba143a4be54f22502d1fd47ee6a0839225 AUX postgis-3.0.3-try-other-cpp-names.patch 459 BLAKE2B ff9b529a733861956062303e7e3e95979411e33de2c82b8849ba30fa4fc1fad4f030acac667eb33c5a3ce6801025a41a62a0b27b2fc3f198fa98417038bb1e3f SHA512 f7da42b7ecf9efa1a203c0096d8d4d292ff2d5a2d61cdb816a53a37fbef6956a8a6f309c45c9c7132fb7d5cf7c27ee4ebf10cbfd9185d8de66c777cc7fa049f9 AUX postgis-3.3.2-flatbuffers-abseil-2023.patch 1640 BLAKE2B 7d9efcaca113e52829282b6aeaaa6459321954fa0fa061766a76ea3b1f7b6bba6167b52293000082f3a9c6cb9ca77429604d6e7cc391e039b57aaa096ea62eb0 SHA512 46f5823624e623edd1e4b03c6d436569acfe0e7444dbf06fe907aad666ba0281dc080370bad234bc5ed84b070447b0518edab06ac843a67507ba178c64b777bf AUX postgis-3.4.0-without-gui.patch 491 BLAKE2B 6c2ff929b453986045e6ecddc30345922229ea929ae43c1c2c7b61f87caf3f9169438fb38621ca3cfecd770084d8a796e18a10a96b981a09a799f346aa76468c SHA512 e80e55f05e06460a151303c80252c34d59dda8340950fd334808bb8c9f214404fd2580f14653b80b67bf126b172e6969df75ce1f1ab22d54d2d6f775ce56d095 -DIST postgis-3.1.11.tar.gz 17283655 BLAKE2B 237bb80ab4e38f0c6f70e6c445b3fbf0d1d547fafb1b7fd7259ace9df7775c6f01f0b9f6c6e74a9a811c5c7e3e6484c9b99b48a5e4753da807e6e05fce4c024e SHA512 0a91e1b1ce336cdc4763bafaf01f98b1bcb80f6e786feb5156fd8841ea8273df28735bf6f185108b27a30dd4a841f414f4400feaf5ebd3684d5a3272ef805715 -DIST postgis-3.1.8.tar.gz 17285335 BLAKE2B 212a74866de5b8788b91cfa6d8b3a064df2933c76c8930e3c7bba310b36b4e7249de2d7481e852679da59bb9bdb3315752b62ad70176601b7110401f368200bc SHA512 c28befe1f77e7f36d63b39d027024d3f8abe8496c64c4b3c05eb7c32c3a885e824cabdda5bf0f9f320b9fe15bb97f21d5dfb65a193c64b1e27be95badefe3b37 -DIST postgis-3.2.6.tar.gz 16886873 BLAKE2B 9bf8375c08d434c0eace1807154c041d0638446385ed67a68c734fa4f5d4e0938bbc1d0761e22db497bc9379e380e6ff8b1e42476b78530f0351f7d242720120 SHA512 30e8a5b9af8a1bb12ed90daa89c71471193142dd7876b7618f237c1dab97a3f5941181cd159a6f33e34b62e6526da4e778f76b658de6fc6861d26e0dd96d10a0 -DIST postgis-3.3.2.tar.gz 17793976 BLAKE2B 40dc7636f04e0d5cfd734b175da1ce49c32e4b8f5750059e79e03a7395fb8b9241c1f479815794b46dee81704d7c392fe7693c9f0180323d1ca21812c37d36b5 SHA512 4dd129057598b032ba322c42888bb8ce14b9423bd450ef7a42fa22162f6b48e34b226f38480aa67fe2da85be2529b0822655855f9846b657bdd32f50256f4305 -DIST postgis-3.3.6.tar.gz 17803608 BLAKE2B 01b3a789df0af8716beefe027a46b59dfcbcee4a8a92f9e067ca1955992fa24a3e890efeb9f83200071f7d267f541444884dd7f76b225d43dbf8961376eff1da SHA512 643527d80bbc0fc29f4639b24634090b2b9a042a3f0d8224afcd7fe4a149e65dba1015c29d08ff0a53da5eb95cb6b37cf544ada36005284eccdd58de3c791419 -DIST postgis-3.4.1.tar.gz 14942851 BLAKE2B 98ef490b08438c5ee35409a1c5c63d985d3024325d607a7a150b197aabb8baaaa70ec8c4bd5134136f92a106e6b1c885e3adb99aa325282122bc37d84db0d83f SHA512 66f460077066372276783d8e7acefb0d61ae5fbf7e2d3bbb7008d9289a65adfe78eb8431eee4bbdd3f8e5a9e37653e396d659f46bb285edab00ed57277fae2c7 -DIST postgis-3.4.2.tar.gz 14957647 BLAKE2B 30951950ae24ae0e0432658ef09ec95ffcf0ef377f79e45fb302f20b40d773c9d551d4ac2a07eab4f743ebeff2aae4730c8b7c2516c36a17f44a1410fbdc3069 SHA512 9dc3b78d9b4bd3d48e7eed96fc8da460177d33df2ec5bfef631b7ef39e056a243499732c9cc19274796b522bef83486eac2cea583a92a2cb18d6d329040c5ef0 -DIST postgis-3.5.0alpha2.tar.gz 15014794 BLAKE2B 7268b5e0820687bb3b3a92cc6f419d14e8a7a48d8d9ea456c020e6ddb080d7b9aff044b894c52db8c013146dcbfc2cf042d24c1508118567ce33c03bc2213b73 SHA512 aa51d7ce2b4d0d64a30f527698e551e40dfc8752e83ff2028924a7da13394aa97de9a7e67612afbb890fcde651b2140a0379d61c7e29681014a191701dc8693d -EBUILD postgis-3.1.11.ebuild 3321 BLAKE2B 8281e9009a8b551fe4532a7b445090bfa2408ba296fbe391141c4a41e69a9c95e5467f1ae9a77d728fe2db531d7fde857c72ad7d0e42988d26d4dc3b875a2242 SHA512 1b6734046a23100a6176131ac866daf0523a11a6997f26c0864df18fa01e74690a48c41e2a7451a78aa75ada8f3ad75f0021790aaaa9deee78b3a9ad873e5be2 -EBUILD postgis-3.1.8-r1.ebuild 3319 BLAKE2B 749ea59ef644ebe652b7653acc1198d2ae2185b86d876f52b7c54b4f42a407a7fc82d9a74910d9159f8e6585c69eb810f91ebb90f9a096d5bc6a4d5f6b27e220 SHA512 b5d128be3ac12e6c7f9bb2567b9eb7a5119fdfdf81b4859a6ad5a008414bd9d8f9d0492f441b5ea8b414eb2531c2a9e1f451c2e52548bda32620bcc775698d42 -EBUILD postgis-3.2.6.ebuild 3328 BLAKE2B c5fe60e00a1517d83f996b89a8a3b35e7aad8d1efece4e0b2abc748cf7d96c6e77afd6569320663c8904717be4e1287146166dc9c04e32619554e93b05a36356 SHA512 cea7dcfaaffcce5031812f3f60b32546fd9737b23f6fd957f1061d9d22d97ccca9dcf7287581ea27efa4e2b1990dcbe4602504adc086dbfe03d73f6abcf0c62a -EBUILD postgis-3.3.2-r1.ebuild 3287 BLAKE2B af284a892ee0204fcc287b5dc25610c5b93614c69822140a5f83cd0d010a9a4e871c2ced6ae857272a0084efb54baaea95a64d859d5c128fc2fcdf1838f32619 SHA512 1c77890c523174a1c39a48bda25c8661a244374d3a76610f31d96d1be1b23ea1d45095ac51dc173a038ce11f1ccc2fc61ffcf679d7c02119aa987cbcade8b9e6 -EBUILD postgis-3.3.6.ebuild 3167 BLAKE2B 769dc280ba72fcca726e023a98ad66cbd00347a5cbb32bf0988afd3a42a0aae48ebd91277b3a195b7178009ed77c345d1d86e4ee2f500a9d856afb419fc7a61f SHA512 f8cda89c2bee25ee66421464cddfe997a90067a870ffb138d439e5873eb986d48b73eb2957afc98983c8164ffd53cccba56e3be173463cf8014251b74cc76dd7 -EBUILD postgis-3.4.1.ebuild 3294 BLAKE2B f0c02c1ad6dfb5ec274d4eff1b38e57351c94d05a877f8e928bcf4126d025b092c460e8ce33708ad75e0034e95ed568c86886b4ea63f9d106609f99911141ece SHA512 acec537baac97d5d206960feb16eac89dbaebfcb057f99c4a4de16fa7a547bc3edf1ce5470c5f128b3f77a9590e82b99692f42ed9e83ca62cc385d074bbcfad8 -EBUILD postgis-3.4.2.ebuild 3294 BLAKE2B 1652298e352c903a86663947414ad395a66862585f57b5c6f6529725d8cdf473c92f00ffee738838cc9ec23437080478c52b64a1f22fe4cf332a162704b243d6 SHA512 08b88a3c358342fc9b55cbaadfa07f908f060556cc8d220325c338c78fcb23e905198ca1b8cd70419103116a32bbfbc318aaed864bbee0a5439afb935a649049 -EBUILD postgis-3.5.0_alpha2.ebuild 3084 BLAKE2B 2c727e20f485f13a635713f06fa6b02cf8ebf1d3b88fb591c2028207333a665f66a014ee3f554312ca6dc94a665d8a5c4105fcaa31a93b7ed6f0464d16e665d0 SHA512 bf28cb27f79ddbe8e4efd14da5df4e0b6e18ca0d46d85cfc656c5dca36f08d019545d26f33acbc9b2c6adf3186ac10fbdcd621e81d0108815d66c2768ef4b645 +DIST postgis-3.3.7.tar.gz 17782849 BLAKE2B 8f9b1f27c33727a9a24a53972dee67057c4230d0f1f01af352ff6b740d880b9acb7fccbacb5c2cc614c58adadace2cd6be9a1f52a7ce12cc20dbc2a99aa808d7 SHA512 007f0f6fc9b1256f3e7c4536d5d37c0b715fe285613804805567a4000d1ec9a132650b44f585ed184f5ad5209459e11a9464c5caf3ca285b2b230cf89ccf7709 +DIST postgis-3.4.3.tar.gz 14957514 BLAKE2B 2c472a66d6063c70a2a5b7d42953233c9d24ee4f283e5837f74b231e0c034ba395e6f84dda9b14a46766ef6f1196c39aa7795d99b50ada106a66b2569ffdd6b4 SHA512 92da910fa87a618e49ab16bcb3d9b4403dc4e08bdfd599631f5b7c7a4955258a1a9e4efb1d982c30ef3a395631f52d055f321a1c17b1b7fe22403580671a2dab +DIST postgis-3.5.0.tar.gz 15031829 BLAKE2B a641eaa7b0407108e332bf6f244fef0d22d21ed34c16c2f3cb718f49acf9a0bb3b1bf8b1ec3d7eb4f731beeb652f37f666ff4b8d44c5a66db7da4a9a555caa38 SHA512 baf81b9133db34c87ecb5e019497df89fba9faf293ae2f2e4fa5578dbe608ff5310b5ca718a7bf94e76af51bf7b8ec4b1f69fad91412017d70cdcd70492ae9e5 +EBUILD postgis-3.3.7.ebuild 3165 BLAKE2B 88491d911e35a591db9f8129b35363d4304648a4e0d913927c8654ca58fd23e96e9cd325c1f07c4ea0d3be6b38ec5c77f2eec59890f64070a2100d712250e80a SHA512 8df61dfa0539fc0e61777ea49653c54426d87bb9da485cc92d5a25f38c2ccfe8659ec0d0b5ef0574cd8e05966128343e9126fb2801d5d02392304e957039acd2 +EBUILD postgis-3.4.3.ebuild 3294 BLAKE2B da49f7d3046cbf5180e0ac35dea6b241bf55d12e732f55149f07d1274da4811d453c8d303d91ad17e2e9c9c24327a899266eeda66e4602df58cfbaf0b8880daf SHA512 68c42f60c5f338799ff79b9abf1b750210f9fce512a207d07b317a5bf4a66e78f897078c7fa628ae1e04e3bd46f415a70b22095d67f21ddefdb743e1ea802f12 +EBUILD postgis-3.5.0.ebuild 3119 BLAKE2B 9e441e7a454e1ee6e9eb999d3f80db275459a5dba5ae58885bb18d1a8b9d3afedbb7819946f61463c92c8157f52e535e3881a0086a5cf5aa3314d6311db64bee SHA512 1b9a4d2014015b60934751df412af6a411e1f04ffe94e5a6252a46f505de9c6020862cc9067c7f8001442708a6bc678964f82a6adaab803ad18ae9d768e01150 MISC metadata.xml 818 BLAKE2B 1f49aad6ae27cc838c1eb0908eaec3eda84400174b0ef20a7afd828a3212b0215761e3c6d8dcdb2b62cbb8c7bda7266854d93b02f121c253ae8618cb917e39ce SHA512 c344b128ea11c07a098bb5cf6f6cdf67677a43a6d40222e74258b26951774cf59ec9ad61b515cc6f5abaf5eb99593b38c66fbeabe3f7fafa52e16e055cb7f119 diff --git a/dev-db/postgis/files/postgis-2.2.0-arflags.patch b/dev-db/postgis/files/postgis-2.2.0-arflags.patch deleted file mode 100644 index 97770042d8f6..000000000000 --- a/dev-db/postgis/files/postgis-2.2.0-arflags.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naruw a/raster/rt_core/Makefile.in b/raster/rt_core/Makefile.in ---- a/raster/rt_core/Makefile.in 2015-05-13 14:13:18.000000000 -0400 -+++ b/raster/rt_core/Makefile.in 2015-12-14 16:49:49.166156232 -0500 -@@ -18,7 +18,7 @@ - # - ############################################################################# - --AR = ar rs -+ARFLAGS = rs - - CC = @CC@ - LIBLWGEOM_LDFLAGS = ../../liblwgeom/.libs/liblwgeom.a -@@ -64,4 +64,4 @@ - rm -f Makefile - - librtcore.a: $(RT_OBJS) -- $(AR) $(RT_LIB) $(RT_OBJS) -+ $(AR) $(ARFLAGS) $(RT_LIB) $(RT_OBJS) diff --git a/dev-db/postgis/files/postgis-3.0.3-avoid-calling-ar-directly.patch b/dev-db/postgis/files/postgis-3.0.3-avoid-calling-ar-directly.patch deleted file mode 100644 index 66a82e1e7261..000000000000 --- a/dev-db/postgis/files/postgis-3.0.3-avoid-calling-ar-directly.patch +++ /dev/null @@ -1,85 +0,0 @@ -From 7c5acb8ab83ee278f6a16c7279c3a12ca93499e9 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl@gmail.com> -Date: Sat, 5 Dec 2020 13:38:03 +0100 -Subject: [PATCH] avoid calling ar directly - -Signed-off-by: Bernd Waibel <waebbl@gmail.com> ---- - configure.ac | 2 +- - deps/wagyu/Makefile.in | 4 +++- - libpgcommon/Makefile.in | 4 +++- - raster/rt_core/Makefile.in | 1 + - 4 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 4f26390..362d3e6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -14,7 +14,7 @@ AC_CONFIG_HEADERS([postgis_config.h]) - AC_CONFIG_MACRO_DIR([macros]) - AC_CONFIG_AUX_DIR([build-aux]) - AC_PROG_INSTALL -- -+AM_PROG_AR - - dnl Invoke libtool: we do this as it is the easiest way to find the PIC - dnl flags required to build liblwgeom -diff --git a/deps/wagyu/Makefile.in b/deps/wagyu/Makefile.in -index 03d2279..05d6629 100644 ---- a/deps/wagyu/Makefile.in -+++ b/deps/wagyu/Makefile.in -@@ -28,6 +28,8 @@ LDFLAGS = @LDFLAGS@ - top_builddir = @top_builddir@ - libdir = @libdir@ - LIBTOOL = @LIBTOOL@ -+AR = @AR@ -+ARFLAGS = rs - - WAGYU_OBJS = \ - lwgeom_wagyu.o -@@ -78,7 +80,7 @@ WAGYU_HEADERS = \ - all: @WAGYU_LIB@ - - @WAGYU_LIB@: $(WAGYU_OBJS) -- ar rs @WAGYU_LIB@ $(WAGYU_OBJS) -+ $(AR) $(ARFLAGS) @WAGYU_LIB@ $(WAGYU_OBJS) - - $(WAGYU_OBJS): %.o: %.cpp ../../liblwgeom/liblwgeom.h $(WAGYU_HEADERS) - $(CXX) $(CXXFLAGS) -c -o $@ $< -diff --git a/libpgcommon/Makefile.in b/libpgcommon/Makefile.in -index c44cf5b..78eb282 100644 ---- a/libpgcommon/Makefile.in -+++ b/libpgcommon/Makefile.in -@@ -12,6 +12,8 @@ - CC=@CC@ - CFLAGS=-I../liblwgeom @WARNFLAGS@ @CFLAGS@ @PGSQL_BE_CPPFLAGS@ @PROJ_CPPFLAGS@ @PICFLAGS@ @GETTEXT_CFLAGS@ - LDFLAGS=@GETTEXT_LDFLAGS@ @LIBINTL@ -+AR = @AR@ -+ARFLAGS = rs - - NUMERICFLAGS=@NUMERICFLAGS@ - -@@ -39,7 +41,7 @@ all: libpgcommon.a - install uninstall: - - libpgcommon.a: $(SA_OBJS) $(SA_HEADERS) -- ar rs libpgcommon.a $(SA_OBJS) -+ $(AR) $(ARFLAGS) libpgcommon.a $(SA_OBJS) - - maintainer-clean: clean - -diff --git a/raster/rt_core/Makefile.in b/raster/rt_core/Makefile.in -index 380a3e7..b399661 100644 ---- a/raster/rt_core/Makefile.in -+++ b/raster/rt_core/Makefile.in -@@ -18,6 +18,7 @@ - # - ############################################################################# - -+AR = @AR@ - ARFLAGS = rs - - CC = @CC@ --- -2.29.2 - diff --git a/dev-db/postgis/files/postgis-3.0.3-detect-only-stdc.patch b/dev-db/postgis/files/postgis-3.0.3-detect-only-stdc.patch deleted file mode 100644 index 5b97102bb236..000000000000 --- a/dev-db/postgis/files/postgis-3.0.3-detect-only-stdc.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -Naruw postgis-3.1.0.orig/configure.ac postgis-3.1.0/configure.ac ---- postgis-3.1.0.orig/configure.ac 2020-12-18 14:39:26.000000000 -0500 -+++ postgis-3.1.0/configure.ac 2020-12-19 07:35:13.232167083 -0500 -@@ -1501,12 +1501,9 @@ - dnl ============================================================ - CC="$WAGYU_CXX" - -- AC_CHECK_LIB(c++, main, [HAVE_CPP=yes], [HAVE_CPP=no]) - AC_CHECK_LIB(stdc++, main, [HAVE_STDCPP=yes], [HAVE_STDCPP=no]) - -- if test "x$HAVE_CPP" = "xyes"; then -- WAGYU_LDFLAGS="-lc++" -- elif test "x$HAVE_STDCPP" = "xyes"; then -+ if test "x$HAVE_STDCPP" = "xyes"; then - WAGYU_LDFLAGS="-lstdc++" - else - AC_MSG_WARN("Could not find a C++ standard library") diff --git a/dev-db/postgis/postgis-3.1.11.ebuild b/dev-db/postgis/postgis-3.1.11.ebuild deleted file mode 100644 index 2d2522b17ba2..000000000000 --- a/dev-db/postgis/postgis-3.1.11.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -POSTGRES_COMPAT=( 9.6 {10..14} ) -POSTGRES_USEDEP="server" -inherit autotools postgres-multi toolchain-funcs - -MY_P="${PN}-$(ver_rs 3 '')" - -if [[ ${PV} = *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" -else - PGIS="$(ver_cut 1-2)" - SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -fi - -DESCRIPTION="Geographic Objects for PostgreSQL" -HOMEPAGE="https://postgis.net" - -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -IUSE="address-standardizer doc gtk static-libs topology" - -REQUIRED_USE="${POSTGRES_REQ_USE}" - -# Needs a running psql instance, doesn't work out of the box -RESTRICT="test" - -RDEPEND="${POSTGRES_DEP} - dev-libs/json-c:= - dev-libs/libxml2:2 - dev-libs/protobuf-c:= - >=sci-libs/geos-3.9.0 - >=sci-libs/proj-4.9.0:= - >=sci-libs/gdal-1.10.0:= - address-standardizer? ( dev-libs/libpcre2 ) - gtk? ( x11-libs/gtk+:2 ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( - app-text/docbook-xsl-stylesheets - app-text/docbook-xml-dtd:4.5 - dev-libs/libxslt - virtual/imagemagick-tools[png] - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-2.2.0-arflags.patch" - "${FILESDIR}/${PN}-3.0.3-avoid-calling-ar-directly.patch" - "${FILESDIR}/${PN}-3.0.3-detect-only-stdc.patch" - "${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch" -) - -src_prepare() { - default - - if [[ ${PV} = *9999* ]] ; then - source "${S}"/Version.config - PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" - fi - - # These modules are built using the same *FLAGS that were used to build - # dev-db/postgresql. The right thing to do is to ignore the current - # *FLAGS settings. - QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" - - # bug #775968 - touch build-aux/ar-lib || die - - local AT_M4DIR="macros" - eautoreconf - - postgres-multi_src_prepare -} - -src_configure() { - export CPP=$(tc-getCPP) - - local myeconfargs=( - $(use_with address-standardizer) - $(use_with gtk gui) - $(use_with topology) - ) - postgres-multi_foreach econf "${myeconfargs[@]}" -} - -src_compile() { - postgres-multi_foreach emake - postgres-multi_foreach emake -C topology - - if use doc ; then - postgres-multi_foreach emake comments - postgres-multi_foreach emake cheatsheets - postgres-multi_forbest emake -C doc html - fi -} - -src_install() { - postgres-multi_foreach emake DESTDIR="${D}" install - postgres-multi_foreach emake -C topology DESTDIR="${D}" install - postgres-multi_forbest dobin ./utils/postgis_restore.pl - - dodoc CREDITS TODO loader/README.* doc/*txt - - docinto topology - dodoc topology/{TODO,README} - - if use doc ; then - postgres-multi_foreach emake DESTDIR="${D}" comments-install - - docinto html - postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} - - docinto html/images - postgres-multi_forbest dodoc doc/html/images/* - fi - - use static-libs || find "${ED}" -name '*.a' -delete -} - -pkg_postinst() { - ebegin "Refreshing PostgreSQL symlinks" - postgresql-config update - eend $? - - local base_uri="https://postgis.net/docs/manual-" - if [[ ${PV} = *9999* ]] ; then - base_uri+="dev" - else - base_uri+="${PGIS}" - fi - - elog "To finish installing PostGIS, follow the directions detailed at:" - elog "${base_uri}/postgis_installation.html#create_new_db_extensions" -} diff --git a/dev-db/postgis/postgis-3.1.8-r1.ebuild b/dev-db/postgis/postgis-3.1.8-r1.ebuild deleted file mode 100644 index ad3b284701bd..000000000000 --- a/dev-db/postgis/postgis-3.1.8-r1.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -POSTGRES_COMPAT=( 9.6 {10..14} ) -POSTGRES_USEDEP="server" -inherit autotools postgres-multi toolchain-funcs - -MY_P="${PN}-$(ver_rs 3 '')" - -if [[ ${PV} = *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" -else - PGIS="$(ver_cut 1-2)" - SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" - KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -fi - -DESCRIPTION="Geographic Objects for PostgreSQL" -HOMEPAGE="https://postgis.net" - -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -IUSE="address-standardizer doc gtk static-libs topology" - -REQUIRED_USE="${POSTGRES_REQ_USE}" - -# Needs a running psql instance, doesn't work out of the box -RESTRICT="test" - -RDEPEND="${POSTGRES_DEP} - dev-libs/json-c:= - dev-libs/libxml2:2 - dev-libs/protobuf-c:= - >=sci-libs/geos-3.9.0 - >=sci-libs/proj-4.9.0:= - >=sci-libs/gdal-1.10.0:= - address-standardizer? ( dev-libs/libpcre2 ) - gtk? ( x11-libs/gtk+:2 ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( - app-text/docbook-xsl-stylesheets - app-text/docbook-xml-dtd:4.5 - dev-libs/libxslt - virtual/imagemagick-tools[png] - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-2.2.0-arflags.patch" - "${FILESDIR}/${PN}-3.0.3-avoid-calling-ar-directly.patch" - "${FILESDIR}/${PN}-3.0.3-detect-only-stdc.patch" - "${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch" -) - -src_prepare() { - default - - if [[ ${PV} = *9999* ]] ; then - source "${S}"/Version.config - PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" - fi - - # These modules are built using the same *FLAGS that were used to build - # dev-db/postgresql. The right thing to do is to ignore the current - # *FLAGS settings. - QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" - - # bug #775968 - touch build-aux/ar-lib || die - - local AT_M4DIR="macros" - eautoreconf - - postgres-multi_src_prepare -} - -src_configure() { - export CPP=$(tc-getCPP) - - local myeconfargs=( - $(use_with address-standardizer) - $(use_with gtk gui) - $(use_with topology) - ) - postgres-multi_foreach econf "${myeconfargs[@]}" -} - -src_compile() { - postgres-multi_foreach emake - postgres-multi_foreach emake -C topology - - if use doc ; then - postgres-multi_foreach emake comments - postgres-multi_foreach emake cheatsheets - postgres-multi_forbest emake -C doc html - fi -} - -src_install() { - postgres-multi_foreach emake DESTDIR="${D}" install - postgres-multi_foreach emake -C topology DESTDIR="${D}" install - postgres-multi_forbest dobin ./utils/postgis_restore.pl - - dodoc CREDITS TODO loader/README.* doc/*txt - - docinto topology - dodoc topology/{TODO,README} - - if use doc ; then - postgres-multi_foreach emake DESTDIR="${D}" comments-install - - docinto html - postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} - - docinto html/images - postgres-multi_forbest dodoc doc/html/images/* - fi - - use static-libs || find "${ED}" -name '*.a' -delete -} - -pkg_postinst() { - ebegin "Refreshing PostgreSQL symlinks" - postgresql-config update - eend $? - - local base_uri="https://postgis.net/docs/manual-" - if [[ ${PV} = *9999* ]] ; then - base_uri+="dev" - else - base_uri+="${PGIS}" - fi - - elog "To finish installing PostGIS, follow the directions detailed at:" - elog "${base_uri}/postgis_installation.html#create_new_db_extensions" -} diff --git a/dev-db/postgis/postgis-3.2.6.ebuild b/dev-db/postgis/postgis-3.2.6.ebuild deleted file mode 100644 index 95418bb5ca1e..000000000000 --- a/dev-db/postgis/postgis-3.2.6.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -POSTGRES_COMPAT=( 9.6 {10..14} ) -POSTGRES_USEDEP="server" -inherit autotools postgres-multi toolchain-funcs - -MY_P="${PN}-$(ver_rs 3 '')" - -if [[ ${PV} = *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" -else - PGIS="$(ver_cut 1-2)" - SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -fi - -DESCRIPTION="Geographic Objects for PostgreSQL" -HOMEPAGE="https://postgis.net" - -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -IUSE="address-standardizer doc gtk static-libs topology" - -REQUIRED_USE="${POSTGRES_REQ_USE}" - -# Needs a running psql instance, doesn't work out of the box -RESTRICT="test" - -RDEPEND="${POSTGRES_DEP} - dev-libs/json-c:= - dev-libs/libxml2:2 - dev-libs/protobuf-c:= - >=sci-libs/geos-3.9.0 - >=sci-libs/proj-4.9.0:= - >=sci-libs/gdal-1.10.0:= - address-standardizer? ( dev-libs/libpcre2 ) - gtk? ( x11-libs/gtk+:2 ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( - app-text/docbook-xsl-stylesheets - app-text/docbook-xml-dtd:4.5 - dev-libs/libxslt - virtual/imagemagick-tools[png] - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-2.2.0-arflags.patch" - "${FILESDIR}/${PN}-3.0.3-avoid-calling-ar-directly.patch" - "${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch" - "${FILESDIR}/${PN}-3.3.2-flatbuffers-abseil-2023.patch" -) - -src_prepare() { - default - - if [[ ${PV} = *9999* ]] ; then - source "${S}"/Version.config - PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" - fi - - # These modules are built using the same *FLAGS that were used to build - # dev-db/postgresql. The right thing to do is to ignore the current - # *FLAGS settings. - QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" - - # bug #775968 - touch build-aux/ar-lib || die - - local AT_M4DIR="macros" - eautoreconf - - postgres-multi_src_prepare -} - -src_configure() { - export CPP=$(tc-getCPP) - - local myeconfargs=( - $(use_with address-standardizer) - $(use_with gtk gui) - $(use_with topology) - ) - postgres-multi_foreach econf "${myeconfargs[@]}" -} - -src_compile() { - postgres-multi_foreach emake - postgres-multi_foreach emake -C topology - - if use doc ; then - postgres-multi_foreach emake comments - postgres-multi_foreach emake cheatsheets - postgres-multi_forbest emake -C doc html - fi -} - -src_install() { - postgres-multi_foreach emake DESTDIR="${D}" install - postgres-multi_foreach emake -C topology DESTDIR="${D}" install - postgres-multi_forbest dobin ./utils/postgis_restore.pl - - dodoc CREDITS TODO loader/README.* doc/*txt - - docinto topology - dodoc topology/{TODO,README} - - if use doc ; then - postgres-multi_foreach emake DESTDIR="${D}" comments-install - - docinto html - postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} - - docinto html/images - postgres-multi_forbest dodoc doc/html/images/* - fi - - use static-libs || find "${ED}" -name '*.a' -delete -} - -pkg_postinst() { - ebegin "Refreshing PostgreSQL symlinks" - postgresql-config update - eend $? - - local base_uri="https://postgis.net/docs/manual-" - if [[ ${PV} = *9999* ]] ; then - base_uri+="dev" - else - base_uri+="${PGIS}" - fi - - elog "To finish installing PostGIS, follow the directions detailed at:" - elog "${base_uri}/postgis_installation.html#create_new_db_extensions" -} diff --git a/dev-db/postgis/postgis-3.3.2-r1.ebuild b/dev-db/postgis/postgis-3.3.2-r1.ebuild deleted file mode 100644 index 5e948c1a6828..000000000000 --- a/dev-db/postgis/postgis-3.3.2-r1.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -POSTGRES_COMPAT=( {11..15} ) -POSTGRES_USEDEP="server" -inherit autotools postgres-multi toolchain-funcs - -MY_P="${PN}-$(ver_rs 3 '')" - -if [[ ${PV} = *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" -else - PGIS="$(ver_cut 1-2)" - SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" - KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -fi - -DESCRIPTION="Geographic Objects for PostgreSQL" -HOMEPAGE="https://postgis.net" - -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -IUSE="address-standardizer doc gtk static-libs topology" - -REQUIRED_USE="${POSTGRES_REQ_USE}" - -# Needs a running psql instance, doesn't work out of the box -RESTRICT="test" - -RDEPEND="${POSTGRES_DEP} - dev-libs/json-c:= - dev-libs/libxml2:2 - dev-libs/protobuf-c:= - >=sci-libs/geos-3.9.0 - >=sci-libs/proj-4.9.0:= - >=sci-libs/gdal-1.10.0:= - address-standardizer? ( dev-libs/libpcre2 ) - gtk? ( x11-libs/gtk+:2 ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( - app-text/docbook-xsl-stylesheets - app-text/docbook-xml-dtd:4.5 - dev-libs/libxslt - virtual/imagemagick-tools[png] - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch" - # source: https://github.com/google/flatbuffers/pull/7897 - "${FILESDIR}/${P}-flatbuffers-abseil-2023.patch" # bug 905378 -) - -src_prepare() { - default - - if [[ ${PV} = *9999* ]] ; then - source "${S}"/Version.config - PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" - fi - - # These modules are built using the same *FLAGS that were used to build - # dev-db/postgresql. The right thing to do is to ignore the current - # *FLAGS settings. - QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" - - # bug #775968 - touch build-aux/ar-lib || die - - local AT_M4DIR="macros" - eautoreconf - - postgres-multi_src_prepare -} - -src_configure() { - export CPP=$(tc-getCPP) - - local myeconfargs=( - $(use_with address-standardizer) - $(use_with gtk gui) - $(use_with topology) - ) - postgres-multi_foreach econf "${myeconfargs[@]}" -} - -src_compile() { - postgres-multi_foreach emake - postgres-multi_foreach emake -C topology - - if use doc ; then - postgres-multi_foreach emake comments - postgres-multi_foreach emake cheatsheets - postgres-multi_forbest emake -C doc html - fi -} - -src_install() { - postgres-multi_foreach emake DESTDIR="${D}" install - postgres-multi_foreach emake -C topology DESTDIR="${D}" install - postgres-multi_forbest dobin ./utils/postgis_restore.pl - - dodoc CREDITS TODO loader/README.* doc/*txt - - docinto topology - dodoc topology/{TODO,README} - - if use doc ; then - postgres-multi_foreach emake DESTDIR="${D}" comments-install - - docinto html - postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} - - docinto html/images - postgres-multi_forbest dodoc doc/html/images/* - fi - - use static-libs || find "${ED}" -name '*.a' -delete -} - -pkg_postinst() { - ebegin "Refreshing PostgreSQL symlinks" - postgresql-config update - eend $? - - local base_uri="https://postgis.net/docs/manual-" - if [[ ${PV} = *9999* ]] ; then - base_uri+="dev" - else - base_uri+="${PGIS}" - fi - - elog "To finish installing PostGIS, follow the directions detailed at:" - elog "${base_uri}/postgis_installation.html#create_new_db_extensions" -} diff --git a/dev-db/postgis/postgis-3.3.6.ebuild b/dev-db/postgis/postgis-3.3.7.ebuild index 55ecc49ccb7c..1b4f32ff7706 100644 --- a/dev-db/postgis/postgis-3.3.6.ebuild +++ b/dev-db/postgis/postgis-3.3.7.ebuild @@ -3,7 +3,7 @@ EAPI=8 -POSTGRES_COMPAT=( {11..16} ) +POSTGRES_COMPAT=( {11..17} ) POSTGRES_USEDEP="server" inherit autotools postgres-multi toolchain-funcs @@ -15,7 +15,7 @@ if [[ ${PV} = *9999* ]] ; then else PGIS="$(ver_cut 1-2)" SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" fi DESCRIPTION="Geographic Objects for PostgreSQL" diff --git a/dev-db/postgis/postgis-3.4.1.ebuild b/dev-db/postgis/postgis-3.4.1.ebuild deleted file mode 100644 index 515b220b2b43..000000000000 --- a/dev-db/postgis/postgis-3.4.1.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -POSTGRES_COMPAT=( {12..16} ) -POSTGRES_USEDEP="server" -inherit autotools postgres-multi toolchain-funcs - -MY_P="${PN}-$(ver_rs 3 '')" - -if [[ ${PV} = *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" -else - PGIS="$(ver_cut 1-2)" - SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -fi - -DESCRIPTION="Geographic Objects for PostgreSQL" -HOMEPAGE="https://postgis.net" - -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -IUSE="address-standardizer doc gtk static-libs topology" - -REQUIRED_USE="${POSTGRES_REQ_USE}" - -# Needs a running psql instance, doesn't work out of the box -RESTRICT="test" - -RDEPEND="${POSTGRES_DEP} - dev-libs/json-c:= - dev-libs/libxml2:2 - dev-libs/protobuf-c:= - >=sci-libs/geos-3.9.0 - >=sci-libs/proj-6.1.0:= - >=sci-libs/gdal-1.10.0:= - address-standardizer? ( dev-libs/libpcre2 ) - gtk? ( x11-libs/gtk+:2 ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( - app-text/docbook-xsl-stylesheets - app-text/docbook-xml-dtd:4.5 - dev-libs/libxslt - virtual/imagemagick-tools[png] - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch" - "${FILESDIR}/${PN}-3.4.0-without-gui.patch" - # source: https://github.com/google/flatbuffers/pull/7897 - #"${FILESDIR}/${PN}-3.3.2-flatbuffers-abseil-2023.patch" # bug 905378 -) - -src_prepare() { - default - - if [[ ${PV} = *9999* ]] ; then - source "${S}"/Version.config - PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" - fi - - # These modules are built using the same *FLAGS that were used to build - # dev-db/postgresql. The right thing to do is to ignore the current - # *FLAGS settings. - QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" - - # bug #775968 - touch build-aux/ar-lib || die - - local AT_M4DIR="macros" - eautoreconf - - postgres-multi_src_prepare -} - -src_configure() { - export CPP=$(tc-getCPP) - - local myeconfargs=( - $(use_with address-standardizer) - $(use_with gtk gui) - $(use_with topology) - ) - postgres-multi_foreach econf "${myeconfargs[@]}" -} - -src_compile() { - postgres-multi_foreach emake - postgres-multi_foreach emake -C topology - - if use doc ; then - postgres-multi_foreach emake comments - postgres-multi_forbest emake cheatsheets - postgres-multi_forbest emake -C doc html - fi -} - -src_install() { - postgres-multi_foreach emake DESTDIR="${D}" install - postgres-multi_foreach emake -C topology DESTDIR="${D}" install - postgres-multi_forbest dobin ./utils/postgis_restore.pl - - dodoc CREDITS TODO loader/README.* doc/*txt - - docinto topology - dodoc topology/{TODO,README} - - if use doc ; then - postgres-multi_foreach emake DESTDIR="${D}" comments-install - postgres-multi_forbest emake DESTDIR="${D}" -C doc cheatsheet-install html-install html-assets-install - fi - - use static-libs || find "${ED}" -name '*.a' -delete -} - -pkg_postinst() { - ebegin "Refreshing PostgreSQL symlinks" - postgresql-config update - eend $? - - local base_uri="https://postgis.net/docs/manual-" - if [[ ${PV} = *9999* ]] ; then - base_uri+="dev" - else - base_uri+="${PGIS}" - fi - - elog "To finish installing PostGIS, follow the directions detailed at:" - elog "${base_uri}/postgis_installation.html#create_new_db_extensions" -} diff --git a/dev-db/postgis/postgis-3.4.2.ebuild b/dev-db/postgis/postgis-3.4.3.ebuild index c4edb0ce080a..125f7cf52aae 100644 --- a/dev-db/postgis/postgis-3.4.2.ebuild +++ b/dev-db/postgis/postgis-3.4.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -POSTGRES_COMPAT=( {12..16} ) +POSTGRES_COMPAT=( {12..17} ) POSTGRES_USEDEP="server" inherit autotools postgres-multi toolchain-funcs diff --git a/dev-db/postgis/postgis-3.5.0_alpha2.ebuild b/dev-db/postgis/postgis-3.5.0.ebuild index c6635830012f..ebc493e572cd 100644 --- a/dev-db/postgis/postgis-3.5.0_alpha2.ebuild +++ b/dev-db/postgis/postgis-3.5.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -POSTGRES_COMPAT=( {12..16} ) +POSTGRES_COMPAT=( {12..17} ) POSTGRES_USEDEP="server" inherit autotools postgres-multi toolchain-funcs @@ -15,7 +15,7 @@ if [[ ${PV} = *9999* ]] ; then else PGIS="$(ver_cut 1-2)" SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" - KEYWORDS="" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" fi DESCRIPTION="Geographic Objects for PostgreSQL" diff --git a/dev-db/postgresql/Manifest b/dev-db/postgresql/Manifest index c2b1b084c6ae..9706e174df1d 100644 --- a/dev-db/postgresql/Manifest +++ b/dev-db/postgresql/Manifest @@ -3,32 +3,23 @@ AUX postgresql-13.3-riscv-spinlocks.patch 966 BLAKE2B 4834d47b01e1f8e122fa940a84 AUX postgresql-13.8-no-server.patch 2985 BLAKE2B 81a4a7c1d3c9e104ea7a575a14eecada57b62ed652b4401b459886250518179b1f68efd73246773cf7b745c298ac59f0e5f693f2ac0e6e0fd4a29c4c431e3715 SHA512 7a3fd3f8411c59b812da6deaf743247c0e728aca653fb66860a7a6e55704bc732327dcf917ce17fe089003740131d4d92879e171b4b9ff262fef0743f6f50122 AUX postgresql-14.5-no-server.patch 3018 BLAKE2B cbb900bcb7bcc8e788369829811da0d57a45682a77ac54f430cab7ebf6df9ff10489d50d129fa5b24bfff80929497b3107a8e650962b8e772d6b0bee610f05a9 SHA512 90e88567af5f30969e946295c4c058cd245bdd7dce01d48b70aa3dd000cf9e54570ed1b6bcc423a10ed0b7102047927da19bd26f5714e003ccffde967c77db26 AUX postgresql-15_beta3-no-server.patch 3061 BLAKE2B aeba13501762f4e21653ad65ab10f708d604c393797766c1acad207a7889e02eb2806c0f6823fcbf9f2891be85d17ff7d3ba6066afe5f5fde3b9b39e56bfa5f7 SHA512 a41d01f994c4301ec059615446a3cc03cd16af67e3a3c1c0fa73b145c1b910de38d5a4a4757ad861c9cd11124f1d2d13f6503be2e5a2bb28f803fb03b055edb5 +AUX postgresql-17.0-no-server.patch 3067 BLAKE2B e97f889339a46c8e19572802276efa08b39b24351c7120ecb3bf31d33280e7c70fe7a9748151d7d00da28e2711b9ac2ac00e22a0f66a3793d7e28a1fb1d1ccba SHA512 1a4dd52f679c59c7f6a6ed3e5f734e9c9cd5437df0c37330c48539547e92702df10a0b02326f32d3dede39af0fb365175129734345fe0f80b51e81bfa8b6ae92 AUX postgresql-check-db-dir 1013 BLAKE2B 2be45942d0442822113879708c11dfde267938b6e7118bd225f567ca9fdacb11082792eabcb40b8a39cd6017fdedb18100576fea0895dae2dcda83c2d51de34d SHA512 2f34ee0cb6a889500ccfca7621ada6ee1bb06dc146f3c556938152dd3d7c0312266bb4db5f4099838d93ade26e2b8866dfddb3576cb5a737431ea2befd0cec6f AUX postgresql.confd-9.3 2477 BLAKE2B 0d42eedb99c951c8c60ed02abb5d4526bc288e8dd50b048cb3ab374239f1929aa80d10306037e45188a81593163121c029b91f9149365bff02ff7bfd0fe52ac4 SHA512 6c9e7c2de31eace2b3ce771a29eb354b143ea81f85d9d7ef601f302b7ae71c1c3badde8765fb7757dadcf0c49dcfa1116977e8b7f1e238350d3732962267147f AUX postgresql.init-9.3-r1 4999 BLAKE2B f2bc23a51b6d9643bbc14320aaa9c41b7eb1df86f8b760b9146739b14060178a415fe49b77a47b6bc5522759759fa0aefa9f0050b340534a64c2f22f89c7825d SHA512 a0f003c7d00b9749b8b25fce8ac728869e0c8f5a3c87e699b62806207413d5abba8db1e9d35e801316fbfb0ee070eb3b6a099b7991065c21cdb27ca7dc164bed AUX postgresql.service-9.6-r1 1477 BLAKE2B 2a652d5b2892f3a52f484fcc0b4f4dad09cf4b46c3739c3f805072040a26128cb2ad9a25d4a7c9f109a95696d739538d379af6bac53c656f5c41af45b6110de5 SHA512 9e2b04923f6ebec1424c0f276c58a6a0c4933f2de5e2a9776169227729afd06ce5284461be8b6ed70e5aaff2a68b9f96c6893d867d35761c9977f9847ccfe93d AUX postgresql.tmpfiles 39 BLAKE2B 25a5725af53c8e4e4009887e998172dd863ce218a5438351194548c4fc8ea15308dfba3602d5a922cf49b46015198268a4a4528119d8a74dcef4cc4c1767c052 SHA512 498060f2a597cf374f4fb31deaa2d6c5b00edef68efc0e71b82bfc20b717ae12518ba18fcb455a0c518ebba1a0868f38321470616151d02fa79b889a66dcb9f8 -DIST postgresql-12.19.tar.bz2 21218699 BLAKE2B d858108017ad9fd1c9813080c18f21cf2574f2b21a9881ae35e0291f3710664890983e71a2cd1c45f10b4c1ff8ab19d9d2383e35217b55e8e67b72b2673bec29 SHA512 c08cb8f902728ea5ab5872fa2e37f8646f6beb4df39425a5a42db30ce86fa499a2059fa57b4eac3089bfba875a85a55144eba5ce6c525c642ba33c82f264b1b5 DIST postgresql-12.20.tar.bz2 21256573 BLAKE2B f2611fa2d930b49d7f2bef9b1b77c41c7aa14eccd5e6a487daf4423589f6dd24ad1e17c30b2b926050dcd976e9d8e711b2792aba4409c4015ceb9fd5e18ef9e4 SHA512 720da6cb37209be90f8492d996d9fac90586943273a58691fde6e7855bf36bc5003a4b8be88cdcd32fa9eca3c5cb877af9573cac5e641cf7a4346c1acf935741 -DIST postgresql-13.15.tar.bz2 21597871 BLAKE2B 63631ea73e42fb846a9a78473d5929a2c9bf91016ef0808578d6ff6ce1e3d862ae1f8524f26f074f2adb30e55fd941ef6ce9b27c5eaa83f41d165f45958e0445 SHA512 6614b3ccf3ab41f34fc36e75f501853b13e0b9900728b8f8bbf8e3ac22783d18b0f05183beab778eb84ca71665574063fac6e1153bcd86bac252a8a9bbff0d8b DIST postgresql-13.16.tar.bz2 21639411 BLAKE2B 546efa5deb024150941973426b0d62e9aa87795eab58139aa569919033e4728c0f4b2d5710ca4c0c77b15dc918caada66a8dab8744e5d00cc7a1f146ca1e40d5 SHA512 e874c77e2d1d27d724f45c576c9d815da55f36712d67e3ec0a1f14ce4ac535fb39b6f23cdcd818cff05788e2c1e12f79572d90f8c145d7478aa35157b0b40679 -DIST postgresql-14.12.tar.bz2 22390865 BLAKE2B 09848b504c2c970d4b3a5ee3b7eec951f8966c3fcfdd77cea9a001b305ffa8ad55ea08eee2219abb6eb2e6478dddfcd29889308ee8f72eadb39d777e55f5f848 SHA512 cb6729d0fba8aa705c92beecdc5cd1131e64337db6de038da6f5b75c7d9e65381f93f6ebfac601d5622399b9485e8ec558be53e6a7dcc59350a9b053f8836bf9 DIST postgresql-14.13.tar.bz2 22414381 BLAKE2B 7b3cb0ea33a8517f9c3627dac8abba4e5f3ba97ecde21a0a605eb31174363baae73f94b9841360001ab01c402b7a3b65bf067c4dbe1689782ab7f44c553d4d12 SHA512 816e15b619a965b32a3afddebbf9cf5aabacc2440e88b11b0743767a353fe6966503c0e2a08c19d2de9705895f7aedadcf105732d0d3494c61402d379770c6d7 -DIST postgresql-15.7.tar.bz2 23112318 BLAKE2B 6a31ca8b833caf9400ce176211005c2b522e3f431717ad6b73c0df842121d3898dcfddce4626f961539a80b09960fb7659703e6f82d5eadff7217789893b9279 SHA512 8a03e2d7a267f0d11c27d90a2fb605725accb41cfebba2b56c735d4af45bb5f977d4ba051a02ac8d31f93253372df3d3b5efdd159e258d6fcc506b73e3ad6e27 DIST postgresql-15.8.tar.bz2 23119460 BLAKE2B 15103c54464217fe2a327cc2e2fe242cfd41ea21365398670883f76cb82a12bb40d60f087676bb1ea294ed688a15a0a147ef121a9136aca79486db7910d12717 SHA512 da610d878819179fcafe8adf6cbe72e188537dbaff82457c67013f9089ae8cbb1f6d8c4d5ea62e4ef54c3e2a90060bd1f36b71b8531354279181e574d903940c -DIST postgresql-16.3.tar.bz2 24737644 BLAKE2B 3390c781631645e9f51f31885d20cfeabf64992af9d56addaf847233e0c652aac8751dcf3a7c041962972de084722aee6070437c0517f729b200baf9e4bda2a3 SHA512 dc1c8d4fbc8e53e9be91dcf1b644b3969bd634f11bf5a1c4fe16619fd386f3349a5509788d43e6a57d099ad75233026d4dd4e0bb180ffc747fd3c1a575c51a5f DIST postgresql-16.4.tar.bz2 24765786 BLAKE2B 5ea2661b8ee86fe26e095377e3eede77dc94f40f352db4f0c12038f23b71fea6453f08ba43a62e17dd51ce4eb89e9a82cd06a31f122c1547fd187c58f9fec080 SHA512 f2070299f0857a270317ac984f8393374cf00d4f32a082fe3c5481e36c560595ea711fed95e40d1bc90c5089edf8f165649d443d8b9c68614e1c83fc91268e96 -DIST postgresql-17rc1.tar.bz2 21451314 BLAKE2B 343def79af7bbd12704a791c0aa1e8639d50b9d68a43586c02053190d70e471db0e719a43f96c07084e7547905ff5beee57ff3280a1447f9bf7494e827af634d SHA512 083e8ae7f4d6f9ccfd3075639c8c8a12b083e09e35e17a3753bc3ab1fb86ef39c5720de883cb9d0ba5c109b789b3f9d02778be38c313a34607ffb314e753a09b -EBUILD postgresql-12.19-r2.ebuild 13086 BLAKE2B d8cdb89621a072cda1747441c88a3e49c430739e0a3785d5112b7b4671dd692373cd2145ae965bce251a89d63b408e660106b935cae3580bdb0007ae31e07d28 SHA512 010d8052a79f4a3006bba020ee79b14c937808daec1fe80bd58383aee3d658971ceb9d2750be7b636f11c1a712fa7dc76de35debb04207b571cfa56cee31352b -EBUILD postgresql-12.20.ebuild 13086 BLAKE2B d8cdb89621a072cda1747441c88a3e49c430739e0a3785d5112b7b4671dd692373cd2145ae965bce251a89d63b408e660106b935cae3580bdb0007ae31e07d28 SHA512 010d8052a79f4a3006bba020ee79b14c937808daec1fe80bd58383aee3d658971ceb9d2750be7b636f11c1a712fa7dc76de35debb04207b571cfa56cee31352b -EBUILD postgresql-13.15-r2.ebuild 13520 BLAKE2B 93deeac89aee3a2c2b388edd6d16ad1ec74669a795bc5bd0143a72dfe17d01ec3f64c85f84eac680a816f62eb4fc846c85d1ca8529c889ed6f79c9ee494388c1 SHA512 d54ed4dd5f6a71a6f7f89564f2a1089b1479aea1a26e2ee83df04c027aebe0d4e9c599fbf448341481b7569b58da75fad8b9d4ca54645380fc2b424c65b4efe7 -EBUILD postgresql-13.16.ebuild 13520 BLAKE2B 93deeac89aee3a2c2b388edd6d16ad1ec74669a795bc5bd0143a72dfe17d01ec3f64c85f84eac680a816f62eb4fc846c85d1ca8529c889ed6f79c9ee494388c1 SHA512 d54ed4dd5f6a71a6f7f89564f2a1089b1479aea1a26e2ee83df04c027aebe0d4e9c599fbf448341481b7569b58da75fad8b9d4ca54645380fc2b424c65b4efe7 -EBUILD postgresql-14.12-r2.ebuild 13511 BLAKE2B 163634f66d4add4dbbafb1ee8ea6dff3e4e5cbf35117dff28b5c1577ec71eb9d1ecf85b481247dfc30622f2e4785a4595b2fbd079760a33bd918d2878ea888dd SHA512 0c86440928f8e8b0c30705ebf77b5b260987840b4c8df989e02cde5fa0fac045c49d45a04a5e3a8eeac2c80007050e0e1c0d502b3061f5c56b02841b2253e527 -EBUILD postgresql-14.13.ebuild 13511 BLAKE2B 163634f66d4add4dbbafb1ee8ea6dff3e4e5cbf35117dff28b5c1577ec71eb9d1ecf85b481247dfc30622f2e4785a4595b2fbd079760a33bd918d2878ea888dd SHA512 0c86440928f8e8b0c30705ebf77b5b260987840b4c8df989e02cde5fa0fac045c49d45a04a5e3a8eeac2c80007050e0e1c0d502b3061f5c56b02841b2253e527 -EBUILD postgresql-15.7-r2.ebuild 13573 BLAKE2B 26330426a892e7de3f0b441327984aa7a959f303c9572c72076ae7ec004168f992596506008b836c4d1ee2595329bca80a22eba76e5844b4928b478012a3f307 SHA512 0052c5ab32c994fe464ddff22eed6f768e7ddd4efb5ad3c8be73b1b73afb40d98788073b084e513194d21ec20df890c9c785c5c04fd8d3c4ed72f5ee32fb4cb4 -EBUILD postgresql-15.8.ebuild 13573 BLAKE2B 26330426a892e7de3f0b441327984aa7a959f303c9572c72076ae7ec004168f992596506008b836c4d1ee2595329bca80a22eba76e5844b4928b478012a3f307 SHA512 0052c5ab32c994fe464ddff22eed6f768e7ddd4efb5ad3c8be73b1b73afb40d98788073b084e513194d21ec20df890c9c785c5c04fd8d3c4ed72f5ee32fb4cb4 -EBUILD postgresql-16.3-r2.ebuild 13583 BLAKE2B 466c7178312b160e43118a92aa5200d132ebd3d09d1df2e7d1f9cf32b5ec1d292edcbb02cb5ff9246755256c859f6d14d542101d7cf986b28fa87e422695bd72 SHA512 6f2f36e77b2263d2f0dc53bce3f601f441de1d3fc4e34ef430e86558d176be4b6f27faabb4b6d0d05ed34bc60342dfa1c06142637624de1ea811430c13a43ccd -EBUILD postgresql-16.4.ebuild 13583 BLAKE2B 466c7178312b160e43118a92aa5200d132ebd3d09d1df2e7d1f9cf32b5ec1d292edcbb02cb5ff9246755256c859f6d14d542101d7cf986b28fa87e422695bd72 SHA512 6f2f36e77b2263d2f0dc53bce3f601f441de1d3fc4e34ef430e86558d176be4b6f27faabb4b6d0d05ed34bc60342dfa1c06142637624de1ea811430c13a43ccd -EBUILD postgresql-17_rc1.ebuild 13755 BLAKE2B f18a9129b920b21f84e26a08abfce43c435f789f8ca3fa074a22e8dbcc30037825516effe005b10e9b39dab3158dd178a21de7cee5951871d214babdc4a34117 SHA512 2c1b64c745159aeb8648a4feed4b3752afa78f9f739c26bc090253de65db8899d0f4c0c676d8bc8b902bd8889b2a8cec26bd98c799e22fd684a3cf221659ccaa -EBUILD postgresql-9999.ebuild 14256 BLAKE2B f97d1c6289c8bc667928fab225e709eb6820903c50e2f9a8d22b76b68b72602afe9b1f22cd274271738ec60ecb3b0d9d73372416500645cf7e5a7b5dfac7552b SHA512 f41cec99dd919f70aa6bcf5e35c7170cf569d91b9b84fd2b5ffa984ff96758f096a8c747c6b6ba8a391e7b2563474796a46a6a8d25242dfdd1ad8d630aac34d4 +DIST postgresql-17.0.tar.bz2 21419388 BLAKE2B 37c39deccccfcffa73ab2c6887a797d113757cdbe4203dfb1dce499a2f1599716ce42c2c56c9d82d967d499c28eddc00f3d44dfd52684270bdb2f2e5be8e2265 SHA512 ae6741298abe986c9f09a6eee9fa2df26c3bbdffcbd0ff3f33332456e09f95195e4535f00a9437f2877e03e2e43a78be9a355303e7cf43bcb688b657ca7289f3 +EBUILD postgresql-12.20.ebuild 13080 BLAKE2B 79b0a9391a2c88936a812002bf414f062e0fd2997943503f8d62897173cb6b72216b3f72e531a13f6a1b0bbd6ab2e41273fc7735aad499e41765ea7f1201d205 SHA512 d50cc91e99fffcf7538c5a5c27890f135f7cd09ff126cab2e202ccc3b981c454da36316ba0bd43b6d5a9505484708d6f3101b5bc373f164d25595392e65afacf +EBUILD postgresql-13.16.ebuild 13514 BLAKE2B be97706c3cb029252e9392b1af7e604399e675cf9b3f4cda4f1835ce68bc7160628ea107b96dd21d827fa34bc049b569be0b1eb2cb561ed557106bb05198481d SHA512 04d70b63750c9c6c34a33716c868ded77540b92b5928418d773b1d00deda9ee97815308ac9bf640452349219880c9d44ec4e84abb36d1878bda4f3542b10db82 +EBUILD postgresql-14.13.ebuild 13505 BLAKE2B ee4a27cb8a05b11c5ed6d842886ccd523891b445b39156a4d48ab9349ff24cea2bd6489709eb8717149ed5284e2a1090cea7305dc788976182d77d4450861228 SHA512 4568e633f0d4a8b2e121b8b2bf546c23c397765dd3e0eee26ee43e16404574dab5374429ec0e19f0bbd0a611d0c1bb17075d8565667736e87124b48b87c0e8e6 +EBUILD postgresql-15.8.ebuild 13567 BLAKE2B 1ba99b4e226773e1b1eff53d06111d7e40d2fa6b7c5968e16f580b50f11c5732a086b38b93aebc169400821d1062041515931ea7ce78b48f860953b227bd0970 SHA512 2573684df847cdde89ea43362d7e8e30b3662261ef91674430e92dffd8136e73dbf67e70844661e8612ca6c460c4a5938b43962562dc88d7f3dd5658118fef38 +EBUILD postgresql-16.4.ebuild 13577 BLAKE2B 3df7cc1a7a126871a080ecb9af0003c52bd243edcd3a4e0be401fd1c261802f4841a3ba32034fadad8b19e1fd3698f228a0678e373413072cbe3aef7fc1b4ee0 SHA512 dfdef79d01ac1ea126e4124dfab505ccbfe49a62e4f866b987f73edadb283788e2b943d5acc6294039373ec6035d36b07113ec788c6563e113d0d63388e0bc1d +EBUILD postgresql-17.0-r1.ebuild 13891 BLAKE2B b9e303ad86e90ba67653e66e8a7dd1d45e8a1c9357e9de2780248095fc5b0e8101af8c60f5f021c34a84aa0d8f54b175a24b06476a4160d2dc3d6a8c34f5dc23 SHA512 7f3a0f784bda6f623bdf19ef18aeb11cd99bec2e8af17c292e30b29c69d8fa7c0f213a825b8669910a82c56effb5ced54b8f7e8065e58862970dfa2536ef1312 +EBUILD postgresql-9999.ebuild 14250 BLAKE2B eb23aa09ca89eb166119864004d55b74f1b9f263a38e393783b079deb29c1380b2fcdf521cf6013f88bf227999e44d7ad8d0b5f1942404396a4b00247fbbaaf5 SHA512 0b0b484829b8bc9a0f3df78be1bb812f55bf6fdc7454407601d7f7d5527487529f091d070937590e93b2c60742b7cff8c5a2aa4d0fcfe28247ffe48891ef5614 MISC metadata.xml 653 BLAKE2B b5b85d83ee78ac502e2707d156e2fadf6fea857160e2f48da51c755e221c52a14b9eb04354202287f4aba15c274c07ba7b0911c76fd034bfa774ce3500ccb165 SHA512 fd543af224f6f8677e138cb1db7154d2444295c45df8696e3584911943176023d8d1b179f6b16d88ffc6d290265ec1b2f4c902cf95cc79eb37599ae3635b0942 diff --git a/dev-db/postgresql/files/postgresql-17.0-no-server.patch b/dev-db/postgresql/files/postgresql-17.0-no-server.patch new file mode 100644 index 000000000000..a32ca2dbe448 --- /dev/null +++ b/dev-db/postgresql/files/postgresql-17.0-no-server.patch @@ -0,0 +1,146 @@ +--- a/contrib/Makefile ++++ b/contrib/Makefile +@@ -5,57 +5,9 @@ + include $(top_builddir)/src/Makefile.global + + SUBDIRS = \ +- amcheck \ +- auth_delay \ +- auto_explain \ +- basic_archive \ +- basebackup_to_shell \ +- bloom \ +- btree_gin \ +- btree_gist \ +- citext \ +- cube \ +- dblink \ +- dict_int \ +- dict_xsyn \ +- earthdistance \ +- file_fdw \ +- fuzzystrmatch \ +- hstore \ +- intagg \ +- intarray \ +- isn \ +- lo \ +- ltree \ + oid2name \ +- pageinspect \ +- passwordcheck \ +- pg_buffercache \ +- pg_freespacemap \ +- pg_prewarm \ +- pg_stat_statements \ +- pg_surgery \ +- pg_trgm \ +- pgrowlocks \ +- pgstattuple \ +- pg_visibility \ +- pg_walinspect \ +- postgres_fdw \ +- seg \ +- spi \ +- tablefunc \ +- tcn \ +- test_decoding \ +- tsm_system_rows \ +- tsm_system_time \ +- unaccent \ + vacuumlo + +-ifeq ($(with_ssl),openssl) +-SUBDIRS += pgcrypto sslinfo +-else +-ALWAYS_SUBDIRS += pgcrypto sslinfo +-endif + + ifneq ($(with_uuid),no) + SUBDIRS += uuid-ossp +--- a/src/backend/Makefile ++++ b/src/backend/Makefile +@@ -56,7 +56,7 @@ + + ########################################################################## + +-all: submake-libpgport submake-catalog-headers submake-utils-headers postgres $(POSTGRES_IMP) ++all: generated-headers + + ifneq ($(PORTNAME), cygwin) + ifneq ($(PORTNAME), win32) +@@ -194,23 +194,7 @@ + + ########################################################################## + +-install: all installdirs install-bin +-ifeq ($(PORTNAME), cygwin) +-ifeq ($(MAKE_DLL), true) +- $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a' +-endif +-endif +-ifeq ($(PORTNAME), win32) +-ifeq ($(MAKE_DLL), true) +- $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a' +-endif +-endif +- $(MAKE) -C catalog install-data +- $(MAKE) -C tsearch install-data +- $(MAKE) -C utils install-data +- $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample '$(DESTDIR)$(datadir)/pg_hba.conf.sample' +- $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample '$(DESTDIR)$(datadir)/pg_ident.conf.sample' +- $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample '$(DESTDIR)$(datadir)/postgresql.conf.sample' ++install: + + ifeq ($(with_llvm), yes) + install-bin: install-postgres-bitcode +--- a/src/bin/Makefile ++++ b/src/bin/Makefile +@@ -14,24 +14,8 @@ + include $(top_builddir)/src/Makefile.global + + SUBDIRS = \ +- initdb \ +- pg_amcheck \ +- pg_archivecleanup \ +- pg_basebackup \ +- pg_checksums \ +- pg_combinebackup \ + pg_config \ +- pg_controldata \ +- pg_ctl \ + pg_dump \ +- pg_resetwal \ +- pg_rewind \ +- pg_test_fsync \ +- pg_test_timing \ +- pg_upgrade \ +- pg_verifybackup \ +- pg_waldump \ +- pg_walsummary \ + pgbench \ + psql \ + scripts +--- a/src/Makefile ++++ b/src/Makefile +@@ -17,19 +17,11 @@ + port \ + timezone \ + backend \ +- backend/utils/mb/conversion_procs \ +- backend/snowball \ + include \ + interfaces \ +- backend/replication/libpqwalreceiver \ +- backend/replication/pgoutput \ + fe_utils \ + bin \ +- pl \ +- makefiles \ +- test/regress \ +- test/isolation \ +- test/perl ++ makefiles + + ifeq ($(with_llvm), yes) + SUBDIRS += backend/jit/llvm diff --git a/dev-db/postgresql/postgresql-12.19-r2.ebuild b/dev-db/postgresql/postgresql-12.19-r2.ebuild deleted file mode 100644 index b0c6363f0d16..000000000000 --- a/dev-db/postgresql/postgresql-12.19-r2.ebuild +++ /dev/null @@ -1,445 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10,11,12,13} ) -LLVM_COMPAT=( {15..18} ) -LLVM_OPTIONAL=1 - -inherit flag-o-matic linux-info llvm-r1 pam python-single-r1 systemd tmpfiles - -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -SLOT=$(ver_cut 1) - -MY_PV=${PV/_/} -S="${WORKDIR}/${PN}-${MY_PV}" - -SRC_URI="https://ftp.postgresql.org/pub/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2" - -LICENSE="POSTGRESQL GPL-2" -DESCRIPTION="PostgreSQL RDBMS" -HOMEPAGE="https://www.postgresql.org/" - -IUSE="debug doc icu kerberos ldap llvm nls pam perl python +readline - selinux +server systemd ssl static-libs tcl uuid xml zlib" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -CDEPEND=" ->=app-eselect/eselect-postgresql-2.0 -acct-group/postgres -acct-user/postgres -sys-apps/less -virtual/libintl -icu? ( dev-libs/icu:= ) -kerberos? ( virtual/krb5 ) -ldap? ( net-nds/openldap:= ) -llvm? ( $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} - ') ) -pam? ( sys-libs/pam ) -perl? ( >=dev-lang/perl-5.8:= ) -python? ( ${PYTHON_DEPS} ) -readline? ( sys-libs/readline:0= ) -server? ( systemd? ( sys-apps/systemd ) ) -ssl? ( >=dev-libs/openssl-0.9.6-r1:0= ) -tcl? ( >=dev-lang/tcl-8:0= ) -xml? ( dev-libs/libxml2 dev-libs/libxslt ) -zlib? ( sys-libs/zlib ) -" - -# uuid flags -- depend on sys-apps/util-linux for Linux libcs, or if no -# supported libc in use depend on dev-libs/ossp-uuid. For BSD systems, -# the libc includes UUID functions. -UTIL_LINUX_LIBC=( elibc_{glibc,musl} ) - -nest_usedep() { - local front back - while [[ ${#} -gt 1 ]]; do - front+="${1}? ( " - back+=" )" - shift - done - echo "${front}${1}${back}" -} - -CDEPEND+=" -uuid? ( - ${UTIL_LINUX_LIBC[@]/%/? ( sys-apps/util-linux )} - $(nest_usedep ${UTIL_LINUX_LIBC[@]/#/!} dev-libs/ossp-uuid) -)" - -DEPEND="${CDEPEND} -sys-devel/bison -app-alternatives/lex -nls? ( sys-devel/gettext ) -xml? ( virtual/pkgconfig ) -" - -RDEPEND="${CDEPEND} -selinux? ( sec-policy/selinux-postgresql ) -" - -pkg_setup() { - use llvm && llvm-r1_pkg_setup - - use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup - - use python && python-single-r1_pkg_setup -} - -src_prepare() { - # Set proper run directory - sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \ - -i src/include/pg_config_manual.h || die - - # Rely on $PATH being in the proper order so that the correct - # install program is used for modules utilizing PGXS in both - # hardened and non-hardened environments. (Bug #528786) - sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die - - use server || eapply "${FILESDIR}/${PN}-12.1-no-server.patch" - - if use pam ; then - sed "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ - -i src/backend/libpq/auth.c || \ - die 'PGSQL_PAM_SERVICE rename failed.' - fi - - eapply_user -} - -src_configure() { - case ${CHOST} in - *-darwin*|*-solaris*) - use nls && append-libs intl - ;; - esac - - export LDFLAGS_SL="${LDFLAGS}" - export LDFLAGS_EX="${LDFLAGS}" - - local PO="${EPREFIX}" - - local i uuid_config="" - if use uuid; then - for i in ${UTIL_LINUX_LIBC[@]}; do - use ${i} && uuid_config="--with-uuid=e2fs" - done - [[ -z $uuid_config ]] && uuid_config="--with-uuid=ossp" - fi - - econf \ - --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \ - --datadir="${PO}/usr/share/postgresql-${SLOT}" \ - --includedir="${PO}/usr/include/postgresql-${SLOT}" \ - --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ - --sysconfdir="${PO}/etc/postgresql-${SLOT}" \ - --with-system-tzdata="${PO}/usr/share/zoneinfo" \ - $(use_enable !alpha spinlocks) \ - $(use_enable debug) \ - $(use_with icu) \ - $(use_with kerberos gssapi) \ - $(use_with ldap) \ - $(use_with llvm) \ - $(use_with pam) \ - $(use_with perl) \ - $(use_with python) \ - $(use_with readline) \ - $(use_with ssl openssl) \ - $(usex server "$(use_with systemd)" '--without-systemd') \ - $(use_with tcl) \ - ${uuid_config} \ - $(use_with xml libxml) \ - $(use_with xml libxslt) \ - $(use_with zlib) \ - $(use_enable nls) -} - -src_compile() { - emake - emake -C contrib -} - -src_install() { - emake DESTDIR="${D}" install - emake DESTDIR="${D}" install -C contrib - - dodoc README HISTORY - - # man pages are already built, but if we have the target make them, - # they'll be generated from source before being installed so we - # manually install man pages. - # We use ${SLOT} instead of doman for postgresql.eselect - insinto /usr/share/postgresql-${SLOT}/man/ - doins -r doc/src/sgml/man{1,3,7} - if ! use server; then - # Remove man pages for non-existent binaries - serverman=( - initdb - pg_{archivecleanup,controldata,ctl,resetwal,rewind,standby} - pg_{test_{fsync,timing},upgrade,waldump} - post{gres,master} - ) - for m in ${serverman[@]} ; do - rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1" - done - fi - docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7} - - # Create slot specific man pages - local bn f mansec slotted_name - for mansec in 1 3 7 ; do - local rel_manpath="../../postgresql-${SLOT}/man/man${mansec}" - - mkdir -p "${ED}"/usr/share/man/man${mansec} || die "making man dir" - pushd "${ED}"/usr/share/man/man${mansec} > /dev/null || die "pushd failed" - - for f in "${ED}/usr/share/postgresql-${SLOT}/man/man${mansec}"/* ; do - bn=$(basename "${f}") - slotted_name=${bn%.${mansec}}${SLOT}.${mansec} - case ${bn} in - TABLE.7|WITH.7) - echo ".so ${rel_manpath}/SELECT.7" > ${slotted_name} - ;; - *) - echo ".so ${rel_manpath}/${bn}" > ${slotted_name} - ;; - esac - done - - popd > /dev/null - done - - insinto /etc/postgresql-${SLOT} - newins src/bin/psql/psqlrc.sample psqlrc - - # Don't delete libpg{port,common}.a (Bug #571046). They're always - # needed by extensions utilizing PGXS. - use static-libs || \ - find "${ED}" -name '*.a' ! -name libpgport.a ! -name libpgcommon.a \ - -delete - - # Make slot specific links to programs - local f bn - for f in $(find "${ED}/usr/$(get_libdir)/postgresql-${SLOT}/bin" \ - -mindepth 1 -maxdepth 1) - do - bn=$(basename "${f}") - dosym "../$(get_libdir)/postgresql-${SLOT}/bin/${bn}" \ - "/usr/bin/${bn}${SLOT/.}" - done - - if use doc ; then - docinto html - dodoc doc/src/sgml/html/* - fi - - if use server; then - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.confd-9.3" | newconfd - ${PN}-${SLOT} - - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.init-9.3-r1" | newinitd - ${PN}-${SLOT} - - if use systemd; then - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.service-9.6-r1" | \ - systemd_newunit - ${PN}-${SLOT}.service - newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir - newtmpfiles "${FILESDIR}"/${PN}.tmpfiles ${PN}-${SLOT}.conf - fi - - use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session - - if use prefix ; then - keepdir /run/postgresql - fperms 1775 /run/postgresql - fi - fi -} - -pkg_postinst() { - use server && use systemd && tmpfiles_process ${PN}-${SLOT}.conf - postgresql-config update - - elog "If you need a global psqlrc-file, you can place it in:" - elog " ${EROOT}/etc/postgresql-${SLOT}/" - - if use server ; then - elog - elog "Gentoo specific documentation:" - elog "https://wiki.gentoo.org/wiki/PostgreSQL" - elog - elog "Official documentation:" - elog "https://www.postgresql.org/docs/${SLOT}/static/index.html" - elog - elog "The default location of the Unix-domain socket is:" - elog " ${EROOT}/run/postgresql/" - elog - elog "Before initializing the database, you may want to edit PG_INITDB_OPTS" - elog "so that it contains your preferred locale in:" - elog " ${EROOT}/etc/conf.d/postgresql-${SLOT}" - elog - elog "Then, execute the following command to setup the initial database" - elog "environment:" - elog " emerge --config =${CATEGORY}/${PF}" - - if [[ -n ${REPLACING_VERSIONS} ]] ; then - ewarn "If your system is using 'pg_stat_statements' and you are running a" - ewarn "version of PostgreSQL ${SLOT}, we advise that you execute" - ewarn "the following command after upgrading:" - ewarn - ewarn "ALTER EXTENSION pg_stat_statements UPDATE;" - fi - fi -} - -pkg_prerm() { - if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then - ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?" - ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL" - - ebegin "Resuming removal in 10 seconds (Control-C to cancel)" - sleep 10 - eend 0 - fi -} - -pkg_postrm() { - postgresql-config update -} - -pkg_config() { - use server || die "USE flag 'server' not enabled. Nothing to configure." - - [[ -f "${EROOT}/etc/conf.d/postgresql-${SLOT}" ]] \ - && source "${EROOT}/etc/conf.d/postgresql-${SLOT}" - [[ -z "${PGDATA}" ]] && PGDATA="${EROOT}/etc/postgresql-${SLOT}/" - [[ -z "${DATA_DIR}" ]] \ - && DATA_DIR="${EROOT}/var/lib/postgresql/${SLOT}/data" - - # environment.bz2 may not contain the same locale as the current system - # locale. Unset and source from the current system locale. - if [ -f "${EROOT}/etc/env.d/02locale" ]; then - unset LANG - unset LC_CTYPE - unset LC_NUMERIC - unset LC_TIME - unset LC_COLLATE - unset LC_MONETARY - unset LC_MESSAGES - unset LC_ALL - source "${EROOT}/etc/env.d/02locale" - [ -n "${LANG}" ] && export LANG - [ -n "${LC_CTYPE}" ] && export LC_CTYPE - [ -n "${LC_NUMERIC}" ] && export LC_NUMERIC - [ -n "${LC_TIME}" ] && export LC_TIME - [ -n "${LC_COLLATE}" ] && export LC_COLLATE - [ -n "${LC_MONETARY}" ] && export LC_MONETARY - [ -n "${LC_MESSAGES}" ] && export LC_MESSAGES - [ -n "${LC_ALL}" ] && export LC_ALL - fi - - einfo "You can modify the paths and options passed to initdb by editing:" - einfo " ${EROOT}/etc/conf.d/postgresql-${SLOT}" - einfo - einfo "Information on options that can be passed to initdb are found at:" - einfo " https://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html" - einfo " https://www.postgresql.org/docs/${SLOT}/static/app-initdb.html" - einfo - einfo "PG_INITDB_OPTS is currently set to:" - if [[ -z "${PG_INITDB_OPTS}" ]] ; then - einfo " (none)" - else - einfo " ${PG_INITDB_OPTS}" - fi - einfo - einfo "Configuration files will be installed to:" - einfo " ${PGDATA}" - einfo - einfo "The database cluster will be created in:" - einfo " ${DATA_DIR}" - einfo - - ebegin "Continuing initialization in 5 seconds (Control-C to cancel)" - sleep 5 - eend 0 - - if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then - eerror "The given directory, '${DATA_DIR}', is not empty." - eerror "Modify DATA_DIR to point to an empty directory." - die "${DATA_DIR} is not empty." - fi - - einfo "Creating the data directory ..." - if [[ ${EUID} == 0 ]] ; then - mkdir -p "$(dirname ${DATA_DIR%/})" || die "Couldn't parent dirs" - mkdir -m 0700 "${DATA_DIR%/}" || die "Couldn't make DATA_DIR" - chown -h postgres:postgres "${DATA_DIR%/}" || die "Couldn't chown" - fi - - einfo "Initializing the database ..." - - if [[ ${EUID} == 0 ]] ; then - su - postgres -c "${EROOT}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}" - else - "${EROOT}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS} - fi - - if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then - mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}" - ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}" - fi - - # unix_socket_directory has no effect in postgresql.conf as it's - # overridden in the initscript - sed '/^#unix_socket_directories/,+1d' -i "${PGDATA%/}"/postgresql.conf - - einfo "The autovacuum function, which was in contrib, has been moved to the main" - einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled" - einfo "by default. You can disable it in the cluster's:" - einfo " ${PGDATA%/}/postgresql.conf" - einfo - if ! use systemd; then - einfo "The PostgreSQL server, by default, will log events to:" - einfo " ${DATA_DIR%/}/postmaster.log" - einfo - fi - if use prefix ; then - einfo "The location of the configuration files have moved to:" - einfo " ${PGDATA}" - einfo "To start the server:" - einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'" - einfo "To stop:" - einfo " pg_ctl stop -D ${DATA_DIR}" - einfo - einfo "Or move the configuration files back:" - einfo "mv ${PGDATA}*.conf ${DATA_DIR}" - elif use systemd; then - einfo "You should use the 'postgresql-${SLOT}.service' unit to run PostgreSQL" - einfo "instead of 'pg_ctl'." - else - einfo "You should use the '${EROOT}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL" - einfo "instead of 'pg_ctl'." - fi -} - -src_test() { - if use server && [[ ${UID} -ne 0 ]] ; then - emake check - - einfo "If you think other tests besides the regression tests are necessary, please" - einfo "submit a bug including a patch for this ebuild to enable them." - else - use server || \ - ewarn 'Tests cannot be run without the "server" use flag enabled.' - [[ ${UID} -eq 0 ]] || \ - ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.' - - ewarn 'Skipping.' - fi -} diff --git a/dev-db/postgresql/postgresql-12.20.ebuild b/dev-db/postgresql/postgresql-12.20.ebuild index b0c6363f0d16..0497da88dad0 100644 --- a/dev-db/postgresql/postgresql-12.20.ebuild +++ b/dev-db/postgresql/postgresql-12.20.ebuild @@ -9,7 +9,7 @@ LLVM_OPTIONAL=1 inherit flag-o-matic linux-info llvm-r1 pam python-single-r1 systemd tmpfiles -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" SLOT=$(ver_cut 1) diff --git a/dev-db/postgresql/postgresql-13.15-r2.ebuild b/dev-db/postgresql/postgresql-13.15-r2.ebuild deleted file mode 100644 index 822fbdabce55..000000000000 --- a/dev-db/postgresql/postgresql-13.15-r2.ebuild +++ /dev/null @@ -1,457 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10,11,12,13} ) -LLVM_COMPAT=( {15..18} ) -LLVM_OPTIONAL=1 - -inherit flag-o-matic linux-info llvm-r1 pam python-single-r1 systemd tmpfiles - -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -SLOT=$(ver_cut 1) - -MY_PV=${PV/_/} -S="${WORKDIR}/${PN}-${MY_PV}" - -SRC_URI="https://ftp.postgresql.org/pub/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2" - -LICENSE="POSTGRESQL GPL-2" -DESCRIPTION="PostgreSQL RDBMS" -HOMEPAGE="https://www.postgresql.org/" - -IUSE="debug doc icu kerberos ldap llvm nls pam perl python +readline - selinux +server systemd ssl static-libs tcl uuid xml zlib" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -CDEPEND=" ->=app-eselect/eselect-postgresql-2.0 -acct-group/postgres -acct-user/postgres -sys-apps/less -virtual/libintl -icu? ( dev-libs/icu:= ) -kerberos? ( virtual/krb5 ) -ldap? ( net-nds/openldap:= ) -llvm? ( $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} - ') ) -pam? ( sys-libs/pam ) -perl? ( >=dev-lang/perl-5.8:= ) -python? ( ${PYTHON_DEPS} ) -readline? ( sys-libs/readline:0= ) -server? ( systemd? ( sys-apps/systemd ) ) -ssl? ( >=dev-libs/openssl-0.9.6-r1:0= ) -tcl? ( >=dev-lang/tcl-8:0= ) -xml? ( dev-libs/libxml2 dev-libs/libxslt ) -zlib? ( sys-libs/zlib ) -" - -# uuid flags -- depend on sys-apps/util-linux for Linux libcs, or if no -# supported libc in use depend on dev-libs/ossp-uuid. For BSD systems, -# the libc includes UUID functions. -UTIL_LINUX_LIBC=( elibc_{glibc,musl} ) - -nest_usedep() { - local front back - while [[ ${#} -gt 1 ]]; do - front+="${1}? ( " - back+=" )" - shift - done - echo "${front}${1}${back}" -} - -CDEPEND+=" -uuid? ( - ${UTIL_LINUX_LIBC[@]/%/? ( sys-apps/util-linux )} - $(nest_usedep ${UTIL_LINUX_LIBC[@]/#/!} dev-libs/ossp-uuid) -)" - -DEPEND="${CDEPEND} -sys-devel/bison -app-alternatives/lex -nls? ( sys-devel/gettext ) -xml? ( virtual/pkgconfig ) -" - -RDEPEND="${CDEPEND} -selinux? ( sec-policy/selinux-postgresql ) -" - -pkg_setup() { - use llvm && llvm-r1_pkg_setup - - use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup - - use python && python-single-r1_pkg_setup -} - -src_prepare() { - eapply "${FILESDIR}"/${PN}-13.3-riscv-spinlocks.patch - - # Set proper run directory - sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \ - -i src/include/pg_config_manual.h || die - - # Rely on $PATH being in the proper order so that the correct - # install program is used for modules utilizing PGXS in both - # hardened and non-hardened environments. (Bug #528786) - sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die - - use server || eapply "${FILESDIR}/${PN}-13.8-no-server.patch" - - if use pam ; then - sed "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ - -i src/backend/libpq/auth.c || \ - die 'PGSQL_PAM_SERVICE rename failed.' - fi - - eapply_user -} - -src_configure() { - case ${CHOST} in - *-darwin*|*-solaris*) - use nls && append-libs intl - ;; - esac - - export LDFLAGS_SL="${LDFLAGS}" - export LDFLAGS_EX="${LDFLAGS}" - - local PO="${EPREFIX}" - - local i uuid_config="" - if use uuid; then - for i in ${UTIL_LINUX_LIBC[@]}; do - use ${i} && uuid_config="--with-uuid=e2fs" - done - [[ -z $uuid_config ]] && uuid_config="--with-uuid=ossp" - fi - - local myconf="\ - --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \ - --datadir="${PO}/usr/share/postgresql-${SLOT}" \ - --includedir="${PO}/usr/include/postgresql-${SLOT}" \ - --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ - --sysconfdir="${PO}/etc/postgresql-${SLOT}" \ - --with-system-tzdata="${PO}/usr/share/zoneinfo" \ - $(use_enable debug) \ - $(use_with icu) \ - $(use_with kerberos gssapi) \ - $(use_with ldap) \ - $(use_with llvm) \ - $(use_with pam) \ - $(use_with perl) \ - $(use_with python) \ - $(use_with readline) \ - $(use_with ssl openssl) \ - $(usex server "$(use_with systemd)" '--without-systemd') \ - $(use_with tcl) \ - ${uuid_config} \ - $(use_with xml libxml) \ - $(use_with xml libxslt) \ - $(use_with zlib) \ - $(use_enable nls)" - if use alpha; then - myconf+=" --disable-spinlocks" - else - # Should be the default but just in case - myconf+=" --enable-spinlocks" - fi - econf ${myconf} -} - -src_compile() { - emake - emake -C contrib -} - -src_install() { - emake DESTDIR="${D}" install - emake DESTDIR="${D}" install -C contrib - - dodoc README HISTORY - - # man pages are already built, but if we have the target make them, - # they'll be generated from source before being installed so we - # manually install man pages. - # We use ${SLOT} instead of doman for postgresql.eselect - insinto /usr/share/postgresql-${SLOT}/man/ - doins -r doc/src/sgml/man{1,3,7} - if ! use server; then - # Remove man pages for non-existent binaries - serverman=( - initdb - pg_{archivecleanup,controldata,ctl,resetwal,rewind,standby} - pg_{test_{fsync,timing},upgrade,waldump} - post{gres,master} - ) - for m in ${serverman[@]} ; do - rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1" - done - fi - docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7} - - # Create slot specific man pages - local bn f mansec slotted_name - for mansec in 1 3 7 ; do - local rel_manpath="../../postgresql-${SLOT}/man/man${mansec}" - - mkdir -p "${ED}"/usr/share/man/man${mansec} || die "making man dir" - pushd "${ED}"/usr/share/man/man${mansec} > /dev/null || die "pushd failed" - - for f in "${ED}/usr/share/postgresql-${SLOT}/man/man${mansec}"/* ; do - bn=$(basename "${f}") - slotted_name=${bn%.${mansec}}${SLOT}.${mansec} - case ${bn} in - TABLE.7|WITH.7) - echo ".so ${rel_manpath}/SELECT.7" > ${slotted_name} - ;; - *) - echo ".so ${rel_manpath}/${bn}" > ${slotted_name} - ;; - esac - done - - popd > /dev/null - done - - insinto /etc/postgresql-${SLOT} - newins src/bin/psql/psqlrc.sample psqlrc - - # Don't delete libpg{port,common}.a (Bug #571046). They're always - # needed by extensions utilizing PGXS. - use static-libs || \ - find "${ED}" -name '*.a' ! -name libpgport.a ! -name libpgcommon.a \ - -delete - - # Make slot specific links to programs - local f bn - for f in $(find "${ED}/usr/$(get_libdir)/postgresql-${SLOT}/bin" \ - -mindepth 1 -maxdepth 1) - do - bn=$(basename "${f}") - dosym "../$(get_libdir)/postgresql-${SLOT}/bin/${bn}" \ - "/usr/bin/${bn}${SLOT/.}" - done - - if use doc ; then - docinto html - dodoc doc/src/sgml/html/* - fi - - if use server; then - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.confd-9.3" | newconfd - ${PN}-${SLOT} - - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.init-9.3-r1" | newinitd - ${PN}-${SLOT} - - if use systemd; then - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.service-9.6-r1" | \ - systemd_newunit - ${PN}-${SLOT}.service - newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir - newtmpfiles "${FILESDIR}"/${PN}.tmpfiles ${PN}-${SLOT}.conf - fi - - use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session - - if use prefix ; then - keepdir /run/postgresql - fperms 1775 /run/postgresql - fi - fi -} - -pkg_postinst() { - use server && use systemd && tmpfiles_process ${PN}-${SLOT}.conf - postgresql-config update - - elog "If you need a global psqlrc-file, you can place it in:" - elog " ${EROOT}/etc/postgresql-${SLOT}/" - - if use server ; then - elog - elog "Gentoo specific documentation:" - elog "https://wiki.gentoo.org/wiki/PostgreSQL" - elog - elog "Official documentation:" - elog "https://www.postgresql.org/docs/${SLOT}/static/index.html" - elog - elog "The default location of the Unix-domain socket is:" - elog " ${EROOT}/run/postgresql/" - elog - elog "Before initializing the database, you may want to edit PG_INITDB_OPTS" - elog "so that it contains your preferred locale in:" - elog " ${EROOT}/etc/conf.d/postgresql-${SLOT}" - elog - elog "Then, execute the following command to setup the initial database" - elog "environment:" - elog " emerge --config =${CATEGORY}/${PF}" - - if [[ -n ${REPLACING_VERSIONS} ]] ; then - ewarn "If your system is using 'pg_stat_statements' and you are running a" - ewarn "version of PostgreSQL ${SLOT}, we advise that you execute" - ewarn "the following command after upgrading:" - ewarn - ewarn "ALTER EXTENSION pg_stat_statements UPDATE;" - fi - fi -} - -pkg_prerm() { - if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then - ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?" - ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL" - - ebegin "Resuming removal in 10 seconds (Control-C to cancel)" - sleep 10 - eend 0 - fi -} - -pkg_postrm() { - postgresql-config update -} - -pkg_config() { - use server || die "USE flag 'server' not enabled. Nothing to configure." - - [[ -f "${EROOT}/etc/conf.d/postgresql-${SLOT}" ]] \ - && source "${EROOT}/etc/conf.d/postgresql-${SLOT}" - [[ -z "${PGDATA}" ]] && PGDATA="${EROOT}/etc/postgresql-${SLOT}/" - [[ -z "${DATA_DIR}" ]] \ - && DATA_DIR="${EROOT}/var/lib/postgresql/${SLOT}/data" - - # environment.bz2 may not contain the same locale as the current system - # locale. Unset and source from the current system locale. - if [ -f "${EROOT}/etc/env.d/02locale" ]; then - unset LANG - unset LC_CTYPE - unset LC_NUMERIC - unset LC_TIME - unset LC_COLLATE - unset LC_MONETARY - unset LC_MESSAGES - unset LC_ALL - source "${EROOT}/etc/env.d/02locale" - [ -n "${LANG}" ] && export LANG - [ -n "${LC_CTYPE}" ] && export LC_CTYPE - [ -n "${LC_NUMERIC}" ] && export LC_NUMERIC - [ -n "${LC_TIME}" ] && export LC_TIME - [ -n "${LC_COLLATE}" ] && export LC_COLLATE - [ -n "${LC_MONETARY}" ] && export LC_MONETARY - [ -n "${LC_MESSAGES}" ] && export LC_MESSAGES - [ -n "${LC_ALL}" ] && export LC_ALL - fi - - einfo "You can modify the paths and options passed to initdb by editing:" - einfo " ${EROOT}/etc/conf.d/postgresql-${SLOT}" - einfo - einfo "Information on options that can be passed to initdb are found at:" - einfo " https://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html" - einfo " https://www.postgresql.org/docs/${SLOT}/static/app-initdb.html" - einfo - einfo "PG_INITDB_OPTS is currently set to:" - if [[ -z "${PG_INITDB_OPTS}" ]] ; then - einfo " (none)" - else - einfo " ${PG_INITDB_OPTS}" - fi - einfo - einfo "Configuration files will be installed to:" - einfo " ${PGDATA}" - einfo - einfo "The database cluster will be created in:" - einfo " ${DATA_DIR}" - einfo - - ebegin "Continuing initialization in 5 seconds (Control-C to cancel)" - sleep 5 - eend 0 - - if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then - eerror "The given directory, '${DATA_DIR}', is not empty." - eerror "Modify DATA_DIR to point to an empty directory." - die "${DATA_DIR} is not empty." - fi - - einfo "Creating the data directory ..." - if [[ ${EUID} == 0 ]] ; then - mkdir -p "$(dirname ${DATA_DIR%/})" || die "Couldn't parent dirs" - mkdir -m 0700 "${DATA_DIR%/}" || die "Couldn't make DATA_DIR" - chown -h postgres:postgres "${DATA_DIR%/}" || die "Couldn't chown" - fi - - einfo "Initializing the database ..." - - if [[ ${EUID} == 0 ]] ; then - su - postgres -c "${EROOT}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}" - else - "${EROOT}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS} - fi - - if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then - mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}" - ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}" - fi - - # unix_socket_directory has no effect in postgresql.conf as it's - # overridden in the initscript - sed '/^#unix_socket_directories/,+1d' -i "${PGDATA%/}"/postgresql.conf - - einfo "The autovacuum function, which was in contrib, has been moved to the main" - einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled" - einfo "by default. You can disable it in the cluster's:" - einfo " ${PGDATA%/}/postgresql.conf" - einfo - if ! use systemd; then - einfo "The PostgreSQL server, by default, will log events to:" - einfo " ${DATA_DIR%/}/postmaster.log" - einfo - fi - if use prefix ; then - einfo "The location of the configuration files have moved to:" - einfo " ${PGDATA}" - einfo "To start the server:" - einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'" - einfo "To stop:" - einfo " pg_ctl stop -D ${DATA_DIR}" - einfo - einfo "Or move the configuration files back:" - einfo "mv ${PGDATA}*.conf ${DATA_DIR}" - elif use systemd; then - einfo "You should use the 'postgresql-${SLOT}.service' unit to run PostgreSQL" - einfo "instead of 'pg_ctl'." - else - einfo "You should use the '${EROOT}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL" - einfo "instead of 'pg_ctl'." - fi -} - -src_test() { - if use server && [[ ${UID} -ne 0 ]] ; then - # Some ICU tests fail if LC_CTYPE and LC_COLLATE aren't the same. We set - # LC_CTYPE to be equal to LC_COLLATE since LC_COLLATE is set by Portage. - local old_ctype=${LC_CTYPE} - export LC_CTYPE=${LC_COLLATE} - emake check - export LC_CTYPE=${old_ctype} - einfo "If you think other tests besides the regression tests are necessary, please" - einfo "submit a bug including a patch for this ebuild to enable them." - else - use server || \ - ewarn 'Tests cannot be run without the "server" use flag enabled.' - [[ ${UID} -eq 0 ]] || \ - ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.' - - ewarn 'Skipping.' - fi -} diff --git a/dev-db/postgresql/postgresql-13.16.ebuild b/dev-db/postgresql/postgresql-13.16.ebuild index 822fbdabce55..378473f3db41 100644 --- a/dev-db/postgresql/postgresql-13.16.ebuild +++ b/dev-db/postgresql/postgresql-13.16.ebuild @@ -4,12 +4,12 @@ EAPI=8 PYTHON_COMPAT=( python3_{10,11,12,13} ) -LLVM_COMPAT=( {15..18} ) +LLVM_COMPAT=( {15..19} ) LLVM_OPTIONAL=1 inherit flag-o-matic linux-info llvm-r1 pam python-single-r1 systemd tmpfiles -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" SLOT=$(ver_cut 1) diff --git a/dev-db/postgresql/postgresql-14.12-r2.ebuild b/dev-db/postgresql/postgresql-14.12-r2.ebuild deleted file mode 100644 index d141a01baf2c..000000000000 --- a/dev-db/postgresql/postgresql-14.12-r2.ebuild +++ /dev/null @@ -1,457 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10,11,12,13} ) -LLVM_COMPAT=( {15..18} ) -LLVM_OPTIONAL=1 - -inherit flag-o-matic linux-info llvm-r1 pam python-single-r1 systemd tmpfiles - -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -SLOT=$(ver_cut 1) - -MY_PV=${PV/_/} -S="${WORKDIR}/${PN}-${MY_PV}" - -SRC_URI="https://ftp.postgresql.org/pub/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2" - -LICENSE="POSTGRESQL GPL-2" -DESCRIPTION="PostgreSQL RDBMS" -HOMEPAGE="https://www.postgresql.org/" - -IUSE="debug doc icu kerberos ldap llvm +lz4 nls pam perl python +readline - selinux +server systemd ssl static-libs tcl uuid xml zlib" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -CDEPEND=" ->=app-eselect/eselect-postgresql-2.0 -acct-group/postgres -acct-user/postgres -sys-apps/less -virtual/libintl -icu? ( dev-libs/icu:= ) -kerberos? ( virtual/krb5 ) -ldap? ( net-nds/openldap:= ) -llvm? ( $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} - ') ) -lz4? ( app-arch/lz4 ) -pam? ( sys-libs/pam ) -perl? ( >=dev-lang/perl-5.8:= ) -python? ( ${PYTHON_DEPS} ) -readline? ( sys-libs/readline:0= ) -server? ( systemd? ( sys-apps/systemd ) ) -ssl? ( >=dev-libs/openssl-0.9.6-r1:0= ) -tcl? ( >=dev-lang/tcl-8:0= ) -xml? ( dev-libs/libxml2 dev-libs/libxslt ) -zlib? ( sys-libs/zlib ) -" - -# uuid flags -- depend on sys-apps/util-linux for Linux libcs, or if no -# supported libc in use depend on dev-libs/ossp-uuid. For BSD systems, -# the libc includes UUID functions. -UTIL_LINUX_LIBC=( elibc_{glibc,musl} ) - -nest_usedep() { - local front back - while [[ ${#} -gt 1 ]]; do - front+="${1}? ( " - back+=" )" - shift - done - echo "${front}${1}${back}" -} - -CDEPEND+=" -uuid? ( - ${UTIL_LINUX_LIBC[@]/%/? ( sys-apps/util-linux )} - $(nest_usedep ${UTIL_LINUX_LIBC[@]/#/!} dev-libs/ossp-uuid) -)" - -DEPEND="${CDEPEND} -sys-devel/bison -app-alternatives/lex -nls? ( sys-devel/gettext ) -xml? ( virtual/pkgconfig ) -" - -RDEPEND="${CDEPEND} -selinux? ( sec-policy/selinux-postgresql ) -" - -pkg_setup() { - use llvm && llvm-r1_pkg_setup - - use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup - - use python && python-single-r1_pkg_setup -} - -src_prepare() { - # Set proper run directory - sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \ - -i src/include/pg_config_manual.h || die - - # Rely on $PATH being in the proper order so that the correct - # install program is used for modules utilizing PGXS in both - # hardened and non-hardened environments. (Bug #528786) - sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die - - use server || eapply "${FILESDIR}/${PN}-14.5-no-server.patch" - - if use pam ; then - sed "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ - -i src/backend/libpq/auth.c || \ - die 'PGSQL_PAM_SERVICE rename failed.' - fi - - eapply_user -} - -src_configure() { - case ${CHOST} in - *-darwin*|*-solaris*) - use nls && append-libs intl - ;; - esac - - export LDFLAGS_SL="${LDFLAGS}" - export LDFLAGS_EX="${LDFLAGS}" - - local PO="${EPREFIX}" - - local i uuid_config="" - if use uuid; then - for i in ${UTIL_LINUX_LIBC[@]}; do - use ${i} && uuid_config="--with-uuid=e2fs" - done - [[ -z $uuid_config ]] && uuid_config="--with-uuid=ossp" - fi - - local myconf="\ - --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \ - --datadir="${PO}/usr/share/postgresql-${SLOT}" \ - --includedir="${PO}/usr/include/postgresql-${SLOT}" \ - --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ - --sysconfdir="${PO}/etc/postgresql-${SLOT}" \ - --with-system-tzdata="${PO}/usr/share/zoneinfo" \ - $(use_enable debug) \ - $(use_with icu) \ - $(use_with kerberos gssapi) \ - $(use_with ldap) \ - $(use_with llvm) \ - $(use_with lz4) \ - $(use_with pam) \ - $(use_with perl) \ - $(use_with python) \ - $(use_with readline) \ - $(use_with ssl openssl) \ - $(usex server "$(use_with systemd)" '--without-systemd') \ - $(use_with tcl) \ - ${uuid_config} \ - $(use_with xml libxml) \ - $(use_with xml libxslt) \ - $(use_with zlib) \ - $(use_enable nls)" - if use alpha; then - myconf+=" --disable-spinlocks" - else - # Should be the default but just in case - myconf+=" --enable-spinlocks" - fi - econf ${myconf} -} - -src_compile() { - emake - emake -C contrib -} - -src_install() { - emake DESTDIR="${D}" install - emake DESTDIR="${D}" install -C contrib - - dodoc README HISTORY - - # man pages are already built, but if we have the target make them, - # they'll be generated from source before being installed so we - # manually install man pages. - # We use ${SLOT} instead of doman for postgresql.eselect - insinto /usr/share/postgresql-${SLOT}/man/ - doins -r doc/src/sgml/man{1,3,7} - if ! use server; then - # Remove man pages for non-existent binaries - serverman=( - initdb - pg_{archivecleanup,controldata,ctl,resetwal,rewind,standby} - pg_{test_{fsync,timing},upgrade,waldump} - post{gres,master} - ) - for m in ${serverman[@]} ; do - rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1" - done - fi - docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7} - - # Create slot specific man pages - local bn f mansec slotted_name - for mansec in 1 3 7 ; do - local rel_manpath="../../postgresql-${SLOT}/man/man${mansec}" - - mkdir -p "${ED}"/usr/share/man/man${mansec} || die "making man dir" - pushd "${ED}"/usr/share/man/man${mansec} > /dev/null || die "pushd failed" - - for f in "${ED}/usr/share/postgresql-${SLOT}/man/man${mansec}"/* ; do - bn=$(basename "${f}") - slotted_name=${bn%.${mansec}}${SLOT}.${mansec} - case ${bn} in - TABLE.7|WITH.7) - echo ".so ${rel_manpath}/SELECT.7" > ${slotted_name} - ;; - *) - echo ".so ${rel_manpath}/${bn}" > ${slotted_name} - ;; - esac - done - - popd > /dev/null - done - - insinto /etc/postgresql-${SLOT} - newins src/bin/psql/psqlrc.sample psqlrc - - # Don't delete libpg{port,common}.a (Bug #571046). They're always - # needed by extensions utilizing PGXS. - use static-libs || \ - find "${ED}" -name '*.a' ! -name libpgport.a ! -name libpgcommon.a \ - -delete - - # Make slot specific links to programs - local f bn - for f in $(find "${ED}/usr/$(get_libdir)/postgresql-${SLOT}/bin" \ - -mindepth 1 -maxdepth 1) - do - bn=$(basename "${f}") - dosym "../$(get_libdir)/postgresql-${SLOT}/bin/${bn}" \ - "/usr/bin/${bn}${SLOT/.}" - done - - if use doc ; then - docinto html - dodoc doc/src/sgml/html/* - fi - - if use server; then - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.confd-9.3" | newconfd - ${PN}-${SLOT} - - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.init-9.3-r1" | newinitd - ${PN}-${SLOT} - - if use systemd; then - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.service-9.6-r1" | \ - systemd_newunit - ${PN}-${SLOT}.service - newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir - newtmpfiles "${FILESDIR}"/${PN}.tmpfiles ${PN}-${SLOT}.conf - fi - - use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session - - if use prefix ; then - keepdir /run/postgresql - fperms 1775 /run/postgresql - fi - fi -} - -pkg_postinst() { - use server && use systemd && tmpfiles_process ${PN}-${SLOT}.conf - postgresql-config update - - elog "If you need a global psqlrc-file, you can place it in:" - elog " ${EROOT}/etc/postgresql-${SLOT}/" - - if use server ; then - elog - elog "Gentoo specific documentation:" - elog "https://wiki.gentoo.org/wiki/PostgreSQL" - elog - elog "Official documentation:" - elog "https://www.postgresql.org/docs/${SLOT}/static/index.html" - elog - elog "The default location of the Unix-domain socket is:" - elog " ${EROOT}/run/postgresql/" - elog - elog "Before initializing the database, you may want to edit PG_INITDB_OPTS" - elog "so that it contains your preferred locale in:" - elog " ${EROOT}/etc/conf.d/postgresql-${SLOT}" - elog - elog "Then, execute the following command to setup the initial database" - elog "environment:" - elog " emerge --config =${CATEGORY}/${PF}" - - if [[ -n ${REPLACING_VERSIONS} ]] ; then - ewarn "If your system is using 'pg_stat_statements' and you are running a" - ewarn "version of PostgreSQL ${SLOT}, we advise that you execute" - ewarn "the following command after upgrading:" - ewarn - ewarn "ALTER EXTENSION pg_stat_statements UPDATE;" - fi - fi -} - -pkg_prerm() { - if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then - ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?" - ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL" - - ebegin "Resuming removal in 10 seconds (Control-C to cancel)" - sleep 10 - eend 0 - fi -} - -pkg_postrm() { - postgresql-config update -} - -pkg_config() { - use server || die "USE flag 'server' not enabled. Nothing to configure." - - [[ -f "${EROOT}/etc/conf.d/postgresql-${SLOT}" ]] \ - && source "${EROOT}/etc/conf.d/postgresql-${SLOT}" - [[ -z "${PGDATA}" ]] && PGDATA="${EROOT}/etc/postgresql-${SLOT}/" - [[ -z "${DATA_DIR}" ]] \ - && DATA_DIR="${EROOT}/var/lib/postgresql/${SLOT}/data" - - # environment.bz2 may not contain the same locale as the current system - # locale. Unset and source from the current system locale. - if [ -f "${EROOT}/etc/env.d/02locale" ]; then - unset LANG - unset LC_CTYPE - unset LC_NUMERIC - unset LC_TIME - unset LC_COLLATE - unset LC_MONETARY - unset LC_MESSAGES - unset LC_ALL - source "${EROOT}/etc/env.d/02locale" - [ -n "${LANG}" ] && export LANG - [ -n "${LC_CTYPE}" ] && export LC_CTYPE - [ -n "${LC_NUMERIC}" ] && export LC_NUMERIC - [ -n "${LC_TIME}" ] && export LC_TIME - [ -n "${LC_COLLATE}" ] && export LC_COLLATE - [ -n "${LC_MONETARY}" ] && export LC_MONETARY - [ -n "${LC_MESSAGES}" ] && export LC_MESSAGES - [ -n "${LC_ALL}" ] && export LC_ALL - fi - - einfo "You can modify the paths and options passed to initdb by editing:" - einfo " ${EROOT}/etc/conf.d/postgresql-${SLOT}" - einfo - einfo "Information on options that can be passed to initdb are found at:" - einfo " https://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html" - einfo " https://www.postgresql.org/docs/${SLOT}/static/app-initdb.html" - einfo - einfo "PG_INITDB_OPTS is currently set to:" - if [[ -z "${PG_INITDB_OPTS}" ]] ; then - einfo " (none)" - else - einfo " ${PG_INITDB_OPTS}" - fi - einfo - einfo "Configuration files will be installed to:" - einfo " ${PGDATA}" - einfo - einfo "The database cluster will be created in:" - einfo " ${DATA_DIR}" - einfo - - ebegin "Continuing initialization in 5 seconds (Control-C to cancel)" - sleep 5 - eend 0 - - if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then - eerror "The given directory, '${DATA_DIR}', is not empty." - eerror "Modify DATA_DIR to point to an empty directory." - die "${DATA_DIR} is not empty." - fi - - einfo "Creating the data directory ..." - if [[ ${EUID} == 0 ]] ; then - mkdir -p "$(dirname ${DATA_DIR%/})" || die "Couldn't parent dirs" - mkdir -m 0700 "${DATA_DIR%/}" || die "Couldn't make DATA_DIR" - chown -h postgres:postgres "${DATA_DIR%/}" || die "Couldn't chown" - fi - - einfo "Initializing the database ..." - - if [[ ${EUID} == 0 ]] ; then - su - postgres -c "${EROOT}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}" - else - "${EROOT}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS} - fi - - if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then - mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}" - ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}" - fi - - # unix_socket_directory has no effect in postgresql.conf as it's - # overridden in the initscript - sed '/^#unix_socket_directories/,+1d' -i "${PGDATA%/}"/postgresql.conf - - einfo "The autovacuum function, which was in contrib, has been moved to the main" - einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled" - einfo "by default. You can disable it in the cluster's:" - einfo " ${PGDATA%/}/postgresql.conf" - einfo - if ! use systemd; then - einfo "The PostgreSQL server, by default, will log events to:" - einfo " ${DATA_DIR%/}/postmaster.log" - einfo - fi - if use prefix ; then - einfo "The location of the configuration files have moved to:" - einfo " ${PGDATA}" - einfo "To start the server:" - einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'" - einfo "To stop:" - einfo " pg_ctl stop -D ${DATA_DIR}" - einfo - einfo "Or move the configuration files back:" - einfo "mv ${PGDATA}*.conf ${DATA_DIR}" - elif use systemd; then - einfo "You should use the 'postgresql-${SLOT}.service' unit to run PostgreSQL" - einfo "instead of 'pg_ctl'." - else - einfo "You should use the '${EROOT}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL" - einfo "instead of 'pg_ctl'." - fi -} - -src_test() { - if use server && [[ ${UID} -ne 0 ]] ; then - # Some ICU tests fail if LC_CTYPE and LC_COLLATE aren't the same. We set - # LC_CTYPE to be equal to LC_COLLATE since LC_COLLATE is set by Portage. - local old_ctype=${LC_CTYPE} - export LC_CTYPE=${LC_COLLATE} - emake check - export LC_CTYPE=${old_ctype} - einfo "If you think other tests besides the regression tests are necessary, please" - einfo "submit a bug including a patch for this ebuild to enable them." - else - use server || \ - ewarn 'Tests cannot be run without the "server" use flag enabled.' - [[ ${UID} -eq 0 ]] || \ - ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.' - - ewarn 'Skipping.' - fi -} diff --git a/dev-db/postgresql/postgresql-14.13.ebuild b/dev-db/postgresql/postgresql-14.13.ebuild index d141a01baf2c..c1bedd1b6583 100644 --- a/dev-db/postgresql/postgresql-14.13.ebuild +++ b/dev-db/postgresql/postgresql-14.13.ebuild @@ -4,12 +4,12 @@ EAPI=8 PYTHON_COMPAT=( python3_{10,11,12,13} ) -LLVM_COMPAT=( {15..18} ) +LLVM_COMPAT=( {15..19} ) LLVM_OPTIONAL=1 inherit flag-o-matic linux-info llvm-r1 pam python-single-r1 systemd tmpfiles -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" SLOT=$(ver_cut 1) diff --git a/dev-db/postgresql/postgresql-15.7-r2.ebuild b/dev-db/postgresql/postgresql-15.7-r2.ebuild deleted file mode 100644 index 740bb9acf2d0..000000000000 --- a/dev-db/postgresql/postgresql-15.7-r2.ebuild +++ /dev/null @@ -1,459 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10,11,12,13} ) -LLVM_COMPAT=( {15..18} ) -LLVM_OPTIONAL=1 - -inherit flag-o-matic linux-info llvm-r1 pam python-single-r1 systemd tmpfiles - -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -SLOT=$(ver_cut 1) - -MY_PV=${PV/_/} -S="${WORKDIR}/${PN}-${MY_PV}" - -SRC_URI="https://ftp.postgresql.org/pub/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2" - -LICENSE="POSTGRESQL GPL-2" -DESCRIPTION="PostgreSQL RDBMS" -HOMEPAGE="https://www.postgresql.org/" - -IUSE="debug doc icu kerberos ldap llvm +lz4 nls pam perl python +readline - selinux +server systemd ssl static-libs tcl uuid xml zlib +zstd" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -CDEPEND=" ->=app-eselect/eselect-postgresql-2.0 -acct-group/postgres -acct-user/postgres -sys-apps/less -virtual/libintl -icu? ( dev-libs/icu:= ) -kerberos? ( virtual/krb5 ) -ldap? ( net-nds/openldap:= ) -llvm? ( $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} - ') ) -lz4? ( app-arch/lz4 ) -pam? ( sys-libs/pam ) -perl? ( >=dev-lang/perl-5.8:= ) -python? ( ${PYTHON_DEPS} ) -readline? ( sys-libs/readline:0= ) -server? ( systemd? ( sys-apps/systemd ) ) -ssl? ( >=dev-libs/openssl-0.9.6-r1:0= ) -tcl? ( >=dev-lang/tcl-8:0= ) -xml? ( dev-libs/libxml2 dev-libs/libxslt ) -zlib? ( sys-libs/zlib ) -zstd? ( app-arch/zstd ) -" - -# uuid flags -- depend on sys-apps/util-linux for Linux libcs, or if no -# supported libc in use depend on dev-libs/ossp-uuid. For BSD systems, -# the libc includes UUID functions. -UTIL_LINUX_LIBC=( elibc_{glibc,musl} ) - -nest_usedep() { - local front back - while [[ ${#} -gt 1 ]]; do - front+="${1}? ( " - back+=" )" - shift - done - echo "${front}${1}${back}" -} - -CDEPEND+=" -uuid? ( - ${UTIL_LINUX_LIBC[@]/%/? ( sys-apps/util-linux )} - $(nest_usedep ${UTIL_LINUX_LIBC[@]/#/!} dev-libs/ossp-uuid) -)" - -DEPEND="${CDEPEND} -sys-devel/bison -app-alternatives/lex -nls? ( sys-devel/gettext ) -xml? ( virtual/pkgconfig ) -" - -RDEPEND="${CDEPEND} -selinux? ( sec-policy/selinux-postgresql ) -" - -pkg_setup() { - use llvm && llvm-r1_pkg_setup - - use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup - - use python && python-single-r1_pkg_setup -} - -src_prepare() { - # Set proper run directory - sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \ - -i src/include/pg_config_manual.h || die - - # Rely on $PATH being in the proper order so that the correct - # install program is used for modules utilizing PGXS in both - # hardened and non-hardened environments. (Bug #528786) - sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die - - use server || eapply "${FILESDIR}/${PN}-15_beta3-no-server.patch" - - if use pam ; then - sed "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ - -i src/backend/libpq/auth.c || \ - die 'PGSQL_PAM_SERVICE rename failed.' - fi - - eapply_user -} - -src_configure() { - case ${CHOST} in - *-darwin*|*-solaris*) - use nls && append-libs intl - ;; - esac - - export LDFLAGS_SL="${LDFLAGS}" - export LDFLAGS_EX="${LDFLAGS}" - - local PO="${EPREFIX}" - - local i uuid_config="" - if use uuid; then - for i in ${UTIL_LINUX_LIBC[@]}; do - use ${i} && uuid_config="--with-uuid=e2fs" - done - [[ -z $uuid_config ]] && uuid_config="--with-uuid=ossp" - fi - - local myconf="\ - --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \ - --datadir="${PO}/usr/share/postgresql-${SLOT}" \ - --includedir="${PO}/usr/include/postgresql-${SLOT}" \ - --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ - --sysconfdir="${PO}/etc/postgresql-${SLOT}" \ - --with-system-tzdata="${PO}/usr/share/zoneinfo" \ - $(use_enable debug) \ - $(use_with icu) \ - $(use_with kerberos gssapi) \ - $(use_with ldap) \ - $(use_with llvm) \ - $(use_with lz4) \ - $(use_with pam) \ - $(use_with perl) \ - $(use_with python) \ - $(use_with readline) \ - $(use_with ssl openssl) \ - $(usex server "$(use_with systemd)" '--without-systemd') \ - $(use_with tcl) \ - ${uuid_config} \ - $(use_with xml libxml) \ - $(use_with xml libxslt) \ - $(use_with zlib) \ - $(use_with zstd) \ - $(use_enable nls)" - if use alpha; then - myconf+=" --disable-spinlocks" - else - # Should be the default but just in case - myconf+=" --enable-spinlocks" - fi - econf ${myconf} -} - -src_compile() { - emake - emake -C contrib -} - -src_install() { - emake DESTDIR="${D}" install - emake DESTDIR="${D}" install -C contrib - - dodoc README HISTORY - - # man pages are already built, but if we have the target make them, - # they'll be generated from source before being installed so we - # manually install man pages. - # We use ${SLOT} instead of doman for postgresql.eselect - insinto /usr/share/postgresql-${SLOT}/man/ - doins -r doc/src/sgml/man{1,3,7} - if ! use server; then - # Remove man pages for non-existent binaries - serverman=( - initdb - pg_{archivecleanup,controldata,ctl,resetwal,rewind,standby} - pg_{test_{fsync,timing},upgrade,waldump} - post{gres,master} - ) - for m in ${serverman[@]} ; do - rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1" - done - fi - docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7} - - # Create slot specific man pages - local bn f mansec slotted_name - for mansec in 1 3 7 ; do - local rel_manpath="../../postgresql-${SLOT}/man/man${mansec}" - - mkdir -p "${ED}"/usr/share/man/man${mansec} || die "making man dir" - pushd "${ED}"/usr/share/man/man${mansec} > /dev/null || die "pushd failed" - - for f in "${ED}/usr/share/postgresql-${SLOT}/man/man${mansec}"/* ; do - bn=$(basename "${f}") - slotted_name=${bn%.${mansec}}${SLOT}.${mansec} - case ${bn} in - TABLE.7|WITH.7) - echo ".so ${rel_manpath}/SELECT.7" > ${slotted_name} - ;; - *) - echo ".so ${rel_manpath}/${bn}" > ${slotted_name} - ;; - esac - done - - popd > /dev/null - done - - insinto /etc/postgresql-${SLOT} - newins src/bin/psql/psqlrc.sample psqlrc - - # Don't delete libpg{port,common}.a (Bug #571046). They're always - # needed by extensions utilizing PGXS. - use static-libs || \ - find "${ED}" -name '*.a' ! -name libpgport.a ! -name libpgcommon.a \ - -delete - - # Make slot specific links to programs - local f bn - for f in $(find "${ED}/usr/$(get_libdir)/postgresql-${SLOT}/bin" \ - -mindepth 1 -maxdepth 1) - do - bn=$(basename "${f}") - dosym "../$(get_libdir)/postgresql-${SLOT}/bin/${bn}" \ - "/usr/bin/${bn}${SLOT/.}" - done - - if use doc ; then - docinto html - dodoc doc/src/sgml/html/* - fi - - if use server; then - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.confd-9.3" | newconfd - ${PN}-${SLOT} - - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.init-9.3-r1" | newinitd - ${PN}-${SLOT} - - if use systemd; then - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.service-9.6-r1" | \ - systemd_newunit - ${PN}-${SLOT}.service - newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir - newtmpfiles "${FILESDIR}"/${PN}.tmpfiles ${PN}-${SLOT}.conf - fi - - use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session - - if use prefix ; then - keepdir /run/postgresql - fperms 1775 /run/postgresql - fi - fi -} - -pkg_postinst() { - use server && use systemd && tmpfiles_process ${PN}-${SLOT}.conf - postgresql-config update - - elog "If you need a global psqlrc-file, you can place it in:" - elog " ${EROOT}/etc/postgresql-${SLOT}/" - - if use server ; then - elog - elog "Gentoo specific documentation:" - elog "https://wiki.gentoo.org/wiki/PostgreSQL" - elog - elog "Official documentation:" - elog "https://www.postgresql.org/docs/${SLOT}/static/index.html" - elog - elog "The default location of the Unix-domain socket is:" - elog " ${EROOT}/run/postgresql/" - elog - elog "Before initializing the database, you may want to edit PG_INITDB_OPTS" - elog "so that it contains your preferred locale in:" - elog " ${EROOT}/etc/conf.d/postgresql-${SLOT}" - elog - elog "Then, execute the following command to setup the initial database" - elog "environment:" - elog " emerge --config =${CATEGORY}/${PF}" - - if [[ -n ${REPLACING_VERSIONS} ]] ; then - ewarn "If your system is using 'pg_stat_statements' and you are running a" - ewarn "version of PostgreSQL ${SLOT}, we advise that you execute" - ewarn "the following command after upgrading:" - ewarn - ewarn "ALTER EXTENSION pg_stat_statements UPDATE;" - fi - fi -} - -pkg_prerm() { - if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then - ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?" - ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL" - - ebegin "Resuming removal in 10 seconds (Control-C to cancel)" - sleep 10 - eend 0 - fi -} - -pkg_postrm() { - postgresql-config update -} - -pkg_config() { - use server || die "USE flag 'server' not enabled. Nothing to configure." - - [[ -f "${EROOT}/etc/conf.d/postgresql-${SLOT}" ]] \ - && source "${EROOT}/etc/conf.d/postgresql-${SLOT}" - [[ -z "${PGDATA}" ]] && PGDATA="${EROOT}/etc/postgresql-${SLOT}/" - [[ -z "${DATA_DIR}" ]] \ - && DATA_DIR="${EROOT}/var/lib/postgresql/${SLOT}/data" - - # environment.bz2 may not contain the same locale as the current system - # locale. Unset and source from the current system locale. - if [ -f "${EROOT}/etc/env.d/02locale" ]; then - unset LANG - unset LC_CTYPE - unset LC_NUMERIC - unset LC_TIME - unset LC_COLLATE - unset LC_MONETARY - unset LC_MESSAGES - unset LC_ALL - source "${EROOT}/etc/env.d/02locale" - [ -n "${LANG}" ] && export LANG - [ -n "${LC_CTYPE}" ] && export LC_CTYPE - [ -n "${LC_NUMERIC}" ] && export LC_NUMERIC - [ -n "${LC_TIME}" ] && export LC_TIME - [ -n "${LC_COLLATE}" ] && export LC_COLLATE - [ -n "${LC_MONETARY}" ] && export LC_MONETARY - [ -n "${LC_MESSAGES}" ] && export LC_MESSAGES - [ -n "${LC_ALL}" ] && export LC_ALL - fi - - einfo "You can modify the paths and options passed to initdb by editing:" - einfo " ${EROOT}/etc/conf.d/postgresql-${SLOT}" - einfo - einfo "Information on options that can be passed to initdb are found at:" - einfo " https://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html" - einfo " https://www.postgresql.org/docs/${SLOT}/static/app-initdb.html" - einfo - einfo "PG_INITDB_OPTS is currently set to:" - if [[ -z "${PG_INITDB_OPTS}" ]] ; then - einfo " (none)" - else - einfo " ${PG_INITDB_OPTS}" - fi - einfo - einfo "Configuration files will be installed to:" - einfo " ${PGDATA}" - einfo - einfo "The database cluster will be created in:" - einfo " ${DATA_DIR}" - einfo - - ebegin "Continuing initialization in 5 seconds (Control-C to cancel)" - sleep 5 - eend 0 - - if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then - eerror "The given directory, '${DATA_DIR}', is not empty." - eerror "Modify DATA_DIR to point to an empty directory." - die "${DATA_DIR} is not empty." - fi - - einfo "Creating the data directory ..." - if [[ ${EUID} == 0 ]] ; then - mkdir -p "$(dirname ${DATA_DIR%/})" || die "Couldn't parent dirs" - mkdir -m 0700 "${DATA_DIR%/}" || die "Couldn't make DATA_DIR" - chown -h postgres:postgres "${DATA_DIR%/}" || die "Couldn't chown" - fi - - einfo "Initializing the database ..." - - if [[ ${EUID} == 0 ]] ; then - su - postgres -c "${EROOT}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}" - else - "${EROOT}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS} - fi - - if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then - mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}" - ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}" - fi - - # unix_socket_directory has no effect in postgresql.conf as it's - # overridden in the initscript - sed '/^#unix_socket_directories/,+1d' -i "${PGDATA%/}"/postgresql.conf - - einfo "The autovacuum function, which was in contrib, has been moved to the main" - einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled" - einfo "by default. You can disable it in the cluster's:" - einfo " ${PGDATA%/}/postgresql.conf" - einfo - if ! use systemd; then - einfo "The PostgreSQL server, by default, will log events to:" - einfo " ${DATA_DIR%/}/postmaster.log" - einfo - fi - if use prefix ; then - einfo "The location of the configuration files have moved to:" - einfo " ${PGDATA}" - einfo "To start the server:" - einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'" - einfo "To stop:" - einfo " pg_ctl stop -D ${DATA_DIR}" - einfo - einfo "Or move the configuration files back:" - einfo "mv ${PGDATA}*.conf ${DATA_DIR}" - elif use systemd; then - einfo "You should use the 'postgresql-${SLOT}.service' unit to run PostgreSQL" - einfo "instead of 'pg_ctl'." - else - einfo "You should use the '${EROOT}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL" - einfo "instead of 'pg_ctl'." - fi -} - -src_test() { - if use server && [[ ${UID} -ne 0 ]] ; then - # Some ICU tests fail if LC_CTYPE and LC_COLLATE aren't the same. We set - # LC_CTYPE to be equal to LC_COLLATE since LC_COLLATE is set by Portage. - local old_ctype=${LC_CTYPE} - export LC_CTYPE=${LC_COLLATE} - emake check - export LC_CTYPE=${old_ctype} - einfo "If you think other tests besides the regression tests are necessary, please" - einfo "submit a bug including a patch for this ebuild to enable them." - else - use server || \ - ewarn 'Tests cannot be run without the "server" use flag enabled.' - [[ ${UID} -eq 0 ]] || \ - ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.' - - ewarn 'Skipping.' - fi -} diff --git a/dev-db/postgresql/postgresql-15.8.ebuild b/dev-db/postgresql/postgresql-15.8.ebuild index 740bb9acf2d0..e9aa0120d664 100644 --- a/dev-db/postgresql/postgresql-15.8.ebuild +++ b/dev-db/postgresql/postgresql-15.8.ebuild @@ -4,12 +4,12 @@ EAPI=8 PYTHON_COMPAT=( python3_{10,11,12,13} ) -LLVM_COMPAT=( {15..18} ) +LLVM_COMPAT=( {15..19} ) LLVM_OPTIONAL=1 inherit flag-o-matic linux-info llvm-r1 pam python-single-r1 systemd tmpfiles -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" SLOT=$(ver_cut 1) diff --git a/dev-db/postgresql/postgresql-16.3-r2.ebuild b/dev-db/postgresql/postgresql-16.3-r2.ebuild deleted file mode 100644 index f0ca408471e6..000000000000 --- a/dev-db/postgresql/postgresql-16.3-r2.ebuild +++ /dev/null @@ -1,460 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10,11,12,13} ) -LLVM_COMPAT=( {15..18} ) -LLVM_OPTIONAL=1 - -inherit flag-o-matic linux-info llvm-r1 pam python-single-r1 systemd tmpfiles - -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -SLOT=$(ver_cut 1) - -MY_PV=${PV/_/} -S="${WORKDIR}/${PN}-${MY_PV}" - -SRC_URI="https://ftp.postgresql.org/pub/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2" - -LICENSE="POSTGRESQL GPL-2" -DESCRIPTION="PostgreSQL RDBMS" -HOMEPAGE="https://www.postgresql.org/" - -IUSE="debug doc +icu kerberos ldap llvm +lz4 nls pam perl python - +readline selinux +server systemd ssl static-libs tcl uuid xml - zlib +zstd" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -CDEPEND=" ->=app-eselect/eselect-postgresql-2.0 -acct-group/postgres -acct-user/postgres -sys-apps/less -virtual/libintl -icu? ( dev-libs/icu:= ) -kerberos? ( app-crypt/mit-krb5 ) -ldap? ( net-nds/openldap:= ) -llvm? ( $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} - ') ) -lz4? ( app-arch/lz4 ) -pam? ( sys-libs/pam ) -perl? ( >=dev-lang/perl-5.8:= ) -python? ( ${PYTHON_DEPS} ) -readline? ( sys-libs/readline:0= ) -server? ( systemd? ( sys-apps/systemd ) ) -ssl? ( >=dev-libs/openssl-0.9.6-r1:0= ) -tcl? ( >=dev-lang/tcl-8:0= ) -xml? ( dev-libs/libxml2 dev-libs/libxslt ) -zlib? ( sys-libs/zlib ) -zstd? ( app-arch/zstd ) -" - -# uuid flags -- depend on sys-apps/util-linux for Linux libcs, or if no -# supported libc in use depend on dev-libs/ossp-uuid. For BSD systems, -# the libc includes UUID functions. -UTIL_LINUX_LIBC=( elibc_{glibc,musl} ) - -nest_usedep() { - local front back - while [[ ${#} -gt 1 ]]; do - front+="${1}? ( " - back+=" )" - shift - done - echo "${front}${1}${back}" -} - -CDEPEND+=" -uuid? ( - ${UTIL_LINUX_LIBC[@]/%/? ( sys-apps/util-linux )} - $(nest_usedep ${UTIL_LINUX_LIBC[@]/#/!} dev-libs/ossp-uuid) -)" - -DEPEND="${CDEPEND} -sys-devel/bison -app-alternatives/lex -nls? ( sys-devel/gettext ) -xml? ( virtual/pkgconfig ) -" - -RDEPEND="${CDEPEND} -selinux? ( sec-policy/selinux-postgresql ) -" - -pkg_setup() { - use llvm && llvm-r1_pkg_setup - - use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup - - use python && python-single-r1_pkg_setup -} - -src_prepare() { - # Set proper run directory - sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \ - -i src/include/pg_config_manual.h || die - - # Rely on $PATH being in the proper order so that the correct - # install program is used for modules utilizing PGXS in both - # hardened and non-hardened environments. (Bug #528786) - sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die - - use server || eapply "${FILESDIR}/${PN}-15_beta3-no-server.patch" - - if use pam ; then - sed "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ - -i src/backend/libpq/auth.c || \ - die 'PGSQL_PAM_SERVICE rename failed.' - fi - - eapply_user -} - -src_configure() { - case ${CHOST} in - *-darwin*|*-solaris*) - use nls && append-libs intl - ;; - esac - - export LDFLAGS_SL="${LDFLAGS}" - export LDFLAGS_EX="${LDFLAGS}" - - local PO="${EPREFIX}" - - local i uuid_config="" - if use uuid; then - for i in ${UTIL_LINUX_LIBC[@]}; do - use ${i} && uuid_config="--with-uuid=e2fs" - done - [[ -z $uuid_config ]] && uuid_config="--with-uuid=ossp" - fi - - local myconf="\ - --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \ - --datadir="${PO}/usr/share/postgresql-${SLOT}" \ - --includedir="${PO}/usr/include/postgresql-${SLOT}" \ - --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ - --sysconfdir="${PO}/etc/postgresql-${SLOT}" \ - --with-system-tzdata="${PO}/usr/share/zoneinfo" \ - $(use_enable debug) \ - $(use_with icu) \ - $(use_with kerberos gssapi) \ - $(use_with ldap) \ - $(use_with llvm) \ - $(use_with lz4) \ - $(use_with pam) \ - $(use_with perl) \ - $(use_with python) \ - $(use_with readline) \ - $(use_with ssl openssl) \ - $(usex server "$(use_with systemd)" '--without-systemd') \ - $(use_with tcl) \ - ${uuid_config} \ - $(use_with xml libxml) \ - $(use_with xml libxslt) \ - $(use_with zlib) \ - $(use_with zstd) \ - $(use_enable nls)" - if use alpha; then - myconf+=" --disable-spinlocks" - else - # Should be the default but just in case - myconf+=" --enable-spinlocks" - fi - econf ${myconf} -} - -src_compile() { - emake - emake -C contrib -} - -src_install() { - emake DESTDIR="${D}" install - emake DESTDIR="${D}" install -C contrib - - dodoc README HISTORY - - # man pages are already built, but if we have the target make them, - # they'll be generated from source before being installed so we - # manually install man pages. - # We use ${SLOT} instead of doman for postgresql.eselect - insinto /usr/share/postgresql-${SLOT}/man/ - doins -r doc/src/sgml/man{1,3,7} - if ! use server; then - # Remove man pages for non-existent binaries - serverman=( - initdb - pg_{archivecleanup,controldata,ctl,resetwal,rewind,standby} - pg_{test_{fsync,timing},upgrade,waldump} - post{gres,master} - ) - for m in ${serverman[@]} ; do - rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1" - done - fi - docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7} - - # Create slot specific man pages - local bn f mansec slotted_name - for mansec in 1 3 7 ; do - local rel_manpath="../../postgresql-${SLOT}/man/man${mansec}" - - mkdir -p "${ED}"/usr/share/man/man${mansec} || die "making man dir" - pushd "${ED}"/usr/share/man/man${mansec} > /dev/null || die "pushd failed" - - for f in "${ED}/usr/share/postgresql-${SLOT}/man/man${mansec}"/* ; do - bn=$(basename "${f}") - slotted_name=${bn%.${mansec}}${SLOT}.${mansec} - case ${bn} in - TABLE.7|WITH.7) - echo ".so ${rel_manpath}/SELECT.7" > ${slotted_name} - ;; - *) - echo ".so ${rel_manpath}/${bn}" > ${slotted_name} - ;; - esac - done - - popd > /dev/null - done - - insinto /etc/postgresql-${SLOT} - newins src/bin/psql/psqlrc.sample psqlrc - - # Don't delete libpg{port,common}.a (Bug #571046). They're always - # needed by extensions utilizing PGXS. - use static-libs || \ - find "${ED}" -name '*.a' ! -name libpgport.a ! -name libpgcommon.a \ - -delete - - # Make slot specific links to programs - local f bn - for f in $(find "${ED}/usr/$(get_libdir)/postgresql-${SLOT}/bin" \ - -mindepth 1 -maxdepth 1) - do - bn=$(basename "${f}") - dosym "../$(get_libdir)/postgresql-${SLOT}/bin/${bn}" \ - "/usr/bin/${bn}${SLOT/.}" - done - - if use doc ; then - docinto html - dodoc doc/src/sgml/html/* - fi - - if use server; then - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.confd-9.3" | newconfd - ${PN}-${SLOT} - - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.init-9.3-r1" | newinitd - ${PN}-${SLOT} - - if use systemd; then - sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ - "${FILESDIR}/${PN}.service-9.6-r1" | \ - systemd_newunit - ${PN}-${SLOT}.service - newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir - newtmpfiles "${FILESDIR}"/${PN}.tmpfiles ${PN}-${SLOT}.conf - fi - - use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session - - if use prefix ; then - keepdir /run/postgresql - fperms 1775 /run/postgresql - fi - fi -} - -pkg_postinst() { - use server && use systemd && tmpfiles_process ${PN}-${SLOT}.conf - postgresql-config update - - elog "If you need a global psqlrc-file, you can place it in:" - elog " ${EROOT}/etc/postgresql-${SLOT}/" - - if use server ; then - elog - elog "Gentoo specific documentation:" - elog "https://wiki.gentoo.org/wiki/PostgreSQL" - elog - elog "Official documentation:" - elog "https://www.postgresql.org/docs/${SLOT}/static/index.html" - elog - elog "The default location of the Unix-domain socket is:" - elog " ${EROOT}/run/postgresql/" - elog - elog "Before initializing the database, you may want to edit PG_INITDB_OPTS" - elog "so that it contains your preferred locale in:" - elog " ${EROOT}/etc/conf.d/postgresql-${SLOT}" - elog - elog "Then, execute the following command to setup the initial database" - elog "environment:" - elog " emerge --config =${CATEGORY}/${PF}" - - if [[ -n ${REPLACING_VERSIONS} ]] ; then - ewarn "If your system is using 'pg_stat_statements' and you are running a" - ewarn "version of PostgreSQL ${SLOT}, we advise that you execute" - ewarn "the following command after upgrading:" - ewarn - ewarn "ALTER EXTENSION pg_stat_statements UPDATE;" - fi - fi -} - -pkg_prerm() { - if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then - ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?" - ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL" - - ebegin "Resuming removal in 10 seconds (Control-C to cancel)" - sleep 10 - eend 0 - fi -} - -pkg_postrm() { - postgresql-config update -} - -pkg_config() { - use server || die "USE flag 'server' not enabled. Nothing to configure." - - [[ -f "${EROOT}/etc/conf.d/postgresql-${SLOT}" ]] \ - && source "${EROOT}/etc/conf.d/postgresql-${SLOT}" - [[ -z "${PGDATA}" ]] && PGDATA="${EROOT}/etc/postgresql-${SLOT}/" - [[ -z "${DATA_DIR}" ]] \ - && DATA_DIR="${EROOT}/var/lib/postgresql/${SLOT}/data" - - # environment.bz2 may not contain the same locale as the current system - # locale. Unset and source from the current system locale. - if [ -f "${EROOT}/etc/env.d/02locale" ]; then - unset LANG - unset LC_CTYPE - unset LC_NUMERIC - unset LC_TIME - unset LC_COLLATE - unset LC_MONETARY - unset LC_MESSAGES - unset LC_ALL - source "${EROOT}/etc/env.d/02locale" - [ -n "${LANG}" ] && export LANG - [ -n "${LC_CTYPE}" ] && export LC_CTYPE - [ -n "${LC_NUMERIC}" ] && export LC_NUMERIC - [ -n "${LC_TIME}" ] && export LC_TIME - [ -n "${LC_COLLATE}" ] && export LC_COLLATE - [ -n "${LC_MONETARY}" ] && export LC_MONETARY - [ -n "${LC_MESSAGES}" ] && export LC_MESSAGES - [ -n "${LC_ALL}" ] && export LC_ALL - fi - - einfo "You can modify the paths and options passed to initdb by editing:" - einfo " ${EROOT}/etc/conf.d/postgresql-${SLOT}" - einfo - einfo "Information on options that can be passed to initdb are found at:" - einfo " https://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html" - einfo " https://www.postgresql.org/docs/${SLOT}/static/app-initdb.html" - einfo - einfo "PG_INITDB_OPTS is currently set to:" - if [[ -z "${PG_INITDB_OPTS}" ]] ; then - einfo " (none)" - else - einfo " ${PG_INITDB_OPTS}" - fi - einfo - einfo "Configuration files will be installed to:" - einfo " ${PGDATA}" - einfo - einfo "The database cluster will be created in:" - einfo " ${DATA_DIR}" - einfo - - ebegin "Continuing initialization in 5 seconds (Control-C to cancel)" - sleep 5 - eend 0 - - if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then - eerror "The given directory, '${DATA_DIR}', is not empty." - eerror "Modify DATA_DIR to point to an empty directory." - die "${DATA_DIR} is not empty." - fi - - einfo "Creating the data directory ..." - if [[ ${EUID} == 0 ]] ; then - mkdir -p "$(dirname ${DATA_DIR%/})" || die "Couldn't parent dirs" - mkdir -m 0700 "${DATA_DIR%/}" || die "Couldn't make DATA_DIR" - chown -h postgres:postgres "${DATA_DIR%/}" || die "Couldn't chown" - fi - - einfo "Initializing the database ..." - - if [[ ${EUID} == 0 ]] ; then - su - postgres -c "${EROOT}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}" - else - "${EROOT}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS} - fi - - if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then - mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}" - ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}" - fi - - # unix_socket_directory has no effect in postgresql.conf as it's - # overridden in the initscript - sed '/^#unix_socket_directories/,+1d' -i "${PGDATA%/}"/postgresql.conf - - einfo "The autovacuum function, which was in contrib, has been moved to the main" - einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled" - einfo "by default. You can disable it in the cluster's:" - einfo " ${PGDATA%/}/postgresql.conf" - einfo - if ! use systemd; then - einfo "The PostgreSQL server, by default, will log events to:" - einfo " ${DATA_DIR%/}/postmaster.log" - einfo - fi - if use prefix ; then - einfo "The location of the configuration files have moved to:" - einfo " ${PGDATA}" - einfo "To start the server:" - einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'" - einfo "To stop:" - einfo " pg_ctl stop -D ${DATA_DIR}" - einfo - einfo "Or move the configuration files back:" - einfo "mv ${PGDATA}*.conf ${DATA_DIR}" - elif use systemd; then - einfo "You should use the 'postgresql-${SLOT}.service' unit to run PostgreSQL" - einfo "instead of 'pg_ctl'." - else - einfo "You should use the '${EROOT}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL" - einfo "instead of 'pg_ctl'." - fi -} - -src_test() { - if use server && [[ ${UID} -ne 0 ]] ; then - # Some ICU tests fail if LC_CTYPE and LC_COLLATE aren't the same. We set - # LC_CTYPE to be equal to LC_COLLATE since LC_COLLATE is set by Portage. - local old_ctype=${LC_CTYPE} - export LC_CTYPE=${LC_COLLATE} - emake check - export LC_CTYPE=${old_ctype} - einfo "If you think other tests besides the regression tests are necessary, please" - einfo "submit a bug including a patch for this ebuild to enable them." - else - use server || \ - ewarn 'Tests cannot be run without the "server" use flag enabled.' - [[ ${UID} -eq 0 ]] || \ - ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.' - - ewarn 'Skipping.' - fi -} diff --git a/dev-db/postgresql/postgresql-16.4.ebuild b/dev-db/postgresql/postgresql-16.4.ebuild index f0ca408471e6..a205f89d6f42 100644 --- a/dev-db/postgresql/postgresql-16.4.ebuild +++ b/dev-db/postgresql/postgresql-16.4.ebuild @@ -4,12 +4,12 @@ EAPI=8 PYTHON_COMPAT=( python3_{10,11,12,13} ) -LLVM_COMPAT=( {15..18} ) +LLVM_COMPAT=( {15..19} ) LLVM_OPTIONAL=1 inherit flag-o-matic linux-info llvm-r1 pam python-single-r1 systemd tmpfiles -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" SLOT=$(ver_cut 1) diff --git a/dev-db/postgresql/postgresql-17_rc1.ebuild b/dev-db/postgresql/postgresql-17.0-r1.ebuild index 0051e4905613..1ad58bcafb27 100644 --- a/dev-db/postgresql/postgresql-17_rc1.ebuild +++ b/dev-db/postgresql/postgresql-17.0-r1.ebuild @@ -4,12 +4,12 @@ EAPI=8 PYTHON_COMPAT=( python3_{10,11,12,13} ) -LLVM_COMPAT=( {15..18} ) +LLVM_COMPAT=( {15..19} ) LLVM_OPTIONAL=1 inherit flag-o-matic linux-info llvm-r1 pam python-single-r1 systemd tmpfiles -KEYWORDS="" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" SLOT=$(ver_cut 1) @@ -116,7 +116,7 @@ src_prepare() { # hardened and non-hardened environments. (Bug #528786) sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die - use server || eapply "${FILESDIR}/${PN}-15_beta3-no-server.patch" + use server || eapply "${FILESDIR}/${PN}-17.0-no-server.patch" if use pam ; then sed "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ diff --git a/dev-db/postgresql/postgresql-9999.ebuild b/dev-db/postgresql/postgresql-9999.ebuild index 3f53c730579f..b6efc09b8671 100644 --- a/dev-db/postgresql/postgresql-9999.ebuild +++ b/dev-db/postgresql/postgresql-9999.ebuild @@ -20,7 +20,7 @@ if [[ $PV = *9999* ]] ; then inherit git-r3 EGIT_REPO_URI="https://git.postgresql.org/git/postgresql.git" else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" MY_PV=${PV/_/} SRC_URI="https://ftp.postgresql.org/pub/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2" diff --git a/dev-db/pspg/Manifest b/dev-db/pspg/Manifest index de550107987c..9ae2fa2eed3f 100644 --- a/dev-db/pspg/Manifest +++ b/dev-db/pspg/Manifest @@ -2,8 +2,10 @@ DIST pspg-5.5.4.tar.gz 2415002 BLAKE2B 1b7712318069c5fe69afe5e7477aa2a415d007a1f 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 +DIST pspg-5.8.7.tar.gz 2445765 BLAKE2B 3cbc0b75cb6b2063026e8a614e0f0821062bf2ecbdebe7b7290f82f8589541b0ff0edd19890b7de66c879b0519fe9f93deb9645c740635c8c002a8d8cd4f9cc3 SHA512 fefdd178663b4ed44484e5092667c435cfcb8c059c0687f8e51121948f414ab862cc23808432d2f5b4b516a2c8f1d22ceecb2eba872a8acdd5c6a9d45f456cd6 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 EBUILD pspg-5.8.5.ebuild 662 BLAKE2B 17db5033506ba2f9b65803e276596045b2706914c9050ba861405096fe0e8509e0ffd860ae8bf813f52f5190ff6ab2fd13d8146a9947f6b3311545349928ab13 SHA512 e2fb2e9a1e560ea7e111776e7b2e360295308d49fd9bd487712961c6afa7e8a0f5cd7480b1e5c5481ac8712b257095b1373e4c5f62ee0dda7e32bd1a5fbfdd78 +EBUILD pspg-5.8.7.ebuild 663 BLAKE2B 95918bbe9b2820f8e8ab78696e50b275818336844158eec704dd82007658d577e63abde846fac98b976e9e40ea1721aa4ec0321907f5666da9ef9d767a0742e0 SHA512 f6090a6691573467a843fc9e4919563cff4343df45d2f06d5cd50fc68a566ec8d5b20678b2b13fee223d08f75a185f16e7e46e2c88071b99a9103b40feea3a8a MISC metadata.xml 746 BLAKE2B fbf6df3b4bddc3c61508c50c9ecdd1f0fa0191b1123f60da461160a4b667a9b810dbe15effcef7776f97b0fa9de9a0ed6050d25e06e8d922f4bec519456c24c2 SHA512 e03312cd437fed48a22fae4a28ab64c6633f6079204809fd3fd26eee255c5a979c05520348a9bd9396fefa611f31225798d771616ba27ed96b8e3c637eadf0d6 diff --git a/dev-db/pspg/pspg-5.8.7.ebuild b/dev-db/pspg/pspg-5.8.7.ebuild new file mode 100644 index 000000000000..0f1fc4373200 --- /dev/null +++ b/dev-db/pspg/pspg-5.8.7.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} +} diff --git a/dev-db/qdbm/Manifest b/dev-db/qdbm/Manifest index 865559d10f71..99fdb2774eec 100644 --- a/dev-db/qdbm/Manifest +++ b/dev-db/qdbm/Manifest @@ -5,5 +5,5 @@ AUX qdbm-ruby.patch 2517 BLAKE2B 504437bdb8858e8970ddcd61b05903de5aa1b0bc3c6139c AUX qdbm-ruby19.patch 10116 BLAKE2B 9a15c5d2e0cf8237edb78e68b2f9fde4868841bcca6abc08a33d110b9f25283e37fcb306c18bcca5495c7e5cedc778e3a2de2fe8414ce46c661a7c40d517cddc SHA512 f3e6c320a600ad3355fc74a333c28fc2dd904a2a52ca91a51f21b3dd14c7527bf312f5040dbc3e4f61d2dbcc0ade185e226333c79f9a04fc05437a156befc0e7 AUX qdbm-runpath.patch 1133 BLAKE2B 9b1c8c211d8e4075a77a34f3d79ca15cb3d833801777bdb328293047539bdd1a51c08031b3400c11d10732aa7864078ca8db02713a95cd90704e1a9e26f5bd10 SHA512 de8bde4a614617d742131e8025fd661019ec81b803817ef32ffca461b2c8b60c20756f6e6f84d6f23124eed3947ab3573b8c4a05b254f8b4d3e53f0cf7bc8452 DIST qdbm-1.8.78.tar.gz 1015429 BLAKE2B 1b985d856ff18ddfeb2d779694ba9a76006908b4b2a7509d4e3668aded80e08bbde28bcc24762ec27048cdc01dc84f9872dbfc221e8eea6f1c68f5e81cdc69d3 SHA512 480549c56071bf82edf714a611aef863599c858ed63702820ae0890fd2c0029d1a231ed94a8090c74420dd648bd3625d270a5c078b113cbb86a12ef509e19037 -EBUILD qdbm-1.8.78-r5.ebuild 3539 BLAKE2B b71b9ffc179b613c644fd4de9e79090146b7ec1c9851370a2bb4636f42e9fa242640f78f34159a788396981200b59e319f13ae1390031fa86a2210fc8c579416 SHA512 5a49722f4ec4559c46bd9c2c3e5433e41475a982d401d5bc53b47283a069161e94ec17ce3b46f7a7381fbccc1b5092c56ba4dee6015c6e846861abf4c02b6394 +EBUILD qdbm-1.8.78-r5.ebuild 3533 BLAKE2B 66b573965cd7119294452e0e6579cd5b5e347f54799bfb319ac78aaa59bfd4bafa8def12f858f1816061544fac42267909393590468fb6dcd6408cdfe8592bf1 SHA512 9d180284a26e8650327063126f58a754d4726b55554fa9c899988beec849a2eef84c62328f7197023eba244b11ba730ca48487f51c61e4de2dcf1e42969814b5 MISC metadata.xml 249 BLAKE2B a37da98d387308dab889eab2665b67e4176707f3c115a7a69cb7f4b19f9864b96bc2fe70efa105e627c4b57a7d626f6b23dc2709a225a9debada3356f3cf32a0 SHA512 a5095fb01e05f24583a962e36131b2f02cf2d1dd7a97051200e465ad97db014721de7c1857f5eb736cb0290682e8de833cb4c735f7de8d98cdfae1aed6d3d549 diff --git a/dev-db/qdbm/qdbm-1.8.78-r5.ebuild b/dev-db/qdbm/qdbm-1.8.78-r5.ebuild index c4022db45e1f..3a9ba0524bf8 100644 --- a/dev-db/qdbm/qdbm-1.8.78-r5.ebuild +++ b/dev-db/qdbm/qdbm-1.8.78-r5.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://fallabs.com/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" IUSE="bzip2 cxx java lzo perl ruby static-libs zlib" RDEPEND="bzip2? ( app-arch/bzip2 ) diff --git a/dev-db/recutils/Manifest b/dev-db/recutils/Manifest new file mode 100644 index 000000000000..adf43a3dc33a --- /dev/null +++ b/dev-db/recutils/Manifest @@ -0,0 +1,13 @@ +AUX 1.9/0001-db-fix-rec_db_set-crash-with-empty-databases.patch 1931 BLAKE2B 80be524e548e51a59640409b48a0853f77c08d0703e2c8396c79854e35325f773acd5161722639a6512a29ecffb35f8d1d34c90783a87acf7df123b4b2ea9f6f SHA512 bf49294209acbbcbcb268b6eb870643b80565bccc63b34124359cedecd663ea36c755b37f386341dffdeb91df18dac61429d83ea8c3c71f008c2faf79c3448bc +AUX 1.9/0002-C99-compatibility-fix.patch 2368 BLAKE2B 45abc75feb34e6f5ada0f0544e0b04110fd9259a915ed58e2f992f008169f5ed0a833aa8197fe666d62318ef0988725197cb24778e1e15c7f172eb785798e478 SHA512 ff19a213dc0ceb42230a44f48e43dcdc13429ef3646f511666c83195835bc23c1e1fcb74aece2e79c389aa9150603fb8e089a600519ea336b252e2fde748a74e +AUX 1.9/0003-Fix-bison-and-flex-build-rules.patch 8031 BLAKE2B b0535239d48a9299c1c24fcb7f58fde81ed4519d5cd238c12557b1dbd970c95b40d2b34e0aa917de02e5813d681848f9f32a5b65046c1291fdd8f9d40ffc9125 SHA512 962a07df2af86f14af801be4e737a02b3e20e278e0488e5118845804c78dd66f5c5cfdb9b7d3319c417f5ca9c98eaf3b99f9abef17b5ff89135cb801a00b65eb +AUX 1.9/0004-rec-crypt.c-do-not-assume-the-output-buffer-is-NULL-.patch 3253 BLAKE2B 22900ee5030a11a2a661e96b97cf21de5381e785baa2a2e84dc849d3dffe082ab766351de47a2965fe38d39c5e0b4c9794e49f0060e106a153b63cc6a468806e SHA512 89ebdcf640779ab1475db918455813b2ef49dbebd7f3a2b1497125a174aaafe174aac24dfdf023712b8c86b065852437e6cc69699d6f70a031fc1d00bbabff32 +AUX 1.9/0005-torture-add-missing-includes-for-free.patch 3056 BLAKE2B b6f9e999cfb22a294aa829743007e2abb2014c1f4ef94cabfe2e8ba58054ecfc612adb688fee668de4a56293e60e765b8df50a401d385c07ae3d7fb9c8bf3722 SHA512 cd30c7770c86273678b96b41bcf1a782207b388fc9542a0ba020a93393e8bf7f1cb3ea0db3618d33229f0b887723bd8f88f0a4d2fd79a672c0151e9e867b96bd +AUX 1.9/0006-configure.ac-add-options-for-dependencies.patch 6189 BLAKE2B 175e0cd456279ed60bf7bd46dbbde20ae24444d173392477fbce5f350275157ffa0430f294c2ba9e9dcd09c13a48b3ce430d9b2a375aacaab51f841fd32d6458 SHA512 75272a9a7a43c70d1501b3219446fbbb97fa056676e302610bf187a9f179f897e0a891b1a0bdd227fe759f0e2b6721de086274b7feb9d59f55546504ef3ba401 +AUX 1.9/0007-configure.ac-modernise.patch 3064 BLAKE2B a48d78f15b9da375453a94a60e37e19080588b63722db83b2f8e7d339b0d8b64f546a58deb58c6dd19467f385998a8617ee7d9fe21d00c3738ae6c06f43d0abd SHA512 8328fcf78d0428b3c397c31b875bfd54a5c6feafcf4eebf4dde88dc71bb412ef6f5eb49c3fad06a1678cfa995cbd5f6b481cfa5468063586f65606773947e096 +AUX 1.9/0008-configure.ac-call-PKG_PROG_PKG_CONFIG-unconditionall.patch 1200 BLAKE2B eda53eee3379987fb93df87c028d06dc664fd2609b6130babac56ae096dbc0b4f6201fffcfa272ddcc13ce53c8a9a9925e2aa4bb3bc0f1dc95394d935c8e3aa0 SHA512 442b4d7b07279c641a19b74d4a552f1aa12ce769ca18ce7d8462415d91f0d412025060c9bea943007f676b0d9d535234d152ff8ea4877b221426dc1b55edc3a7 +AUX 1.9/0009-Port-to-newer-mdbutils-0.9.0.patch 2173 BLAKE2B 27213a8fddc10ad9f075f80591d97699bcdecffc9274d4f6e6746b1456f124d9dcb743fae4252fdd245e11005ba0da510bdf1141e2d848db3ef7f219879cb93c SHA512 d75196de27d46489553230c7d21ab775a0dded704209adaef87df4ef8a62ef7322a98116ad6d0d869dc4ad12e11484b8d2da42e2a36f6d3c8153898fa8b3fd0c +AUX 1.9/0010-configure.ac-use-pkg-config-to-find-curl.patch 1443 BLAKE2B c99a0d501273067f40552c8be3adfce22a4ee7f88f2a3f858eb52219811c703c97e31e106541d3c7513c4bdda02b8491c7b1b91ae24a6f43bcaa231de8688b40 SHA512 31842f8439778f45b72971c4a9a634e58d1c7424d1777f43d2dafd3ae122f04d6dcccf37521974e6ea99f58e18e6e5b35190fceba7e0266655f225d2908be00b +DIST recutils-1.9.tar.gz 2759999 BLAKE2B 839dbcd36e7fe0ececbf3ef3a1b842890e876c6feda2bc003c921c53eba83b70f38baa5a536962253eec5b06eed29c6e301751d7b6586f0ef0c5ea35d94a44d7 SHA512 775b3b8925a4e5c6f04c6376291b966bdc271f172be2bca06b1f02155ecba12d916c22219f85fe0393f7f9f200f3788ab5fa5d522da2b84b2a0c0ec198318809 +EBUILD recutils-1.9.ebuild 1047 BLAKE2B 4248100bffedd08c52928a24797a44e2e67bb84948465d1bb66cb4cb0e50315681af8479696370bf6a854108ed6855d47e6cc238fee1ac407c968fe8bf5fa85d SHA512 513f3f984bfbd25ccaf83c72673c4429dd0ec5700f52817da48a8de80992fe258b6fcf2fa40b7cc466d30b442fa3afd30b01773df73b49629c43691758b698ba +MISC metadata.xml 624 BLAKE2B 99f308873f7c982a3b881053f9fec8a459ccb9003cec4d97364a73fee13cbe46b711d4e981ef0dc9c6bd24eaf8bd07a3d5fdc864a83ab4948da0c2d2cbe57745 SHA512 41bc9720c4d104c5502c9cfe197ac15526835d6c2b2ffbef34d2415ceaef6d43e9295f71c4b6a92ba89c88a210d79e6e70332071a9c083ffdd073d9a4563b1f3 diff --git a/dev-db/recutils/files/1.9/0001-db-fix-rec_db_set-crash-with-empty-databases.patch b/dev-db/recutils/files/1.9/0001-db-fix-rec_db_set-crash-with-empty-databases.patch new file mode 100644 index 000000000000..ba39ee61fdc9 --- /dev/null +++ b/dev-db/recutils/files/1.9/0001-db-fix-rec_db_set-crash-with-empty-databases.patch @@ -0,0 +1,70 @@ +From 9f08064fef75ce02df9b6133d240c0fa84df458e Mon Sep 17 00:00:00 2001 +Message-ID: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +From: "Jose E. Marchesi" <jose.marchesi@oracle.com> +Date: Mon, 25 Apr 2022 09:32:09 +0200 +Subject: [PATCH 01/10] db: fix rec_db_set crash with empty databases + +2022-04-25 Jose E. Marchesi <jemarch@gnu.org> + + * src/rec-db.c (rec_db_set): Avoid segfault with databases with no + record sets. + * torture/utils/recset.sh: New test. +--- + ChangeLog | 6 ++++++ + src/rec-db.c | 2 +- + torture/utils/recset.sh | 8 ++++++++ + 3 files changed, 15 insertions(+), 1 deletion(-) + +diff --git a/ChangeLog b/ChangeLog +index eb79621..5527ba2 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,9 @@ ++2022-04-25 Jose E. Marchesi <jemarch@gnu.org> ++ ++ * src/rec-db.c (rec_db_set): Avoid segfault with databases with no ++ record sets. ++ * torture/utils/recset.sh: New test. ++ + 2022-04-16 Jose E. Marchesi <jemarch@gnu.org> + + * configure.ac: Bump version to 1.9. +diff --git a/src/rec-db.c b/src/rec-db.c +index 1d91441..e90a734 100644 +--- a/src/rec-db.c ++++ b/src/rec-db.c +@@ -1431,7 +1431,7 @@ bool rec_db_set (rec_db_t db, + rset = rec_db_get_rset (db, 0); + + /* Don't process empty record sets. */ +- if (rec_rset_num_records (rset) == 0) ++ if (!rset || rec_rset_num_records (rset) == 0) + return true; + + /* If the user requested to manipulate random records then calculate +diff --git a/torture/utils/recset.sh b/torture/utils/recset.sh +index f44ee59..d73d530 100755 +--- a/torture/utils/recset.sh ++++ b/torture/utils/recset.sh +@@ -98,10 +98,18 @@ field2: value32 + field3: value33 + ' + ++test_declare_input_file empty '' ++ + # + # Declare tests. + # + ++test_tool recset-empty ok \ ++ recset \ ++ '' \ ++ empty \ ++ '' ++ + test_tool recset-append-field ok \ + recset \ + '-n 0 -f foo -a bar' \ +-- +2.46.2 + diff --git a/dev-db/recutils/files/1.9/0002-C99-compatibility-fix.patch b/dev-db/recutils/files/1.9/0002-C99-compatibility-fix.patch new file mode 100644 index 000000000000..e63211b14310 --- /dev/null +++ b/dev-db/recutils/files/1.9/0002-C99-compatibility-fix.patch @@ -0,0 +1,76 @@ +From e154822aeec19cb790f8618ee740875c048859e4 Mon Sep 17 00:00:00 2001 +Message-ID: <e154822aeec19cb790f8618ee740875c048859e4.1728191717.git.sam@gentoo.org> +In-Reply-To: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +References: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +From: Florian Weimer <fweimer@redhat.com> +Date: Thu, 15 Dec 2022 14:55:10 +0100 +Subject: [PATCH 02/10] C99 compatibility fix + +I researched this quite a bit, and this approach seems to be the least +bad option. + +Future compilers are likely to require functions to be declared before +they can be called. The flex lexer generator can be taught to create a +header file with the required declarations. However, automake conspires +against us to use it during the build. So I extracted the relevant +declarations by hand and put it into a non-generated header file. At +least the declarations are checked against the definitions in +rec-sex-lex.c, so maybe it's not too bad after all. + +Related to: + + <https://fedoraproject.org/wiki/Changes/PortingToModernC> + <https://fedoraproject.org/wiki/Toolchain/PortingToModernC> +--- + src/rec-sex-lex.l | 2 +- + src/rec-sex-parser.c | 2 +- + src/rec-sex-tab.y | 2 +- + 4 files changed, 3 insertions(+), 4 deletions(-) + +diff --git a/src/rec-sex-lex.l b/src/rec-sex-lex.l +index 1e537bf..2d4a891 100644 +--- a/src/rec-sex-lex.l ++++ b/src/rec-sex-lex.l +@@ -26,12 +26,12 @@ + %option bison-bridge + %option extra-type="void *" + +-%option header-file="rec-sex-lex.h" + %option nounput + %option noinput + %top { + /* This code goes at the "top" of the generated file. */ + #include <config.h> ++ #include "rec-sex-lex.h" + } + + %{ +diff --git a/src/rec-sex-parser.c b/src/rec-sex-parser.c +index e5bcd33..4eb188a 100644 +--- a/src/rec-sex-parser.c ++++ b/src/rec-sex-parser.c +@@ -25,7 +25,7 @@ + + #include <rec-sex-parser.h> + #include "rec-sex-tab.h" +-/*#include "rec-sex-lex.h" */ ++#include "rec-sex-lex.h" + + struct rec_sex_parser_s + { +diff --git a/src/rec-sex-tab.y b/src/rec-sex-tab.y +index 6c31edd..f011bc4 100644 +--- a/src/rec-sex-tab.y ++++ b/src/rec-sex-tab.y +@@ -33,7 +33,7 @@ + #include <rec-sex-ast.h> + #include <rec-sex-parser.h> + #include "rec-sex-tab.h" +- /* #include "rec-sex-lex.h" */ ++ #include "rec-sex-lex.h" + + void sexerror (rec_sex_parser_t context, const char *err) + { +-- +2.46.2 + diff --git a/dev-db/recutils/files/1.9/0003-Fix-bison-and-flex-build-rules.patch b/dev-db/recutils/files/1.9/0003-Fix-bison-and-flex-build-rules.patch new file mode 100644 index 000000000000..65dd25d3801d --- /dev/null +++ b/dev-db/recutils/files/1.9/0003-Fix-bison-and-flex-build-rules.patch @@ -0,0 +1,198 @@ +From c09d1b1fa83be41f6d0568c50cc287ae718de498 Mon Sep 17 00:00:00 2001 +Message-ID: <c09d1b1fa83be41f6d0568c50cc287ae718de498.1728191717.git.sam@gentoo.org> +In-Reply-To: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +References: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +From: "Jose E. Marchesi" <jose.marchesi@oracle.com> +Date: Mon, 5 Jun 2023 23:44:03 +0200 +Subject: [PATCH 03/10] Fix bison and flex build rules. + +2023-06-05 Jose E. Marchesi <jemarch@gnu.org> + + * configure.ac: Use gl_PROG_BISON instead of gl_BISON. + * src/Makefile.am: Fix bison and flex rules. + * src/rec-sex-ast.h: Include stddef.h for size_t. + * src/rec-sex-lex.l: Use header-file option and fix includes. + * .gitignore: Ignore /src/rec-sex-lex.h. +--- + ChangeLog | 8 +++++ + configure.ac | 2 +- + src/Makefile.am | 90 +++++++++++++++++++++++++++++++++++++++++++++-- + src/rec-sex-ast.h | 1 + + src/rec-sex-lex.l | 5 ++- + 6 files changed, 103 insertions(+), 4 deletions(-) + +diff --git a/ChangeLog b/ChangeLog +index 5527ba2..d7cba1a 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,11 @@ ++2023-06-05 Jose E. Marchesi <jemarch@gnu.org> ++ ++ * configure.ac: Use gl_PROG_BISON instead of gl_BISON. ++ * src/Makefile.am: Fix bison and flex rules. ++ * src/rec-sex-ast.h: Include stddef.h for size_t. ++ * src/rec-sex-lex.l: Use header-file option and fix includes. ++ * .gitignore: Ignore /src/rec-sex-lex.h. ++ + 2022-04-25 Jose E. Marchesi <jemarch@gnu.org> + + * src/rec-db.c (rec_db_set): Avoid segfault with databases with no +diff --git a/configure.ac b/configure.ac +index 57dfb6a..24495b4 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -46,7 +46,7 @@ AC_ARG_VAR([LEX], [The flex implementation to use.]) + AC_ARG_VAR([LEXLIB], [Options for linking with the flex runtime library.]) + AC_ARG_VAR([LEX_OUTPUT_ROOT], [Base of the file name that the lexer generates.]) + +-gl_BISON ++gl_PROG_BISON([RECUTILS_BISON],[3.6]) + + dnl System + AC_CANONICAL_HOST +diff --git a/src/Makefile.am b/src/Makefile.am +index cb7cf7a..f1e8fa7 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -17,6 +17,11 @@ + # You should have received a copy of the GNU General Public License + # along with this program. If not, see <http://www.gnu.org/licenses/>. + ++BUILT_SOURCES= ++MOSTLYCLEANFILES= ++MAINTAINERCLEANFILES= ++EXTRA_DIST= ++ + lib_LTLIBRARIES = librec.la + + include_HEADERS = rec.h +@@ -52,9 +57,90 @@ else + librec_la_SOURCES += rec-crypt-dummy.c + endif + +-BUILT_SOURCES = rec-sex-tab.h +-AM_YFLAGS = -d + AM_LFLAGS = -d ++# The Automake generated .l.c rule is broken: When executed in a VPATH build, ++# - The .c file gets generated in the build directory. But since it requires ++# special tools to rebuild it, we need to distribute it in the tarballs, ++# and by the GNU Coding Standards ++# <https://www.gnu.org/prep/standards/html_node/Makefile-Basics.html> ++# the file should be generated in the source directory. ++# - The #line directives in the .c file refer to a nonexistent file once it ++# has been moved from the build directory to the source directory. This ++# leads to error if 'lcov' is used later. ++# Additionally, here we assume Flex and therefore don't need the ylwrap script. ++# Therefore we override this rule. ++# Since this is a rule that produces multiple files, we apply the idiom from ++# <https://lists.gnu.org/archive/html/bug-make/2020-09/msg00008.html>, so that ++# it works also in parallel 'make'. ++generate-rec-sex-lex: ++ $(AM_V_LEX)$(LEX) $(LFLAGS) $(AM_LFLAGS) -t $(srcdir)/rec-sex-lex.l > rec-sex-lex.c \ ++ && test ':' = '$(LEX)' || { \ ++ sed -e 's|".*/rec-sex-lex\.l"|"rec-sex-lex.l"|' \ ++ -e 's|"lex\.yy\.c"|"rec-sex-lex.c"|' \ ++ < rec-sex-lex.c > rec-sex-lex.c-tmp \ ++ && sed -e 's|".*/rec-sex-lex\.l"|"rec-sex-lex.l"|' \ ++ < rec-sex-lex.h > rec-sex-lex.h-tmp \ ++ && rm -f rec-sex-lex.c rec-sex-lex.h \ ++ && mv rec-sex-lex.c-tmp $(srcdir)/rec-sex-lex.c \ ++ && mv rec-sex-lex.h-tmp $(srcdir)/rec-sex-lex.h; \ ++ } ++.PHONY: generate-rec-sex-lex ++# The above rule will generate files with time-stamp order ++# rec-sex-lex.l <= rec-sex-lex.c <= rec-sex-lex.h. ++rec-sex-lex.c: rec-sex-lex.l ++ @{ test -f $(srcdir)/rec-sex-lex.c && test ! $(srcdir)/rec-sex-lex.c -ot $(srcdir)/rec-sex-lex.l; } || $(MAKE) generate-rec-sex-lex ++rec-sex-lex.h: rec-sex-lex.c ++ @{ test -f $(srcdir)/rec-sex-lex.h && test ! $(srcdir)/rec-sex-lex.h -ot $(srcdir)/rec-sex-lex.c; } || $(MAKE) generate-rec-sex-lex ++BUILT_SOURCES += rec-sex-lex.c rec-sex-lex.h ++MOSTLYCLEANFILES += rec-sex-lex.c-tmp rec-sex-lex.h-tmp ++MAINTAINERCLEANFILES += $(srcdir)/rec-sex-lex.c $(srcdir)/rec-sex-lex.h ++EXTRA_DIST += rec-sex-lex.l rec-sex-lex.c rec-sex-lex.h ++ ++AM_YFLAGS = -t --report=state ++# The Automake generated .y.c rule is broken: When executed in a VPATH build, ++# - The .c file gets generated in the build directory. But since it requires ++# special tools to rebuild it, we need to distribute it in the tarballs, ++# and by the GNU Coding Standards ++# <https://www.gnu.org/prep/standards/html_node/Makefile-Basics.html> ++# the file should be generated in the source directory. ++# - The #line directives in the .c file refer to a nonexistent file once it ++# has been moved from the build directory to the source directory. This ++# leads to error if 'lcov' is used later. ++# Additionally, here we assume GNU Bison and therefore don't need the ylwrap ++# script. ++# Therefore we override this rule. ++# Since this is a rule that produces multiple files, we apply the idiom from ++# <https://lists.gnu.org/archive/html/bug-make/2020-09/msg00008.html>, so that ++# it works also in parallel 'make'. ++generate-rec-sex-tab: ++ $(AM_V_YACC)$(RECUTILS_BISON) -d $(YFLAGS) $(AM_YFLAGS) $(srcdir)/rec-sex-tab.y \ ++ && test ':' = '$(POKE_BISON)' || { \ ++ sed -e 's|".*/rec-sex-tab\.y"|"rec-sex-tab.y"|' \ ++ -e 's|"rec-sex-tab\.tab\.c"|"rec-sex-tab.c"|' \ ++ -e 's|"rec-sex-tab\.tab\.h"|"rec-sex-tab.h"|' \ ++ < rec-sex-tab.tab.c > rec-sex-tab.c-tmp \ ++ && sed -e 's|".*/rec-sex-tab\.y"|"rec-sex-tab.y"|' \ ++ -e 's|"rec-sex-tab\.tab\.h"|"rec-sex-tab.h"|' \ ++ < rec-sex-tab.tab.h > rec-sex-tab.h-tmp \ ++ && rm -f rec-sex-tab.tab.c rec-sex-tab.tab.h \ ++ && mv rec-sex-tab.c-tmp $(srcdir)/rec-sex-tab.c \ ++ && mv rec-sex-tab.h-tmp $(srcdir)/rec-sex-tab.h; \ ++ } ++.PHONY: generate-rec-sex-tab ++# The above rule will generate files with time-stamp order ++# rec-sex-tab.y <= rec-sex-tab.c <= rec-sex-tab.h. ++rec-sex-tab.c: rec-sex-tab.y ++ @{ test -f $(srcdir)/rec-sex-tab.c && test ! $(srcdir)/rec-sex-tab.c -ot $(srcdir)/rec-sex-tab.y; } || $(MAKE) generate-rec-sex-tab ++rec-sex-tab.h: rec-sex-tab.c ++ @{ test -f $(srcdir)/rec-sex-tab.h && test ! $(srcdir)/rec-sex-tab.h -ot $(srcdir)/rec-sex-tab.c; } || $(MAKE) generate-rec-sex-tab ++BUILT_SOURCES += rec-sex-tab.c rec-sex-tab.h ++MOSTLYCLEANFILES += \ ++ rec-sex-tab.tab.c rec-sex-tab.tab.h \ ++ rec-sex-tab.c-tmp rec-sex-tab.h-tmp \ ++ rec-sex-tab.output ++MAINTAINERCLEANFILES += $(srcdir)/rec-sex-tab.c $(srcdir)/rec-sex-tab.h ++EXTRA_DIST += rec-sex-tab.y rec-sex-tab.c rec-sex-tab.h ++ + AM_CFLAGS = + if USE_COVERAGE + AM_CFLAGS += -fprofile-arcs -ftest-coverage +diff --git a/src/rec-sex-ast.h b/src/rec-sex-ast.h +index e2ef0dc..b5c6a79 100644 +--- a/src/rec-sex-ast.h ++++ b/src/rec-sex-ast.h +@@ -22,6 +22,7 @@ + + #include <config.h> + ++#include <stddef.h> /* For size_t */ + #include <stdbool.h> + + enum rec_sex_ast_node_type_e +diff --git a/src/rec-sex-lex.l b/src/rec-sex-lex.l +index 2d4a891..8eee8dd 100644 +--- a/src/rec-sex-lex.l ++++ b/src/rec-sex-lex.l +@@ -25,13 +25,16 @@ + %option reentrant + %option bison-bridge + %option extra-type="void *" ++%option header-file="rec-sex-lex.h" + + %option nounput + %option noinput + %top { + /* This code goes at the "top" of the generated file. */ + #include <config.h> +- #include "rec-sex-lex.h" ++ #include <rec-sex-ast.h> ++ #include <rec-sex-parser.h> ++ #include "rec-sex-tab.h" + } + + %{ +-- +2.46.2 + diff --git a/dev-db/recutils/files/1.9/0004-rec-crypt.c-do-not-assume-the-output-buffer-is-NULL-.patch b/dev-db/recutils/files/1.9/0004-rec-crypt.c-do-not-assume-the-output-buffer-is-NULL-.patch new file mode 100644 index 000000000000..b566d9224ba2 --- /dev/null +++ b/dev-db/recutils/files/1.9/0004-rec-crypt.c-do-not-assume-the-output-buffer-is-NULL-.patch @@ -0,0 +1,110 @@ +From 2160498461d6a9298cc7e6707bf3cad94d66d14f Mon Sep 17 00:00:00 2001 +Message-ID: <2160498461d6a9298cc7e6707bf3cad94d66d14f.1728191717.git.sam@gentoo.org> +In-Reply-To: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +References: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +From: Craig Mason-Jones <craig@lateral.co.za> +Date: Sun, 3 Sep 2023 12:04:37 +0200 +Subject: [PATCH 04/10] rec-crypt.c: do not assume the output buffer is NULL + terminated in rec_decrypt + +2023-09-03 Craig Mason-Jones <craig@lateral.co.za> + + * torture/utils/recsel.sh (recsel-confidential-12): New test. + (confidential12): New input file. + * src/rec-crypt.c (rec_decrypt): The output buffer may not be + null-terminated. +--- + ChangeLog | 7 +++++++ + src/rec-crypt.c | 15 +++++++++------ + torture/utils/recsel.sh | 17 +++++++++++++++++ + 3 files changed, 33 insertions(+), 6 deletions(-) + +diff --git a/ChangeLog b/ChangeLog +index d7cba1a..02c15d2 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,10 @@ ++2023-09-03 Craig Mason-Jones <craig@lateral.co.za> ++ ++ * torture/utils/recsel.sh (recsel-confidential-12): New test. ++ (confidential12): New input file. ++ * src/rec-crypt.c (rec_decrypt): The output buffer may not be ++ null-terminated. ++ + 2023-06-05 Jose E. Marchesi <jemarch@gnu.org> + + * configure.ac: Use gl_PROG_BISON instead of gl_BISON. +diff --git a/src/rec-crypt.c b/src/rec-crypt.c +index 97e92f4..5c88716 100644 +--- a/src/rec-crypt.c ++++ b/src/rec-crypt.c +@@ -219,22 +219,25 @@ rec_decrypt (char *in, + /* Make sure the decrypted data is ok by checking the CRC at the end + of the sequence. */ + +- if (strlen(*out) > 4) ++ /* If there no padding added in the encryption stage, the data and ++ CRC fills the output buffer. This means that strlen (*out) would ++ fail, because it might buffer over-run. */ ++ size_t outlen = strnlen (*out, *out_size); ++ ++ if (outlen > 4) + { + uint32_t crc = 0; +- +- memcpy (&crc, *out + strlen(*out) - 4, 4); ++ memcpy (&crc, *out + outlen - 4, 4); + #if defined WORDS_BIGENDIAN + crc = rec_endian_swap (crc); + #endif +- +- if (crc32 (*out, strlen(*out) - 4) != crc) ++ if (crc32 (*out, outlen - 4) != crc) + { + gcry_cipher_close (handler); + return false; + } + +- (*out)[strlen(*out) - 4] = '\0'; ++ (*out)[outlen - 4] = '\0'; + } + else + { +diff --git a/torture/utils/recsel.sh b/torture/utils/recsel.sh +index b868cef..6ce2a59 100755 +--- a/torture/utils/recsel.sh ++++ b/torture/utils/recsel.sh +@@ -171,6 +171,15 @@ User: foo + Password: encrypted-MHyd3Dqz+iaViL8h1m18sA== + ' + ++test_declare_input_file confidential12 \ ++'%rec: Login ++%doc: Login to a website or application ++%type: Name line ++%confidential: Password ++ ++Name: Test2 ++Password: encrypted-YaDdF2AIprCfgUjOPlCWO8/WFq0= ++' + test_declare_input_file sort \ + '%rec: Sorted + %sort: Id +@@ -1242,6 +1251,14 @@ test_tool recsel-confidential-num ok \ + Password: secret + ' + ++test_tool recsel-confidential-12 ok \ ++ recsel \ ++ '-s thisismyverysecretpassword' \ ++ confidential12 \ ++'Name: Test2 ++Password: 123456789012 ++' ++ + fi # crypt_support + + test_tool recsel-sort ok \ +-- +2.46.2 + diff --git a/dev-db/recutils/files/1.9/0005-torture-add-missing-includes-for-free.patch b/dev-db/recutils/files/1.9/0005-torture-add-missing-includes-for-free.patch new file mode 100644 index 000000000000..aa085cac4af5 --- /dev/null +++ b/dev-db/recutils/files/1.9/0005-torture-add-missing-includes-for-free.patch @@ -0,0 +1,90 @@ +https://lists.gnu.org/archive/html/bug-recutils/2024-10/msg00002.html + +From fb9fafca61f07be0dded5a5ca6f74dd6cc0bec2c Mon Sep 17 00:00:00 2001 +Message-ID: <fb9fafca61f07be0dded5a5ca6f74dd6cc0bec2c.1728191717.git.sam@gentoo.org> +In-Reply-To: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +References: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +From: Sam James <sam@gentoo.org> +Date: Sun, 6 Oct 2024 05:01:27 +0100 +Subject: [PATCH 05/10] torture: add missing includes for free() + +Add a bunch of missing `<stdlib.h>` includes for `free()`. + +2024-10-06 Sam James <sam@gentoo.org> + + * torture/rec-parser/rec-parse-record-str.c: Include stdlib.h. + * torture/rec-parser/rec-parse-record.c: Ditto. + * torture/rec-writer/rec-write-comment-str.c: Ditto. + * torture/rec-writer/rec-write-field-name-str.c: Ditto. + * torture/rec-writer/rec-write-field-str.c: Ditto. +--- + torture/rec-parser/rec-parse-record-str.c | 1 + + torture/rec-parser/rec-parse-record.c | 1 + + torture/rec-writer/rec-write-comment-str.c | 1 + + torture/rec-writer/rec-write-field-name-str.c | 1 + + torture/rec-writer/rec-write-field-str.c | 1 + + 5 files changed, 5 insertions(+) + +diff --git a/torture/rec-parser/rec-parse-record-str.c b/torture/rec-parser/rec-parse-record-str.c +index 141aa15..3d0c3bb 100644 +--- a/torture/rec-parser/rec-parse-record-str.c ++++ b/torture/rec-parser/rec-parse-record-str.c +@@ -26,6 +26,7 @@ + #include <config.h> + #include <string.h> + #include <stdio.h> ++#include <stdlib.h> + #include <check.h> + + #include <rec.h> +diff --git a/torture/rec-parser/rec-parse-record.c b/torture/rec-parser/rec-parse-record.c +index 79e34ff..f77f6cd 100644 +--- a/torture/rec-parser/rec-parse-record.c ++++ b/torture/rec-parser/rec-parse-record.c +@@ -26,6 +26,7 @@ + #include <config.h> + #include <string.h> + #include <stdio.h> ++#include <stdlib.h> + #include <check.h> + + #include <rec.h> +diff --git a/torture/rec-writer/rec-write-comment-str.c b/torture/rec-writer/rec-write-comment-str.c +index 21849e2..0b7d916 100644 +--- a/torture/rec-writer/rec-write-comment-str.c ++++ b/torture/rec-writer/rec-write-comment-str.c +@@ -26,6 +26,7 @@ + #include <config.h> + #include <string.h> + #include <stdio.h> ++#include <stdlib.h> + #include <check.h> + + #include <rec.h> +diff --git a/torture/rec-writer/rec-write-field-name-str.c b/torture/rec-writer/rec-write-field-name-str.c +index 1687243..a8ec6c2 100644 +--- a/torture/rec-writer/rec-write-field-name-str.c ++++ b/torture/rec-writer/rec-write-field-name-str.c +@@ -26,6 +26,7 @@ + #include <config.h> + #include <string.h> + #include <stdio.h> ++#include <stdlib.h> + #include <check.h> + + #include <rec.h> +diff --git a/torture/rec-writer/rec-write-field-str.c b/torture/rec-writer/rec-write-field-str.c +index efbeb54..3a5b7b0 100644 +--- a/torture/rec-writer/rec-write-field-str.c ++++ b/torture/rec-writer/rec-write-field-str.c +@@ -26,6 +26,7 @@ + #include <config.h> + #include <string.h> + #include <stdio.h> ++#include <stdlib.h> + #include <check.h> + + #include <rec.h> +-- +2.46.2 + diff --git a/dev-db/recutils/files/1.9/0006-configure.ac-add-options-for-dependencies.patch b/dev-db/recutils/files/1.9/0006-configure.ac-add-options-for-dependencies.patch new file mode 100644 index 000000000000..ead6cd696b12 --- /dev/null +++ b/dev-db/recutils/files/1.9/0006-configure.ac-add-options-for-dependencies.patch @@ -0,0 +1,190 @@ +https://lists.gnu.org/archive/html/bug-recutils/2024-10/msg00002.html + +From 42e038b1024c4e225b8309bab2438137f2c0a088 Mon Sep 17 00:00:00 2001 +Message-ID: <42e038b1024c4e225b8309bab2438137f2c0a088.1728191717.git.sam@gentoo.org> +In-Reply-To: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +References: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +From: Sam James <sam@gentoo.org> +Date: Sun, 6 Oct 2024 05:04:15 +0100 +Subject: [PATCH 06/10] configure.ac: add options for dependencies + +Avoid "automagic" dependencies by adding options to control them so +they can be easily overridden, rather than detection based on installed +packages. + +2024-10-06 Sam James <sam@gentoo.org> + + * configure.ac: Add --enable-curl, --enable-uuid, --enable-mdb. +--- + configure.ac | 129 ++++++++++++++++++++++++++------------------------- + 1 file changed, 67 insertions(+), 62 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 24495b4..d6ffb01 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -84,18 +84,35 @@ AM_CONDITIONAL([CHECK], [test "x$have_check" != "xno"]) + AC_SUBST([CHECK_CFLAGS]) + AC_SUBST([CHECK_LIBS]) + ++AC_ARG_ENABLE([curl], ++ AS_HELP_STRING([--enable-curl], ++ [Enable support for remote descriptors using libcurl (default is YES)]), ++ [curl_enabled=$enableval], [curl_enabled=yes]) + have_curl=no +-AC_CHECK_LIB([curl],[curl_global_init],[have_curl=yes],) +-if test "x$have_curl" = "xyes"; then +- CURLLIBS=-lcurl +-fi ++AS_IF([test "x$curl_enabled" = "xyes"], [ ++ AC_CHECK_LIB([curl], [curl_global_init], [have_curl=yes], []) ++ AS_IF([test "x$have_curl" = "xyes"], [ ++ CURLLIBS=-lcurl ++ ], [ ++ AC_MSG_ERROR([curl support enabled but libcurl not found]) ++ ]) ++], []) + AC_SUBST([CURLLIBS]) + ++AC_ARG_ENABLE([uuid], ++ AS_HELP_STRING([--enable-uuid], ++ [Compile recutils with support for uuid types (default is YES)]), ++ [uuid_enabled=$enableval], [uuid_enabled=yes]) ++ + have_uuid=no +-AC_CHECK_LIB([uuid],[uuid_generate],[have_uuid=yes],) +-if test "x$have_uuid" = "xyes"; then +- UUIDLIBS=-luuid +-fi ++AS_IF([test "x$uuid_enabled" = "xyes"], [ ++ AC_CHECK_LIB([uuid], [uuid_generate], [have_uuid=yes], []) ++ AS_IF([test "x$have_uuid" = "xyes"], [ ++ UUIDLIBS=-luuid ++ ], [ ++ AC_MSG_ERROR([uuid support enabled but libuuid not found]) ++ ]) ++], []) + AC_SUBST([UUIDLIBS]) + AC_SUBST([have_uuid]) + +@@ -105,45 +122,56 @@ AC_ARG_ENABLE([encryption], + [crypt_enabled=$enableval], [crypt_enabled=yes]) + + crypt_support=no +-if test "x$crypt_enabled" = "xyes"; then ++AS_IF([test "x$crypt_enabled" = "xyes"], [ ++ AC_LIB_HAVE_LINKFLAGS([gcrypt], [gpg-error], [#include <gpg-error.h>]) ++ crypt_support=$HAVE_LIBGCRYPT + +- AC_LIB_HAVE_LINKFLAGS([gcrypt],[gpg-error],[#include <gpg-error.h>]) +- crypt_support=$HAVE_LIBGCRYPT +- +- if test "x$crypt_support" = "xyes"; then +- AC_DEFINE([REC_CRYPT_SUPPORT],[1],[Compile encryption support]) +- fi +-fi ++ AS_IF([test "x$crypt_support" = "xyes"], [ ++ AC_DEFINE([REC_CRYPT_SUPPORT], [1], [Compile encryption support]) ++ ], []) ++], []) + + AM_CONDITIONAL([CRYPT], [test "x$crypt_support" = "xyes"]) + AC_SUBST([crypt_support]) + +-have_glib=no +-PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.0.0], +- [have_glib=yes], [have_glib=no]) +- ++AC_ARG_ENABLE([mdb], ++ AS_HELP_STRING([--enable-mdb], ++ [Build the mdb2rec utility (default is YES)]), ++ [mdb_enabled=$enableval], [mdb_enabled=yes]) + have_mdb=no +-AC_CHECK_LIB([mdb],[mdb_init],[have_mdb=yes],) +-if test "x$have_mdb" = "xyes"; then +- MDBLIBS=-lmdb +- +- OLD_CFLAGS=$CFLAGS +- CFLAGS="$CFLAGS $pkg_cv_GLIB_CFLAGS" +- mdb_uses_sdatetime=no +- AC_CHECK_DECL([MDB_SDATETIME],[mdb_uses_sdatetime=yes],,[#include <glib.h> +-#include <mdbtools.h>]) +- CFLAGS=$OLD_CFLAGS +- +- if test "x$mdb_uses_sdatetime" = "xyes"; then +- MDB_DATETIME="MDB_SDATETIME" +- else +- MDB_DATETIME="MDB_DATETIME" +- fi +- +- AC_SUBST([MDB_DATETIME]) +-fi ++AS_IF([test "x$mdb_enabled" = "xyes"], [ ++ AC_CHECK_LIB([mdb], [mdb_init], [have_mdb=yes], []) ++ AS_IF([test "x$have_mdb" = "xyes"], [ ++ MDBLIBS=-lmdb ++ ++ OLD_CFLAGS=$CFLAGS ++ CFLAGS="$CFLAGS $pkg_cv_GLIB_CFLAGS" ++ mdb_uses_sdatetime=no ++ AC_CHECK_DECL([MDB_SDATETIME], [mdb_uses_sdatetime=yes], [], [ ++ #include <glib.h> ++ #include <mdbtools.h> ++ ]) ++ CFLAGS=$OLD_CFLAGS ++ ++ AS_IF([test "x$mdb_uses_sdatetime" = "xyes"], [ ++ MDB_DATETIME="MDB_SDATETIME" ++ ], [ ++ MDB_DATETIME="MDB_DATETIME" ++ ]) ++ ], [ ++ AC_MSG_ERROR([mdb support enabled but libmdb not found]) ++ ]) ++ ++ AC_SUBST([MDB_DATETIME]) ++], []) + AC_SUBST([MDBLIBS]) + ++have_glib=no ++AS_IF([test "x$mdb_enabled" = "xyes"], [ ++ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.0.0], ++ [have_glib=yes], [have_glib=no]) ++], []) ++ + AM_CONDITIONAL([COMPILE_MDB2REC], + [test "x$have_glib" = "xyes" && test "x$have_mdb" = "xyes"]) + AM_CONDITIONAL([REMOTE_DESCRIPTORS], [test "x$have_curl" = "xyes"]) +@@ -217,29 +245,6 @@ AC_OUTPUT + + dnl Report warnings + +-if test "x$have_check" = "xno"; then +- echo "warning: libcheck was not found in the system." +- echo "warning: unit tests wont be compiled and executed upon make check." +-fi +- +-if test "x$have_mdb" = "xno"; then +- echo "warning: libmdb was not found in the system." +- echo "warning: the mdb2rec utility won't get built." +-fi +- +-if test "x$have_glib" = "xno"; then +- echo "warning: glib was not found in the system." +- echo "warning: the mdb2rec utility won't get built." +-fi +- +-if test "x$crypt_support" = "xno"; then +- echo "warning: building recutils without encryption support." +-fi +- +-if test "x$have_uuid" = "xno"; then +- echo "warning: building recutils without support for uuid types." +-fi +- + if test "x$bash_headers_available" = "xno" || test "x$bash_builtins_enabled" = "xno"; then + echo "warning: not building the recutils bash builtins." + fi +-- +2.46.2 + diff --git a/dev-db/recutils/files/1.9/0007-configure.ac-modernise.patch b/dev-db/recutils/files/1.9/0007-configure.ac-modernise.patch new file mode 100644 index 000000000000..8393ea1bab5b --- /dev/null +++ b/dev-db/recutils/files/1.9/0007-configure.ac-modernise.patch @@ -0,0 +1,102 @@ +https://lists.gnu.org/archive/html/bug-recutils/2024-10/msg00002.html + +From f2df87685e11e59429d5866f6cd21f357308abb2 Mon Sep 17 00:00:00 2001 +Message-ID: <f2df87685e11e59429d5866f6cd21f357308abb2.1728191717.git.sam@gentoo.org> +In-Reply-To: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +References: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +From: Sam James <sam@gentoo.org> +Date: Sun, 6 Oct 2024 05:20:51 +0100 +Subject: [PATCH 07/10] configure.ac: modernise + +Modernise configure.ac by using more careful [] quoting as well as +AS_IF and AC_MSG_WARN. + +See beb6d826338fb854b5c73458a1d52662b04c171c in autoconf.git. + +2024-10-06 Sam James <sam@gentoo.org> + + * configure.ac: Quote. + Use AS_IF and AC_MSG_WARN. + Drop deprecated AC_PROG_CC_C99 and unnecessary AM_PROG_CC_C_O. +--- + configure.ac | 28 +++++++++++++--------------- + 1 file changed, 13 insertions(+), 15 deletions(-) + +diff --git a/configure.ac b/configure.ac +index d6ffb01..a190f5e 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -23,7 +23,7 @@ AC_INIT([GNU recutils], [1.9], [bug-recutils@gnu.org]) + dnl Must come before AM_INIT_AUTOMAKE + AC_CONFIG_AUX_DIR([build-aux]) + AM_INIT_AUTOMAKE([subdir-objects]) +-AC_CONFIG_HEADERS(src/config.h) ++AC_CONFIG_HEADERS([src/config.h]) + AC_CONFIG_MACRO_DIR([m4]) + + dnl Autobuild +@@ -33,8 +33,6 @@ AC_PROG_CC + gl_EARLY + + LT_INIT +-AC_PROG_CC_C99 +-AM_PROG_CC_C_O + + dnl Both lex and yacc are required to generate the lexer/parser source + dnl files. +@@ -59,18 +57,18 @@ gl_INIT + # However, this means invoking executables, which we generally cannot do + # when cross-compiling, so we test to avoid that (the variable + # "cross_compiling" is set by AC_PROG_CC). +-if test $cross_compiling = no; then +- AM_MISSING_PROG(HELP2MAN, help2man) +-else ++AS_IF([test "x$cross_compiling" = "xno"], [ ++ AM_MISSING_PROG([HELP2MAN], [help2man]) ++], [ + HELP2MAN=: +-fi ++]) + + dnl Seach for headers + AC_CHECK_HEADERS([malloc.h string.h]) + + dnl Search for data types +-AC_CHECK_TYPE(size_t, unsigned) +-AC_CHECK_TYPE(off_t, long) ++AC_CHECK_TYPE([size_t], [unsigned]) ++AC_CHECK_TYPE([off_t], [long]) + + dnl Search for functions + AC_FUNC_FSEEKO +@@ -191,12 +189,12 @@ AC_ARG_WITH([bash-headers], + [location of the bash header files (default is /usr/include/bash)]), + [BASH_HEADERS=$withval],) + +-if test -f ${BASH_HEADERS}/config.h; then ++AS_IF([test -f ${BASH_HEADERS}/config.h], [ + AC_SUBST([BASH_HEADERS]) + bash_headers_available=yes +-else ++], [ + bash_headers_available=no +-fi ++]) + + AC_ARG_ENABLE([bash-builtins], + AS_HELP_STRING([--enable-bash-builtins], +@@ -245,8 +243,8 @@ AC_OUTPUT + + dnl Report warnings + +-if test "x$bash_headers_available" = "xno" || test "x$bash_builtins_enabled" = "xno"; then +- echo "warning: not building the recutils bash builtins." +-fi ++AS_IF([test "x$bash_headers_available" = "xno" || test "x$bash_builtins_enabled" = "xno"], [ ++ AC_MSG_WARN([Not building the recutils bash builtins]) ++], []) + + dnl End of configure.ac +-- +2.46.2 + diff --git a/dev-db/recutils/files/1.9/0008-configure.ac-call-PKG_PROG_PKG_CONFIG-unconditionall.patch b/dev-db/recutils/files/1.9/0008-configure.ac-call-PKG_PROG_PKG_CONFIG-unconditionall.patch new file mode 100644 index 000000000000..aeb53c6b6808 --- /dev/null +++ b/dev-db/recutils/files/1.9/0008-configure.ac-call-PKG_PROG_PKG_CONFIG-unconditionall.patch @@ -0,0 +1,36 @@ +https://lists.gnu.org/archive/html/bug-recutils/2024-10/msg00002.html + +From 00e5dcacbec2f59466402c56d729ade31d845d6a Mon Sep 17 00:00:00 2001 +Message-ID: <00e5dcacbec2f59466402c56d729ade31d845d6a.1728191717.git.sam@gentoo.org> +In-Reply-To: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +References: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +From: Sam James <sam@gentoo.org> +Date: Sun, 6 Oct 2024 05:32:19 +0100 +Subject: [PATCH 08/10] configure.ac: call PKG_PROG_PKG_CONFIG unconditionally + +PKG_PROG_PKG_CONFIG has a catch when used with AS_IF because it is +only expanded once, so it can be problematic if expanded in a (rare) +option which isn't enabled. Unconditionally call it to avoid this. + +2024-10-06 Sam James <sam@gentoo.org> + + * configure.ac: Call PKG_PROG_PKG_CONFIG unconditionally. +--- + configure.ac | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configure.ac b/configure.ac +index a190f5e..e0caa02 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -74,6 +74,7 @@ dnl Search for functions + AC_FUNC_FSEEKO + + dnl Search for required libraries ++PKG_PROG_PKG_CONFIG + + have_check=no + PKG_CHECK_MODULES([CHECK], [check], +-- +2.46.2 + diff --git a/dev-db/recutils/files/1.9/0009-Port-to-newer-mdbutils-0.9.0.patch b/dev-db/recutils/files/1.9/0009-Port-to-newer-mdbutils-0.9.0.patch new file mode 100644 index 000000000000..7016ad19d508 --- /dev/null +++ b/dev-db/recutils/files/1.9/0009-Port-to-newer-mdbutils-0.9.0.patch @@ -0,0 +1,64 @@ +https://lists.gnu.org/archive/html/bug-recutils/2024-10/msg00002.html + +From 35c6919708e73d1dd3eba67813a7ab3f6f62477b Mon Sep 17 00:00:00 2001 +Message-ID: <35c6919708e73d1dd3eba67813a7ab3f6f62477b.1728191717.git.sam@gentoo.org> +In-Reply-To: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +References: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +From: Sam James <sam@gentoo.org> +Date: Sun, 6 Oct 2024 05:48:41 +0100 +Subject: [PATCH 09/10] Port to newer mdbutils (>=0.9.0) + +mdbutils-0.9.0 dropped mdb_init and mdb_exit, per NEWS: +> The previously-deprecated functions mdb_init() and mdb_exit() have been +> removed. These functions did nothing; any calls to them should be excised with +> prejudice. + +2024-10-06 Sam James <sam@gentoo.org> + + * configure.ac: Check for mdb_backends_init instead of mdb_init. + * utils/mdb2rec.c: Drop <glib.h> include, as it conflicts with + libmdb's 'fakeglib'. + (process_mdb): Drop mdb_init call. Pass MdbHandle to mdb_set_date_fmt. +--- + configure.ac | 2 +- + utils/mdb2rec.c | 4 +--- + 2 files changed, 2 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index e0caa02..7e47b9d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -139,7 +139,7 @@ AC_ARG_ENABLE([mdb], + [mdb_enabled=$enableval], [mdb_enabled=yes]) + have_mdb=no + AS_IF([test "x$mdb_enabled" = "xyes"], [ +- AC_CHECK_LIB([mdb], [mdb_init], [have_mdb=yes], []) ++ AC_CHECK_LIB([mdb], [mdb_init_backends], [have_mdb=yes], []) + AS_IF([test "x$have_mdb" = "xyes"], [ + MDBLIBS=-lmdb + +diff --git a/utils/mdb2rec.c b/utils/mdb2rec.c +index 1e25397..5ee0369 100644 +--- a/utils/mdb2rec.c ++++ b/utils/mdb2rec.c +@@ -26,7 +26,6 @@ + #include <gettext.h> + #define _(str) gettext (str) + +-#include <glib.h> + #include <mdbtools.h> + + #include <rec.h> +@@ -428,8 +427,7 @@ process_mdb (void) + recutl_out_of_memory (); + + /* Initialize libmdb and open the input file. */ +- mdb_init(); +- mdb_set_date_fmt ("%Y-%m-%dT%H:%M:%S%z"); /* ISO 8601 */ ++ mdb_set_date_fmt (mdb, "%Y-%m-%dT%H:%M:%S%z"); /* ISO 8601 */ + + mdb = mdb_open (mdb2rec_mdb_file, MDB_NOFLAGS); + if (!mdb) +-- +2.46.2 + diff --git a/dev-db/recutils/files/1.9/0010-configure.ac-use-pkg-config-to-find-curl.patch b/dev-db/recutils/files/1.9/0010-configure.ac-use-pkg-config-to-find-curl.patch new file mode 100644 index 000000000000..432b605daada --- /dev/null +++ b/dev-db/recutils/files/1.9/0010-configure.ac-use-pkg-config-to-find-curl.patch @@ -0,0 +1,43 @@ +https://lists.gnu.org/archive/html/bug-recutils/2024-10/msg00002.html + +From 64708d4525603869e4ad22d468cb0d56e2f851c3 Mon Sep 17 00:00:00 2001 +Message-ID: <64708d4525603869e4ad22d468cb0d56e2f851c3.1728191717.git.sam@gentoo.org> +In-Reply-To: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +References: <9f08064fef75ce02df9b6133d240c0fa84df458e.1728191717.git.sam@gentoo.org> +From: Sam James <sam@gentoo.org> +Date: Sun, 6 Oct 2024 05:53:52 +0100 +Subject: [PATCH 10/10] configure.ac: use pkg-config to find curl + +A bunch of checks were already relying on pkg-config, let's do it +for curl too. + +2024-10-06 Sam James <sam@gentoo.org> + + * configure.ac: Find curl via pkg-config. +--- + configure.ac | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 7e47b9d..44bad76 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -89,14 +89,10 @@ AC_ARG_ENABLE([curl], + [curl_enabled=$enableval], [curl_enabled=yes]) + have_curl=no + AS_IF([test "x$curl_enabled" = "xyes"], [ +- AC_CHECK_LIB([curl], [curl_global_init], [have_curl=yes], []) +- AS_IF([test "x$have_curl" = "xyes"], [ +- CURLLIBS=-lcurl +- ], [ ++ PKG_CHECK_MODULES([CURL], [libcurl], [have_curl=yes], [ + AC_MSG_ERROR([curl support enabled but libcurl not found]) + ]) + ], []) +-AC_SUBST([CURLLIBS]) + + AC_ARG_ENABLE([uuid], + AS_HELP_STRING([--enable-uuid], +-- +2.46.2 + diff --git a/dev-db/recutils/metadata.xml b/dev-db/recutils/metadata.xml new file mode 100644 index 000000000000..1d4352491cd6 --- /dev/null +++ b/dev-db/recutils/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sam@gentoo.org</email> + <name>Sam James</name> + </maintainer> + <maintainer type="person"> + <email>arsen@gentoo.org</email> + <name>Arsen ArsenoviΔ</name> + </maintainer> + <use> + <flag name="curl">Enable support for remote descriptors using <pkg>net-misc/curl</pkg></flag> + <flag name="mdb">Build the mdb2rec utility using <pkg>app-office/mdbtools</pkg></flag> + </use> + <upstream> + <remote-id type="savannah">recutils</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-db/recutils/recutils-1.9.ebuild b/dev-db/recutils/recutils-1.9.ebuild new file mode 100644 index 000000000000..cff0821ae74e --- /dev/null +++ b/dev-db/recutils/recutils-1.9.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Tools and libraries to access human-editable, plain text databases" +HOMEPAGE="https://www.gnu.org/software/recutils/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="crypt curl mdb nls" + +RDEPEND=" + sys-libs/readline:= + kernel_linux? ( sys-apps/util-linux ) + crypt? ( + dev-libs/libgcrypt:= + dev-libs/libgpg-error + ) + curl? ( net-misc/curl ) + mdb? ( + app-office/mdbtools:= + dev-libs/glib:2 + ) + nls? ( virtual/libintl ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/flex + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +PATCHES=( + "${FILESDIR}"/${PV} +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + export LEX=flex + + local myeconfargs=( + --enable-uuid + $(use_enable crypt encryption) + $(use_enable curl) + $(use_enable mdb) + $(use_enable nls) + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + # tests have parallel issues + emake -j1 check +} 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.1.ebuild index b53bf105c3a1..8218bbe76716 100644 --- a/dev-db/redict/redict-7.3.0-r1.ebuild +++ b/dev-db/redict/redict-7.3.1.ebuild @@ -97,6 +97,7 @@ src_test() { --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 diff --git a/dev-db/redis/Manifest b/dev-db/redis/Manifest index c460025e7ad1..1a0c863fc185 100644 --- a/dev-db/redis/Manifest +++ b/dev-db/redis/Manifest @@ -14,12 +14,10 @@ AUX redis.initd-6 701 BLAKE2B f2e47fa903e7f397250435c215d33f9d63766a718c2a045aa0 AUX redis.logrotate 105 BLAKE2B 1281fd86d399b40aaaa69d1fe170b2c49523c074e14b12907428b676b03d510b680363dd5041428d5fddecb91a510baf53dfa57df66d697ba4846f1e49ab59fe SHA512 9cbd27732c7f8270bf9b8563df0964af142d1ac4e97417e495fcb02e730e93fdfafac9370188a2fce040d55d6c3704e284a50b6300616a3f13a03a6e25c1ae49 AUX redis.service-4 255 BLAKE2B e51cfbb7ce6586e7c16003e3b470be036e9c28b408c4ad71e90d084f5ee843eb2b0b60552735099564f99fc4b4c318980f2e1dde7ac69b32a54a636e663a7cd5 SHA512 786fb60e628146d5024fbee2c17bee26276f58b8d2f15c8eb0a416b1b2e870a1d82e7a1ef7155b7a489da8c89d6feae5b1207597bf6fcb929d7bcfddcae25937 AUX redis.tmpfiles-2 57 BLAKE2B 1e0577c1828bb693cf820f3ba5e77d7d748adf4df2d1910d465ce097765308c7b7ea729526404120d04a79b547e865df93f7bfce1e63341c73563496f1dce691 SHA512 3de050ce044b7daf71219ec61dee2bc31acef161319b87ec2963b23c72e8a4807f1302c4932897664a63ef94507449f6ab75ce18d59f5e1a4558c330a7042e43 -DIST redis-6.2.14.tar.gz 2496149 BLAKE2B 689a0c3b558e07f43f8b1480fbf7a083184bbc0ccde0b184dc8a1d89ed22bec9694b7c8605ff729c9e9d582e8cf47c8f9cd9ee0794ea15e07cdb0b886e93c116 SHA512 140d4b23c20d459b65be8c61996e281222f978b51c52cb048039d741801e4027775ad89ed354dc0dce3d47703a08610adafaf6253fea2f973d5b9d20bc1e59ce -DIST redis-7.0.15.tar.gz 2994329 BLAKE2B fa1bc85c89cb6a6fb18710a4d29c20db44a80ce445d217f39a234a2aad1d79031e9d1fc45415af7b0eb1c169bd88f45f1fe60cab35de38c6fadc839e2a27676d SHA512 83d58f98085f91754f6d87810e7da0d6cf11ffbe11a0f5d3581d5b2c63d2a752ba6b4eda921a04031aedc56ecebe349cd468ab5ad837493f55d2cac0ab3d015a -DIST redis-7.2.5.tar.gz 3386454 BLAKE2B 5a0e5b0162f684ecd6db4a782a18a3c7bf272ec1ce38e2d2a4b5bc3966d968170f5b968e7f9946fd50d2b942c52298430eeccb386bbb443201eda6ac180c7f2b SHA512 e064a0f380e3a00ab8eb2f10ed7317fd6aa27d64cf00792fab80465036f92d17b166050e71b8a779fdf024528ac736cb54722316811f99951c4e386f4ab2245d -DIST redis-7.4.0.tar.gz 3525325 BLAKE2B 232e5d8db368e1a6c13e044ea40b4f4cd2b1f8f8d02319e408c8b0cfdbc6e4630ca2d38af080c5ccd1a4564da06f8cc761b54b00362f515edb11dc13c4853f78 SHA512 f5cd7566664f41a038f1078cd746b0a143ae543e035c363ae1ba60639830cc244d1536c84a95ce897b277bd0c4aad91a569e209dbb7917b7a2319805901a49d1 -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 +DIST redis-6.2.16.tar.gz 2496391 BLAKE2B e00eac16fbebc54bbd24dc6622cb1add7c0511df419a84d5f9a4aae28b2a5ec4d9a4b865999fe4ab1bfeff582dce8f7c01c5352c7389c3a2ebbffc728246033b SHA512 486bb949c5adce9d2ad176c2638d2425a6a03910098e6adf1bdaecd3459d148c2899e4827ed39cbe8d7300ffcffe99b475575bb87ab93a330549077284fd8fd7 +DIST redis-7.2.6.tar.gz 3391023 BLAKE2B 8dae8c370a905ff8622f1458387eea4cc61e451d827de8a4b61a65aff0517ff2ec714eadcd03e1b683c0940cc98390ce7c2eb451bd25c3ecaeaf21ac1fb2230a SHA512 758a1cbf77eee6222b3490757c58b9a1065b727b65d9bd6332cb41a816b6ab2827924eaca003fb5b818f847f7a00d9ce2f46365969ce946110119872368cc938 +DIST redis-7.4.1.tar.gz 3529512 BLAKE2B 097c9ff0356a86909898e8defe9394c88bc2de7194477905c12c08cc5ffabd2180ffefd5b17d9454af1b7ef8ab059cbcb61bd42b86ee50d98e73208fa1da796d SHA512 d764b5c3a4a6fb73192b92e92e90abedf46c2dee6e0840326c95b848910186e52f973020563fc89781c144340f652b5d39c997acff7c9d4b751ddc3300140e45 +EBUILD redis-6.2.16.ebuild 5410 BLAKE2B d2014fa43f786292ee9f15f922d5779c138908d10d009840251b7b40af61a1b174403d42bbb472c170861da98a69bef8e3d3a0a12a6409e4590a0ce250796a65 SHA512 7241f30d250c5f8e87db732d26b340bff1ae53c6c6996b5099388c19178f059b18339cc748d22e036b96c0f849806df415333b1b3f853364031bc15e585d7d64 +EBUILD redis-7.2.6.ebuild 5024 BLAKE2B 54dfdbc184b04c83b20667bf5db958cb2a689c67051b3cab78ecf9bc968110bc5e886ca4d5f87713dce638f91826a210f9e73a846183af0e57f4da3ea34824b3 SHA512 f9e99196b5ccbec2dc7cbd4fc6d11b73c1fce0e56588e19147b0bd5ba6c9f15fe4f9bf69244e77b20797af7209ed4713938a9669012a2af5ba51b53cd1b1aa9e +EBUILD redis-7.4.1.ebuild 4855 BLAKE2B 7bf1a46ec41a5ba91fc14684f33b1aa0e29d3546a9897c2e0c5eb0be36fcbcdc4f2c8fccbab3013abbe082343783a8844b2397db8f8ce60edf66db72537f035e SHA512 a981cb768ccbb5768b48b5b0b1038a0c99ebbdbcf5976bb67c1ba3affa41fa407963395c7610d39f14c9d546815dfd12d25a012ca62f70e9b0b4be6a53c1a5af MISC metadata.xml 547 BLAKE2B 43d462a2c301c4431aa233467563140076269fec170063a9b5501fad2bad3afb9602aab971a5ef16997dd24cc5cfd27c9a9e194059b8db8784250cdae0fd5db3 SHA512 6b4549d4c296c19bc054175c7cf2d1af785d9217b4f298460be5ed08c0197ad8d6fdc29c998c85a5c6926947d99665265a008163e2dc15def2e1230ca6b561eb diff --git a/dev-db/redis/redis-6.2.14-r1.ebuild b/dev-db/redis/redis-6.2.16.ebuild index 1ecde456a4ac..9ebf1541bc26 100644 --- a/dev-db/redis/redis-6.2.14-r1.ebuild +++ b/dev-db/redis/redis-6.2.16.ebuild @@ -22,11 +22,11 @@ SRC_URI="https://download.redis.io/releases/${P}.tar.gz" LICENSE="BSD" SLOT="0/$(ver_cut 1-2)" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="+jemalloc selinux ssl systemd tcmalloc test" RESTRICT="!test? ( test )" -COMMON_DEPEND=" +DEPEND=" ${LUA_DEPS} jemalloc? ( >=dev-libs/jemalloc-5.1:= ) ssl? ( dev-libs/openssl:0= ) @@ -35,24 +35,21 @@ COMMON_DEPEND=" " RDEPEND=" - ${COMMON_DEPEND} + ${DEPEND} acct-group/redis acct-user/redis selinux? ( sec-policy/selinux-redis ) " BDEPEND=" - ${COMMON_DEPEND} + acct-group/redis + acct-user/redis virtual/pkgconfig -" - -# Tcl is only needed in the CHOST test env -DEPEND=" - ${COMMON_DEPEND} test? ( dev-lang/tcl:0= ssl? ( dev-tcltk/tls ) - )" + ) +" REQUIRED_USE="?? ( jemalloc tcmalloc ) ${LUA_REQUIRED_USE}" diff --git a/dev-db/redis/redis-7.0.15-r1.ebuild b/dev-db/redis/redis-7.0.15-r1.ebuild deleted file mode 100644 index ea4ae7fc184e..000000000000 --- a/dev-db/redis/redis-7.0.15-r1.ebuild +++ /dev/null @@ -1,187 +0,0 @@ -# Copyright 1999-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 autotools edo flag-o-matic multiprocessing systemd tmpfiles toolchain-funcs - -DESCRIPTION="A persistent caching system, key-value, and data structures database" -HOMEPAGE="https://redis.io" -SRC_URI="https://download.redis.io/releases/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -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 )" - -COMMON_DEPEND=" - jemalloc? ( >=dev-libs/jemalloc-5.1:= ) - ssl? ( dev-libs/openssl:0= ) - systemd? ( sys-apps/systemd:= ) - tcmalloc? ( dev-util/google-perftools ) -" - -RDEPEND=" - ${COMMON_DEPEND} - acct-group/redis - acct-user/redis - selinux? ( sec-policy/selinux-redis ) -" - -BDEPEND=" - ${COMMON_DEPEND} - virtual/pkgconfig -" - -# Tcl is only needed in the CHOST test env -DEPEND=" - ${COMMON_DEPEND} - test? ( - dev-lang/tcl:0= - ssl? ( dev-tcltk/tls ) - )" - -REQUIRED_USE="?? ( jemalloc tcmalloc )" - -PATCHES=( - "${FILESDIR}"/${PN}-6.2.1-config.patch - "${FILESDIR}"/${PN}-5.0-shared.patch - "${FILESDIR}"/${PN}-6.2.3-ppc-atomic.patch - "${FILESDIR}"/${PN}-sentinel-5.0-config.patch - "${FILESDIR}"/${PN}-7.0.4-no-which.patch -) - -src_prepare() { - default - - # Append cflag for lua_cjson - # https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61 - append-cflags "-DENABLE_CJSON_GLOBAL" - - # now we will rewrite present Makefiles - local makefiles="" MKF - for MKF in $(find -name 'Makefile' | cut -b 3-); do - mv "${MKF}" "${MKF}.in" - sed -i -e 's:$(CC):@CC@:g' \ - -e 's:$(CFLAGS):@AM_CFLAGS@:g' \ - -e 's: $(DEBUG)::g' \ - -e 's:$(OBJARCH)::g' \ - -e 's:ARCH:TARCH:g' \ - -e '/^CCOPT=/s:$: $(LDFLAGS):g' \ - "${MKF}.in" \ - || die "Sed failed for ${MKF}" - makefiles+=" ${MKF}" - done - # autodetection of compiler and settings; generates the modified Makefiles - cp "${FILESDIR}"/configure.ac-7.0 configure.ac || die - - sed -i \ - -e "/^AC_INIT/s|, __PV__, |, $PV, |" \ - -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \ - configure.ac || die "Sed failed for configure.ac" - eautoreconf -} - -src_configure() { - econf - - # Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164 - # also, don't define ANSI/c99 for lua twice - sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die -} - -src_compile() { - local myconf="" - - if use jemalloc; then - myconf+="MALLOC=jemalloc" - elif use tcmalloc; then - myconf+="MALLOC=tcmalloc" - else - myconf+="MALLOC=libc" - fi - - if use ssl; then - myconf+=" BUILD_TLS=yes" - fi - - export USE_SYSTEMD=$(usex systemd) - - tc-export AR CC RANLIB - emake V=1 ${myconf} AR="${AR}" CC="${CC}" RANLIB="${RANLIB}" -} - -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/redis - doins redis.conf sentinel.conf - use prefix || fowners -R redis:redis /etc/redis /etc/redis/{redis,sentinel}.conf - fperms 0750 /etc/redis - fperms 0644 /etc/redis/{redis,sentinel}.conf - - newconfd "${FILESDIR}/redis.confd-r2" redis - newinitd "${FILESDIR}/redis.initd-6" redis - - systemd_newunit "${FILESDIR}/redis.service-4" redis.service - newtmpfiles "${FILESDIR}/redis.tmpfiles-2" redis.conf - - newconfd "${FILESDIR}/redis-sentinel.confd-r1" redis-sentinel - newinitd "${FILESDIR}/redis-sentinel.initd-r1" redis-sentinel - - insinto /etc/logrotate.d/ - newins "${FILESDIR}/${PN}.logrotate" ${PN} - - dodoc 00-RELEASENOTES BUGS CONTRIBUTING.md MANIFESTO README.md - - dobin src/redis-cli - dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb - fperms 0750 /usr/sbin/redis-benchmark - dosym redis-server /usr/sbin/redis-sentinel - - if use prefix; then - diropts -m0750 - else - diropts -m0750 -o redis -g redis - fi - keepdir /var/{log,lib}/redis -} - -pkg_postinst() { - tmpfiles_process redis.conf - - ewarn "The default redis configuration file location changed to:" - ewarn " /etc/redis/{redis,sentinel}.conf" - ewarn "Please apply your changes to the new configuration files." -} diff --git a/dev-db/redis/redis-7.2.5.ebuild b/dev-db/redis/redis-7.2.6.ebuild index 5d5a1385e115..5d5a1385e115 100644 --- a/dev-db/redis/redis-7.2.5.ebuild +++ b/dev-db/redis/redis-7.2.6.ebuild diff --git a/dev-db/redis/redis-7.4.0.ebuild b/dev-db/redis/redis-7.4.1.ebuild index 8d583a5f437c..fbca03b9523b 100644 --- a/dev-db/redis/redis-7.4.0.ebuild +++ b/dev-db/redis/redis-7.4.1.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 )" diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest index b8e8ba278d9c..114bce2433af 100644 --- a/dev-db/rqlite/Manifest +++ b/dev-db/rqlite/Manifest @@ -1,7 +1,7 @@ -DIST rqlite-8.23.0-deps.tar.xz 3934116 BLAKE2B 3f56e99ab7cc6e9ae6584bfc3bb10ff28a866961a90bb77ee7acc9442d16d37eaa705b5cc85abbf7de3daea77df24ec9b4b65fbff43a11033bc8e0a11bcb089e SHA512 cace762d4f7e3a6d973dcba7ccf40ddc45d05a0cb5669d67a4c9fd4917e826828664779ab2bb293757fb46f2d5fc956d7ecae46b59f4914afe8fadc42d9d95b1 -DIST rqlite-8.23.0.tar.gz 613529 BLAKE2B 0c6c790f1a211a10f14a2f03a231567c186504c05618509733f94a7cacb6b4b23abdbeb119067a4a884ddcbc5862d301ede0a83b3059e9ff55b20876c27f85dc SHA512 6247cf72ac295a5892fe992ec90c7733de311142996d4eead2c69752d71ad55326a5f6c4f26f4c5fee229bd0b75a3379460bf69abe0c473517a8fb3ef322889f DIST rqlite-8.25.0-deps.tar.xz 3958656 BLAKE2B f48b155e2f8535a4189ff8403fd33e555ad57edfd16546b80f9040852bab26c5580a0f39ebde232396df1cd21b3f08e0c4a9e83fd54837aca75a89d05d159241 SHA512 49b0b010eff36a5a5fdeb243f9b248beb0f96c3d914e62bf1c6f0638b8502b6a08daa84f23620f17411269a4efd703ef60ffa567da1cb72b04538b0fbe994e6b DIST rqlite-8.25.0.tar.gz 619814 BLAKE2B 489e572073ea7c19092c0345881381b39ff40c2728b3b4c443ac5c9b7df3172f45e189ef2fc0ee365a9a4274d0f58476efc23ad95bb5e462e84cc449af78ba79 SHA512 79331a6a24d9d42aded35d4e9250af84f522f6bf42ed817ad93c51e019b7cf2e7149ec78de6499aac39608a31da1fbd208fd0db5bee1b6cf92dd793b60559ac3 -EBUILD rqlite-8.23.0.ebuild 888 BLAKE2B ba2fc8a586336112ef1cf6bc8d26af69abfbbbee8659c2db3e82af55e9fafbd2b0313e088837c79fd95456b2ebff9b496b0af6131b1b3cde85deaa3ee02d99e4 SHA512 86c923600fc7d914ef274eac87cef862472b6da5e3694dfb7307447ab8fe737dfbf8f0f693b917ebce0e83070e217ab923968cb9a75b0178bbb026391c684a71 +DIST rqlite-8.32.7-deps.tar.xz 4047984 BLAKE2B 3cff947f14dfd2d0097f39afb67c9266bf9c626cd13e5c4958c7e9ff65ad83ee89fb82acb23b8341be3cc219405ec05f26d4fd06710316fb984247179c7c5fdd SHA512 7562895cfa715a381788f7dfa04b744c68b744d93a5f2f0eff07ad5d4bb80ed376bd36dc7cb8029fd62a64323d33b799da79cd66fa253176b69b56c64f39859f +DIST rqlite-8.32.7.tar.gz 737733 BLAKE2B 6d26b30b97d83c09d22e13aaac74f2d04de538ab7b61a72d50c297331f4612bf7502cf72e8ef030df459d9bb3c5feeba8a8f970412084d393277885f9f4222c6 SHA512 600a44bcdcf203cc1928a12d064e51f70cca92cb01035effc2c7ce564c4d1e65f5ed8ada7ef2ff53616bd24ccc5e419080cd91fb457b585df0b67e4948db7b82 EBUILD rqlite-8.25.0.ebuild 888 BLAKE2B e5032f10bad0cbcbdce9e3e5e056aeb01359e76dad0fb47737a81edc49a6f85b8c9337998496af75d77c57f175934b8fc34f7d50ad741278f9dbd0480c004aa9 SHA512 7b188d8bf6cd962fb055ecc54ac8b6ac54d6361fe88725997d5f692223521151e78c006ecdf49d670b55e4fcc8c3db565cdd50ca9fc5cfaa52f6dcbb7e89c358 +EBUILD rqlite-8.32.7.ebuild 888 BLAKE2B 2ca0a8fbca3c65a8fa3d260c0843b69a85344a2f4d64c53c95ac0513c99fec295de4557ee82b16b3a324c6861667236168c063cff7baa815db5f287303906edf SHA512 091089eb0f8124fc779cc3950014640780ade1f112947d019785e7377d13a74f188e1d25b9fbaa74a9711d02940a91a7af9919de858bd157a1dc88840da47011 MISC metadata.xml 305 BLAKE2B 43bc299dae9450677761bfaeaa02ac649ac4ecdbb35e3242c8525db13ef0471397a352b2a8aa751ec725ff8e9c86c2a8a19caf71bbe0de206f266d945f287561 SHA512 3dbddc6b5e4e6d8cd82beb722b5b45af6621e8fb84a1d3a1ec5c444026f595fd14babadc92084afe122202c9b940be21b2e1af145d24846de4225582e5e4d5de diff --git a/dev-db/rqlite/rqlite-8.23.0.ebuild b/dev-db/rqlite/rqlite-8.32.7.ebuild index 56c35cd04c40..2a2e5683740a 100644 --- a/dev-db/rqlite/rqlite-8.23.0.ebuild +++ b/dev-db/rqlite/rqlite-8.32.7.ebuild @@ -3,7 +3,7 @@ EAPI=8 inherit go-module -EGIT_COMMIT=47dfcd9d56f544c58795b6ca98a1dfd378a0505f +EGIT_COMMIT=bab2fd37177724716e7071b3d53c98e4b460af8c DESCRIPTION="Replicated SQLite using the Raft consensus protocol" HOMEPAGE="https://github.com/rqlite/rqlite https://www.philipotoole.com/tag/rqlite/" diff --git a/dev-db/spatialite/Manifest b/dev-db/spatialite/Manifest index 561946d9e65e..509376604232 100644 --- a/dev-db/spatialite/Manifest +++ b/dev-db/spatialite/Manifest @@ -1,6 +1,6 @@ DIST libspatialite-5.0.1.tar.gz 6372753 BLAKE2B 0fe5b37efac134e3796c96ed012b434ce99547037a44df69d3e98c7ac586c1173faa1fe93c4578e7cc0f47a9f1c539710661bad57f8012c3bdabde427221a842 SHA512 c2552994bc30d69d1e80aa274760f048cd384f71e8350a1e48a47cb8222ba71a1554a69c6534eedde9a09dc582c39c089967bcc1c57bf158cc91a3e7b1840ddf DIST libspatialite-5.1.0.tar.gz 6517377 BLAKE2B 871e2be82dd1f02de76f0755b6ea7a53797dd9905fe481d6f56dcf8a87278f0a9326a3e0662620cbf6bfe53f932dab199602885c7efcbc5a5e56781a7599d226 SHA512 2745b373e31cea58623224def6090c491b58409803bb71231450dfa2cfdf3aafc3fc6f680585d55d085008f8cf362c3062ae67ffc7d80257775a22eb81ef1e57 -EBUILD spatialite-5.0.1-r1.ebuild 1267 BLAKE2B 028fa2b89a63b96f5f059741d5bb6564ce25be3d0eb6dc9d4d68449fbdadd8975fb44f2a9233a20c70f6fb75850d075fe25fe9557fe0058e7d9777051fd995cb SHA512 345151d357fb5ed604553b896bc1c94935d401282c50cf6789574991eb72d0648fc5bcd20e1d46e9f56da6c7cf94edbeea8b9c0f5ffcc19935e0fc2fa0d4cbe6 -EBUILD spatialite-5.0.1-r2.ebuild 1324 BLAKE2B 2366544543e03e15f199cec00a33155c237a1cc810ffc9b516fe9b1d2769d5bec93ab9f01c98e03dcd4bd537dec12ef8514525bedcf5934fb4b8f9bc25bd53db SHA512 068a85a4fb1e325fa38abe6a9fed98d474a47103dc4ad128e01169ddcdba6b058e5736afbe068502639e3cbedecf8f45a391d9024957e6894029dba6543a4314 -EBUILD spatialite-5.1.0-r1.ebuild 1361 BLAKE2B 9d2312eb8160225cc739c8a5ca0554a990be155ca45d59d9967f29ea52548a76dd6e3a82913b1b47d614b76a55235e3e2269d5daf3d9cf9dd8e42876683b83c7 SHA512 b227d4bd3e76b3f293781dd51131a357ab56b99cfe05939ae510a779d3ba692e4b26faa4ea07c27eeb77cf94dbcfdc5311253b0b4b832823deac5a12d547471f +EBUILD spatialite-5.0.1-r1.ebuild 1261 BLAKE2B b7003140b63f33cfbe9480d67d66c2058ed95357c8cec705d07a9c2fa6fb76b799195c83347627c60187b584959e3ac2f8ec5d4b927ddb8bb38199f449c9afbd SHA512 367a005e9cf24fb56459f0d5aa5ce8bc4a954e722a372335ce9ca1f52b1f6a51d8c39898a171e71d250db28be2035f48dd637ba9c6b14afba47323aa0f92ad31 +EBUILD spatialite-5.0.1-r2.ebuild 1318 BLAKE2B 1c774cb50af6f21d331377286fe445dfda61b49f3bb390fb5ef1c11fdba7f01344cdebda45b18d9b2c8cbdde93a334104e673a5e5d8fe398c90a9136da21d14e SHA512 33f698d57b0507fbdefdaf49772ce0647485be986d4dce1bb63008c220a30dd12848d77a575a592bf9a26a3e3d031d239802b5445904ba685097e94e1023e5df +EBUILD spatialite-5.1.0-r1.ebuild 1355 BLAKE2B 5e4ebcef1b4223c18c80a0bce35e50317ca7f6f87e88737b23cb801ab1d5f685494ab66ec512bb9e6b6217939d030e3f0ed779644722a4d0ed0191436a5e70c0 SHA512 d949071a32ec064dc1619c86a1fcce86a15375fac23d807f20d19673fea46e67eab67c0358bc543fc361e7a49cd2c393bb126d9825b6656d1b23a58c10c0b423 MISC metadata.xml 662 BLAKE2B d44c0b1a08c869509161cc7040c90c5e6b591b09f16893ac21885ee82817ad942eab586a44532ffa8dcbbdedffc6ec0bcf05641196cf892fb0b0e832a760e00f SHA512 7a614e0dc498ccd2d117e600efc867b248fc243fd3a9bb0a599fcaa47a90a3669a730e765df648b5a49cf77c442a3f4a2ea084a721bab48e9c37e7cc73fd9794 diff --git a/dev-db/spatialite/spatialite-5.0.1-r1.ebuild b/dev-db/spatialite/spatialite-5.0.1-r1.ebuild index 57f3dff605da..59c694433372 100644 --- a/dev-db/spatialite/spatialite-5.0.1-r1.ebuild +++ b/dev-db/spatialite/spatialite-5.0.1-r1.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MPL-1.1" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" IUSE="+geos iconv +proj test +xls +xml" # Further poking required RESTRICT="test" diff --git a/dev-db/spatialite/spatialite-5.0.1-r2.ebuild b/dev-db/spatialite/spatialite-5.0.1-r2.ebuild index fceb9a7de979..f9cff2e33cca 100644 --- a/dev-db/spatialite/spatialite-5.0.1-r2.ebuild +++ b/dev-db/spatialite/spatialite-5.0.1-r2.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MPL-1.1" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" IUSE="+geos iconv +proj rttopo test +xls +xml" # Further poking required RESTRICT="test" diff --git a/dev-db/spatialite/spatialite-5.1.0-r1.ebuild b/dev-db/spatialite/spatialite-5.1.0-r1.ebuild index ccfc1ed4aa66..66a8ca4dc548 100644 --- a/dev-db/spatialite/spatialite-5.1.0-r1.ebuild +++ b/dev-db/spatialite/spatialite-5.1.0-r1.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MPL-1.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" IUSE="+geos iconv +proj rttopo test +xls" # Further poking required RESTRICT="test" diff --git a/dev-db/sqlite/Manifest b/dev-db/sqlite/Manifest index ada08c05aedb..fb2327a7e3cd 100644 --- a/dev-db/sqlite/Manifest +++ b/dev-db/sqlite/Manifest @@ -1,13 +1,17 @@ AUX sqlite-3.45.1-ppc64-ptr.patch 986 BLAKE2B 8c97514a67601c1f51459c1d4ea683e023730b3fa66be7a238807f172ce19ebceeed8f81c9f6e4f3621c96eecd8f6ea3bd5669a8a5ee5b14cf2bebdb7338e0db SHA512 12c6384682a36cddfdde7d2cfdba8aad54441b816816abf139bb05c46f65e78548c5a9e4f7f8b8836bd95702455b93ed7e0afb868ab15fead20a84404f075615 AUX sqlite-3.45.2-tests-x86.patch 3704 BLAKE2B 107828e5cda62c2fc9f6c23efa5a5c1e3993d57fc0a129bc3ec8e24ad8c00770a72768d76b0843b2ed493f738d4fdded31a0efb46dd48bc0e9f78988e42492a8 SHA512 5a867ca23262c7144865fed8e8a088d0494d2e4716990b6ded8c26dab588163d367226f8858cfbdda87bf897bafacf1299d5828ef50c9ca6e02b026b18970965 +AUX sqlite-3.47.0-nonbash.patch 2086 BLAKE2B d791fe6bcfb115f814608f40500a3a321b7dd519aa5396a5e55fa96bde492356174c4c440e7cde28a477057d5f56453b246a991fd7818de908ed7c671573eec0 SHA512 c5c530cd936b5656d69d87a10704465cfb0b4029850780b613fd2e34b2c046476503e8ca7aef841f9757887757498f8544e3bf1005f3c7a1b9a8056c98ab79e8 DIST sqlite-doc-3450300.zip 10759906 BLAKE2B 3ad2307d4c5de10f20d0cb58bb673b291a63bf0328c3f1e40e37a4823fadda82e0f1fbfe7c9c76925ab1d1448e76cc4cbce4d4ad15c732f134f1b4b4caee9543 SHA512 8f865302137684c31c4f54d6cbe4ee82126394887930ec50501fb811023bc612878d2dc1c2317e960fe818a277b008a9835475e7a47822fc5ece5fe37aa61e31 DIST sqlite-doc-3460000.zip 10842823 BLAKE2B 4b4b36d78ba540abaa39bb510465e23e39cabcce97d19e4cb1374d941183ea05e1150356d15c99dbdf5513adebe2e9b06cbc59bd268fe6ce17905523488ec682 SHA512 22748bf113ff96320c90227ba104ff081bf1761550944afbc78b6768d6677b13982d7e759c5f67eb7ba7ed0dcbffee500bc39fc9929d28f86b2a269145fefebd DIST sqlite-doc-3460100.zip 10851427 BLAKE2B 7462e83ca84e3e9aac7236f575fd2bdddac7744ae700a63fe8fdc9d2df3157c59fd374d99a0526bd4d9f742005ee7a90f3d78057861d3c3fcba9f897630e48db SHA512 1ad7dfc938d182f69ea9367b4f5ead1d48b991626521249e8b58c9fb4c2553e348ce402de9cc81b0ad699d4c45c467de56a98ee39f9c3555c6fafff15fba41ce +DIST sqlite-doc-3470000.zip 10937359 BLAKE2B 3fc349e4b2b0cd3fc59147519062133261463e09933419f330cd18e6b120d3498c10a1864c85c2de144430f1dbf7f9a867aba47ab77dbe2aa0b5128e0742dddf SHA512 20c126551a95905e63e99930e3f7964b6e3fc8b72fbbedf5484f669817af2a8384f05fce89d6117a5e232ba71f5469894d4bb22ba7abd796b24fd624372c7c17 DIST sqlite-src-3450300.zip 14160555 BLAKE2B 1c16a9b26587ed6b50dcd8373d4328266da0a47da7ffff15d505eddc8df74850a5bca3330bd9ee2b52036ccff9fb8aeebea02ef5713cc933753b4d8a4c15b2e8 SHA512 8f44ffdefd2cf09e7edb7cd78d5416fe7b42e01fe4b4e4803ce9d34c7b1b2971ec170a908a94b4bb11737dd3888675c8ff101ff2b41c53b8db05b5954e947cc9 DIST sqlite-src-3460000.zip 14275927 BLAKE2B 8f8c7da56226cfbc669bc5cce7c897849dd0c6088189be2fc972fdc58bbc2933df979f040066a1cb9aea942117867eb31c9c97e7074e17215bfe747f9024a6c2 SHA512 441c51943e77655652409965b831df5af8662b4c585134be7fcd9bb5755a495170f37bd6510a80c18c42de72dda23536b583e84e58f042d342dd9e4139ae3327 DIST sqlite-src-3460100.zip 14276926 BLAKE2B df16ea944e317df8ed64fdfab289e3699ec71725ce55e2b30450adaeb41c061b4fba1eb8c41ba638b0edcd12b23264a1f9e413b69fd593c2b65fb1037d3fc8b2 SHA512 6d32a0db9f95d3cec34f02f3fd45b453bf7c422d4d4d9570790f641e7d190b8b31be8e8715afacc1b6e4417f15a4d15a0b28e608ae0b4b5f3054b075783b916e -EBUILD sqlite-3.45.3.ebuild 12842 BLAKE2B 6884ae03f4a7079de9676ab32d975d917576dc1a220243aaeca96315ef3c7b0f700e6e718c5201c1358a525f4ac84c8a6ae8a9e619ff91bb33320901aeab6e5f SHA512 a6c6b06c05d0407e34c08fe3ead92f2c32d0993dab96ae493f2407236e9f0bffa65c4c1cde292f2ee30092dd1f3b36b0c2dc123ce4cf35520adc236d8259baf7 -EBUILD sqlite-3.46.0.ebuild 12799 BLAKE2B 914ec24b4a9bef0488d7aca7dab778a12fa9f4c6e9076cc41ec0668e1ebef383a97125f84f6526acca1a0bd6d0be42f51b5da7f729a4073d292691f64b275601 SHA512 a58878732f50a763fdc89243dc9b7e4536ba8cdf545b6242697c9dfc991a25a89f86df090461d08de0b2d57e5652baa2bd90ddc28bdfc874d24a9b7bfdabb63e -EBUILD sqlite-3.46.1.ebuild 12806 BLAKE2B 812b876fa6bc589e5b6992879c1b6d127c0e8bfa0f23bee7bb29e39c7296e0aefdbf9795301232d1bbe1eb582acb366f57c515feea04f85bb2fe9c41cafdac31 SHA512 7061f0e23518499110132433a87893db0d1618985a70e06026dc4ea24a72530756205c112660aa52b9395c6e3848ab9d32316f13098b6ad8c02abaeece9c8f69 -EBUILD sqlite-9999.ebuild 12721 BLAKE2B cfeb4a77217433de9c4cd2446f534592fdbc9efc378ed531f7f4509589d3d6db38562cc27f0531349aa1389da23dc2187d790570b1a884b1254da830479ebdf8 SHA512 da6bec38d914e66fa1c6db8172d0685e6778798d30a34be311213011039a420635118c9227c55c5fe484d44ba42af279775559582584d357077860abe2b36336 +DIST sqlite-src-3470000.zip 14408459 BLAKE2B c8e883410fdf9f020bc55ef01d7c2c5b7f1744d3475e7755f2395b24b2d5397302aac2eb7912161cbc2a705a1d7a94b1fa5e8f4e5dbf374c31de56228cbc9e5d SHA512 294d718fb1ebb23e2a4d6e8b7f498d7a7d922e6af5e36452fae075c0d48f4d4f64b5f235ab561b1e47fb7722efc647dfe541164cc385ddc0e2ec0dbce1f40b01 +EBUILD sqlite-3.45.3.ebuild 12836 BLAKE2B 52d49dc6d44a902c3ac4ec0158c1a528889b0a76b3a2e2a72a7cc12295312e358e14b43aa4923ed72776b85a86e5bada1db2fcd6315e44d57f788202ce76c226 SHA512 e8904b4b1fd810a9823bacd431638e1ea6445aedbc1bc01e40eb8c0f6d0827ef852425d6cb2127b3e3714637451bedb87ce05c69005ac4f98e45480fa2b31b3f +EBUILD sqlite-3.46.0.ebuild 12793 BLAKE2B 1b74ae60666a7fc1587db1e4e365d6a650b96caa9bb4f5351c6723aced9137d221f616296f672c1e7f56c0c3c0d0be49b8df2591d6c762d5344b8a29e913887f SHA512 ec4af38fdd7ed5be53d7a413c1744580fa1b990ca151e649214ed0096ba8545a9ebd14c29f9fa30e578fa4a95c299060e2b336db149d85a9fc2ac370403708d8 +EBUILD sqlite-3.46.1.ebuild 12794 BLAKE2B 51b2d071bc95c524e860bacc3341beb6a6e502368d961960c00ef21bd70b7cd214347da3565cdfdd2f23af80ffb1c62f1d27cdbc7917d6d9f230c542be122919 SHA512 30ebbaaf2531c28e3b604e29e352cadc100f23665dc7f62e4c4fba7a1a0812b216b70ca23fbe0e28a898045ed939ee0f3551a8bfa694bc3ee5b2e79106ee2956 +EBUILD sqlite-3.47.0.ebuild 12814 BLAKE2B 564ce70728bcec6bb601a33910f4b29feaa4404c4088bfa5022c39b8d418bb0edf0a7f6924df4c1f54af8885080a246758fb68ce5c8087e806f8e1758756f9c6 SHA512 9940914a1a3a13febae6bd698005e9fa458bb6cbdc56154c2f4593a53f8aba93d28651ad5121eb67aaf9829c58ec591adc2f6b8c1e67d44eecb3770b89431be3 +EBUILD sqlite-9999.ebuild 12715 BLAKE2B d79519648d078c7c19312f1df796e2e681c40f2992649fa21b146a5fd16d469656fe02c2a52292a1dff66b38d9ac8061cbc468b162a4051cef56b4d4f1a462cd SHA512 fc50a53d730f618f33c600bf7886e94176404908975da1e5f893916f36c86bf0c4135ee1469026d703483339994638076f0fdc884aa7bad802be2cfaf713dc92 MISC metadata.xml 824 BLAKE2B 8ab2e8f230bf3a2b26077d90944bca7bf35ae905310205b90bf243365148488303256606c0ee7c3fb736300686466a1c2583bf103693c20063ca668fe9e52647 SHA512 ed4a89e3c2d633cb6ebf8bcbf3ca055d0d1b2ffd801ba559395f812faeaafdfedd97dae11a5a53a4c068e43026fbd4eed4cb12c8b89a7fda6dabe6f78a2e0b38 diff --git a/dev-db/sqlite/files/sqlite-3.47.0-nonbash.patch b/dev-db/sqlite/files/sqlite-3.47.0-nonbash.patch new file mode 100644 index 000000000000..3eece5ed5b29 --- /dev/null +++ b/dev-db/sqlite/files/sqlite-3.47.0-nonbash.patch @@ -0,0 +1,53 @@ +https://sqlite.org/forum/info/14274389fb2 +https://bugs.gentoo.org/942917 +https://bugs.gentoo.org/942918 +https://github.com/sqlite/sqlite/commit/a40e6e927313ed97a895ff7c022eff705e50b1e6 + +From a40e6e927313ed97a895ff7c022eff705e50b1e6 Mon Sep 17 00:00:00 2001 +From: stephan <stephan@noemail.net> +Date: Wed, 30 Oct 2024 00:35:08 +0000 +Subject: [PATCH] Replace 3 instances of the == 'test' shell command operator + with =, as == is apparently not as portable across shells. Problem reported + in [forum:14274389fb2|forum post 14274389fb2]. + +FossilOrigin-Name: 68199c40fedeb07a3f9c5024fac6376a0579a13b0e5690aef6238e3e22b9c1b7 +--- a/configure ++++ b/configure +@@ -10334,7 +10334,7 @@ else + fi + + original_use_tcl=${use_tcl} +-if test x"${with_tclsh}" == x -a x"${with_tcl}" == x; then ++if test x"${with_tclsh}" = x -a x"${with_tcl}" = x; then + for ac_prog in tclsh9.0 tclsh8.6 tclsh + do + # Extract the first word of "$ac_prog", so it can be a program name with args. +@@ -10453,7 +10453,7 @@ $as_echo "unable to run tests because no tclConfig.sh file could be located" >&6 + HAVE_TCL=0 + fi + +-if test x"$TCLSH_CMD" == x; then ++if test x"$TCLSH_CMD" = x; then + TCLSH_CMD=${TCL_EXEC_PREFIX}/bin/tclsh${TCL_VERSION} + if test ! -x ${TCLSH_CMD}; then + TCLSH_CMD_2=${TCL_EXEC_PREFIX}/bin/tclsh +--- a/configure.ac ++++ b/configure.ac +@@ -124,7 +124,7 @@ AC_ARG_WITH(tcl, AS_HELP_STRING([--with-tcl=DIR],[directory containing (tclConfi + AC_ARG_ENABLE(tcl, AS_HELP_STRING([--disable-tcl],[omit building accessory programs that require TCL-dev]), + [use_tcl=$enableval],[use_tcl=yes]) + original_use_tcl=${use_tcl} +-if test x"${with_tclsh}" == x -a x"${with_tcl}" == x; then ++if test x"${with_tclsh}" = x -a x"${with_tcl}" = x; then + AC_CHECK_PROGS(TCLSH_CMD, [tclsh9.0 tclsh8.6 tclsh],none) + with_tclsh=${TCLSH_CMD} + fi +@@ -195,7 +195,7 @@ else + HAVE_TCL=0 + fi + AC_SUBST(HAVE_TCL) +-if test x"$TCLSH_CMD" == x; then ++if test x"$TCLSH_CMD" = x; then + TCLSH_CMD=${TCL_EXEC_PREFIX}/bin/tclsh${TCL_VERSION} + if test ! -x ${TCLSH_CMD}; then + TCLSH_CMD_2=${TCL_EXEC_PREFIX}/bin/tclsh diff --git a/dev-db/sqlite/sqlite-3.45.3.ebuild b/dev-db/sqlite/sqlite-3.45.3.ebuild index 3349ca4de37c..8b654b69e514 100644 --- a/dev-db/sqlite/sqlite-3.45.3.ebuild +++ b/dev-db/sqlite/sqlite-3.45.3.ebuild @@ -24,7 +24,7 @@ else " S="${WORKDIR}/${PN}-src-${SRC_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" + KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi LICENSE="public-domain" diff --git a/dev-db/sqlite/sqlite-3.46.0.ebuild b/dev-db/sqlite/sqlite-3.46.0.ebuild index b18d3e50644b..820e9f2fdd83 100644 --- a/dev-db/sqlite/sqlite-3.46.0.ebuild +++ b/dev-db/sqlite/sqlite-3.46.0.ebuild @@ -24,7 +24,7 @@ else " S="${WORKDIR}/${PN}-src-${SRC_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" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi LICENSE="public-domain" diff --git a/dev-db/sqlite/sqlite-3.46.1.ebuild b/dev-db/sqlite/sqlite-3.46.1.ebuild index c554ab9b1599..4b7f5f5373ac 100644 --- a/dev-db/sqlite/sqlite-3.46.1.ebuild +++ b/dev-db/sqlite/sqlite-3.46.1.ebuild @@ -24,7 +24,7 @@ else " S="${WORKDIR}/${PN}-src-${SRC_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" + KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi LICENSE="public-domain" diff --git a/dev-db/sqlite/sqlite-3.47.0.ebuild b/dev-db/sqlite/sqlite-3.47.0.ebuild new file mode 100644 index 000000000000..f2269f2a942c --- /dev/null +++ b/dev-db/sqlite/sqlite-3.47.0.ebuild @@ -0,0 +1,427 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic multilib-minimal toolchain-funcs + +DESCRIPTION="SQL database engine" +HOMEPAGE="https://sqlite.org/" + +# On version updates, make sure to read the forum (https://sqlite.org/forum/forum) +# for hints regarding test failures, backports, etc. +if [[ ${PV} == 9999 ]]; then + S="${WORKDIR}"/${PN} + PROPERTIES="live" +else + printf -v SRC_PV "%u%02u%02u%02u" $(ver_rs 1- " ") + DOC_PV="${SRC_PV}" + #printf -v DOC_PV "%u%02u%02u00" $(ver_rs 1-3 " ") + + SRC_URI=" + https://sqlite.org/2024/${PN}-src-${SRC_PV}.zip + doc? ( https://sqlite.org/2024/${PN}-doc-${DOC_PV}.zip ) + " + S="${WORKDIR}/${PN}-src-${SRC_PV}" + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="public-domain" +SLOT="3" +IUSE="debug doc icu +readline secure-delete static-libs tcl test tools" +RESTRICT="!test? ( test )" + +RDEPEND=" + sys-libs/zlib:=[${MULTILIB_USEDEP}] + icu? ( dev-libs/icu:=[${MULTILIB_USEDEP}] ) + readline? ( sys-libs/readline:=[${MULTILIB_USEDEP}] ) + tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] ) + tools? ( dev-lang/tcl:= ) +" +DEPEND=" + ${RDEPEND} + test? ( >=dev-lang/tcl-8.6:0[${MULTILIB_USEDEP}] ) +" +BDEPEND=">=dev-lang/tcl-8.6:0" +if [[ ${PV} == 9999 ]]; then + BDEPEND+=" dev-vcs/fossil" +else + BDEPEND+=" app-arch/unzip" +fi + +PATCHES=( + "${FILESDIR}"/${PN}-3.45.1-ppc64-ptr.patch + "${FILESDIR}"/${PN}-3.47.0-nonbash.patch +) + +_fossil_fetch() { + local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}" + local repo_id="${1}" + local repo_uri="${2}" + + local -x FOSSIL_HOME="${HOME}" + + mkdir -p "${T}/fossil/${repo_id}" || die + pushd "${T}/fossil/${repo_id}" > /dev/null || die + + if [[ -n "${EVCS_OFFLINE}" ]]; then + if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then + die "Network activity disabled using EVCS_OFFLINE and clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\"" + fi + else + if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then + einfo fossil clone --verbose "${repo_uri}" "${repo_id}.fossil" + fossil clone --verbose "${repo_uri}" "${repo_id}.fossil" || die + echo + else + cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" . || die + einfo fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}" + fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}" || die + echo + fi + + ( + addwrite "${distdir}" + mkdir -p "${distdir}/fossil-src/${repo_id}" || die + cp -p "${repo_id}.fossil" "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" || die + ) + fi + + popd > /dev/null || die +} + +_fossil_checkout() { + local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}" + local repo_id="${1}" + local branch_or_commit="${2}" + local target_directory="${3}" + + local -x FOSSIL_HOME="${HOME}" + + if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then + die "Clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\"" + fi + + if [[ ! -f "${T}/fossil/${repo_id}/${repo_id}.fossil" ]]; then + mkdir -p "${T}/fossil/${repo_id}" || die + cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" "${T}/fossil/${repo_id}" || die + fi + + mkdir "${target_directory}" || die + pushd "${target_directory}" > /dev/null || die + + einfo fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}" + fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}" || die + echo + + popd > /dev/null || die +} + +fossil_fetch() { + local repo_id="${1}" + local repo_uri="${2}" + local target_directory="${3}" + + local branch_or_commit="${EFOSSIL_COMMIT:-${EFOSSIL_BRANCH:-trunk}}" + + _fossil_fetch "${repo_id}" "${repo_uri}" + _fossil_checkout "${repo_id}" "${branch_or_commit}" "${target_directory}" +} + +src_unpack() { + if [[ ${PV} == 9999 ]]; then + fossil_fetch sqlite https://sqlite.org/src "${WORKDIR}/${PN}" + if use doc; then + fossil_fetch sqlite-doc https://sqlite.org/docsrc "${WORKDIR}/${PN}-doc" + fi + else + default + fi +} + +src_prepare() { + default + + eautoreconf + multilib_copy_sources +} + +multilib_src_configure() { + local -x CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" + local options=() + + options+=( + --enable-load-extension + --enable-threadsafe + ) + + # Support detection of misuse of SQLite API. + # https://sqlite.org/compile.html#enable_api_armor + append-cppflags -DSQLITE_ENABLE_API_ARMOR + + # Support bytecode and tables_used virtual tables. + # https://sqlite.org/compile.html#enable_bytecode_vtab + # https://sqlite.org/bytecodevtab.html + append-cppflags -DSQLITE_ENABLE_BYTECODE_VTAB + + # Support column metadata functions. + # https://sqlite.org/compile.html#enable_column_metadata + # https://sqlite.org/c3ref/column_database_name.html + append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA + + # Support sqlite_dbpage virtual table. + # https://sqlite.org/compile.html#enable_dbpage_vtab + # https://sqlite.org/dbpage.html + append-cppflags -DSQLITE_ENABLE_DBPAGE_VTAB + + # Support dbstat virtual table. + # https://sqlite.org/compile.html#enable_dbstat_vtab + # https://sqlite.org/dbstat.html + append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB + + # Support sqlite3_serialize() and sqlite3_deserialize() functions. + # https://sqlite.org/compile.html#enable_deserialize + # https://sqlite.org/c3ref/serialize.html + # https://sqlite.org/c3ref/deserialize.html + append-cppflags -DSQLITE_ENABLE_DESERIALIZE + + # Support comments in output of EXPLAIN. + # https://sqlite.org/compile.html#enable_explain_comments + append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS + + # Support Full-Text Search versions 3, 4 and 5. + # https://sqlite.org/compile.html#enable_fts3 + # https://sqlite.org/compile.html#enable_fts3_parenthesis + # https://sqlite.org/compile.html#enable_fts4 + # https://sqlite.org/compile.html#enable_fts5 + # https://sqlite.org/fts3.html + # https://sqlite.org/fts5.html + append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 + options+=( --enable-fts5 ) + + # Support hidden columns. + append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS + + # Support memsys5 memory allocator. + # https://sqlite.org/compile.html#enable_memsys5 + # https://sqlite.org/malloc.html#memsys5 + append-cppflags -DSQLITE_ENABLE_MEMSYS5 + + # Support sqlite3_normalized_sql() function. + # https://sqlite.org/c3ref/expanded_sql.html + append-cppflags -DSQLITE_ENABLE_NORMALIZE + + # Support sqlite_offset() function. + # https://sqlite.org/compile.html#enable_offset_sql_func + # https://sqlite.org/lang_corefunc.html#sqlite_offset + append-cppflags -DSQLITE_ENABLE_OFFSET_SQL_FUNC + + # Support pre-update hook functions. + # https://sqlite.org/compile.html#enable_preupdate_hook + # https://sqlite.org/c3ref/preupdate_count.html + append-cppflags -DSQLITE_ENABLE_PREUPDATE_HOOK + + # Support Resumable Bulk Update extension. + # https://sqlite.org/compile.html#enable_rbu + # https://sqlite.org/rbu.html + append-cppflags -DSQLITE_ENABLE_RBU + + # Support R*Trees. + # https://sqlite.org/compile.html#enable_rtree + # https://sqlite.org/compile.html#enable_geopoly + # https://sqlite.org/rtree.html + # https://sqlite.org/geopoly.html + append-cppflags -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_GEOPOLY + + # Support Session extension. + # https://sqlite.org/compile.html#enable_session + # https://sqlite.org/sessionintro.html + append-cppflags -DSQLITE_ENABLE_SESSION + + # Support scan status functions. + # https://sqlite.org/compile.html#enable_stmt_scanstatus + # https://sqlite.org/c3ref/stmt_scanstatus.html + # https://sqlite.org/c3ref/stmt_scanstatus_reset.html + append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS + + # Support sqlite_stmt virtual table. + # https://sqlite.org/compile.html#enable_stmtvtab + # https://sqlite.org/stmt.html + append-cppflags -DSQLITE_ENABLE_STMTVTAB + + # Support unknown() function. + # https://sqlite.org/compile.html#enable_unknown_sql_function + append-cppflags -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION + + # Support unlock notification. + # https://sqlite.org/compile.html#enable_unlock_notify + # https://sqlite.org/c3ref/unlock_notify.html + # https://sqlite.org/unlock_notify.html + append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY + + # Support LIMIT and ORDER BY clauses on DELETE and UPDATE statements. + # https://sqlite.org/compile.html#enable_update_delete_limit + # https://sqlite.org/lang_delete.html#optional_limit_and_order_by_clauses + # https://sqlite.org/lang_update.html#optional_limit_and_order_by_clauses + append-cppflags -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT + + # Support soundex() function. + # https://sqlite.org/compile.html#soundex + # https://sqlite.org/lang_corefunc.html#soundex + append-cppflags -DSQLITE_SOUNDEX + + # Support URI filenames. + # https://sqlite.org/compile.html#use_uri + # https://sqlite.org/uri.html + append-cppflags -DSQLITE_USE_URI + + options+=( $(use_enable debug) ) + + if use icu; then + # Support ICU extension. + # https://sqlite.org/compile.html#enable_icu + append-cppflags -DSQLITE_ENABLE_ICU + sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" + fi + + options+=( + --disable-editline + $(use_enable readline) + ) + + if use readline; then + options+=( --with-readline-inc="-I${ESYSROOT}/usr/include/readline" ) + fi + + if use secure-delete; then + # Enable secure_delete pragma by default. + # https://sqlite.org/compile.html#secure_delete + # https://sqlite.org/pragma.html#pragma_secure_delete + append-cppflags -DSQLITE_SECURE_DELETE + fi + + options+=( $(use_enable static-libs static) ) + + # tcl, test, tools USE flags. + if use tcl || use test || { use tools && multilib_is_native_abi; }; then + options+=( + --enable-tcl + --with-tcl="${ESYSROOT}/usr/$(get_libdir)" + ) + else + options+=( --disable-tcl ) + fi + + if [[ "${ABI}" == "x86" ]]; then + if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} -E -P -dM - < /dev/null 2> /dev/null | grep -q "^#define __SSE__ 1$"; then + append-cflags -mfpmath=sse + else + append-cflags -ffloat-store + fi + fi + + econf "${options[@]}" +} + +multilib_src_compile() { + emake HAVE_TCL="$(usev tcl 1)" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" + + if use tools && multilib_is_native_abi; then + emake changeset dbdump dbhash dbtotxt index_usage rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_checker sqlite3_expert sqltclsh + fi + + if [[ ${PV} == 9999 ]] && use doc && multilib_is_native_abi; then + emake tclsqlite3.c + + local build_directory="$(pwd)" + build_directory="${build_directory##*/}" + + mkdir "${WORKDIR}/${PN}-doc-build" || die + pushd "${WORKDIR}/${PN}-doc-build" > /dev/null || die + + emake -f "../${PN}-doc/Makefile" -j1 SRC="../${PN}" BLD="../${build_directory}" DOC="../${PN}-doc" CC="$(tc-getBUILD_CC)" TCLINC="" TCLFLAGS="$($(tc-getBUILD_PKG_CONFIG) --libs tcl) -ldl -lm" base doc + rmdir doc/matrix{/*,} || die + + popd > /dev/null || die + fi +} + +multilib_src_test() { + if [[ "${EUID}" -eq 0 ]]; then + ewarn "Skipping tests due to root permissions" + return + fi + + local -x SQLITE_HISTORY="${T}/sqlite_history_${ABI}" + + # e_uri.test tries to open files in /. + # bug #839798 + local SANDBOX_PREDICT=${SANDBOX_PREDICT} + addpredict "/test.db" + addpredict "/ΓΏ.db" + + emake -Onone $(usex debug 'fulltest' 'test') +} + +multilib_src_install() { + emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install + + if use tools && multilib_is_native_abi; then + install_tool() { + if [[ -f ".libs/${1}" ]]; then + newbin ".libs/${1}" "${2}" + else + newbin "${1}" "${2}" + fi + } + + install_tool changeset sqlite3-changeset + install_tool dbdump sqlite3-db-dump + install_tool dbhash sqlite3-db-hash + install_tool dbtotxt sqlite3-db-to-txt + install_tool index_usage sqlite3-index-usage + install_tool rbu sqlite3-rbu + install_tool scrub sqlite3-scrub + install_tool showdb sqlite3-show-db + install_tool showjournal sqlite3-show-journal + install_tool showshm sqlite3-show-shm + install_tool showstat4 sqlite3-show-stat4 + install_tool showwal sqlite3-show-wal + install_tool sqldiff sqlite3-diff + install_tool sqlite3_analyzer sqlite3-analyzer + install_tool sqlite3_checker sqlite3-checker + install_tool sqlite3_expert sqlite3-expert + install_tool sqltclsh sqlite3-tclsh + + unset -f install_tool + fi +} + +multilib_src_install_all() { + find "${ED}" -name "*.la" -delete || die + + doman sqlite3.1 + + if use doc; then + if [[ ${PV} == 9999 ]]; then + pushd "${WORKDIR}/${PN}-doc-build/doc" > /dev/null || die + else + pushd "${WORKDIR}/${PN}-doc-${DOC_PV}" > /dev/null || die + fi + + find "(" -name "*.db" -o -name "*.txt" ")" -delete || die + if [[ ${PV} != 9999 ]]; then + rm search search.d/admin || die + rmdir search.d || die + find -name "*~" -delete || die + fi + + ( + docinto html + dodoc -r * + ) + + popd > /dev/null || die + fi +} diff --git a/dev-db/sqlite/sqlite-9999.ebuild b/dev-db/sqlite/sqlite-9999.ebuild index 272447245cde..53686a767f9b 100644 --- a/dev-db/sqlite/sqlite-9999.ebuild +++ b/dev-db/sqlite/sqlite-9999.ebuild @@ -24,7 +24,7 @@ else " S="${WORKDIR}/${PN}-src-${SRC_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" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi LICENSE="public-domain" diff --git a/dev-db/sqlitebrowser/Manifest b/dev-db/sqlitebrowser/Manifest index 4bd68c2c59d4..74aafa33ab7e 100644 --- a/dev-db/sqlitebrowser/Manifest +++ b/dev-db/sqlitebrowser/Manifest @@ -1,7 +1,4 @@ -AUX sqlitebrowser-3.12.2-str-conflict-fix.patch 392 BLAKE2B 95e4f5fac505e80ed9efcf8288d286ba4c49f719c9321abf1dddd7db72ce233f256398fa464e82899c7ede6f8bec37f72ffd36df1d5bb7a0476778c2d29651ac SHA512 7d721cc1a5d7c9b65a5ef2929cb57bbf34a87bda958c6b9b5f04615cc17f55ab6b047b68ea200bd1cd9068440d6d70d04d1127ab0c86754778b1a6ca7753c811 -DIST sqlitebrowser-3.12.2.tar.gz 3990817 BLAKE2B a0c1495814a814638428fa50e55d5afeb2d3f5c80c9aafbdea3cc444e8c681c48acd1f24126945a89d7284c3f0a23979f2b3541fae7c7a70803f7e7ad69be6f4 SHA512 a6afc0a4286f07adb7038f3a010c93e14204b477bde27b1599c9bfe3390422d3edfaa2a9381b1f13e63a7aaf90e931ee85358eb8b2c15b6ea55818d29c59395f DIST sqlitebrowser-3.13.0.tar.gz 4901507 BLAKE2B 4430944fb6f02a3e33aa6d3e5720faa8e43351314a0c21803fe8bed6d2241ca92830de7be33deb18294f0cad808c96d6c913bd9ddcd64d41a34db32349d44d88 SHA512 6261043cee7bc5c525b162e0b5d1ac38d380228ffd752e086fecb49c7f50b463a993a6128547d99addb0480ba71e4f6dd3a0c1e412a692ae86b0b183b7379610 -EBUILD sqlitebrowser-3.12.2-r2.ebuild 1535 BLAKE2B 3fe27ae93a14ab60a885d606e80098544a4116fa292b6514507d43b278fd8aa959cb9ef7ee8d60780cf0fc66a3cc6ee1afa4c5feac9502b193ad8c969b5694f6 SHA512 cd37dba1e4a630a864c5813af65517bd75baa0e74752f10f6ecc3fea0bc1b9fa53b530d1586aef08fb226275aedc79a17971d73b3e68a9e40122069b39c8ec2a EBUILD sqlitebrowser-3.13.0.ebuild 1902 BLAKE2B daab9e0b566e3fee7e1188ab8266a7ad961874a39f8265c3b82fc0ba193ad3748a2f7239a10e65a3b1613a4ec92d0224cad58762216f7861e257b821500ea387 SHA512 fca418cc6dd2544d97c3c9b3bd1fbb54106f26b6e2a30505bfec37410273cd86ca7ec23e93ed5a552fa1bb3c1b12988567dcbb382881ce270cb2a51d18885196 EBUILD sqlitebrowser-9999.ebuild 1904 BLAKE2B 43238842a291a9b87269a2bfffa41255b69cd60d645b39be3a9d42ea11a70c9ae850c791dea05903ca91a66ecb69a95164dc7ee2237471f62ca31cf63a02a733 SHA512 5d3295bb31b2f60e622c84d3f35832a8837b22be937460d5a696fce868f801499689e6564e025e443d033fbe9cdd8d0fec415fe5e789da510ae75039f11de4d2 MISC metadata.xml 1796 BLAKE2B 988ec79d4d043ecbf8802aa3d761868479fc0a398a00035c387aa4b362e2c6c59afbbd04d648d2084aa0d9d35972336cd312c4b596e663e5142ce72671e70a55 SHA512 6b0e05517590c7c56cabc1bfecfafed155be78ccff4d159fd810b3c8e6555559c45fba3ea3bdf0aef73d1c1a1d8fcabc7005c2e7dbb3b6377d14505c819355d7 diff --git a/dev-db/sqlitebrowser/files/sqlitebrowser-3.12.2-str-conflict-fix.patch b/dev-db/sqlitebrowser/files/sqlitebrowser-3.12.2-str-conflict-fix.patch deleted file mode 100644 index 07284ca8ba0c..000000000000 --- a/dev-db/sqlitebrowser/files/sqlitebrowser-3.12.2-str-conflict-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/src/version.h -+++ b/src/version.h -@@ -4,8 +4,8 @@ - #define MINOR_VERSION 12 - #define PATCH_VERSION 2 - --#define str(s) #s --#define xstr(s) str(s) -+#define stringize(s) #s -+#define xstr(s) stringize(s) - #define APP_VERSION xstr(MAJOR_VERSION) "." xstr(MINOR_VERSION) "." xstr(PATCH_VERSION) - - // If it is defined by the compiler, then it is a nightly build, and in the YYYYMMDD format. diff --git a/dev-db/sqlitebrowser/sqlitebrowser-3.12.2-r2.ebuild b/dev-db/sqlitebrowser/sqlitebrowser-3.12.2-r2.ebuild deleted file mode 100644 index 0b6665b1dd80..000000000000 --- a/dev-db/sqlitebrowser/sqlitebrowser-3.12.2-r2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic xdg - -DESCRIPTION="A light GUI editor for SQLite databases" -HOMEPAGE="https://sqlitebrowser.org/" - -if [[ "${PV}" = *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" -else - SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 x86" -fi - -LICENSE="GPL-3+ MPL-2.0" -SLOT="0" -IUSE="sqlcipher test" -RESTRICT="!test? ( test )" - -DEPEND=" - app-editors/qhexedit2 - dev-db/sqlite:3 - dev-libs/qcustomplot - >=dev-qt/qtconcurrent-5.5:5 - >=dev-qt/qtcore-5.5:5 - >=dev-qt/qtgui-5.5:5 - >=dev-qt/qtnetwork-5.5:5[ssl] - >=dev-qt/qtprintsupport-5.5:5 - >=dev-qt/qtwidgets-5.5:5 - >=dev-qt/qtxml-5.5:5 - >=x11-libs/qscintilla-2.8.10:=[qt5(+)] - sqlcipher? ( dev-db/sqlcipher ) -" - -BDEPEND=" - >=dev-qt/linguist-tools-5.5:5 - test? ( >=dev-qt/qttest-5.5:5 ) -" - -RDEPEND=" - ${DEPEND} - >=dev-qt/qtsvg-5.5:5 -" - -PATCHES=( - "${FILESDIR}/${P}-str-conflict-fix.patch" -) - -src_prepare() { - cmake_src_prepare - - if ! use test; then - sed -i CMakeLists.txt \ - -e "/find_package/ s/ Test//" \ - -e "/set/ s/ Qt5::Test//" \ - || die "Cannot remove Qt Test from CMake dependencies" - fi -} - -src_configure() { - local mycmakeargs=( - -DENABLE_TESTING=$(usex test) - -DFORCE_INTERNAL_QCUSTOMPLOT=OFF - -DFORCE_INTERNAL_QHEXEDIT=OFF - -Dsqlcipher=$(usex sqlcipher) - ) - - # https://bugs.gentoo.org/855254 - append-flags -fno-strict-aliasing - filter-lto - - cmake_src_configure -} diff --git a/dev-db/sqlitestudio/Manifest b/dev-db/sqlitestudio/Manifest index 65fbf004575c..623d79390e46 100644 --- a/dev-db/sqlitestudio/Manifest +++ b/dev-db/sqlitestudio/Manifest @@ -1,5 +1,5 @@ AUX sqlitestudio-3.4.3-fix-PyThreadState.patch 2084 BLAKE2B b9fdd9b233a8e053013484a6c0d9949a5a71374d62bd3fc3cd2d0c180a8bc1a709cf0ba12f5d6a62d5ac0d2f3bb522972599a808a2a45d9e165303cecd73c954 SHA512 d0aedf2ff6dd0e567d410f8e809179a5504f04c39284e0ab9b1a089a6062da6e50a8e9c5640712491742ce34b58b60bfdbe0e5d89cc9256af7e5adf6937ac548 AUX sqlitestudio-3.4.3-fix-python.patch 382 BLAKE2B 81da31e4f4d712e005639d12c3d1d41a2f339edc054e985903de16986967348fe0a2cca13a6dbced8762fc1f8bd497f8d061ac58a8810abc8f7cfab8b4a3150a SHA512 d391b549f842d7dbb1b8027c6814ad79f44d8bdc30adf407401fd2f139069a56ddbd8ceee0b2093bdd69922dd0f01ecd77d1f9f1b4550ba3bbbf67e59c4a87db DIST sqlitestudio-3.4.4.tar.gz 16187828 BLAKE2B 34a19880c0ce82a0457c8b34fe713d1792101563dd37849f02538a3f62310e0720939a3930c2c1d2fe43a8379c66012e75cf9e45e961a382c3ea5fbd857e42d3 SHA512 ddbb926afcca0afe8e4199be64254d0a9a47bef66f260c51cc7e5c5d38c8a00bfbe2012e8ec933bf69e85481c0c214136146cd3bff0975f6178f9fe7884e8190 -EBUILD sqlitestudio-3.4.4-r1.ebuild 4709 BLAKE2B fd9989a9304fa02aee8e2db563c22ad4be2121efe43d0cafdd8d190513103b7a901e66432e48a916c1fb6f01f155a0e8d1f40c6c7e51ab7025b77c15169de447 SHA512 b75ad03264d8322ddd99ccd12469ae6f4308e928119ded92de918da43bd5f9e6e876e9dbbe3bcccdd315eea1fc8f9b07d335ccd6c60738d8a5037296ddf674ff +EBUILD sqlitestudio-3.4.4-r1.ebuild 4786 BLAKE2B 4926024bd08aa718ec7f5475ab0b83a9826b6ab00827b5db343824000cfa40519959074a87ddca077e6945f47f49788d0d1ff7aa5f168fe677264a0870b56d9e SHA512 7aa70e135314b70d041ce14e73eac40d3b6d357502c6a263cb767aed7628de9b05345f5c1af32a3ad697afde41b3d7ea57c1fa93ff64cdc44d1fe293ba29ba8d MISC metadata.xml 318 BLAKE2B dbda5d06a4e9349a582d2d09cf846580b383388ec7db0986675d1b4fe63e0ded9dbc7f50c332d855b600d9df99935b67e77a2fab9c0a37fc3b6af2d03b4e3212 SHA512 d1bf82ea37f8d16e7dd51d8da26eb5f93383a05df40ca1b91309be7fbad0b786db9365b8bc8f72b63556ccbf96969d2e38c785112754b035e3242b75ff2bacb7 diff --git a/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild index 8d42774fa22e..5b746ecdf792 100644 --- a/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild +++ b/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild @@ -159,13 +159,14 @@ src_configure() { } src_compile() { - emake -C "${core_build_dir}" - emake -C "${plugins_build_dir}" + # -j1 for bug #902991; it clobbers object files in parallel + emake -j1 -C "${core_build_dir}" + emake -j1 -C "${plugins_build_dir}" } src_install() { - emake -C "${core_build_dir}" INSTALL_ROOT="${D}" install - emake -C "${plugins_build_dir}" INSTALL_ROOT="${D}" install + emake -j1 -C "${core_build_dir}" INSTALL_ROOT="${D}" install + emake -j1 -C "${plugins_build_dir}" INSTALL_ROOT="${D}" install if use test; then # remove test artifacts that must not be installed diff --git a/dev-db/sqlmap/Manifest b/dev-db/sqlmap/Manifest index e7ebcfaf3c67..4520a503db09 100644 --- a/dev-db/sqlmap/Manifest +++ b/dev-db/sqlmap/Manifest @@ -1,9 +1,7 @@ AUX sqlmap.bash-completion 5757 BLAKE2B f602d99b6b0a30cf405b390eaef355f7a4b4fa4260f0a18fe09a0fa7530af131b75ffc25ca161898f2ed4a93ef9251c0c88cb1ad25d78d870fd2ff19225e0609 SHA512 5024cfb2274a2798fcc7d12e59693253732f66c1389aed36cc31fb8e40d03f7e9a713e93e24711185b5d2d82dd2ac91ec2b6cdc4929c5ca3245fcb4f502d327a -DIST sqlmap-1.8.6.gh.tar.gz 7245375 BLAKE2B 7223e87ddb682c05e9d76cbb4407790c62146e005335ad45aec65a7445f56cd0e5ebc25a853bc199c44f2e7c98823040afca0b60da7ad5a30b7ffe0791704265 SHA512 d709b2885b19d4b69dab1f76bacdb2d07fe1f29cf24f221a7004387a296d399f934c6f3281ead45ed0e4901fd2924eda9c4202898e6a1aa69c6c5212ab0e6f30 -DIST sqlmap-1.8.7.gh.tar.gz 7249305 BLAKE2B 105881fe1889ff3a04dd6cf6b57cdd1a6b35e5533d858e9dcfe721b280591e9a9b6c41c5ba05e6de27d996330dc73d2d05571502cf0728fe27678de21613632d SHA512 938e60c13b08d10006de7feee6d9e10d7f156a2529a36b3c6c487389d06850f9a21a774909e21e9e9db74c8d337525b2c1ef6c59dfcd5c1fca8d0f156639810e DIST sqlmap-1.8.8.gh.tar.gz 7249385 BLAKE2B 69f8c8f3deaa8867b6a7101a70f81d71de94571fceed6c078ac0af8fe00df73ba7aed1a66b3232a1ec0e151d3fe045109f99fadaa254a11b6d43d86ba5751646 SHA512 717b0e15f4794eb349f58a7c8ffca3329cdcb42654a4ade9f8ca0bf7b4d70f2241d5216fcf7b35b71b6e15d4ff72841792706bb654f5fcf31e2d80c4557997ee -EBUILD sqlmap-1.8.6.ebuild 1333 BLAKE2B 90bf557d27df5e711610f0e8c4d367a1de7c48d044e320a66a1c98f2c367a645e2cbc58809dd06de77e45c650d07f064c5ed2c7aba6a8cb4c43207b653870b33 SHA512 bd3e60b4086ee3fd4333c8bc0bd476ece02e37029f498823bcbc8f9ca076b377df6c2aaf550b694cae9335676c87f4fb8e67d06ac5d9faa29a0196d5c2df8a6a -EBUILD sqlmap-1.8.7.ebuild 1333 BLAKE2B b3cb8c8e6812608e650606f443be5fc0c095ac2d6ed6a6c891aa975b897d4cc97a2423fd713a95e5692cc489e8176fe64ff26225c76a7e2c568e1aae75c93171 SHA512 bf494a99403a0be49516a5f213817da90f32bf5e542f5cf9905562eab7376bd3e4fdacdca0dac06b1de40559f8591d35e5bd9cb2c9414f5f32827a9626dfb3f0 -EBUILD sqlmap-1.8.8.ebuild 1335 BLAKE2B 3a4b2d955ace10b02cff80c4f3954095d437b70995fdea32fb4002b2b4b98b541669c4afe8e284eb79971012e11b0d80f3abc5b4348ef0c6ae428458a44446c6 SHA512 1ed0e8b0cadd4938a87b24c88b2bf09a7b928146aa330a3c3a931926351feb8eed50a30b541dcf06d2aab22e28984d1bdfba0d09667e3b73ebe4be60b6d9e47c +DIST sqlmap-1.8.9.gh.tar.gz 7251590 BLAKE2B 6313530bd6f2ac5e01b7359240829207c2df57ac3ea808cb11a335bc109b89a779f174df1a8736fd272a5d48c222576b13de5a533267592e02411bc165f32f8e SHA512 b0190d9e9e05801a7a0d31f056342b4381e07fca8de9436f0f1df158c8bce201a045605e67cbe3d6fcb8b416b46ba78ed93b9fca5942ecb3e5ab8ed1805187fc +EBUILD sqlmap-1.8.8.ebuild 1333 BLAKE2B b3cb8c8e6812608e650606f443be5fc0c095ac2d6ed6a6c891aa975b897d4cc97a2423fd713a95e5692cc489e8176fe64ff26225c76a7e2c568e1aae75c93171 SHA512 bf494a99403a0be49516a5f213817da90f32bf5e542f5cf9905562eab7376bd3e4fdacdca0dac06b1de40559f8591d35e5bd9cb2c9414f5f32827a9626dfb3f0 +EBUILD sqlmap-1.8.9.ebuild 1335 BLAKE2B 3a4b2d955ace10b02cff80c4f3954095d437b70995fdea32fb4002b2b4b98b541669c4afe8e284eb79971012e11b0d80f3abc5b4348ef0c6ae428458a44446c6 SHA512 1ed0e8b0cadd4938a87b24c88b2bf09a7b928146aa330a3c3a931926351feb8eed50a30b541dcf06d2aab22e28984d1bdfba0d09667e3b73ebe4be60b6d9e47c EBUILD sqlmap-9999.ebuild 1335 BLAKE2B 3a4b2d955ace10b02cff80c4f3954095d437b70995fdea32fb4002b2b4b98b541669c4afe8e284eb79971012e11b0d80f3abc5b4348ef0c6ae428458a44446c6 SHA512 1ed0e8b0cadd4938a87b24c88b2bf09a7b928146aa330a3c3a931926351feb8eed50a30b541dcf06d2aab22e28984d1bdfba0d09667e3b73ebe4be60b6d9e47c MISC metadata.xml 847 BLAKE2B 31fdd4fd94a4b6ad8c775bbbc9cb48b5627f2f5944a7bdaf6c30f3559044dda6cd92be3b50c8baf462b1e2e4ea4aa905bbac88c616cbfbc833a4895a1944b0d6 SHA512 bddfbc5ce988bc1770a2ad1d6952d8ef44010c9e4ef789500f0408c7c5754960804f270bb6e24e4739852cdef07b3f22111ad9da453648730f045d0b2c3deea9 diff --git a/dev-db/sqlmap/sqlmap-1.8.6.ebuild b/dev-db/sqlmap/sqlmap-1.8.6.ebuild deleted file mode 100644 index caaad5bf9d92..000000000000 --- a/dev-db/sqlmap/sqlmap-1.8.6.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -PYTHON_REQ_USE="sqlite" - -inherit bash-completion-r1 python-single-r1 wrapper - -DESCRIPTION="An automatic SQL injection and database takeover tool" -HOMEPAGE="https://sqlmap.org/" - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/sqlmapproject/sqlmap" -else - SRC_URI="https://github.com/sqlmapproject/sqlmap/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="amd64 x86" -fi - -# sqlmap (GPL-2+) -# ansitrm (BSD) -# beautifulsoup (BSD) -# bottle (MIT) -# chardet (LGPL-2.1+) -# clientform (BSD) -# colorama (BSD) -# fcrypt (BSD-2) -# identitywaf (MIT) -# keepalive (LGPL-2.1+) -# magic (MIT) -# multipartpost (LGPL-2.1+) -# ordereddict (MIT) -# prettyprint (BSD-2) -# pydes (public-domain) -# six (MIT) -# socks (BSD) -# termcolor (BSD) -# wininetpton (public-domain) -LICENSE="BSD BSD-2 GPL-2+ LGPL-2.1+ MIT public-domain" -SLOT="0" - -RDEPEND="${PYTHON_DEPS}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DOCS=( doc/ README.md ) - -src_install () { - einstalldocs - - insinto /usr/share/${PN}/ - doins -r * - python_optimize "${ED}"/usr/share/${PN} - - make_wrapper ${PN} \ - "${EPYTHON} ${EPREFIX}/usr/share/${PN}/sqlmap.py" - - newbashcomp "${FILESDIR}"/sqlmap.bash-completion sqlmap -} diff --git a/dev-db/sqlmap/sqlmap-1.8.8.ebuild b/dev-db/sqlmap/sqlmap-1.8.8.ebuild index 529820752d51..0170f6b3bc73 100644 --- a/dev-db/sqlmap/sqlmap-1.8.8.ebuild +++ b/dev-db/sqlmap/sqlmap-1.8.8.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/sqlmapproject/sqlmap" else SRC_URI="https://github.com/sqlmapproject/sqlmap/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 x86" fi # sqlmap (GPL-2+) diff --git a/dev-db/sqlmap/sqlmap-1.8.7.ebuild b/dev-db/sqlmap/sqlmap-1.8.9.ebuild index 0170f6b3bc73..529820752d51 100644 --- a/dev-db/sqlmap/sqlmap-1.8.7.ebuild +++ b/dev-db/sqlmap/sqlmap-1.8.9.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/sqlmapproject/sqlmap" else SRC_URI="https://github.com/sqlmapproject/sqlmap/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="amd64 x86" + KEYWORDS="~amd64 ~x86" fi # sqlmap (GPL-2+) diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest index 825e0541d2a3..44c51d27e3b0 100644 --- a/dev-db/timescaledb/Manifest +++ b/dev-db/timescaledb/Manifest @@ -1,5 +1,7 @@ -DIST timescaledb-2.15.3.tar.gz 7441097 BLAKE2B 35d6edb31be79045ab8b8b409e4fcd28acac261f96be946dfa079bc544890391a6fe1f4695b0c88c8d56aca674563b4f347bb1f5519923b38aeb992e4a527f1c SHA512 c259bea088a03286a392812b23eda05ba7e5c714f9b52cd25b39ea9a280c5147e43d13a71027c43a5029df03e021a0022feb1ae311baae577ec3c56f1d7dfcae DIST timescaledb-2.16.1.tar.gz 7449327 BLAKE2B 4eac0f41596db1b7669850cbb576a2d710998f7207f566fb9b4965804e6810f1571d18058a126acdae7862bf77424db44f27720f3600d1191ae1a3c3cf8680ae SHA512 4972ccc385a3c7bda8fab8736c63f75c5b290a3a0206add84718326fcd07c24a52dbbae2114e857fb78246bf5a4b5ec3310cc2219a163af4d5f30f1766e37fae -EBUILD timescaledb-2.15.3.ebuild 1437 BLAKE2B 44d9e8331c7e58134c2a2f428aa72655aeb9f47b89183952cb77ed8313a7a29b2064e57747c8b73453f0afe3e3b05bbece315f7d19d1a028bb8eb77fc0c2e8e4 SHA512 43990c56352377506b26784ad900855fe1b344f2571778f95f18edb49d0a775ed1354344c4703c9619d65b9327c9879a9af831ebdb22142429cf6757c39e1e3c +DIST timescaledb-2.17.0.tar.gz 7559829 BLAKE2B 59ae1acabd9cc2657eaef04b42a2e4a9a633bf6dca0080897b2c0645ad2faa3b82c0f693ea121fbda8becf4088877b87f5aac8cf300d73ba85b3226a057ea5e0 SHA512 0c10f04b62e6e57da0e53234d25b82e68724a7925fd8696a9872e2934cbd1a7af9798576afceb504d4a7207ef8b0407421bbeeb4a3deef0f4b4ad17c2753443c +DIST timescaledb-2.17.1.tar.gz 7565025 BLAKE2B 8d8325e06739201d17e0da19173ee852abb10c0646d5f3647c51a6c209c1c6df30bc03ee8682e082652fb8d26a0b9bedf5c6014ed143b0af530b450664f6e14f SHA512 f5cd527f1b37e228c7caaad0b9a9802b1cef3b0b4a856951e46e74479263f4fef6190cc37c920ca5819ddd6874ff469645f606eeadec6741b83e82adb8c21f22 EBUILD timescaledb-2.16.1.ebuild 1434 BLAKE2B 77976343740622bfde842b51055bce458295dc7304c82f9e06cfc510c9899954e85bf7f0c2f86ab0d8a9b47f1a956fba2102d889f4609c68d6898f59c7a7c5b1 SHA512 19ec48b1c738f884542b6c25cfbf5723727af5b7aba21889ee9a152721432a692feb3f59cd43c2cea0d173d3cdbe2fdba5fa5b0dc50e40563d8c14dddd9179d5 +EBUILD timescaledb-2.17.0.ebuild 1437 BLAKE2B 8e0fb37cb92aef40b53608eab5a06496c105a8015fa4065387ebd0ee54c08fe6fc0ba3383b2d1a7767e085016a4e00a089e67bd72769f7f5f4b45bbee0b15958 SHA512 22a62409c4d0e710279f9227b10b20d2df9a7c977d30a2d45c2ab829a29638909d75e5fb16c3146ce8d64a0a702e77935e27d6d910f9cfc4265611dc72c69119 +EBUILD timescaledb-2.17.1.ebuild 1437 BLAKE2B 8e0fb37cb92aef40b53608eab5a06496c105a8015fa4065387ebd0ee54c08fe6fc0ba3383b2d1a7767e085016a4e00a089e67bd72769f7f5f4b45bbee0b15958 SHA512 22a62409c4d0e710279f9227b10b20d2df9a7c977d30a2d45c2ab829a29638909d75e5fb16c3146ce8d64a0a702e77935e27d6d910f9cfc4265611dc72c69119 MISC metadata.xml 510 BLAKE2B 4e96707c6ee1fd09ff2baff091e02ceab53bfc28a6a3b91265a21fe9918a9728d2fe6394bed01e8bf4417c2349c2e72bab180cfff71cedf4641d462b29a33d3d SHA512 5e91ef3b9a503462dc880300e364f74e6564dd74671d0b0ce723a86ea7471f987424e06e51384d6fb079681122b8d454e255efe2e19726d64de7928df227148a diff --git a/dev-db/timescaledb/timescaledb-2.15.3.ebuild b/dev-db/timescaledb/timescaledb-2.17.0.ebuild index e19ac7ef1ca5..ce49cb6c56ac 100644 --- a/dev-db/timescaledb/timescaledb-2.15.3.ebuild +++ b/dev-db/timescaledb/timescaledb-2.17.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -POSTGRES_COMPAT=( 13 14 15 16 ) +POSTGRES_COMPAT=( 14 15 16 17 ) POSTGRES_USEDEP="ssl" inherit postgres-multi cmake diff --git a/dev-db/timescaledb/timescaledb-2.17.1.ebuild b/dev-db/timescaledb/timescaledb-2.17.1.ebuild new file mode 100644 index 000000000000..ce49cb6c56ac --- /dev/null +++ b/dev-db/timescaledb/timescaledb-2.17.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +POSTGRES_COMPAT=( 14 15 16 17 ) +POSTGRES_USEDEP="ssl" + +inherit postgres-multi cmake + +DESCRIPTION="Open-source time-series SQL database" +HOMEPAGE="https://www.timescale.com/" +SRC_URI="https://github.com/timescale/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +IUSE="proprietary-extensions" +LICENSE="POSTGRESQL Apache-2.0 proprietary-extensions? ( timescale )" + +KEYWORDS="~amd64" + +SLOT=0 + +RESTRICT="test" + +DEPEND="${POSTGRES_DEP}" +RDEPEND="${DEPEND}" + +CMAKE_IN_SOURCE_BUILD=yes +CMAKE_BUILD_TYPE="RelWithDebInfo" +BUILD_DIR=${WORKDIR}/${P} + +src_prepare() { + postgres-multi_src_prepare + postgres-multi_foreach cmake_src_prepare +} + +timescale_configure() { + local CMAKE_USE_DIR=$BUILD_DIR + local mycmakeargs=( "-DPG_CONFIG=/usr/bin/pg_config${MULTIBUILD_VARIANT}" "-DREGRESS_CHECKS=OFF" ) + + # licensing is tied to features, this useflag disables the non-apache2 licensed bits + if ! use proprietary-extensions ; then + mycmakeargs+=("-DAPACHE_ONLY=ON") + fi + cmake_src_configure +} + +src_configure() { + postgres-multi_foreach timescale_configure +} + +timescale_src_compile() { + local CMAKE_USE_DIR=$BUILD_DIR + cmake_src_compile +} + +src_compile() { + postgres-multi_foreach timescale_src_compile +} + +timescale_src_install() { + local CMAKE_USE_DIR=$BUILD_DIR + cmake_src_install +} + +src_install() { + postgres-multi_foreach timescale_src_install +} diff --git a/dev-db/tinycdb/Manifest b/dev-db/tinycdb/Manifest index 96ef7f9642b3..015ed529fd81 100644 --- a/dev-db/tinycdb/Manifest +++ b/dev-db/tinycdb/Manifest @@ -1,5 +1,5 @@ AUX tinycdb-gentoo.patch 711 BLAKE2B a1f6a43fb9903784d3cc4dfdbd2b3d1b5b5532801b6de1cbda922b7a318ead7e93696b0722ee3132618f3cd8bb3ec1eb4f4cdfda35c1b428c3988626ff87b91c SHA512 b188db6904ef63a262a88aa79d1488ede1a9917af8e33b97da5d80c34cb00065bb42e84b00e20548a85f5f0b939679f5a3d85336b938318f98d101d880489415 AUX tinycdb-uclibc.patch 328 BLAKE2B 20dacb9fc08d7e02c0b138c445d91ecbdcb1993d4b6709081bd4f8c81ce92ba5124c8e6dc8e59644bce8823d0fd0a16e3f7ae543d3dc9c093768114f55ec23a6 SHA512 b58656fbcdcd21d46ace85ba50fcbc9a85b3c0d02fe3c7ba048276e6a22e2d8a91dce6fe5f853a3516071e33fc9513216148b0e92ebe13b75b201881e73f127f DIST tinycdb-0.81.tar.gz 31901 BLAKE2B 6b5b1167bd7e58a02b9a3a1ff2d58adb0e522ef65a13384051d9a037358ed7586f7d567e543099adec6322f9c60d38525fed586488510215bf72d12a60c67684 SHA512 56d0422700835d7b0460c32c41e6d5f30b8b833cefea775eb7f2b5592d744942c1109eac1501421b02f196d15e551111bb2accc71f2fd32ef4b8d658c635340e -EBUILD tinycdb-0.81.ebuild 1059 BLAKE2B 3ae443ee11175a03bc137cf9c39ec27d85cd0fd10eabcefbd1495303b8415d7bb3838a315dc726ccf62e964f40c4cef8da317ac82821700d297b72230dfc3576 SHA512 ebf12727f21596d1dfa6b306d383741127757e80f2512c307bf0b9cf8825d283ae1335b036858d215cef9e5469308b119150f543dea8400e04e4cfcc74546808 +EBUILD tinycdb-0.81.ebuild 1053 BLAKE2B 8cf676b0112f74e903449a6e3a1ecb1ebfc9727be3830d052c944ed44fe7406692593c8af6f67ac6d7be79d77bfda7ee934fcca10194d64cc9f324bcaec2c385 SHA512 96c9869ee298bde4e7e311d6d4015d27b7aa3c5535729ed07eea86c35a6812ab91c0d40bfd133085651446211c8739434225d037492b4d7392e8c46231abd6d0 MISC metadata.xml 249 BLAKE2B a37da98d387308dab889eab2665b67e4176707f3c115a7a69cb7f4b19f9864b96bc2fe70efa105e627c4b57a7d626f6b23dc2709a225a9debada3356f3cf32a0 SHA512 a5095fb01e05f24583a962e36131b2f02cf2d1dd7a97051200e465ad97db014721de7c1857f5eb736cb0290682e8de833cb4c735f7de8d98cdfae1aed6d3d549 diff --git a/dev-db/tinycdb/tinycdb-0.81.ebuild b/dev-db/tinycdb/tinycdb-0.81.ebuild index 3a96152e3268..8f07bd63b464 100644 --- a/dev-db/tinycdb/tinycdb-0.81.ebuild +++ b/dev-db/tinycdb/tinycdb-0.81.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.corpit.ru/mjt/${PN}/${P}.tar.gz" LICENSE="public-domain" SLOT="0" -KEYWORDS="amd64 ~arm64 ~hppa ~ia64 ~mips ppc ~riscv x86" +KEYWORDS="amd64 ~arm64 ~hppa ~mips ppc ~riscv x86" IUSE="static-libs" RESTRICT="test" diff --git a/dev-db/unixODBC/Manifest b/dev-db/unixODBC/Manifest index 66f8da878333..fd327639bc0a 100644 --- a/dev-db/unixODBC/Manifest +++ b/dev-db/unixODBC/Manifest @@ -1,3 +1,3 @@ DIST unixODBC-2.3.12.tar.gz 1753915 BLAKE2B 9da9b0fb5ff962db8ec1483b700aca5d4adf88f3349b22010bd0b4b4ec1fe2e7a51d761527e3b9e49b08286a00e55aadc38c320a6db512ba52f491aecad7fd83 SHA512 ca9d8db943195679a44db1fc09391dc6662ab1721112c93d448f04011e98502462ffe14b8364eb03707d851db456eced20eb61a22370392ca88d917038d45b56 -EBUILD unixODBC-2.3.12.ebuild 1916 BLAKE2B 1ace94cab0984c9b2f757a901c6338cb3384e3f9e514edcbbe24d19d142324192e0573077e626aaeb4e0997fcd4746a86f3dd68ae01e4cbcdaa24c2e1a30145c SHA512 2e58e1a36790a42165ad57e9f7528bb97847aea978497e4148f9570ad8dc48efaab0f3b49a89b0eb2f04e80727f3a78b049843fec2580a5bd1161d174fca4f76 +EBUILD unixODBC-2.3.12.ebuild 1910 BLAKE2B d5c84937b47a9659e8a077c0188c2266f4fa5b61c74195db20093c55fe87a7c71fd55ce792d00c1eff9f56586e4d3562f79b33d99690a3517cfdbc4c48423e82 SHA512 3306788ded0d691280796f8881682ada3a7e5489bba5f170645f430da233cf12e17b39d25c3fb0e5c835814bcb481ad8b0c7edcb8d8454fdf7dcbb8d7f30280f MISC metadata.xml 479 BLAKE2B 298fd55d5c29508598a3e221f0d3b850b3f2e195885460c5a9cb9d4111d9246576d1ae0c8c586f6484931ea2b8b9a2e0127db5e4c01c456e66fb66436b62f2aa SHA512 a751b3121ce1298c50e4f66ce8c654d578be088fdf52490a4149d380053bef287736d27ef1b430fef789019cc1e0f53904cafc6c292d984a78da105a493be6a5 diff --git a/dev-db/unixODBC/unixODBC-2.3.12.ebuild b/dev-db/unixODBC/unixODBC-2.3.12.ebuild index a366b51de1d1..de986757e0c7 100644 --- a/dev-db/unixODBC/unixODBC-2.3.12.ebuild +++ b/dev-db/unixODBC/unixODBC-2.3.12.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.unixodbc.org/unixODBC-${PV}.tar.gz" LICENSE="GPL-2 LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="+minimal odbcmanual static-libs unicode" RDEPEND=" |