summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dummer <martin.dummer@gmx.net>2022-10-15 13:47:36 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-10-15 13:52:39 +0300
commit54f31ba0cffa4166280cd40c710dd13883953b4b (patch)
tree98f2e3c4fb057ef973ec7d141053878313b98307 /net-im/signal-cli-bin
parentsys-kernel/gentoo-sources: add 6.0.2 (diff)
downloadgentoo-54f31ba0cffa4166280cd40c710dd13883953b4b.tar.gz
gentoo-54f31ba0cffa4166280cd40c710dd13883953b4b.tar.bz2
gentoo-54f31ba0cffa4166280cd40c710dd13883953b4b.zip
net-im/signal-cli-bin: add 0.11.3
Closes: https://bugs.gentoo.org/877177 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im/signal-cli-bin')
-rw-r--r--net-im/signal-cli-bin/Manifest3
-rw-r--r--net-im/signal-cli-bin/files/signal-cli-bin-0.11.3-use-working-java-version.patch (renamed from net-im/signal-cli-bin/files/signal-cli-bin-0.10.6-use-working-java-version.patch)0
-rw-r--r--net-im/signal-cli-bin/signal-cli-bin-0.11.3.ebuild54
3 files changed, 57 insertions, 0 deletions
diff --git a/net-im/signal-cli-bin/Manifest b/net-im/signal-cli-bin/Manifest
index 570dbe52032d..4cbc342d2f76 100644
--- a/net-im/signal-cli-bin/Manifest
+++ b/net-im/signal-cli-bin/Manifest
@@ -1,6 +1,9 @@
DIST signal-cli-bin-0.10.6.README.md 5916 BLAKE2B e7fc8646b1bcafe5145fec9d14450dcc235380d8f1e776f30432b3235a2ed87043a55ba4da48c058f83b04750e0e1dcd97ee5e50ce079e7bb906f04f9e77fb38 SHA512 a7347ea5134982fa76442702b9d7892b1bbdbf5f36b1823461e14c320cf38cdf3f2379178c7864ef21285f8f3a0c26d4e2fb9ea9546b2fb4d1271d552bf7c37e
DIST signal-cli-bin-0.10.6.signal-cli.1.adoc 19971 BLAKE2B 1642c6e463d0c536abfba4fa2e5c91f5fbb7c9d9817684924be82a43c7fbca7b92f07718507582721c63c32d1844c5c016f02dfb7b03b8ae7494f090ffdb7d00 SHA512 361098a70d3ee7f114a8f0f95794c24380363f782b4778d70a1cb2cc8bfee107e9b0f88c4cdd236f51960a14bcf18d60cb9920d4abac09fe58c0df9f5d4a5551
DIST signal-cli-bin-0.10.6.tar.gz 34191841 BLAKE2B 3a0d4ae9c938aaadb59803550d56d4ae17cb8c0d3ea1f2874654207423679ca42ab42d1aa7894b897794298f94b2f57eac84120b7fbf7a0e4d6e0153a9565681 SHA512 4a7d5381bbcdde516d25e6a580854213ba5b144aa942d3cdea48b3e587d9db9e448c1bcf8c91a7632157747d00c5da4a4dbf1c366ae5a332f922c6d9a6ad33d1
+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.8.5.README.md 5626 BLAKE2B e8a70135622a7eeaa9b4c965f75f001e641745c60a10d61ab96a014194034a1daf2ec077cb7798bf32c5f9218af6103dc9de7bbb2811b9a4aa162f55697f2232 SHA512 feed6673b56c4ac812d5038157f08bef36b48725211ad06a146a0f349c20213527eec814a5e940aacc0de0fdf7d74931fcd12a0d764df82340025a71a7f22a35
DIST signal-cli-bin-0.8.5.signal-cli.1.adoc 15222 BLAKE2B d5075011c82bb79f2de7f7b2f2cbf060428281b0f1d054e1cba09632e6e2b7dd472e8dfa3f0d7863acd9d8e93cfa51af1e241153baeb4d5f2e0e8698a158e6a1 SHA512 cd076fde6cdeca70734bb385d7dbf574fa859da9b2ba01c5dfbd8fde0f3457c400be41d790cd7cdc05932731693f4114e4708b7d42e405bf8dd6f982309c0ca2
DIST signal-cli-bin-0.8.5.tar.gz 17563403 BLAKE2B d400285d513c893475c74cbbfa7cb01391545d88e5e1504d9a5175428b31e7308cfc1c9526dc8cef4aab9a75e916a1b596f7939eeeaf5544ffb351c7dfcb3b59 SHA512 1d1931a568d9f95e020ee21dbf2d594b0d43d59e4621a7ef1ff21ab2e3cd4ea00da363bd5d86e12745015c643e4ebde4f58bec4a51be807e401ebb127430fa70
diff --git a/net-im/signal-cli-bin/files/signal-cli-bin-0.10.6-use-working-java-version.patch b/net-im/signal-cli-bin/files/signal-cli-bin-0.11.3-use-working-java-version.patch
index 02b77bc54dd4..02b77bc54dd4 100644
--- a/net-im/signal-cli-bin/files/signal-cli-bin-0.10.6-use-working-java-version.patch
+++ b/net-im/signal-cli-bin/files/signal-cli-bin-0.11.3-use-working-java-version.patch
diff --git a/net-im/signal-cli-bin/signal-cli-bin-0.11.3.ebuild b/net-im/signal-cli-bin/signal-cli-bin-0.11.3.ebuild
new file mode 100644
index 000000000000..29710caad87a
--- /dev/null
+++ b/net-im/signal-cli-bin/signal-cli-bin-0.11.3.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}/${P}-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"
+}