[arch-commits] Commit in autossh/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:55:09 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:55:08
  Author: felixonmars
Revision: 659909

archrelease: copy trunk to community-staging-x86_64

Added:
  autossh/repos/community-staging-x86_64/
  autossh/repos/community-staging-x86_64/LICENSE
    (from rev 659907, autossh/trunk/LICENSE)
  autossh/repos/community-staging-x86_64/PKGBUILD
    (from rev 659907, autossh/trunk/PKGBUILD)

----------+
 LICENSE  |   16 ++++++++++++++++
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

Copied: autossh/repos/community-staging-x86_64/LICENSE (from rev 659907, autossh/trunk/LICENSE)
===================================================================
--- community-staging-x86_64/LICENSE	                        (rev 0)
+++ community-staging-x86_64/LICENSE	2020-07-07 17:55:08 UTC (rev 659909)
@@ -0,0 +1,16 @@
+Copyright (c) Carson Harding, 2002-2008.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are freely permitted.
+
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Copied: autossh/repos/community-staging-x86_64/PKGBUILD (from rev 659907, autossh/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:55:08 UTC (rev 659909)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ian Taylor <ian at lorf dot orgs>
+
+pkgname=autossh
+pkgver=1.4g
+pkgrel=2
+pkgdesc="Automatically restart SSH sessions and tunnels"
+arch=('x86_64')
+url="https://www.harding.motd.ca/autossh/"
+license=('custom')
+depends=('libnsl' 'openssh')
+source=("https://www.harding.motd.ca/autossh/$pkgname-$pkgver.tgz"
+	"LICENSE")
+sha512sums=('499b560d978736f4e764d5d828282fdaba1cbf94811ae6be0be5434d9c1cdc6ca5513d728b6372aa243843cb1b91e61cfc5fdeb77ddb0b6a7ce027218ba67466'
+            'cdbdf804eb6e6480cc2be8a9b170f77f6c58e4ae2a741871cd29308ff10a1d391759bed2576b5f072aa878f9c4ae5ef7e6f9c8f38560b3ebbe4591a7220582f7')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  ./configure --prefix="$pkgdir"/usr --sysconfdir=/etc --localstatedir=/var
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  install -D -m755 autossh "$pkgdir"/usr/bin/autossh
+  install -D -m644 CHANGES "$pkgdir"/usr/share/doc/autossh/CHANGES
+  install -D -m644 README "$pkgdir"/usr/share/doc/autossh/README
+  install -D -m644 autossh.host "$pkgdir"/usr/share/autossh/examples/autossh.host
+  install -D -m644 rscreen "$pkgdir"/usr/share/autossh/examples/rscreen
+  install -D -m644 autossh.1 "$pkgdir"/usr/share/man/man1/autossh.1
+  install -D -m644 "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
+}


More information about the arch-commits mailing list