From d4653056cc74d97f24bef0d56b4ebe11c53c8b76 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 24 Feb 2025 19:24:56 +0000 Subject: gentoo auto-resync : 24:02:2025 - 19:24:56 --- net-p2p/Manifest.gz | Bin 6273 -> 6272 bytes net-p2p/freenet/Manifest | 3 - net-p2p/freenet/freenet-0.7.5_p1498.ebuild | 219 ----------------------------- net-p2p/kubo/Manifest | 14 +- net-p2p/kubo/kubo-0.28.0.ebuild | 71 ---------- net-p2p/kubo/kubo-0.29.0-r1.ebuild | 91 ------------ net-p2p/kubo/kubo-0.30.0.ebuild | 4 +- net-p2p/kubo/kubo-0.31.0.ebuild | 2 +- net-p2p/kubo/kubo-0.33.2.ebuild | 96 +++++++++++++ 9 files changed, 105 insertions(+), 395 deletions(-) delete mode 100644 net-p2p/freenet/freenet-0.7.5_p1498.ebuild delete mode 100644 net-p2p/kubo/kubo-0.28.0.ebuild delete mode 100644 net-p2p/kubo/kubo-0.29.0-r1.ebuild create mode 100644 net-p2p/kubo/kubo-0.33.2.ebuild (limited to 'net-p2p') diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz index 240b606cd4e6..96b120bcdab0 100644 Binary files a/net-p2p/Manifest.gz and b/net-p2p/Manifest.gz differ diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest index 9b5952e79dc2..82588312f066 100644 --- a/net-p2p/freenet/Manifest +++ b/net-p2p/freenet/Manifest @@ -3,11 +3,8 @@ AUX freenet-0.7.5_p1497-wrapper.conf 1000 BLAKE2B 97832e16c47493862ca56246a27313 AUX freenet-0.7.5_p1498-ignore-failing-tests.patch 1475 BLAKE2B 3c830801309f98c09991aa99002141538fbcdc85b84891ec544d099d3588c55e1018a7f026348a9c27479ce5fb3aa6a6062f9c931fc9b64392ed5ff226fcad31 SHA512 9a7ba1d237dc4cb3812c5df0b9ef4c2f004cb9572081ba096781d3675e96a6331c3b9d7c7bbb227adb96ff678934a3309b30ca618ed57a4d82ddcc49ea9a847e AUX freenet.service 271 BLAKE2B 7d47ad525f4bb13e07c50a0bdf19f1ef234d5219e82f426254c316abc4517180c22267a245ca022edf68e615a2865fe0dd08f694ee5ee2ced8c5391b3c5e33ad SHA512 2f3d4ec0ba05eff328e8176cbe130176a82a1bb432599de44ab78ca27e9c96e0eafe0871f12b0165247f941a2e929635a6abe6cd61351b1305c0d0e8cff83d2b AUX run.sh-20090501 16217 BLAKE2B 249254104ca2d0a20131a5d6b36a07b14fe6407d1915d75ecf98a617de6e532def710975ff1b2e0b580f7148099cd7f6915d8adc0b15e1f67af4fc4713e0e5af SHA512 ba97f1e370ffb7c9ea109b7d529430581a588d8d7e121ec09865e9e8932f2901477f7f43e7d0b95c7c95c2c42db05870e5d811528f91f78b48b68a539c804e67 -DIST freenet-build01498-source.tar.bz2 6349168 BLAKE2B e42b3b7a89a5b4051ac38512d6beb06ce21d661e9cdb7ae1e2e0f800cea4cac0885281efb589e29800e4fd15578b223dd42c2bfbfe3b0deabd774073eef0a4e8 SHA512 6202e6f066c85ae704cb1f5db8b971cfec39dc902b166d5204be87848f9ff338bf964cd694702c6a3bfd08c23533a3658914998cf384ddec367b77c09c6eb808 -DIST freenet-build01498-source.tar.bz2.sig 566 BLAKE2B 5c7fef3e5272be6ba4d75d5ca62cebe6bf2ebbc3086ad840e26c52b908bc9b7a2d0e3a77e20fbc3774d7a73bc63c710e3e44e681cf675931aa1bd1373c198c7c SHA512 008a13bde022d4db0b8daf2318c91255fc46bb374c884767b29370e4f0e595c7a9ca787a81197bcb2191c9b4f217f8f7ab7a1a9f5f91d51ac06a2a6505aa367e DIST freenet-build01500-source.tar.bz2 6314667 BLAKE2B dc4a7333f030f6d53a5d734bd2b8dfd6712d555addadb2201a899118ad69414779db7d499884daf69ce687e57d510ebef76fdc6d9cb2cb3ae5fd649e5529ac10 SHA512 a7e67f91805b04d9e7cf56af12afd07d8cccedbed3a9977e4d5af938711ab4d9aee7ed85acad8f3e03c8ce4f35e4324fd6a607fc00f135ac1bfecd6ed3cbcb04 DIST freenet-build01500-source.tar.bz2.sig 566 BLAKE2B 69f05acb65b093c5d62160ef5933446a0383c2aaf9d42fa216df21106ac86b6e49d56c1223746c7d602717cdd2340bbf3834fdde9026b4765d4454decf7f5a31 SHA512 2028ba06cbf6cbf123b011365f32ef4fdeb1f61cf8bbfc0e92e7666a8a2f3eacadd5deff9d12e1952146cd3830f95bf5515ea71e20a2321a7e204286c77423bf DIST seednodes-0.7.5_p1480.tar.gz 12364 BLAKE2B edb4e2a5c7424b51f0afb8234c7e486d56fe92e9201ab7ed7658366f070225f8def1b5412a31367e434ab4afae393caa16e7bdd7307f1d870607105fd5076638 SHA512 a2662a29f5721cd1523eb68b8787b074baec990327207b9ff444c91e644738a610e5216064aef00c62d6aca8ba66b2035a3175f63d45c1e0e8efc816b2a38660 -EBUILD freenet-0.7.5_p1498.ebuild 5900 BLAKE2B 33fb638abd0c9a9d5eb274e5c0406a3baf3b2b0736f072be4c4196d00f424830b4b684792cf53c28fe564cb4cf65c85c04b4184c00e18c7f422d73839a99afcd SHA512 aa8d9b6e34a992dcb12a1c957dabb5b2795cb330587884b75e382e3f520eb0932172298828dcad7aafccdcb75854599e4a65a3478f98110a084d9b28c0c1746a EBUILD freenet-0.7.5_p1500.ebuild 5900 BLAKE2B 26164e18c525943359bc0cb5e6ac4774372278fdd687e33f0335cd3235a18387385fe3ceef4fa01b48252a8492f7fcc507d8ee0faba05539ca5b1dec141c3f96 SHA512 42486588f59f3b99272d703c1e7d7dff90fc85d8513b1d04c9f2c67c6f133fda1ec9199b628c088dbed25f62326f6af44ee61941175bc4332366a9355ed79cf1 MISC metadata.xml 343 BLAKE2B 707e39491d683cb2d209ce3bb5dae43549ccef291cc72db30bbb5fecdac28cb8e5541c71fc3e23d08394db31a75048b59cb4019756adbd58ac192a209678fbaa SHA512 1c1e42b15ec4527191bed42ce236666bd9afd83189dd0cd7c4ec0e31c97e240d3a91ec7d503aafc73c24afbf25bcc56ff6e7332a2d0bef0afa4ab6ee8f9ff8ba diff --git a/net-p2p/freenet/freenet-0.7.5_p1498.ebuild b/net-p2p/freenet/freenet-0.7.5_p1498.ebuild deleted file mode 100644 index bc755de3da76..000000000000 --- a/net-p2p/freenet/freenet-0.7.5_p1498.ebuild +++ /dev/null @@ -1,219 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple systemd verify-sig - -DESCRIPTION="An encrypted network without censorship" -HOMEPAGE="https://www.hyphanet.org" -PEV="3.1.6" -SRC_URI="https://github.com/hyphanet/fred/releases/download/build0${PV#*p}/freenet-build0${PV#*p}-source.tar.bz2 - https://github.com/hyphanet/seedrefs/archive/build01480.tar.gz -> seednodes-0.7.5_p1480.tar.gz - verify-sig? ( - https://github.com/hyphanet/fred/releases/download/build0${PV#*p}/freenet-build0${PV#*p}-source.tar.bz2.sig - )" -S="${WORKDIR}/freenet-build0${PV#*p}" - -LICENSE="GPL-2+ GPL-2 MIT BSD-2 Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm64" -IUSE="+nss" - -CP_DEPEND=" - dev-java/bcprov:0 - dev-java/commons-compress:0 - dev-java/commons-io:1 - dev-java/fec:0 - dev-java/freenet-ext:29 - dev-java/java-service-wrapper:0 - dev-java/jbitcollider-core:0 - dev-java/jna:4 - dev-java/lzma:0 - dev-java/lzmajio:0 - dev-java/mersennetwister:0 - dev-java/pebble:0 -" - -DEPEND=" - dev-java/unbescape:0 - >=virtual/jdk-1.8:* - ${CP_DEPEND} - test? ( - dev-java/hamcrest:0 - dev-java/mockito:0 - dev-java/objenesis:0 - net-libs/NativeThread:0 - ) -" -RDEPEND=" - acct-user/freenet - acct-group/freenet - >=virtual/jre-1.8:* - ${CP_DEPEND} - nss? ( dev-libs/nss ) -" -BDEPEND=" - app-arch/unzip - verify-sig? ( sec-keys/openpgp-keys-freenet ) -" -PDEPEND="net-libs/NativeThread:0" - -DOCS=( - AUTHORS - CONTRIBUTING.md - NEWS.md - README.md - SECURITY.md -) - -PATCHES=( - "${FILESDIR}/freenet-0.7.5_p1498-ignore-failing-tests.patch" -) - -JAVA_CLASSPATH_EXTRA=" - java-service-wrapper - unbescape -" -JAVA_RESOURCE_DIRS="res" -JAVA_SRC_DIR="src" -JAVA_TEST_GENTOO_CLASSPATH=" - hamcrest - junit-4 - mockito - objenesis -" -# Yes, both variables point to the same directory -# https://github.com/hyphanet/fred/blob/build01497/build.gradle#L169-L173 -JAVA_TEST_RESOURCE_DIRS="test" -JAVA_TEST_SRC_DIR="test" - -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/freenetproject.org.asc" -src_unpack() { - if use verify-sig; then - verify-sig_verify_detached \ - "${DISTDIR}"/freenet-build0${PV#*p}-source.tar.bz2 \ - "${DISTDIR}"/freenet-build0${PV#*p}-source.tar.bz2.sig - fi - unpack freenet-build0${PV#*p}-source.tar.bz2 - unpack seednodes-0.7.5_p1480.tar.gz -} - -src_prepare() { - default - java-pkg-2_src_prepare - - # Could not get resource : freenet/l10n/freenet.l10n.pt-PT.properties - # https://github.com/hyphanet/fred/pull/500 - mv src/freenet/l10n/freenet.l10n.pt{_,-}PT.properties || die - - # java-pkg-simple wants resources in JAVA_RESOURCE_DIRS - mkdir res || die - pushd src > /dev/null || die - find -type f \ - ! -name '*.java' \ - ! -name 'package.html' \ - ! -path '*/simulator/readme.txt' \ - | xargs cp --parent -t ../res || die - popd > /dev/null || die - - mkdir "${JAVA_RESOURCE_DIRS}/META-INF" || die - cat > "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF" <<- EOF || die - Add-opens: java.base/java.lang java.base/java.util java.base/java.io - EOF - - cat "${WORKDIR}"/seedrefs-build01480/* > "${S}"/seednodes.fref - cp "${FILESDIR}"/freenet-0.7.5_p1497-wrapper.conf freenet-wrapper.conf || die - cp "${FILESDIR}"/run.sh-20090501 run.sh || die - - sed -i -e "s:=/usr/lib:=/usr/$(get_libdir):g" \ - freenet-wrapper.conf || die "sed failed" - - echo "wrapper.java.classpath.1=/usr/share/freenet/lib/freenet.jar" >> freenet-wrapper.conf || die - if use nss; then - echo "wrapper.java.additional.11=-Dfreenet.jce.use.NSS=true" >> freenet-wrapper.conf || die - fi -} - -src_compile() { - java-pkg-simple_src_compile - - # Moved here because of using JAVA_GENTOO_CLASSPATH which is populated by java-pkg_gen-cp. - local i=2 pkg jars jar - local ifs_original=${IFS} - IFS="," - for pkg in ${JAVA_GENTOO_CLASSPATH} ; do - jars="$(java-pkg_getjars ${pkg})" - for jar in ${jars} ; do - echo "wrapper.java.classpath.$((i++))=${jar}" >> freenet-wrapper.conf || die - done - done - IFS=${ifs_original} - echo "wrapper.java.library.path.2=/usr/$(get_libdir)/java-service-wrapper" >> freenet-wrapper.conf || die - echo "wrapper.java.library.path.3=/usr/$(get_libdir)/jna-4" >> freenet-wrapper.conf || die -} - -src_test() { - JAVA_TEST_EXTRA_ARGS=( - -Djava.library.path="${EPREFIX}/usr/$(get_libdir)/jna-4/" - -Djna.nosys=false - -Dnetworkaddress.cache.negative.ttl=0 - -Dnetworkaddress.cache.ttl=0 - # https://github.com/hyphanet/fred/blob/build01497/build.gradle#L194-L196 - # "test.l10npath_main" reads from the JAR file. - -Dtest.l10npath_test="freenet/l10n/" - -Dtest.l10npath_main="freenet/l10n/" - ) - local vm_version="$(java-config -g PROVIDES_VERSION)" - if ver_test "${vm_version}" -ge 17; then - JAVA_TEST_EXTRA_ARGS+=( - --add-opens=java.base/java.io=ALL-UNNAMED - --add-opens=java.base/java.lang=ALL-UNNAMED - --add-opens=java.base/java.util=ALL-UNNAMED - ) - fi - - pushd test > /dev/null || die - local JAVA_TEST_RUN_ONLY=$(find * \ - -type f -name "*Test.java" \ - ) - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" - popd > /dev/null || die - java-pkg-simple_src_test -} - -src_install() { - java-pkg-simple_src_install - - doinitd "${FILESDIR}"/freenet - - systemd_dounit "${FILESDIR}"/freenet.service - - insinto /etc - doins freenet-wrapper.conf - insinto /var/freenet - doins run.sh seednodes.fref - fperms +x /var/freenet/run.sh -} - -pkg_postinst() { - elog " " - elog "1. Start freenet with rc-service freenet start." - elog "2. Open localhost:8888 in your browser for the web interface." - #workaround for previously existing freenet user - [[ $(stat --format="%U" /var/freenet) == "freenet" ]] || chown \ - freenet:freenet /var/freenet -} - -pkg_postrm() { - if ! [[ -e /usr/share/freenet/lib/freenet.jar ]] ; then - elog " " - elog "If you dont want to use freenet any more" - elog "and dont want to keep your identity/other stuff" - elog "remember to do 'rm -rf /var/freenet' to remove everything" - fi -} diff --git a/net-p2p/kubo/Manifest b/net-p2p/kubo/Manifest index d74193aa13bc..0c75ca08a3fe 100644 --- a/net-p2p/kubo/Manifest +++ b/net-p2p/kubo/Manifest @@ -2,18 +2,16 @@ AUX ipfs-at.service 340 BLAKE2B 776676603baa61cc2b76de86d8b3b1b43810ed81a703f827 AUX ipfs.confd 30 BLAKE2B 7ecaa40f2a4097690f9d8091da5891e0bbfb0f298bed4a59769c8d0ef978a2471865a01177950da5869b61f3b8c124f43eab97daf297c06efecdc25785a5846d SHA512 c55afeb3efe381d18258ddf00f58325b77156375cf223fb2daa049df056efe22e9139cce0f81dc4c73759dad5097af5f3201414beb5950bd894df9ae8c7c4ed1 AUX ipfs.init 448 BLAKE2B d2c706f0a9639a77d8d6241c01c5edece73e8aa569803d468e6036ae4da0348f1f4845979e8d39e2f8cd6f1ce8271201fcd11a37cbebe01f0b140cc646735b76 SHA512 bc5f7422434b8a7f1ab57ec1137bb4ba4e5ef07e7a4177d8d35dfb7436dcb0c58c6fdf35b78138f164a74eb24ee0f7422f765cf7b72f2c6bf31e8456eaa127c4 AUX ipfs.service 372 BLAKE2B 8989cc474ab46309dda6d167fb89476b01d10e07374d53c480a7ee345f13827e25ca19d84b0a3974e45c5d9a0c78abdfd7be262bff48f427aedaac2a9c4094a8 SHA512 35d5edda83bd296f92ffe3ee61f2608eb9ec464225e32ca52582d8e8fe699466c9b412ed224ff44e36e34d3d41a618d50082dd677feeaba53429d3a6913a869a -DIST kubo-0.28.0.tar.gz 16070929 BLAKE2B f0febdee1e2313c83369c07b520fe285e10a73322d87f3891dd8edc97d6fa3d8dab7644d6108d060ef652fe34ed7cacf75f756e48f1e022d16b12bc30d298c0b SHA512 e6ef309084b8f09b56e5bceae37cf220c7e015003a8660f132d4e79709c7bd29ae8d8bb02736dab6a447b3acccc7dd0bd7043955df0a787a72fb3b9dfe9c42f5 -DIST kubo-0.29.0-fs-repo-15-to-16-v1.0.1-vendor.tar.xz 1643384 BLAKE2B 6c51d34ab06e662213075cdc73fce0d3dad8c9acbfd2af6cd68ee50e90c33b91f06a68bbe40f4f3de867dd2862fb3cc0a09cb377f4d1ae70750906236059de5d SHA512 f3d9fbfc93fa714491eb7b8c995b686b8af86a65c56e7f14034b0dedb36b2b9a4d489852d7988acce30dcfd53f1637e1dca42ffdaa785bc6104864fc19c45a0c -DIST kubo-0.29.0-fs-repo-15-to-16-v1.0.1.tar.gz 25942003 BLAKE2B 48eb3f50c8d0064561a99dd834cfc73482003bed70be93342bb30e993b509cca6aea0d44658ea981bb1063c458ce98e796293172b01109265e431f7a6ae279ae SHA512 bf631d402ecbee75e5a49e19e31c40172aeef81a13325bbf557841ba9e765caf39df42370a20d6e4039e7bd98e27dc5bd7a42f4490f30928a5614aca2214aea1 -DIST kubo-0.29.0.tar.gz 16229764 BLAKE2B 91a6d322987bf7316f4acaf984ea57ea69617925e56adf4cee06be4d08a3a77f8f197aed42aa16cd438485df657de02cd647d3319c7c1afd09c0b8410fab30e6 SHA512 f23496452c3382629fddafce039acdff51c085280b15b807923bc4474b3ec540a39f9906ba7dcba621fef6237336ee2eb1bed10f81cac7a1dfccb21b7c3fecfb DIST kubo-0.30.0-fs-repo-15-to-16-v1.0.1-vendor.tar.xz 1643384 BLAKE2B 6c51d34ab06e662213075cdc73fce0d3dad8c9acbfd2af6cd68ee50e90c33b91f06a68bbe40f4f3de867dd2862fb3cc0a09cb377f4d1ae70750906236059de5d SHA512 f3d9fbfc93fa714491eb7b8c995b686b8af86a65c56e7f14034b0dedb36b2b9a4d489852d7988acce30dcfd53f1637e1dca42ffdaa785bc6104864fc19c45a0c DIST kubo-0.30.0-fs-repo-15-to-16-v1.0.1.tar.gz 25942003 BLAKE2B 48eb3f50c8d0064561a99dd834cfc73482003bed70be93342bb30e993b509cca6aea0d44658ea981bb1063c458ce98e796293172b01109265e431f7a6ae279ae SHA512 bf631d402ecbee75e5a49e19e31c40172aeef81a13325bbf557841ba9e765caf39df42370a20d6e4039e7bd98e27dc5bd7a42f4490f30928a5614aca2214aea1 DIST kubo-0.30.0.tar.gz 16532306 BLAKE2B 9241e8d463dfe0fd407fc6e2a30174ff67a63360a3dbef93d6f1b70fbe42ea9ce873e74109569964b8894adf95555c12b1ed66c50743b8eda591bf48b79fe8e7 SHA512 f49b53a51a07675d02d0c4457ca1a166a3db5565fc2a1659b88861c6a9ec1e94243a86115399df31069ad1f8e93b1acf14fe8b40dea63bfd3109105ad262cccc DIST kubo-0.31.0-fs-repo-15-to-16-v1.0.1-vendor.tar.xz 1643384 BLAKE2B 6c51d34ab06e662213075cdc73fce0d3dad8c9acbfd2af6cd68ee50e90c33b91f06a68bbe40f4f3de867dd2862fb3cc0a09cb377f4d1ae70750906236059de5d SHA512 f3d9fbfc93fa714491eb7b8c995b686b8af86a65c56e7f14034b0dedb36b2b9a4d489852d7988acce30dcfd53f1637e1dca42ffdaa785bc6104864fc19c45a0c DIST kubo-0.31.0-fs-repo-15-to-16-v1.0.1.tar.gz 25942003 BLAKE2B 48eb3f50c8d0064561a99dd834cfc73482003bed70be93342bb30e993b509cca6aea0d44658ea981bb1063c458ce98e796293172b01109265e431f7a6ae279ae SHA512 bf631d402ecbee75e5a49e19e31c40172aeef81a13325bbf557841ba9e765caf39df42370a20d6e4039e7bd98e27dc5bd7a42f4490f30928a5614aca2214aea1 DIST kubo-0.31.0.tar.gz 18131293 BLAKE2B a34e9cf1849a14e42e3799437127a06434484f1ce8ef36730c1b8daf66f8ee33abe783866d22f1573de056c24855bc16efc60c67ed47ccdc1c08d7cf263e0097 SHA512 8e5782905c190eea81d25d8bb477f5027cf38721e5b66868c3b81de90c9b013b9e1205869f640d163355efda778b32c7b94739fd3ef46fff7819309c82e9066c -EBUILD kubo-0.28.0.ebuild 1973 BLAKE2B 215b76417f7487096944d7554f81e53f55423fa2a7e5b5f92897ca9aca819582ed3b58ab9763666e26bf13598ca605f346d296c395e206e06faed80f6f4e2658 SHA512 b19393420d08b619ec1ffbf926e99116b79bd29fd747e7bcae002cf4a81c939ba98226f5ed24b152d7997b98fc631c70a5a41c071469953be8bedb11d81ee68a -EBUILD kubo-0.29.0-r1.ebuild 2635 BLAKE2B a0aa252aac5b32b2078cabd2fe05980863ad92cedae3fe1ce169e3b970a5f051206ef65cb9bce8710e4d7832eacbdc3805f04e7623b55de8f1b8265cf9fb73d4 SHA512 941316585c64c3cfedb1f2e6adce4ba91cc27f5b71837ec04222401795141ca1ee4eda78b777a02a26998a3530449e0c6b0a4c5cb6212741e4edb7d55e881611 -EBUILD kubo-0.30.0.ebuild 2573 BLAKE2B b48ec90b2d8e93a4a98cc4bd3afb66018ed26f9216c9e0098f2166973991d62ad88b184983d46254bcfffdce6a0e66b0bc7c493eab93e96ae06de88ee75118f9 SHA512 8b5c222281776a2170ec242c5c4939774e9b675ee44a9dd18e0d74ab620e749b9e012020230dcb769d02ac405ed8822dfb6b3a46f57dce89fe004a5cb40e7751 -EBUILD kubo-0.31.0.ebuild 3046 BLAKE2B 0ae5191344f1df23b0416a5711e661beca058ccfe99fc69015b09268d385b256e63b334e84d44330a5bfc02c0f3904b24b46143f1c7226a805dc424fc31733be SHA512 dc92a4d0988475d951cb784f439d52ff3233fe8ef08ad5194b6f7d516b821ed608fb8780762a0d506c6ca9cf815369fb0fd98afa42289fb8bdd1a24de5b59228 +DIST kubo-0.33.2-fs-repo-15-to-16-v1.0.1-vendor.tar.xz 1643384 BLAKE2B 6c51d34ab06e662213075cdc73fce0d3dad8c9acbfd2af6cd68ee50e90c33b91f06a68bbe40f4f3de867dd2862fb3cc0a09cb377f4d1ae70750906236059de5d SHA512 f3d9fbfc93fa714491eb7b8c995b686b8af86a65c56e7f14034b0dedb36b2b9a4d489852d7988acce30dcfd53f1637e1dca42ffdaa785bc6104864fc19c45a0c +DIST kubo-0.33.2-fs-repo-15-to-16-v1.0.1.tar.gz 25942003 BLAKE2B 48eb3f50c8d0064561a99dd834cfc73482003bed70be93342bb30e993b509cca6aea0d44658ea981bb1063c458ce98e796293172b01109265e431f7a6ae279ae SHA512 bf631d402ecbee75e5a49e19e31c40172aeef81a13325bbf557841ba9e765caf39df42370a20d6e4039e7bd98e27dc5bd7a42f4490f30928a5614aca2214aea1 +DIST kubo-0.33.2.tar.gz 18188059 BLAKE2B 43bf3b1b7d31376d2336bbfe9b2c96d3d578cb16047add70bf3bed7920dbadd97f9e37dc85e98012880c73038a063766713e8cf6a3c5e119862cce1ffcbe54eb SHA512 57953aa5c2db55a0eb50aaa82c0dce9c09b86d9b10946ef3f92ab60bc7d1f3699244f1c8731ddc1d090d7279779a4d3f6c478ae1e745a61d00d7357f87df1631 +EBUILD kubo-0.30.0.ebuild 2578 BLAKE2B 5eb2b87b46e0f4414a0449493cb8d84976fc9978f92091f904fe47ddcea1cfa663e09f8cc0d95007cfec95e765de0a3cbbfbdd1abafa51f95ea2771b42c584d2 SHA512 73079b605eea7e0015def701f330fed25152d85427925791c288ef5ce3fd85b4b61057675fb3b3fbe8b1097b6a4704e56101737a0b59cd01b717616ec5666562 +EBUILD kubo-0.31.0.ebuild 3051 BLAKE2B 70b942011439b4246f9142c7fde6156021710e42d7d8eae3f8a9ee3bb23f778a1b1c0a57c9c23f9194330ef1945c33563b27efabbc0bf0ac314b09ad4bf78a02 SHA512 9f3f36764174dc606c43f44f911f3dd4ea72c75e10bfef8d056c5c9cc7a353a7929f7be87d3655ca259fbcb8527605271fde407f9bc880576adda16e2e62c45e +EBUILD kubo-0.33.2.ebuild 3052 BLAKE2B d555316b4c43df2642f93d293ed7dd8b910c1cf88743357125cdffcd2529dc12d84b7b48c51de441cc010d021966d0e69779b4d676d3d34c00c08bd5c6e68734 SHA512 917ee33dc1ddc26c7d126c7db25363742af1ecd60e99f8b9833f37fdbae45be526ca55e6a02b8d77da8195772155ca02417209346bc7e95f69ccbd6899cad0e9 MISC metadata.xml 596 BLAKE2B 68c5576e325ef2e0a6954047b8784427ca8b1d038c4b7fc7a7f2082e2682dbb8b807083251c9e5eca927d070d21b1f5ee9f96e2cb2437a9f5934bdc46f139fb6 SHA512 2d41af83abc0527e9031f8bec8d471dc7d163714bb42b9d7f65c943993e7d554207a5fb85ad96ae94c7876a74e2b3c8dba6a8f70e4f1bbb5a785bb98624233a9 diff --git a/net-p2p/kubo/kubo-0.28.0.ebuild b/net-p2p/kubo/kubo-0.28.0.ebuild deleted file mode 100644 index 64fa62b8defd..000000000000 --- a/net-p2p/kubo/kubo-0.28.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module shell-completion systemd - -DESCRIPTION="Main implementation of IPFS" -HOMEPAGE="https://ipfs.tech https://github.com/ipfs/kubo/" -SRC_URI="https://github.com/ipfs/${PN}/releases/download/v${PV}/kubo-source.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}" - -LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="amd64 ~x86" - -DEPEND=" - acct-group/ipfs - acct-user/ipfs - sys-fs/fuse:0 -" -RDEPEND="${DEPEND}" - -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md docs/ ) - -src_compile() { - local mygoargs - mygoargs=( - -tags release - ) - - ego build "${mygoargs[@]}" -o ipfs ./cmd/ipfs - ego build "${mygoargs[@]}" -o ipfswatch ./cmd/ipfswatch - - IPFS_PATH="" ./ipfs commands completion bash > ipfs-completion.bash || die - IPFS_PATH="" ./ipfs commands completion fish > ipfs-completion.fish || die - IPFS_PATH="" ./ipfs commands completion zsh > ipfs-completion.zsh || die -} - -src_test() { - ego test ./cmd/ipfs/... ./cmd/ipfswatch/... -} - -src_install() { - dobin ipfs - dobin ipfswatch - newbashcomp ipfs-completion.bash ipfs - newfishcomp ipfs-completion.fish ipfs - newzshcomp ipfs-completion.zsh _ipfs - einstalldocs - - systemd_dounit "${FILESDIR}/ipfs.service" - systemd_newunit "${FILESDIR}/ipfs-at.service" "ipfs@.service" - - newinitd "${FILESDIR}/ipfs.init" ipfs - newconfd "${FILESDIR}/ipfs.confd" ipfs - - keepdir /var/log/ipfs - fowners -R ipfs:ipfs /var/log/ipfs -} - -pkg_postinst() { - elog 'To be able to use the ipfs service you will need to create the ipfs repository' - elog '(eg: su -s /bin/sh -c "ipfs init -e" ipfs)' - elog 'or change IPFS_PATH of /etc/conf.d/ipfs with another with proper permissions.' - - # See https://bugs.gentoo.org/838238 - ewarn 'In case kubo CPU usage is too high run the next workaround' - ewarn 'su -s /bin/sh -c "ipfs config profile apply lowpower" ipfs' - ewarn 'Be aware that this will make your node less visible to other peers' -} diff --git a/net-p2p/kubo/kubo-0.29.0-r1.ebuild b/net-p2p/kubo/kubo-0.29.0-r1.ebuild deleted file mode 100644 index 3f83dfd5962a..000000000000 --- a/net-p2p/kubo/kubo-0.29.0-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module shell-completion systemd - -FS_MIG_V="1.0.1" -FS_MIG_N="fs-repo-15-to-16" -MY_FS_MIG="${FS_MIG_N}-v${FS_MIG_V}" -FS_MIG_DIR="fs-repo-migrations-${MY_FS_MIG}" - -DESCRIPTION="Main implementation of IPFS" -HOMEPAGE="https://ipfs.tech https://github.com/ipfs/kubo/" -SRC_URI="https://github.com/ipfs/${PN}/releases/download/v${PV}/kubo-source.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://github.com/ipfs/fs-repo-migrations/archive/refs/tags/${FS_MIG_N}/v${FS_MIG_V}.tar.gz -> ${P}-${MY_FS_MIG}.tar.gz" -SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${MY_FS_MIG}-vendor.tar.xz -> ${P}-${MY_FS_MIG}-vendor.tar.xz" - -S="${WORKDIR}" - -LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - acct-group/ipfs - acct-user/ipfs - sys-fs/fuse:0 -" -RDEPEND="${DEPEND}" - -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md docs/ ) - -src_prepare() { - default - - sed -i '/fs-repo-1[0-9]-to-*/d' "${FS_MIG_DIR}/ignored-migrations" || die -} - -src_compile() { - local mygoargs - mygoargs=( - -tags release - ) - - ego build "${mygoargs[@]}" -o ipfs ./cmd/ipfs - ego build "${mygoargs[@]}" -o ipfswatch ./cmd/ipfswatch - - IPFS_PATH="" ./ipfs commands completion bash > ipfs-completion.bash || die - IPFS_PATH="" ./ipfs commands completion fish > ipfs-completion.fish || die - IPFS_PATH="" ./ipfs commands completion zsh > ipfs-completion.zsh || die - - cd "${FS_MIG_DIR}" || die - emake -} - -src_test() { - ego test ./cmd/ipfs/... ./cmd/ipfswatch/... -} - -src_install() { - dobin ipfs - dobin ipfswatch - newbashcomp ipfs-completion.bash ipfs - newfishcomp ipfs-completion.fish ipfs - newzshcomp ipfs-completion.zsh _ipfs - einstalldocs - - systemd_dounit "${FILESDIR}/ipfs.service" - systemd_newunit "${FILESDIR}/ipfs-at.service" "ipfs@.service" - - newinitd "${FILESDIR}/ipfs.init" ipfs - newconfd "${FILESDIR}/ipfs.confd" ipfs - - keepdir /var/log/ipfs - fowners -R ipfs:ipfs /var/log/ipfs - - dobin "${FS_MIG_DIR}/fs-repo-migrations/fs-repo-migrations" - find "${FS_MIG_DIR}" -executable -type f -name "fs-repo-*" -exec dobin {} \; || die -} - -pkg_postinst() { - elog 'To be able to use the ipfs service you will need to create the ipfs repository' - elog '(eg: su -s /bin/sh -c "ipfs init -e" ipfs)' - elog 'or change IPFS_PATH of /etc/conf.d/ipfs with another with proper permissions.' - - # See https://bugs.gentoo.org/838238 - ewarn 'In case kubo CPU usage is too high run the next workaround' - ewarn 'su -s /bin/sh -c "ipfs config profile apply lowpower" ipfs' - ewarn 'Be aware that this will make your node less visible to other peers' -} diff --git a/net-p2p/kubo/kubo-0.30.0.ebuild b/net-p2p/kubo/kubo-0.30.0.ebuild index f0664d715b34..5ccc98cd17f8 100644 --- a/net-p2p/kubo/kubo-0.30.0.ebuild +++ b/net-p2p/kubo/kubo-0.30.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -62,7 +62,7 @@ src_install() { dobin ipfs dobin ipfswatch newbashcomp ipfs-completion.bash ipfs - newfishcomp ipfs-completion.fish ipfs + newfishcomp ipfs-completion.fish ipfs.fish newzshcomp ipfs-completion.zsh _ipfs einstalldocs diff --git a/net-p2p/kubo/kubo-0.31.0.ebuild b/net-p2p/kubo/kubo-0.31.0.ebuild index aceb4fbd3302..d547fec2ec3c 100644 --- a/net-p2p/kubo/kubo-0.31.0.ebuild +++ b/net-p2p/kubo/kubo-0.31.0.ebuild @@ -68,7 +68,7 @@ src_install() { dobin ipfs dobin ipfswatch newbashcomp ipfs-completion.bash ipfs - newfishcomp ipfs-completion.fish ipfs + newfishcomp ipfs-completion.fish ipfs.fish newzshcomp ipfs-completion.zsh _ipfs einstalldocs diff --git a/net-p2p/kubo/kubo-0.33.2.ebuild b/net-p2p/kubo/kubo-0.33.2.ebuild new file mode 100644 index 000000000000..9e8f0f1d46c3 --- /dev/null +++ b/net-p2p/kubo/kubo-0.33.2.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module shell-completion systemd + +# Upstreams has a directory for each migration, for example fs-repo-15-to-16, +# each directory is a program by itself. When an upstream tag is created, +# they use they the name of the last migration program + version, for example +# fs-repo-15-to-16/v1.0.1. Accordingly, we have a variable for the name and +# another for the version. Even though the tag uses the name of the last migration, +# the repository contains source code for all migrations, not only the tagged one. +FS_MIG_V="1.0.1" +FS_MIG_N="fs-repo-15-to-16" +MY_FS_MIG="${FS_MIG_N}-v${FS_MIG_V}" +FS_MIG_DIR="fs-repo-migrations-${MY_FS_MIG}" + +DESCRIPTION="Main implementation of IPFS" +HOMEPAGE="https://ipfs.tech https://github.com/ipfs/kubo/" +SRC_URI="https://github.com/ipfs/${PN}/releases/download/v${PV}/kubo-source.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://github.com/ipfs/fs-repo-migrations/archive/refs/tags/${FS_MIG_N}/v${FS_MIG_V}.tar.gz -> ${P}-${MY_FS_MIG}.tar.gz" +SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${MY_FS_MIG}-vendor.tar.xz -> ${P}-${MY_FS_MIG}-vendor.tar.xz" + +S="${WORKDIR}" + +LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + acct-group/ipfs + acct-user/ipfs + sys-fs/fuse:0 +" +RDEPEND="${DEPEND}" + +DOCS=( CHANGELOG.md CONTRIBUTING.md README.md docs/ ) + +src_prepare() { + default + + sed -i '/fs-repo-1[0-9]-to-*/d' "${FS_MIG_DIR}/ignored-migrations" || die +} + +src_compile() { + local mygoargs + mygoargs=( + -tags release + ) + + ego build "${mygoargs[@]}" -o ipfs ./cmd/ipfs + ego build "${mygoargs[@]}" -o ipfswatch ./cmd/ipfswatch + + IPFS_PATH="" ./ipfs commands completion bash > ipfs-completion.bash || die + IPFS_PATH="" ./ipfs commands completion fish > ipfs-completion.fish || die + IPFS_PATH="" ./ipfs commands completion zsh > ipfs-completion.zsh || die + + cd "${FS_MIG_DIR}" || die + emake +} + +src_test() { + ego test ./cmd/ipfs/... ./cmd/ipfswatch/... +} + +src_install() { + dobin ipfs + dobin ipfswatch + newbashcomp ipfs-completion.bash ipfs + newfishcomp ipfs-completion.fish ipfs.fish + newzshcomp ipfs-completion.zsh _ipfs + einstalldocs + + systemd_dounit "${FILESDIR}/ipfs.service" + systemd_newunit "${FILESDIR}/ipfs-at.service" "ipfs@.service" + + newinitd "${FILESDIR}/ipfs.init" ipfs + newconfd "${FILESDIR}/ipfs.confd" ipfs + + keepdir /var/log/ipfs + fowners -R ipfs:ipfs /var/log/ipfs + + find "${FS_MIG_DIR}" -executable -type f -name "fs-repo-*" -exec dobin {} \; || die +} + +pkg_postinst() { + elog 'To be able to use the ipfs service you will need to create the ipfs repository' + elog '(eg: su -s /bin/sh -c "ipfs init -e" ipfs)' + elog 'or change IPFS_PATH of /etc/conf.d/ipfs with another with proper permissions.' + + # See https://bugs.gentoo.org/838238 + ewarn 'In case kubo CPU usage is too high run the next workaround' + ewarn 'su -s /bin/sh -c "ipfs config profile apply lowpower" ipfs' + ewarn 'Be aware that this will make your node less visible to other peers' +} -- cgit v1.2.3