summaryrefslogtreecommitdiff
path: root/net-im/signal-cli-bin
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/signal-cli-bin')
-rw-r--r--net-im/signal-cli-bin/Manifest6
-rw-r--r--net-im/signal-cli-bin/metadata.xml3
-rw-r--r--net-im/signal-cli-bin/signal-cli-bin-0.11.5.1.ebuild54
3 files changed, 62 insertions, 1 deletions
diff --git a/net-im/signal-cli-bin/Manifest b/net-im/signal-cli-bin/Manifest
index f054d30dd01d..a822c676bfa5 100644
--- a/net-im/signal-cli-bin/Manifest
+++ b/net-im/signal-cli-bin/Manifest
@@ -2,5 +2,9 @@ AUX signal-cli-bin-0.11.3-use-working-java-version.patch 981 BLAKE2B 73aadb2cb82
DIST signal-cli-bin-0.11.3.README.md 5826 BLAKE2B 332d4bff484c470b2e02df28a8666958d72fd2d7a6ee97ae6df8eaadd082bf348ba54a2e1f223a70038eb7521626d3e1dddfb65e049b82769c2d8b5a031b5c89 SHA512 cd3da3ffe8e57c51dd03bbd16f73f3e61a415585e59bc686d13fbb8628ed8e74503ef7e2abd1734a6d5d03db051ee357628724d1906274726c4c3d27dd9fc47a
DIST signal-cli-bin-0.11.3.signal-cli.1.adoc 21488 BLAKE2B 1ce485a6e49335bf723ffdac83658c0805fdc001cd4e722a50704e5ae34c1123af69519d72b38abb6da237bfd7dcf272f7891ecb5a3ff798a98d2e03daae8ff7 SHA512 2880a89959d18db0204d2505bd15d853cce0991f48ccf6a417c002f2b32d123f3008a994677132a72411125554125dd7a3a559a461d5bfb97122b6e63408ac14
DIST signal-cli-bin-0.11.3.tar.gz 38793761 BLAKE2B 23f879b41125538430f633958c4e9929b50f96a2152a72bbf4ba91dc6c653c8a014ba00a1fcf3327cb88e661d494cc3dcd88c30373de232bb36835936d24541a SHA512 5834fa15ec93738b98db6f11bf8ee04d7f1b4a3bcd594b9c943a2669e9b8ac1dc28c4b0c328caa1cb740de8add1b61e7e4e9d5155a3c1b747877333a28342bf5
+DIST signal-cli-bin-0.11.5.1.README.md 5825 BLAKE2B f365bffd62c2b07bded1f94cd522131f5ab7fabbf904ca0d676d5990588bd82bb41eec87a469728742da499666459e06b428e0e3e0fc7259b635dd46d6f40948 SHA512 2c575c6670add7a5a700ba4d370862b4bdb2ebeed39a30bbc6526c08d4fa97c29cc673c06c35761955bbc6fd16be55c0031eb4244af7e1bb6d085ab00b22e985
+DIST signal-cli-bin-0.11.5.1.signal-cli.1.adoc 22747 BLAKE2B 30ba81b6f3df7b404d2612362eb434bdab668abf2f93a7fddc730f1b815376ca7b3e96344e68d7b3c8e7ca210924fecebd97e6e8f885d31540c372a8f2c3c7fb SHA512 c0b889c181e1894e009bbcaf908fc28d9d957ee5d6d3a9cdd0d33121b4714a5bc6d45ec88e6e3b03cc3bd3906eb9f940daa03b5c066d749ec79941f8a420bbd1
+DIST signal-cli-bin-0.11.5.1.tar.gz 38945062 BLAKE2B c03cbb96236e2dc6c1f87f1afec0d96f753c2231735501f49299efc52ff50e8041db9d01fb5d541f791f16796b9322041d099feaaca55a19a04037f5aea3510f SHA512 297a8955465e5ee6f5277d2c8ac08467a10c7a7a4638497b82b7d24e6331ce1acade974877e8dad06fa9ca7f46a7bf815a4368b4c78887db735911b03bbd2408
EBUILD signal-cli-bin-0.11.3.ebuild 1331 BLAKE2B 344933c950d00c149bfd28930f50a980f3af1f9594f6be1043f3bd8607a425748cb4af09a7b26f3106a5b58d30ef5e4cdba0bb0f06fe78eaf8a15935316f318b SHA512 592e4dc0447c4bb27c60ed9ecb0fe83a3dc4cf6be9838b41a2142747b6bc821aec191b2387095d6eeb36a8a0c81a2bb400ba76d18730bb94ac926e2d0e729e1e
-MISC metadata.xml 398 BLAKE2B 445ffd891e67241252fcac645e4506315a23501976a36522f4bc9065b712e5b519f78bc523707014ab71dfccc796248094cc51edc43a0ecf9a1a3957a31d07c1 SHA512 a6364c26016b8fdcb0388f839fd1c04c83c0f83eff1661df75173eb81b426b6df9e3bb7ed1f44cce89010e8a94fbf12323d39a6534c4ae5105d7aa0a4883b0e3
+EBUILD signal-cli-bin-0.11.5.1.ebuild 1339 BLAKE2B 7af78311445de8fcd09a73ffa6e067815eb560621a7ad1ebbf84440c59af3753382b82c3e68b6906d28701ec00dde0f48dff460f425e896d6ad00512f7d4482f SHA512 952c749bbb6ce2c1a6969b3eace722b4afd4bd19ba1320cd482f3471f61559ed1b3d61e2ca7b75d765e32b4ddb04d0ff0bba224a3526418c004b948b5df9f9da
+MISC metadata.xml 479 BLAKE2B e1dc0c399387c8198168cda4d593dfd1a18ba9d9a610a6ecb001d3d4d26eeb2d11a3ab90460ce6561f477a1555c4c6980b95fb31dd283fce3a7d3119e24e1e93 SHA512 66e8e48c3f7ebad75865a0fcbcd3ae6a065978cadadc2454aea16bc625529d3126aef93767fbb75924c9c50be08d0eff62ca0b8ce0cc5ac005b49ebe5c70adf7
diff --git a/net-im/signal-cli-bin/metadata.xml b/net-im/signal-cli-bin/metadata.xml
index f16c98dc3065..f5f6cad1d122 100644
--- a/net-im/signal-cli-bin/metadata.xml
+++ b/net-im/signal-cli-bin/metadata.xml
@@ -9,4 +9,7 @@
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">AsamK/signal-cli</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/net-im/signal-cli-bin/signal-cli-bin-0.11.5.1.ebuild b/net-im/signal-cli-bin/signal-cli-bin-0.11.5.1.ebuild
new file mode 100644
index 000000000000..dc6a8d1a157e
--- /dev/null
+++ b/net-im/signal-cli-bin/signal-cli-bin-0.11.5.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="signal-cli-${PV}"
+DESCRIPTION="Send and receive messages of Signal Messenger over a command line interface"
+HOMEPAGE="https://github.com/AsamK/signal-cli/wiki"
+SRC_URI="
+ https://github.com/AsamK/signal-cli/releases/download/v${PV}/${MY_P}-Linux.tar.gz -> ${P}.tar.gz
+ https://github.com/AsamK/signal-cli/raw/v${PV}/README.md -> ${P}.README.md
+ https://github.com/AsamK/signal-cli/raw/v${PV}/man/signal-cli.1.adoc -> ${P}.signal-cli.1.adoc
+"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ || ( virtual/jdk:17 virtual/jre:17 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ app-text/asciidoc
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.11.3-use-working-java-version.patch"
+)
+
+src_unpack() {
+ default
+ cp "${DISTDIR}/${P}.signal-cli.1.adoc" signal-cli.1.adoc || die
+}
+
+src_compile() {
+ default
+ a2x --no-xmllint --doctype manpage --format manpage "${WORKDIR}/signal-cli.1.adoc" || die
+}
+
+src_install() {
+ insinto /usr
+ doins -r lib
+ dobin bin/signal-cli
+ newdoc "${DISTDIR}/${P}.README.md" README.md
+ doman "${WORKDIR}/signal-cli.1"
+}
+
+pkg_postinst() {
+ elog "Please read /usr/share/doc/${PF}/README.md.bz2"
+ elog "how to register signal-cli with the signal service and how to send"
+ elog "and receive messages"
+}