summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/Manifest.gzbin9413 -> 9423 bytes
-rw-r--r--net-p2p/go-ipfs-bin/Manifest10
-rw-r--r--net-p2p/go-ipfs-bin/files/ipfs.confd1
-rw-r--r--net-p2p/go-ipfs-bin/files/ipfs.init17
-rw-r--r--net-p2p/go-ipfs-bin/files/ipfs.service14
-rw-r--r--net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.15-r1.ebuild (renamed from net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.15.ebuild)20
-rw-r--r--net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.17.ebuild47
-rw-r--r--net-p2p/transmission/Manifest2
-rw-r--r--net-p2p/transmission/transmission-2.94.ebuild2
9 files changed, 109 insertions, 4 deletions
diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz
index 672d266c94e9..e55640cd7d64 100644
--- a/net-p2p/Manifest.gz
+++ b/net-p2p/Manifest.gz
Binary files differ
diff --git a/net-p2p/go-ipfs-bin/Manifest b/net-p2p/go-ipfs-bin/Manifest
index 1207d392babb..9646412a452d 100644
--- a/net-p2p/go-ipfs-bin/Manifest
+++ b/net-p2p/go-ipfs-bin/Manifest
@@ -1,11 +1,19 @@
+AUX ipfs.confd 30 BLAKE2B 7ecaa40f2a4097690f9d8091da5891e0bbfb0f298bed4a59769c8d0ef978a2471865a01177950da5869b61f3b8c124f43eab97daf297c06efecdc25785a5846d SHA512 c55afeb3efe381d18258ddf00f58325b77156375cf223fb2daa049df056efe22e9139cce0f81dc4c73759dad5097af5f3201414beb5950bd894df9ae8c7c4ed1
+AUX ipfs.init 464 BLAKE2B f5927ab792427a87c330772fca4adc177ae84899be5c6b856f763d6e71d1cbdf1d151bf6eea46ff13ba5ce5996a55468a4749d37c1e8306c4d07f897f17430a1 SHA512 6616a0114039a7c178ee9788c748e4abf143a875df2a9d6d823249d7adef2024cd3f537cf45a624e76751792e8c24b1d42b0dd536686b14d6f53f59ca53ca1f4
+AUX ipfs.service 245 BLAKE2B b2d528a82a79d1e7fd5cfedac1a4db2412e7e02c87c3e5e902b0bd1a9259fd4156328b8c289df42a898a64a396d83ef93f24743d042b4fe24a2d97f8f0c5235e SHA512 58e21b8c7a7c0af0b05ee936fcd7e8e61903755f1c124a4d59758bb094d520d3dafb9b5b8b92d2a4b414367fbdaf2ec0025c05cbc796d0ee26f2916d12dde472
DIST go-ipfs-bin-0.4.14.bash 20856 BLAKE2B 60370fabf7dee1f157c242fef5709b486428db4dde24388fca1a21655b44e9cbd07a523af05c66f70e8a7ac43a40cb4a439faaae856bfe52c74853e7539b4f3e SHA512 17568f42a0980734e57a6c22bab4bac149719ab4d586a5a477f4b11610c2c982c1b5c395b9244c73aa95c82bd40688b8368960bfc0fd5db2e6139660d38e6c9a
DIST go-ipfs-bin-0.4.15.bash 20856 BLAKE2B 60370fabf7dee1f157c242fef5709b486428db4dde24388fca1a21655b44e9cbd07a523af05c66f70e8a7ac43a40cb4a439faaae856bfe52c74853e7539b4f3e SHA512 17568f42a0980734e57a6c22bab4bac149719ab4d586a5a477f4b11610c2c982c1b5c395b9244c73aa95c82bd40688b8368960bfc0fd5db2e6139660d38e6c9a
+DIST go-ipfs-bin-0.4.17.bash 20856 BLAKE2B 60370fabf7dee1f157c242fef5709b486428db4dde24388fca1a21655b44e9cbd07a523af05c66f70e8a7ac43a40cb4a439faaae856bfe52c74853e7539b4f3e SHA512 17568f42a0980734e57a6c22bab4bac149719ab4d586a5a477f4b11610c2c982c1b5c395b9244c73aa95c82bd40688b8368960bfc0fd5db2e6139660d38e6c9a
DIST go-ipfs_v0.4.14_linux-386.tar.gz 8199245 BLAKE2B 950daceb417126203b803e512a41c004118990a981ead1f4dcc09185994be17d2c0899627f0a3cbb99e20a1e003d704e9bee6ce405dfd992a1871f3cdbc324b7 SHA512 bb2f88f6409adbe79a543bdde8d758a7e0f043b044aac42886fe9f2a973cf3477ef333df52103673aa93dfddc71946cad99021df813a9425f42599ee1ce70270
DIST go-ipfs_v0.4.14_linux-amd64.tar.gz 10218138 BLAKE2B 10269581a8325172e5a5cebd64a760289864850703e62dc7e29a330d946d51b0b3ce2631a19fe9c7ea32f2eebb2b34a2bdb2682ac86a78bcf87a012d97bf5585 SHA512 71269aca8350e67a70faf7c16d2d7f9885d2e46a5af7cd737d888369d4a231e06ac8b4bebac43eda54c39b8cf345c80fbbc15fd227f0923f8381b3b0720fccb8
DIST go-ipfs_v0.4.14_linux-arm.tar.gz 8136810 BLAKE2B 4fc6b52fec544cdd0c33ca31dd520821bbba2f8fab2b90994cd092de7ea7a132db4acdad80c2929df11b2e0d36d040efdd1708db5b1c3f05b89dadf60974544e SHA512 d87b5072aab2e3c00c8028f69042dea53523ba43eae01257b6fd25b9f5dc43aa09474368496da40bd62f99f63cc53c9786ce6babae08016d86ec8030c8c06b27
DIST go-ipfs_v0.4.15_linux-386.tar.gz 8189548 BLAKE2B 6f82260f92b55d863189ad6f0cdeff4972df863953d132cbb11623e06c33b154e650e9fd0bd03d4a3f8477cce22447603a0207f0afc6eed074fcf7d05ead01af SHA512 11b4f11da0754819456dc7b5d149d72670582cd3e9c90b518546024356857c49a9a97ebebf1bc495e48e4bde96884e58f979a51fc57993bdff0509bccc6fad31
DIST go-ipfs_v0.4.15_linux-amd64.tar.gz 10209630 BLAKE2B ce6fec2968765ac54f1376f0e8f9f3728338b06104a4b841b7993b5955f889e62e0bcf4e79fe6e180ef2e6cb4e9b07745935aaea74d7d6a050b7484e6d6ba9be SHA512 d77790c5c58f49229989b0e08fa537bc084bf9e2953479e307557e96924f96b913f00c4a7a76c687f2db63f098a18a575f34d88a3f226e7933039e8d8910dd10
DIST go-ipfs_v0.4.15_linux-arm.tar.gz 8124892 BLAKE2B 8f3ab08f83ca7c4067a230fc0557393f107a08d1df069fd2029393cc1320d5cf678316e988472696aeceadea2d4f04e8c0bb85526284627c1d9e5f0acb2cc3e7 SHA512 4e98fda84d0f8c1e118150771b03a238cec96631d8ea798bf5c494f60711f1d272abe0830edfafb9f7fa6e246c59f30fe7896f231217f1b5aa2bdb6ccd3a94a5
+DIST go-ipfs_v0.4.17_linux-386.tar.gz 8625346 BLAKE2B e72b51a25eb0c18958f434483d28c45b43120ec9e583184cad8ac57c9470d685c568d9e166899d355200f89a0fe9fb3b05f9ce4c00c8c03bb928b0714b5d67c8 SHA512 031ee1624499ba9fd72efef780b1a04dee9a69dccc41190cebefcf5c271f676829fc220281db24d75a9159cd52fbbe3c85855911a5925efa23db85d2daefb500
+DIST go-ipfs_v0.4.17_linux-amd64.tar.gz 10726868 BLAKE2B bde05330dec16a9d40cf6ab0a872a2b2640e9d6811bc70b0a77a2149c36f0f9ddca927dcf66a7264b71b9a39ca49ab4e698ddaa7683b4b4ce871e207032ba9f5 SHA512 1d0b1b14b544c81ed6ecf4b5481e9b186d11d29afe1c63ad49abcc54346ec98ba28f7cfd712b5947a988ea7b810c71178ee79aadc87f3a946ecbfd5dcfd00b17
+DIST go-ipfs_v0.4.17_linux-arm.tar.gz 8541559 BLAKE2B a0633f414a2b8e6bfd1679442653cdcecaa1f3e5072ed9ca3afb64dd0183155077af71723a282285f2d70b7ac256d4e2e27515175453f16cd900ee01dcfb7440 SHA512 586b40575a18933eccd3a5af81efac8c0b6ea941bb5cef9e5bfc95ce56134863934c0e2fde29aa24944791c4842f0055ef43d1aab64b339649033801e4739cb6
EBUILD go-ipfs-bin-0.4.14.ebuild 795 BLAKE2B f095381ec82d12277234f86342b3171e4cc6a15034293ea147a383f077b90d252f4952e0e9e9f33058aba7ea3dc7289177d4f14ebd0a8e93c14383c72ff4cc57 SHA512 afb45caddf2511d8afff6d774fd82d10ac9dd829316a9e26cb7e8e7c0a5890cc3dd751a2eccb6b2cd8bd3de2bbf02a0dfe2919664ee0364960f023d78540032a
-EBUILD go-ipfs-bin-0.4.15.ebuild 772 BLAKE2B 764b2f58ddd2c3fea8955a1bc76aa6c5189d4a1f826b71d8b5684755db3815c4ca908c3237fd9bf7ad10b1f083109b6d92204d4818dc165ca22bcaf816a6626b SHA512 1c7ab86d2ee7f6acdcdccb679b5253dd7ee08c965a0777bc735cbbd215cc03a6ad67cf1395688d63d514761518bb0e24112d51e964403a658717e4e31b1313db
+EBUILD go-ipfs-bin-0.4.15-r1.ebuild 1287 BLAKE2B 3666b649191a0a28df535b602c5b72f710c3e4bbbd6d86a87d6a7738f8f6340c5b339734c8f302601621709b1b3a8a140dbe4d8caa1183ec2261d5091f6e8af7 SHA512 e14ef66905312d4492ad994ba3d51d3e133a9545bfd96ccf04e1086298230324f4677e456f968739dc4dd359269a975cc3267c520a7c8d1bfeeae272fdfd3078
+EBUILD go-ipfs-bin-0.4.17.ebuild 1287 BLAKE2B 3666b649191a0a28df535b602c5b72f710c3e4bbbd6d86a87d6a7738f8f6340c5b339734c8f302601621709b1b3a8a140dbe4d8caa1183ec2261d5091f6e8af7 SHA512 e14ef66905312d4492ad994ba3d51d3e133a9545bfd96ccf04e1086298230324f4677e456f968739dc4dd359269a975cc3267c520a7c8d1bfeeae272fdfd3078
MISC metadata.xml 606 BLAKE2B a6db8a5d8f57434206cbe3a8d69a3734381fdc2f13c2dd17596f2dd69fce52deca63717920ef0ff8f861451465f4702f967dbe1790916898000c7eeb858604a3 SHA512 3c0ae2eeeb423edc50a5961f9e9f040b33c0a343e77b47dafc1699eea65708df2365944338da691a637ea79680976dfc91346e6572c42cae94a429c0902c8065
diff --git a/net-p2p/go-ipfs-bin/files/ipfs.confd b/net-p2p/go-ipfs-bin/files/ipfs.confd
new file mode 100644
index 000000000000..f1e8eb77adf5
--- /dev/null
+++ b/net-p2p/go-ipfs-bin/files/ipfs.confd
@@ -0,0 +1 @@
+IPFS_PATH=/var/lib/ipfs/.ipfs
diff --git a/net-p2p/go-ipfs-bin/files/ipfs.init b/net-p2p/go-ipfs-bin/files/ipfs.init
new file mode 100644
index 000000000000..7b38cf43049b
--- /dev/null
+++ b/net-p2p/go-ipfs-bin/files/ipfs.init
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+export IPFS_PATH=${IPFS_PATH:-/var/lib/ipfs/.ipfs}
+
+pidfile="/run/ipfs.pid"
+command="/usr/bin/ipfs"
+command_args="daemon --enable-gc --migrate"
+command_user="ipfs:ipfs"
+start_stop_daemon_args="--wait 1000 -b \
+ -1 /var/log/ipfs/ipfs.log \
+ -2 /var/log/ipfs/ipfs.log"
+
+depend() {
+ need net
+}
diff --git a/net-p2p/go-ipfs-bin/files/ipfs.service b/net-p2p/go-ipfs-bin/files/ipfs.service
new file mode 100644
index 000000000000..189ace2fd762
--- /dev/null
+++ b/net-p2p/go-ipfs-bin/files/ipfs.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=InterPlanetary File System
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/ipfs daemon --enable-gc --migrate
+ExecStop=/usr/bin/ipfs shutdown
+Group=%i
+Restart=always
+Type=simple
+User=%i
+
+[Install]
+WantedBy=multi-user.target
diff --git a/net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.15.ebuild b/net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.15-r1.ebuild
index c810e8c42f96..ac6442670566 100644
--- a/net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.15.ebuild
+++ b/net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.15-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit bash-completion-r1
+inherit bash-completion-r1 systemd user
DESCRIPTION="Main implementation of IPFS"
HOMEPAGE="https://ipfs.io/"
@@ -25,5 +25,23 @@ 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() {
+ enewgroup ipfs
+ enewuser ipfs "" "" /var/lib/ipfs 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.'
}
diff --git a/net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.17.ebuild b/net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.17.ebuild
new file mode 100644
index 000000000000..ac6442670566
--- /dev/null
+++ b/net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.17.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1 systemd user
+
+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"
+
+RDEPEND="sys-fs/fuse"
+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() {
+ enewgroup ipfs
+ enewuser ipfs "" "" /var/lib/ipfs 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.'
+}
diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index 6172f2adfe4f..949a7c6c1530 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -6,6 +6,6 @@ AUX transmission-daemon.service.conf 69 BLAKE2B 6e38a28f54366850ae794896f2954c3a
DIST transmission-2.93.tar.xz 3363868 BLAKE2B 786a8daec548d96b05d90c238cc7b67d402dc0d828860bb1a79b8059c687de309288be17fd12fd51abeafa28d9630fd19be9513c76cbf091f81ce9a181596042 SHA512 7565893f67fc10f1b683814fa4d365d841ec833bc8dfdab731432fe68f1a38daeb4c9100653763f16bfb4336fba11c9b0b9730a9817e17a140704a7c4aa5c087
DIST transmission-2.94.tar.xz 3365952 BLAKE2B d0215a2c595dd3ebb2ed5c94cc3d380c78f62b98388557620534b88b9e2304bb6ac91960395541267f82d70800c4860d0e58125bca33dd158da992d19b4c0def SHA512 ee411743940f2897aa0bbc351ce79f11d860075d2e9e399d60301eae8cfc453e20426ef553fc62ee43019a07c052d512f5d7972cc4411fb57b1312c2c1558da7
EBUILD transmission-2.93.ebuild 4375 BLAKE2B dd60b643985afdb20cb782f229011535b1c6dd98554e1b28b32dc805ca6b4ffd25485d10ca3dcd0eaa7b0a498d40edbd5c5533965def675e3c7b93193a38acb6 SHA512 5afb734ad2ee190605e6d7204b59afd556cbfd50e3a8c5308d916f2d40fbaf81301c53f5e664ffc0db7bf701d37bb6e01d9b73027de527f1fe036b0638926e91
-EBUILD transmission-2.94.ebuild 4328 BLAKE2B fbd16023e8c77e0269e9840527b515476b23206220d0615e517dcb6893d90d8e99804c7f9f0e1b40bc7b0ffbaf720b64753c94061810e5936fa0ebd20ea22100 SHA512 3fa58bae899c3729fe5b4aa80d0bcd6dae2e5cd802e271831b8302563905348ed7f1bbad1dede63a8fe61de387212ac4edca752a30c8c796094c80646bf524e6
+EBUILD transmission-2.94.ebuild 4327 BLAKE2B e8c81c7d4d55e0bfd0ff3f33d2996829684cedcbe91e9c04587f135b5075a9102608d3489cc6780aa81fe585b57c5dafba8687af7b8d9806b244a0d0efa412a3 SHA512 443e6d83af1bfcef2c9b382efaba710c408a0a2c4c79a89dc08b3232178d3a6efb39b3bc0318c2d81e59c795d3c69cbfe367c3fa05ac13ab928020339c7d90f0
EBUILD transmission-9999.ebuild 3726 BLAKE2B ed8e5e8ddc738eddfbcd5d562f31f8ff62a7833fcbfac05ef8a9b0c157ec579eb8ad8ec471527371221f14dd00094ec4f5f429a831154a5d2cbc80425c4f2a64 SHA512 af09f34bd910244bea541f350fc8df64229cf1df57332a80d6b109190630b37ccebf835a85aff6f3803d12c00d25dee24ecee93bedd02d6f9a54a118c0fea4cf
MISC metadata.xml 602 BLAKE2B 05300c81bd2c4df76aaaf8381a788016777e259075aa6a3bf9da239b4832dac1281f718f0fd79ece7d5c238440e07d1aabe15b7da40f34674ac30bbd356d0c6b SHA512 0047a936eda032a4521707ea50dcde06dce3837993e70d43a5b033183ba58633ae46e2d2e56de98a56f3480b30e596c7fbae82fd1e2ee9cbebc7983d9551617d
diff --git a/net-p2p/transmission/transmission-2.94.ebuild b/net-p2p/transmission/transmission-2.94.ebuild
index 7577d88b5daf..246560fb9ad7 100644
--- a/net-p2p/transmission/transmission-2.94.ebuild
+++ b/net-p2p/transmission/transmission-2.94.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.t
LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
SLOT=0
IUSE="ayatana gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~mips ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
RDEPEND=">=dev-libs/libevent-2.0.10:=
!libressl? ( dev-libs/openssl:0= )