From 53b1ecf017f32e5d9889b95bdfbcbdd73f9c9c3b Mon Sep 17 00:00:00 2001 From: Kai Krakow Date: Tue, 29 Sep 2020 00:50:04 +0200 Subject: net-p2p/go-ipfs-bin: Bump to 0.7.0 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Kai Krakow Signed-off-by: Joonas Niilola --- net-p2p/go-ipfs-bin/Manifest | 4 +++ net-p2p/go-ipfs-bin/go-ipfs-bin-0.7.0.ebuild | 54 ++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 net-p2p/go-ipfs-bin/go-ipfs-bin-0.7.0.ebuild (limited to 'net-p2p') diff --git a/net-p2p/go-ipfs-bin/Manifest b/net-p2p/go-ipfs-bin/Manifest index 67f3e2e23944..80f428853136 100644 --- a/net-p2p/go-ipfs-bin/Manifest +++ b/net-p2p/go-ipfs-bin/Manifest @@ -1,6 +1,7 @@ DIST go-ipfs-bin-0.4.19.bash 20753 BLAKE2B c34d29a48cf249b7a646a8a7b6015b9c4a4a5d8656187ec5984b0dfb741a8ca7b2f2d0a10bc0288aa862679c6d52145936b46497936565ba7cdb2ba847fda5b8 SHA512 acd3bdb689964aa5e15965bfea3cd1267f54a2014c05f49f4e536902cbdab3e22038f4f5db5ecc273c147135b265fcb82a41db22bfc3fd8f6ddc8ae43fd053ea DIST go-ipfs-bin-0.4.20.bash 20753 BLAKE2B c34d29a48cf249b7a646a8a7b6015b9c4a4a5d8656187ec5984b0dfb741a8ca7b2f2d0a10bc0288aa862679c6d52145936b46497936565ba7cdb2ba847fda5b8 SHA512 acd3bdb689964aa5e15965bfea3cd1267f54a2014c05f49f4e536902cbdab3e22038f4f5db5ecc273c147135b265fcb82a41db22bfc3fd8f6ddc8ae43fd053ea DIST go-ipfs-bin-0.4.22.bash 20753 BLAKE2B c34d29a48cf249b7a646a8a7b6015b9c4a4a5d8656187ec5984b0dfb741a8ca7b2f2d0a10bc0288aa862679c6d52145936b46497936565ba7cdb2ba847fda5b8 SHA512 acd3bdb689964aa5e15965bfea3cd1267f54a2014c05f49f4e536902cbdab3e22038f4f5db5ecc273c147135b265fcb82a41db22bfc3fd8f6ddc8ae43fd053ea +DIST go-ipfs-bin-0.7.0.bash 21018 BLAKE2B 81150944c71fe86b07db8bc2240899cb95637e74e05dd898c2aabd26e47b7222d6e79d4270c4a681450d8d148cf5dcf96d4376de110e6221943e0214ebf1bf61 SHA512 3a5259147652beda38b32e8fa13165775dfd7116ffdc839e350bb8009197c18dc03a69bd3a62233de0ace5fd52e76b6b1d9e88df888ec268e98519b5a35fe89c DIST go-ipfs_v0.4.19_linux-386.tar.gz 11313754 BLAKE2B ac45961d7af003b28668c208be8e5d4457f28284a9b2ce21d9958a52204212fa08c4a8077382913027b0e79cfd8a230227494ca7897d25ee4900f9747039d6af SHA512 9fc7b467098613786788d41c04257b119d124a03279439c16c6a541d5057ce769b295eae16a42b10561f42f5eb982221dc2beacec42d56e517566115e72124da DIST go-ipfs_v0.4.19_linux-amd64.tar.gz 14068171 BLAKE2B e108fcbeeca0823a90df049c870501406ec68d5750d300d5e50fb8f8b2e8c3a1cbdceecc76687cfa9ca0185e7661ad5fb91bf0f33cdef1e1e7c4fc5e0c25dd6c SHA512 66d930bef0196c70f25cb207c00da6e36f6c2c17ff0e785f45d360e710502c233aeeeaaa5ee0bfc984919d42225c74c6474e5e5ce5c8cd6993580903fa8ec0c4 DIST go-ipfs_v0.4.19_linux-arm.tar.gz 11118746 BLAKE2B 08ea24e8367d22577798636faec3ecdacb2dad9dd635f727a129b875ab02d1b37712b20ce6a387046a7be753032b437aa1feb8fab79aff99140c543652f3d7c6 SHA512 00084c0ecdf2d78e792519dbfcc7f62897283d5d81e7df90745ac41091dabaf44674a62c0ebc6a63bfea9bed97f98ed1dde260d8eb05f4bef2f4d35d3ebe9f5b @@ -10,3 +11,6 @@ DIST go-ipfs_v0.4.20_linux-arm.tar.gz 17668228 BLAKE2B f900ecdbc580e86a476d1d5d6 DIST go-ipfs_v0.4.22_linux-386.tar.gz 18865892 BLAKE2B 4ff67301ce6eec8cb38015f6dba16e10ee1fa3efffb47b2c3a9fe76fba875907ccd53ec011abe5b496de4dd2dff0a30f4e526e232f47c174b83004efdcc30764 SHA512 a6d16217412d1be0cdc0a2df604740054758b767994bbcb7ffc745abd90c64c28031b543bcb5589c715fa7115effc9a3b898ada8ad96c604507b428ed2538378 DIST go-ipfs_v0.4.22_linux-amd64.tar.gz 20900056 BLAKE2B f068c367fb454a62c76f9828927aae0870f54853d0aeddfe6ca774490107c26df88ce41efa016732dffaf269d3dc2d16e1744f9cc35d4f86e355744eb3172a10 SHA512 49b99fec741d67f7bad8fb6fbbd984967f06dfc3de846d10dca34b166f621a182d12f13cf5ccf4e4f33747b67cede6f4205b4cd9b57ce5244128d1385ec82c85 DIST go-ipfs_v0.4.22_linux-arm.tar.gz 18199193 BLAKE2B 25316649add6256c4f12efb9bb43848e2049cc7bcbe89dbe77309e1cf793e2ebd28559a05d0974af53488c414a26c28499d80f2f13f80454d4217019c58edc65 SHA512 c803964828ccbac40797e58dc82d10bdf899db26ef71ddd2443882bd4f84ff4a5aee4995a04135cb31b8f991381ce8004c51b06501aaef4d58dbcac239519822 +DIST go-ipfs_v0.7.0_linux-386.tar.gz 22038249 BLAKE2B 85c85948d69dcec0c73ac38bad4eb4cd65ef7148199a6afcdf7f419981a12db3d37f4923746feaa608bbcf455065570e264039020c5517f8b0a5ffa163bf4177 SHA512 f2e8db09918aed702f4c952ff014612e06ee59a24f1b796a7d0c56300b82caf388c0201506a174de34aa0e9f0a646e2792a521ceab947d65d82386aefd54799b +DIST go-ipfs_v0.7.0_linux-amd64.tar.gz 25954590 BLAKE2B 0bd139f77272ac9d5e4e1f3caa8a4967d17ba8fa9caa4eb4859933423c882844eca5403ca90a2cbeae95f080eb21bd64c7f46a391eac3d5717a5e2dcbf2d8aac SHA512 1d5910f27e8d7ea333145f15c6edcbacc1e8db3a99365f0847467bdfa7c73f4d7a05562e46be8e932056c8324ed0769ca1b6758dfb0ac4c2e1b6066b57c4a086 +DIST go-ipfs_v0.7.0_linux-arm.tar.gz 21087228 BLAKE2B ec3122077a487726fe227816f97462bf9caf40d30c44ff6bf67e6266eda7cfff456855cdf8f91c1bc01dcca58b0e76cc931c05179326414e39adb6bf4d7fae18 SHA512 a1a9b6e2833da94d9059f1d03e30e7349ab4f00fc0e8580909f35dbb28f0fdf6cea712a96928f72aa2fadf3efc1328187f4fc863e5ce74e4be699542e262a904 diff --git a/net-p2p/go-ipfs-bin/go-ipfs-bin-0.7.0.ebuild b/net-p2p/go-ipfs-bin/go-ipfs-bin-0.7.0.ebuild new file mode 100644 index 000000000000..7a4b01b10bb2 --- /dev/null +++ b/net-p2p/go-ipfs-bin/go-ipfs-bin-0.7.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit bash-completion-r1 systemd + +DESCRIPTION="Main implementation of IPFS" +HOMEPAGE="https://ipfs.io/" +SRC_URI=" + amd64? ( https://dist.ipfs.io/go-ipfs/v${PV}/go-ipfs_v${PV}_linux-amd64.tar.gz ) + x86? ( https://dist.ipfs.io/go-ipfs/v${PV}/go-ipfs_v${PV}_linux-386.tar.gz ) + arm? ( https://dist.ipfs.io/go-ipfs/v${PV}/go-ipfs_v${PV}_linux-arm.tar.gz ) + + https://raw.githubusercontent.com/ipfs/go-ipfs/v${PV}/misc/completion/ipfs-completion.bash -> ${P}.bash +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~x86" + +BDEPEND=" + acct-group/ipfs + acct-user/ipfs +" +RDEPEND=" + ${BDEPEND} + !net-p2p/go-ipfs + sys-fs/fuse:0 +" +S="${WORKDIR}/go-ipfs" + +QA_PREBUILT="/usr/bin/ipfs" + +src_install() { + dobin ipfs + + systemd_dounit "${FILESDIR}/ipfs.service" + newinitd "${FILESDIR}/ipfs.init" ipfs + newconfd "${FILESDIR}/ipfs.confd" ipfs + + newbashcomp "${DISTDIR}/${P}.bash" "ipfs" + keepdir /var/log/ipfs +} + +pkg_preinst() { + 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.' +} -- cgit v1.2.3-65-gdbad