[arch-commits] Commit in tinyssh/repos (5 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:53:23 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:53:22
  Author: felixonmars
Revision: 660110

archrelease: copy trunk to community-staging-x86_64

Added:
  tinyssh/repos/community-staging-x86_64/
  tinyssh/repos/community-staging-x86_64/PKGBUILD
    (from rev 660109, tinyssh/trunk/PKGBUILD)
  tinyssh/repos/community-staging-x86_64/tinyssh at .service
    (from rev 660109, tinyssh/trunk/tinyssh at .service)
  tinyssh/repos/community-staging-x86_64/tinyssh at .socket
    (from rev 660109, tinyssh/trunk/tinyssh at .socket)
  tinyssh/repos/community-staging-x86_64/tinysshgenkeys.service
    (from rev 660109, tinyssh/trunk/tinysshgenkeys.service)

------------------------+
 PKGBUILD               |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 tinyssh at .service       |    9 +++++++++
 tinyssh at .socket        |   13 +++++++++++++
 tinysshgenkeys.service |    8 ++++++++
 4 files changed, 76 insertions(+)

Copied: tinyssh/repos/community-staging-x86_64/PKGBUILD (from rev 660109, tinyssh/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 18:53:22 UTC (rev 660110)
@@ -0,0 +1,46 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+pkgname=tinyssh
+pkgver=20190101
+pkgrel=3
+pkgdesc='Small SSH server using NaCl / TweetNaCl'
+url='https://tinyssh.org'
+arch=('x86_64')
+license=('custom:Public Domain')
+depends=('glibc')
+optdepends=('tinyssh-convert: For converting OpenSSH keys')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/janmojzis/${pkgname}/archive/${pkgver}.tar.gz"
+	tinyssh at .socket tinyssh at .service tinysshgenkeys.service
+        "${pkgname}-${pkgver}.tar.gz.asc::https://github.com/janmojzis/${pkgname}/releases/download/${pkgver}/${pkgver}.tar.gz.asc")
+sha512sums=('bf3829a71c29e8b0d5c2a145be9dfaf05efb1b98932f34f19f76e07871da4be10022bdde4c57ca49557b69931077b451bc2efbeab38d8ef24151fb73990f1012'
+            '9fbc5ae3b6d1df6d78eedf812fdd8fe115e81fc0811f4799d541e37239d53db22203e691026ed479a38c9f17043e52d43b44054be51ae03c2f12f3f235c5b83a'
+            '9c9ba78c5b61f64f42f59cfe556519d9ab2c3e4d45f36d6f78c5e7728b050c494673239630dae66398006f3f20fb3a26f22899cd0728ed17e61c655b372236b3'
+            '415cdfe649eedcbb11a263938c0a66bef42432210baa2e2c9e428d5e8e486fb4dedad53b9fdb9086bf97ca506909d3b3054aaca56f02c063e0b8d5fab4e56198'
+            'SKIP')
+validpgpkeys=('AADF2EDF5529F1702772C8A2DEC4D246931EF49B')
+
+build () {
+	cd "${srcdir}/${pkgname}-${pkgver//./}"
+	make
+}
+
+package () {
+	cd "${srcdir}/${pkgname}-${pkgver//./}"
+	make install DESTDIR="${pkgdir}"
+
+	# Nowadays /usr/sbin is a symlink to /usr/bin
+	mv "${pkgdir}"/usr/{s,}bin
+
+        # Multi-call binary
+        ln -sf tinysshd "${pkgdir}"/usr/bin/tinysshd-makekey
+        ln -sf tinysshd "${pkgdir}"/usr/bin/tinysshd-printkey
+        
+        install -m 755 -d "${pkgdir}/etc/tinyssh"
+
+        install -m 755 -d "${pkgdir}/usr/lib/systemd/system"
+	install -m 644 -t "${pkgdir}/usr/lib/systemd/system" \
+		"${srcdir}/tinysshgenkeys.service" \
+		"${srcdir}/tinyssh at .service" \
+		"${srcdir}/tinyssh at .socket"
+
+        install -Dm644 "$srcdir/$pkgname-$pkgver/LICENCE" "$pkgdir/usr/share/licenses/$pkgname/LICENCE"
+}

Copied: tinyssh/repos/community-staging-x86_64/tinyssh at .service (from rev 660109, tinyssh/trunk/tinyssh at .service)
===================================================================
--- community-staging-x86_64/tinyssh at .service	                        (rev 0)
+++ community-staging-x86_64/tinyssh at .service	2020-07-07 18:53:22 UTC (rev 660110)
@@ -0,0 +1,9 @@
+[Unit]
+Description=TinySSH Per-Connection Daemon
+Documentation=http://tinyssh.org
+After=tinysshgenkeys.service
+
+[Service]
+ExecStart=/usr/bin/tinysshd /etc/tinyssh/sshkeydir
+StandardInput=socket
+StandardError=journal

Copied: tinyssh/repos/community-staging-x86_64/tinyssh at .socket (from rev 660109, tinyssh/trunk/tinyssh at .socket)
===================================================================
--- community-staging-x86_64/tinyssh at .socket	                        (rev 0)
+++ community-staging-x86_64/tinyssh at .socket	2020-07-07 18:53:22 UTC (rev 660110)
@@ -0,0 +1,13 @@
+[Unit]
+Description=TinySSH service (socket-activated)
+Documentation=http://tinyssh.org
+Wants=tinysshgenkeys.service
+
+[Socket]
+ListenStream=%i
+Accept=true
+KeepAlive=true
+IPTOS=low-delay
+
+[Install]
+WantedBy=sockets.target

Copied: tinyssh/repos/community-staging-x86_64/tinysshgenkeys.service (from rev 660109, tinyssh/trunk/tinysshgenkeys.service)
===================================================================
--- community-staging-x86_64/tinysshgenkeys.service	                        (rev 0)
+++ community-staging-x86_64/tinysshgenkeys.service	2020-07-07 18:53:22 UTC (rev 660110)
@@ -0,0 +1,8 @@
+[Unit]
+Description=TinySSH Key Generation
+ConditionPathIsDirectory=!/etc/tinyssh/sshkeydir
+
+[Service]
+ExecStart=/usr/bin/tinysshd-makekey /etc/tinyssh/sshkeydir
+Type=oneshot
+RemainAfterExit=true


More information about the arch-commits mailing list