summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-10-17 01:45:36 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-10-17 02:12:40 +0200
commit8ca7b5180c28e9d3d870a135532454305dce9266 (patch)
tree2e0d2eb3e4c4373bad481d137c9a922d1b7f8458 /dev-scheme
parentdev-scheme/guile-lzlib: new package; add 0.0.2 (diff)
downloadgentoo-8ca7b5180c28e9d3d870a135532454305dce9266.tar.gz
gentoo-8ca7b5180c28e9d3d870a135532454305dce9266.tar.bz2
gentoo-8ca7b5180c28e9d3d870a135532454305dce9266.zip
dev-scheme/guile-ssh: new package; add 0.16.0
Bug: https://github.com/trofi/nix-guix-gentoo/issues/24 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/guile-ssh/Manifest1
-rw-r--r--dev-scheme/guile-ssh/files/guile-ssh-0.16.0-tests.patch19
-rw-r--r--dev-scheme/guile-ssh/guile-ssh-0.16.0.ebuild44
-rw-r--r--dev-scheme/guile-ssh/metadata.xml13
4 files changed, 77 insertions, 0 deletions
diff --git a/dev-scheme/guile-ssh/Manifest b/dev-scheme/guile-ssh/Manifest
new file mode 100644
index 000000000000..ae7ce983d90e
--- /dev/null
+++ b/dev-scheme/guile-ssh/Manifest
@@ -0,0 +1 @@
+DIST guile-ssh-0.16.0.tar.gz 522003 BLAKE2B dfa6011bb8b220b9a365fde832434eca0c26b58361a919b36228a95a7b042eb68ef7a0d5aa4b0360119983dc63fe65175ae67fe74da38e90ca19a3914f3d6b07 SHA512 195d763e49fd2506c50fea25606ec1873e3c950851f0be0f91fd73842acb9104c89baa1c69daccc7b28b6504a4aa1648a4c049991a63ecf7336c03c48d23e570
diff --git a/dev-scheme/guile-ssh/files/guile-ssh-0.16.0-tests.patch b/dev-scheme/guile-ssh/files/guile-ssh-0.16.0-tests.patch
new file mode 100644
index 000000000000..dc5bfdeaa058
--- /dev/null
+++ b/dev-scheme/guile-ssh/files/guile-ssh-0.16.0-tests.patch
@@ -0,0 +1,19 @@
+diff --git a/tests/Makefile.am b/tests/Makefile.am
+index 8eaa33f..5eaad69 100644
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -23,14 +23,12 @@ if !CROSS_COMPILING
+
+ SCM_TESTS = \
+ log.scm \
+- server.scm \
+ session.scm \
+ client-server.scm \
+ popen.scm \
+ shell.scm \
+ server-client.scm \
+ sssh-ssshd.scm \
+- key.scm \
+ tunnel.scm \
+ dist.scm
+
diff --git a/dev-scheme/guile-ssh/guile-ssh-0.16.0.ebuild b/dev-scheme/guile-ssh/guile-ssh-0.16.0.ebuild
new file mode 100644
index 000000000000..c578969e8004
--- /dev/null
+++ b/dev-scheme/guile-ssh/guile-ssh-0.16.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Library providing access to the SSH protocol for GNU Guile"
+HOMEPAGE="https://memory-heap.org/~avp/projects/guile-ssh/
+ https://github.com/artyom-poptsov/guile-ssh/"
+SRC_URI="https://github.com/artyom-poptsov/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-scheme/guile-2.0.0:=
+ net-libs/libssh:0=[server]
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+PATCHES=( "${FILESDIR}"/${P}-tests.patch )
+
+# guile generates ELF files without use of C or machine code
+# It's a portage's false positive. bug #677600
+QA_PREBUILT='*[.]go'
+
+src_prepare() {
+ default
+
+ # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
+ find "${S}" -name "*.scm" -exec touch {} + || die
+
+ eautoreconf
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name "*.la" -delete || die
+}
diff --git a/dev-scheme/guile-ssh/metadata.xml b/dev-scheme/guile-ssh/metadata.xml
new file mode 100644
index 000000000000..66dcc502864b
--- /dev/null
+++ b/dev-scheme/guile-ssh/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>scheme@gentoo.org</email>
+ <name>Gentoo Scheme Project</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/artyom-poptsov/guile-ssh/issues/</bugs-to>
+ <remote-id type="github">artyom-poptsov/guile-ssh</remote-id>
+ </upstream>
+</pkgmetadata>