* [gentoo-commits] repo/gentoo:master commit in: net-im/signal-cli-bin/, net-im/signal-cli-bin/files/
@ 2021-02-11 7:35 Joonas Niilola
0 siblings, 0 replies; 5+ messages in thread
From: Joonas Niilola @ 2021-02-11 7:35 UTC (permalink / raw
To: gentoo-commits
commit: d04b0bbd54757bc17ae227c5975d2ed36c84e9a8
Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Sat Dec 19 01:13:45 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Feb 11 07:30:22 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d04b0bbd
net-im/signal-cli-bin: New package
Allows you to send and receive messages of Signal Messenger over command
line, ideal for sending messages and alerts from a server to the admin.
Closes: https://bugs.gentoo.org/760681
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/18719
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-im/signal-cli-bin/Manifest | 3 ++
...al-cli-bin-0.7.4-use-working-java-version.patch | 31 +++++++++++
net-im/signal-cli-bin/metadata.xml | 12 +++++
net-im/signal-cli-bin/signal-cli-bin-0.7.4.ebuild | 61 ++++++++++++++++++++++
4 files changed, 107 insertions(+)
diff --git a/net-im/signal-cli-bin/Manifest b/net-im/signal-cli-bin/Manifest
new file mode 100644
index 00000000000..30d040b7927
--- /dev/null
+++ b/net-im/signal-cli-bin/Manifest
@@ -0,0 +1,3 @@
+DIST signal-cli-bin-0.7.4.README.md 4403 BLAKE2B 77b75170e18b302d8808a73297221d524b69ccd4fb66456086c7a9288ec2e023ed78de5baadd154c9ff508ba91c58abcdfa327931f559243d1b6f3efe99426c3 SHA512 7530e4a36ddc9d77e0cb7c8cec23aaaf3b7b7d1488ef86f675d7fb8b3debae1314d49ca23e1a68ff78ecfc58d9e00b28ff09f378fc7e9bc4bfc9e0ef883aa13f
+DIST signal-cli-bin-0.7.4.signal-cli.1.adoc 12817 BLAKE2B aad7e2870d4a65de0218e2af3b806fa2cf39a519a216b002d3710ac967f5019a841fb41af7bc5dd1498d131cd18b09ec0142de4702c8fc530b40a7475c5dfc85 SHA512 4891b3579cc27cb1f478cdd3ad29b59d13dddba608dbac844b3eec7e343f8022741956f78bbb9ef6f27f95d09457ef98976a9799339ce1f39976471260e843e2
+DIST signal-cli-bin-0.7.4.tar.gz 16408829 BLAKE2B 169e9e7b5eafb8308c248d976326fbd11f3044f2a73d32af8c62d5f6fd88929ac90ab331a188cf8376818102e59b5d0a11457494f3fca07ba830b5288aaa41cd SHA512 b7e2f1da17c2ebcb1174739cf9c287dd335fa70c1c9417137a07bcaf16cdd121cccfdd9ba345130bccdfe877e16d6dba9bf3ef1cb12d301fd3f674617233fcd5
diff --git a/net-im/signal-cli-bin/files/signal-cli-bin-0.7.4-use-working-java-version.patch b/net-im/signal-cli-bin/files/signal-cli-bin-0.7.4-use-working-java-version.patch
new file mode 100644
index 00000000000..4aa458fd744
--- /dev/null
+++ b/net-im/signal-cli-bin/files/signal-cli-bin-0.7.4-use-working-java-version.patch
@@ -0,0 +1,31 @@
+diff -Naur a/bin/signal-cli b/bin/signal-cli
+--- a/bin/signal-cli 2020-10-14 18:39:40.000000000 +0200
++++ b/bin/signal-cli 2020-11-04 09:20:25.397469784 +0100
+@@ -84,13 +84,20 @@
+
+
+ # Determine the Java command to use to start the JVM.
+-if [ -n "$JAVA_HOME" ] ; then
+- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+- # IBM's JDK on AIX uses strange locations for the executables
+- JAVACMD="$JAVA_HOME/jre/sh/java"
+- else
+- JAVACMD="$JAVA_HOME/bin/java"
+- fi
++# This package needs Java 11, but Java 11 is currently not part of the gentoo eselect config system
++# so we must search for matching java binaries
++JAVA_DIRS="$JAVA_HOME /opt/openjdk-jre-bin-11 /opt/openjdk-bin-11"
++for I in $JAVA_DIRS ; do
++ J_TRY="$I/bin/java"
++ if [ -x "$J_TRY" ] ; then
++ "$J_TRY" -version 2>&1 | grep --fixed-strings --quiet "11."
++ if [ $? -eq 0 ] ; then
++ JAVACMD="$J_TRY"
++ break
++ fi
++ fi
++done
++if [ -n "$JAVACMD" ] ; then
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
diff --git a/net-im/signal-cli-bin/metadata.xml b/net-im/signal-cli-bin/metadata.xml
new file mode 100644
index 00000000000..1b610f626eb
--- /dev/null
+++ b/net-im/signal-cli-bin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>martin.dummer@gmx.net</email>
+ <name>Martin Dummer</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-im/signal-cli-bin/signal-cli-bin-0.7.4.ebuild b/net-im/signal-cli-bin/signal-cli-bin-0.7.4.ebuild
new file mode 100644
index 00000000000..e49d162dba0
--- /dev/null
+++ b/net-im/signal-cli-bin/signal-cli-bin-0.7.4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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}.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"
+
+# signal-cli-bin depends on Java 11
+#
+# virtual/jre:11 exists but it's masked with this message:
+# Java 11 is not yet fully supported on Gentoo. Packages cannot depend
+# on it so these virtuals are not yet required. If you wish to use
+# Java 11 then install openjdk-(jdk|jre)-bin directly.
+
+DEPEND="
+ || ( dev-java/openjdk-jre-bin:11 dev-java/openjdk:11 dev-java/openjdk-bin:11 )
+"
+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"
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-im/signal-cli-bin/, net-im/signal-cli-bin/files/
@ 2021-02-24 8:31 Joonas Niilola
0 siblings, 0 replies; 5+ messages in thread
From: Joonas Niilola @ 2021-02-24 8:31 UTC (permalink / raw
To: gentoo-commits
commit: d98694c6b7fff63ab51e0f4081f6ce06220407e4
Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Mon Feb 22 22:34:12 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Feb 24 08:30:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d98694c6
net-im/signal-cli-bin: version bump to 0.8.0
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/19605
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-im/signal-cli-bin/Manifest | 3 ++
...al-cli-bin-0.8.0-use-working-java-version.patch | 33 ++++++++++++
net-im/signal-cli-bin/signal-cli-bin-0.8.0.ebuild | 61 ++++++++++++++++++++++
3 files changed, 97 insertions(+)
diff --git a/net-im/signal-cli-bin/Manifest b/net-im/signal-cli-bin/Manifest
index 30d040b7927..6a062e2ff0d 100644
--- a/net-im/signal-cli-bin/Manifest
+++ b/net-im/signal-cli-bin/Manifest
@@ -1,3 +1,6 @@
DIST signal-cli-bin-0.7.4.README.md 4403 BLAKE2B 77b75170e18b302d8808a73297221d524b69ccd4fb66456086c7a9288ec2e023ed78de5baadd154c9ff508ba91c58abcdfa327931f559243d1b6f3efe99426c3 SHA512 7530e4a36ddc9d77e0cb7c8cec23aaaf3b7b7d1488ef86f675d7fb8b3debae1314d49ca23e1a68ff78ecfc58d9e00b28ff09f378fc7e9bc4bfc9e0ef883aa13f
DIST signal-cli-bin-0.7.4.signal-cli.1.adoc 12817 BLAKE2B aad7e2870d4a65de0218e2af3b806fa2cf39a519a216b002d3710ac967f5019a841fb41af7bc5dd1498d131cd18b09ec0142de4702c8fc530b40a7475c5dfc85 SHA512 4891b3579cc27cb1f478cdd3ad29b59d13dddba608dbac844b3eec7e343f8022741956f78bbb9ef6f27f95d09457ef98976a9799339ce1f39976471260e843e2
DIST signal-cli-bin-0.7.4.tar.gz 16408829 BLAKE2B 169e9e7b5eafb8308c248d976326fbd11f3044f2a73d32af8c62d5f6fd88929ac90ab331a188cf8376818102e59b5d0a11457494f3fca07ba830b5288aaa41cd SHA512 b7e2f1da17c2ebcb1174739cf9c287dd335fa70c1c9417137a07bcaf16cdd121cccfdd9ba345130bccdfe877e16d6dba9bf3ef1cb12d301fd3f674617233fcd5
+DIST signal-cli-bin-0.8.0.README.md 5216 BLAKE2B 18c481074db03bbe3895389f81bc76c2dba63cf728d7595567c2b19a35b5254009b83c1fd3e05be23d4d63990603f01a8270d59afd8397b8135d85f9102d2a6b SHA512 bd8bf9d329c6ec6b844b0a87e0b728352a615beca0e1c64161057911a76dfd942372a7e9b92e193b374e3773eae20331d19e33190547fd6072f79ae4afee9370
+DIST signal-cli-bin-0.8.0.signal-cli.1.adoc 12817 BLAKE2B aad7e2870d4a65de0218e2af3b806fa2cf39a519a216b002d3710ac967f5019a841fb41af7bc5dd1498d131cd18b09ec0142de4702c8fc530b40a7475c5dfc85 SHA512 4891b3579cc27cb1f478cdd3ad29b59d13dddba608dbac844b3eec7e343f8022741956f78bbb9ef6f27f95d09457ef98976a9799339ce1f39976471260e843e2
+DIST signal-cli-bin-0.8.0.tar.gz 16852501 BLAKE2B 2792935fa20bf6d31638157febfd771a254c2e962342236891cc0e8bc60a872af0f400852bd4b2cfc449a81e81dbdd34c19437a78df86d07a3648b748086fa85 SHA512 60029ff8b0013667743eb14340cb1367b527ebf2ba74a54fc2d1f70a21721fdb826c9af63a80d26f0dc951670172df7346a9bbea61a9e865e5625df10187c965
diff --git a/net-im/signal-cli-bin/files/signal-cli-bin-0.8.0-use-working-java-version.patch b/net-im/signal-cli-bin/files/signal-cli-bin-0.8.0-use-working-java-version.patch
new file mode 100644
index 00000000000..5d9bd290996
--- /dev/null
+++ b/net-im/signal-cli-bin/files/signal-cli-bin-0.8.0-use-working-java-version.patch
@@ -0,0 +1,33 @@
+Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
+
+diff -Naur a/bin/signal-cli b/bin/signal-cli
+--- a/bin/signal-cli
++++ b/bin/signal-cli
+@@ -84,13 +84,20 @@
+
+
+ # Determine the Java command to use to start the JVM.
+-if [ -n "$JAVA_HOME" ] ; then
+- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+- # IBM's JDK on AIX uses strange locations for the executables
+- JAVACMD="$JAVA_HOME/jre/sh/java"
+- else
+- JAVACMD="$JAVA_HOME/bin/java"
+- fi
++# This package needs Java 11, but Java 11 is currently not part of the gentoo eselect config system
++# so we must search for matching java binaries
++JAVA_DIRS="$JAVA_HOME /opt/openjdk-jre-bin-11 /opt/openjdk-bin-11"
++for I in $JAVA_DIRS ; do
++ J_TRY="$I/bin/java"
++ if [ -x "$J_TRY" ] ; then
++ "$J_TRY" -version 2>&1 | grep --fixed-strings --quiet "11."
++ if [ $? -eq 0 ] ; then
++ JAVACMD="$J_TRY"
++ break
++ fi
++ fi
++done
++if [ -n "$JAVACMD" ] ; then
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
diff --git a/net-im/signal-cli-bin/signal-cli-bin-0.8.0.ebuild b/net-im/signal-cli-bin/signal-cli-bin-0.8.0.ebuild
new file mode 100644
index 00000000000..39268d6e891
--- /dev/null
+++ b/net-im/signal-cli-bin/signal-cli-bin-0.8.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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}.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"
+
+# signal-cli-bin depends on Java 11
+#
+# virtual/jre:11 exists but it's masked with this message:
+# Java 11 is not yet fully supported on Gentoo. Packages cannot depend
+# on it so these virtuals are not yet required. If you wish to use
+# Java 11 then install openjdk-(jdk|jre)-bin directly.
+
+DEPEND="
+ || ( dev-java/openjdk-jre-bin:11 dev-java/openjdk:11 dev-java/openjdk-bin:11 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ app-text/asciidoc
+"
+
+PATCHES=(
+ "${FILESDIR}/signal-cli-bin-${PV}-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"
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-im/signal-cli-bin/, net-im/signal-cli-bin/files/
@ 2021-08-16 6:58 Joonas Niilola
0 siblings, 0 replies; 5+ messages in thread
From: Joonas Niilola @ 2021-08-16 6:58 UTC (permalink / raw
To: gentoo-commits
commit: 05304bfc02bfb62b66733ee8df4089ce4285299c
Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Thu Aug 12 10:36:53 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Aug 16 06:58:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05304bfc
net-im/signal-cli-bin: enhance java binary search
Implement a suggestion to search more directories for the java11 binary
see https://github.com/gentoo/gentoo/pull/18719#discussion_r687230129
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
.../files/signal-cli-bin-0.8.1-use-working-java-version.patch | 9 ++++-----
...ignal-cli-bin-0.8.1.ebuild => signal-cli-bin-0.8.1-r1.ebuild} | 2 +-
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/net-im/signal-cli-bin/files/signal-cli-bin-0.8.1-use-working-java-version.patch b/net-im/signal-cli-bin/files/signal-cli-bin-0.8.1-use-working-java-version.patch
index 4a550e410bf..b3974521494 100644
--- a/net-im/signal-cli-bin/files/signal-cli-bin-0.8.1-use-working-java-version.patch
+++ b/net-im/signal-cli-bin/files/signal-cli-bin-0.8.1-use-working-java-version.patch
@@ -1,7 +1,7 @@
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
---- a/bin/signal-cli 2021-03-02 20:56:06.000000000 +0100
-+++ b/bin/signal-cli 2021-05-03 12:05:45.406811750 +0200
-@@ -84,13 +84,20 @@
+--- a/bin/signal-cli
++++ b/bin/signal-cli
+@@ -84,13 +84,19 @@
# Determine the Java command to use to start the JVM.
@@ -14,8 +14,7 @@ Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
- fi
+# This package needs Java 11, but Java 11 is currently not part of the gentoo eselect config system
+# so we must search for matching java binaries
-+JAVA_DIRS="$JAVA_HOME /opt/openjdk-jre-bin-11 /opt/openjdk-bin-11"
-+for I in $JAVA_DIRS ; do
++for I in /usr/lib*/openjdk-11 /opt/openjdk-bin-11 /opt/openjdk-jre-bin-11; do
+ J_TRY="$I/bin/java"
+ if [ -x "$J_TRY" ] ; then
+ "$J_TRY" -version 2>&1 | grep --fixed-strings --quiet "11."
diff --git a/net-im/signal-cli-bin/signal-cli-bin-0.8.1.ebuild b/net-im/signal-cli-bin/signal-cli-bin-0.8.1-r1.ebuild
similarity index 96%
rename from net-im/signal-cli-bin/signal-cli-bin-0.8.1.ebuild
rename to net-im/signal-cli-bin/signal-cli-bin-0.8.1-r1.ebuild
index 39268d6e891..e49d162dba0 100644
--- a/net-im/signal-cli-bin/signal-cli-bin-0.8.1.ebuild
+++ b/net-im/signal-cli-bin/signal-cli-bin-0.8.1-r1.ebuild
@@ -33,7 +33,7 @@ BDEPEND="
"
PATCHES=(
- "${FILESDIR}/signal-cli-bin-${PV}-use-working-java-version.patch"
+ "${FILESDIR}/${P}-use-working-java-version.patch"
)
src_unpack() {
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-im/signal-cli-bin/, net-im/signal-cli-bin/files/
@ 2021-08-16 6:58 Joonas Niilola
0 siblings, 0 replies; 5+ messages in thread
From: Joonas Niilola @ 2021-08-16 6:58 UTC (permalink / raw
To: gentoo-commits
commit: 55358e41a75853971db10f4bb4bdf8b36f88f52e
Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Thu Aug 12 10:38:08 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Aug 16 06:58:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55358e41
net-im/signal-cli-bin: remove old versions
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-im/signal-cli-bin/Manifest | 6 ---
...al-cli-bin-0.7.4-use-working-java-version.patch | 31 -----------
...al-cli-bin-0.8.0-use-working-java-version.patch | 33 ------------
net-im/signal-cli-bin/signal-cli-bin-0.7.4.ebuild | 61 ----------------------
net-im/signal-cli-bin/signal-cli-bin-0.8.0.ebuild | 61 ----------------------
5 files changed, 192 deletions(-)
diff --git a/net-im/signal-cli-bin/Manifest b/net-im/signal-cli-bin/Manifest
index 4681021f940..7a21ab019ca 100644
--- a/net-im/signal-cli-bin/Manifest
+++ b/net-im/signal-cli-bin/Manifest
@@ -1,9 +1,3 @@
-DIST signal-cli-bin-0.7.4.README.md 4403 BLAKE2B 77b75170e18b302d8808a73297221d524b69ccd4fb66456086c7a9288ec2e023ed78de5baadd154c9ff508ba91c58abcdfa327931f559243d1b6f3efe99426c3 SHA512 7530e4a36ddc9d77e0cb7c8cec23aaaf3b7b7d1488ef86f675d7fb8b3debae1314d49ca23e1a68ff78ecfc58d9e00b28ff09f378fc7e9bc4bfc9e0ef883aa13f
-DIST signal-cli-bin-0.7.4.signal-cli.1.adoc 12817 BLAKE2B aad7e2870d4a65de0218e2af3b806fa2cf39a519a216b002d3710ac967f5019a841fb41af7bc5dd1498d131cd18b09ec0142de4702c8fc530b40a7475c5dfc85 SHA512 4891b3579cc27cb1f478cdd3ad29b59d13dddba608dbac844b3eec7e343f8022741956f78bbb9ef6f27f95d09457ef98976a9799339ce1f39976471260e843e2
-DIST signal-cli-bin-0.7.4.tar.gz 16408829 BLAKE2B 169e9e7b5eafb8308c248d976326fbd11f3044f2a73d32af8c62d5f6fd88929ac90ab331a188cf8376818102e59b5d0a11457494f3fca07ba830b5288aaa41cd SHA512 b7e2f1da17c2ebcb1174739cf9c287dd335fa70c1c9417137a07bcaf16cdd121cccfdd9ba345130bccdfe877e16d6dba9bf3ef1cb12d301fd3f674617233fcd5
-DIST signal-cli-bin-0.8.0.README.md 5216 BLAKE2B 18c481074db03bbe3895389f81bc76c2dba63cf728d7595567c2b19a35b5254009b83c1fd3e05be23d4d63990603f01a8270d59afd8397b8135d85f9102d2a6b SHA512 bd8bf9d329c6ec6b844b0a87e0b728352a615beca0e1c64161057911a76dfd942372a7e9b92e193b374e3773eae20331d19e33190547fd6072f79ae4afee9370
-DIST signal-cli-bin-0.8.0.signal-cli.1.adoc 12817 BLAKE2B aad7e2870d4a65de0218e2af3b806fa2cf39a519a216b002d3710ac967f5019a841fb41af7bc5dd1498d131cd18b09ec0142de4702c8fc530b40a7475c5dfc85 SHA512 4891b3579cc27cb1f478cdd3ad29b59d13dddba608dbac844b3eec7e343f8022741956f78bbb9ef6f27f95d09457ef98976a9799339ce1f39976471260e843e2
-DIST signal-cli-bin-0.8.0.tar.gz 16852501 BLAKE2B 2792935fa20bf6d31638157febfd771a254c2e962342236891cc0e8bc60a872af0f400852bd4b2cfc449a81e81dbdd34c19437a78df86d07a3648b748086fa85 SHA512 60029ff8b0013667743eb14340cb1367b527ebf2ba74a54fc2d1f70a21721fdb826c9af63a80d26f0dc951670172df7346a9bbea61a9e865e5625df10187c965
DIST signal-cli-bin-0.8.1.README.md 5216 BLAKE2B 18c481074db03bbe3895389f81bc76c2dba63cf728d7595567c2b19a35b5254009b83c1fd3e05be23d4d63990603f01a8270d59afd8397b8135d85f9102d2a6b SHA512 bd8bf9d329c6ec6b844b0a87e0b728352a615beca0e1c64161057911a76dfd942372a7e9b92e193b374e3773eae20331d19e33190547fd6072f79ae4afee9370
DIST signal-cli-bin-0.8.1.signal-cli.1.adoc 12817 BLAKE2B aad7e2870d4a65de0218e2af3b806fa2cf39a519a216b002d3710ac967f5019a841fb41af7bc5dd1498d131cd18b09ec0142de4702c8fc530b40a7475c5dfc85 SHA512 4891b3579cc27cb1f478cdd3ad29b59d13dddba608dbac844b3eec7e343f8022741956f78bbb9ef6f27f95d09457ef98976a9799339ce1f39976471260e843e2
DIST signal-cli-bin-0.8.1.tar.gz 16870784 BLAKE2B e08f740fef6da4e7b1e4751e5cc83130a260f637f6f8a56e54dc8f91f417df9f037b7ab2e5e416e89db2e211137091132631755a3af05658eb1f30e3ef20f4f7 SHA512 3507c14730ab4a77ebb8f403d0ab13f3e42e8e91aa94c6dfc066fe494f0acb2a92aed562c55a13a5b88c69addca96c5f2aacbe731e913bf39d33f2eae0e6d9f4
diff --git a/net-im/signal-cli-bin/files/signal-cli-bin-0.7.4-use-working-java-version.patch b/net-im/signal-cli-bin/files/signal-cli-bin-0.7.4-use-working-java-version.patch
deleted file mode 100644
index 4aa458fd744..00000000000
--- a/net-im/signal-cli-bin/files/signal-cli-bin-0.7.4-use-working-java-version.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -Naur a/bin/signal-cli b/bin/signal-cli
---- a/bin/signal-cli 2020-10-14 18:39:40.000000000 +0200
-+++ b/bin/signal-cli 2020-11-04 09:20:25.397469784 +0100
-@@ -84,13 +84,20 @@
-
-
- # Determine the Java command to use to start the JVM.
--if [ -n "$JAVA_HOME" ] ; then
-- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
-- # IBM's JDK on AIX uses strange locations for the executables
-- JAVACMD="$JAVA_HOME/jre/sh/java"
-- else
-- JAVACMD="$JAVA_HOME/bin/java"
-- fi
-+# This package needs Java 11, but Java 11 is currently not part of the gentoo eselect config system
-+# so we must search for matching java binaries
-+JAVA_DIRS="$JAVA_HOME /opt/openjdk-jre-bin-11 /opt/openjdk-bin-11"
-+for I in $JAVA_DIRS ; do
-+ J_TRY="$I/bin/java"
-+ if [ -x "$J_TRY" ] ; then
-+ "$J_TRY" -version 2>&1 | grep --fixed-strings --quiet "11."
-+ if [ $? -eq 0 ] ; then
-+ JAVACMD="$J_TRY"
-+ break
-+ fi
-+ fi
-+done
-+if [ -n "$JAVACMD" ] ; then
- if [ ! -x "$JAVACMD" ] ; then
- die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
-
diff --git a/net-im/signal-cli-bin/files/signal-cli-bin-0.8.0-use-working-java-version.patch b/net-im/signal-cli-bin/files/signal-cli-bin-0.8.0-use-working-java-version.patch
deleted file mode 100644
index 5d9bd290996..00000000000
--- a/net-im/signal-cli-bin/files/signal-cli-bin-0.8.0-use-working-java-version.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
-
-diff -Naur a/bin/signal-cli b/bin/signal-cli
---- a/bin/signal-cli
-+++ b/bin/signal-cli
-@@ -84,13 +84,20 @@
-
-
- # Determine the Java command to use to start the JVM.
--if [ -n "$JAVA_HOME" ] ; then
-- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
-- # IBM's JDK on AIX uses strange locations for the executables
-- JAVACMD="$JAVA_HOME/jre/sh/java"
-- else
-- JAVACMD="$JAVA_HOME/bin/java"
-- fi
-+# This package needs Java 11, but Java 11 is currently not part of the gentoo eselect config system
-+# so we must search for matching java binaries
-+JAVA_DIRS="$JAVA_HOME /opt/openjdk-jre-bin-11 /opt/openjdk-bin-11"
-+for I in $JAVA_DIRS ; do
-+ J_TRY="$I/bin/java"
-+ if [ -x "$J_TRY" ] ; then
-+ "$J_TRY" -version 2>&1 | grep --fixed-strings --quiet "11."
-+ if [ $? -eq 0 ] ; then
-+ JAVACMD="$J_TRY"
-+ break
-+ fi
-+ fi
-+done
-+if [ -n "$JAVACMD" ] ; then
- if [ ! -x "$JAVACMD" ] ; then
- die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
-
diff --git a/net-im/signal-cli-bin/signal-cli-bin-0.7.4.ebuild b/net-im/signal-cli-bin/signal-cli-bin-0.7.4.ebuild
deleted file mode 100644
index e49d162dba0..00000000000
--- a/net-im/signal-cli-bin/signal-cli-bin-0.7.4.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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}.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"
-
-# signal-cli-bin depends on Java 11
-#
-# virtual/jre:11 exists but it's masked with this message:
-# Java 11 is not yet fully supported on Gentoo. Packages cannot depend
-# on it so these virtuals are not yet required. If you wish to use
-# Java 11 then install openjdk-(jdk|jre)-bin directly.
-
-DEPEND="
- || ( dev-java/openjdk-jre-bin:11 dev-java/openjdk:11 dev-java/openjdk-bin:11 )
-"
-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"
-}
diff --git a/net-im/signal-cli-bin/signal-cli-bin-0.8.0.ebuild b/net-im/signal-cli-bin/signal-cli-bin-0.8.0.ebuild
deleted file mode 100644
index 39268d6e891..00000000000
--- a/net-im/signal-cli-bin/signal-cli-bin-0.8.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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}.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"
-
-# signal-cli-bin depends on Java 11
-#
-# virtual/jre:11 exists but it's masked with this message:
-# Java 11 is not yet fully supported on Gentoo. Packages cannot depend
-# on it so these virtuals are not yet required. If you wish to use
-# Java 11 then install openjdk-(jdk|jre)-bin directly.
-
-DEPEND="
- || ( dev-java/openjdk-jre-bin:11 dev-java/openjdk:11 dev-java/openjdk-bin:11 )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- app-text/asciidoc
-"
-
-PATCHES=(
- "${FILESDIR}/signal-cli-bin-${PV}-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"
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-im/signal-cli-bin/, net-im/signal-cli-bin/files/
@ 2021-12-17 13:13 Joonas Niilola
0 siblings, 0 replies; 5+ messages in thread
From: Joonas Niilola @ 2021-12-17 13:13 UTC (permalink / raw
To: gentoo-commits
commit: ccf9cb7f745fe0991f332d987339a707366606d5
Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Wed Dec 8 20:41:20 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Dec 17 13:12:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf9cb7f
net-im/signal-cli-bin: remove old version 0.8.1
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/23228
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-im/signal-cli-bin/Manifest | 3 --
...al-cli-bin-0.8.1-use-working-java-version.patch | 30 -----------
.../signal-cli-bin/signal-cli-bin-0.8.1-r1.ebuild | 61 ----------------------
3 files changed, 94 deletions(-)
diff --git a/net-im/signal-cli-bin/Manifest b/net-im/signal-cli-bin/Manifest
index 09a76831ddde..5080764d631c 100644
--- a/net-im/signal-cli-bin/Manifest
+++ b/net-im/signal-cli-bin/Manifest
@@ -1,6 +1,3 @@
-DIST signal-cli-bin-0.8.1.README.md 5216 BLAKE2B 18c481074db03bbe3895389f81bc76c2dba63cf728d7595567c2b19a35b5254009b83c1fd3e05be23d4d63990603f01a8270d59afd8397b8135d85f9102d2a6b SHA512 bd8bf9d329c6ec6b844b0a87e0b728352a615beca0e1c64161057911a76dfd942372a7e9b92e193b374e3773eae20331d19e33190547fd6072f79ae4afee9370
-DIST signal-cli-bin-0.8.1.signal-cli.1.adoc 12817 BLAKE2B aad7e2870d4a65de0218e2af3b806fa2cf39a519a216b002d3710ac967f5019a841fb41af7bc5dd1498d131cd18b09ec0142de4702c8fc530b40a7475c5dfc85 SHA512 4891b3579cc27cb1f478cdd3ad29b59d13dddba608dbac844b3eec7e343f8022741956f78bbb9ef6f27f95d09457ef98976a9799339ce1f39976471260e843e2
-DIST signal-cli-bin-0.8.1.tar.gz 16870784 BLAKE2B e08f740fef6da4e7b1e4751e5cc83130a260f637f6f8a56e54dc8f91f417df9f037b7ab2e5e416e89db2e211137091132631755a3af05658eb1f30e3ef20f4f7 SHA512 3507c14730ab4a77ebb8f403d0ab13f3e42e8e91aa94c6dfc066fe494f0acb2a92aed562c55a13a5b88c69addca96c5f2aacbe731e913bf39d33f2eae0e6d9f4
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.8.1-use-working-java-version.patch b/net-im/signal-cli-bin/files/signal-cli-bin-0.8.1-use-working-java-version.patch
deleted file mode 100644
index b39745214944..000000000000
--- a/net-im/signal-cli-bin/files/signal-cli-bin-0.8.1-use-working-java-version.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
---- a/bin/signal-cli
-+++ b/bin/signal-cli
-@@ -84,13 +84,19 @@
-
-
- # Determine the Java command to use to start the JVM.
--if [ -n "$JAVA_HOME" ] ; then
-- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
-- # IBM's JDK on AIX uses strange locations for the executables
-- JAVACMD="$JAVA_HOME/jre/sh/java"
-- else
-- JAVACMD="$JAVA_HOME/bin/java"
-- fi
-+# This package needs Java 11, but Java 11 is currently not part of the gentoo eselect config system
-+# so we must search for matching java binaries
-+for I in /usr/lib*/openjdk-11 /opt/openjdk-bin-11 /opt/openjdk-jre-bin-11; do
-+ J_TRY="$I/bin/java"
-+ if [ -x "$J_TRY" ] ; then
-+ "$J_TRY" -version 2>&1 | grep --fixed-strings --quiet "11."
-+ if [ $? -eq 0 ] ; then
-+ JAVACMD="$J_TRY"
-+ break
-+ fi
-+ fi
-+done
-+if [ -n "$JAVACMD" ] ; then
- if [ ! -x "$JAVACMD" ] ; then
- die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
-
diff --git a/net-im/signal-cli-bin/signal-cli-bin-0.8.1-r1.ebuild b/net-im/signal-cli-bin/signal-cli-bin-0.8.1-r1.ebuild
deleted file mode 100644
index e49d162dba04..000000000000
--- a/net-im/signal-cli-bin/signal-cli-bin-0.8.1-r1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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}.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"
-
-# signal-cli-bin depends on Java 11
-#
-# virtual/jre:11 exists but it's masked with this message:
-# Java 11 is not yet fully supported on Gentoo. Packages cannot depend
-# on it so these virtuals are not yet required. If you wish to use
-# Java 11 then install openjdk-(jdk|jre)-bin directly.
-
-DEPEND="
- || ( dev-java/openjdk-jre-bin:11 dev-java/openjdk:11 dev-java/openjdk-bin:11 )
-"
-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"
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-12-17 13:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-16 6:58 [gentoo-commits] repo/gentoo:master commit in: net-im/signal-cli-bin/, net-im/signal-cli-bin/files/ Joonas Niilola
-- strict thread matches above, loose matches on Subject: below --
2021-12-17 13:13 Joonas Niilola
2021-08-16 6:58 Joonas Niilola
2021-02-24 8:31 Joonas Niilola
2021-02-11 7:35 Joonas Niilola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox