[arch-commits] Commit in zssh/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 13:40:41 UTC 2020
Date: Tuesday, July 7, 2020 @ 13:40:41
Author: felixonmars
Revision: 658558
archrelease: copy trunk to community-staging-x86_64
Added:
zssh/repos/community-staging-x86_64/
zssh/repos/community-staging-x86_64/PKGBUILD
(from rev 658557, zssh/trunk/PKGBUILD)
zssh/repos/community-staging-x86_64/fix_CPPsymlink.patch
(from rev 658557, zssh/trunk/fix_CPPsymlink.patch)
zssh/repos/community-staging-x86_64/fix_use_ptmx_on_arch.patch
(from rev 658557, zssh/trunk/fix_use_ptmx_on_arch.patch)
----------------------------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
fix_CPPsymlink.patch | 10 ++++++++++
fix_use_ptmx_on_arch.patch | 11 +++++++++++
3 files changed, 61 insertions(+)
Copied: zssh/repos/community-staging-x86_64/PKGBUILD (from rev 658557, zssh/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 13:40:41 UTC (rev 658558)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ross Eldridge <ptepid at ptepid.org>
+# Contributor: Ivo(sh) Musil <ivoshm at gmail.com>
+
+pkgname=zssh
+pkgver=1.5c
+pkgrel=12
+pkgdesc="SSH and Telnet client with ZMODEM file transfer capability"
+arch=("x86_64")
+license=("GPL")
+url="http://zssh.sourceforge.net/"
+depends=("readline")
+source=("https://downloads.sourceforge.net/project/zssh/zssh/1.5/$pkgname-$pkgver.tgz"
+ 'fix_use_ptmx_on_arch.patch'
+ 'fix_CPPsymlink.patch')
+sha512sums=('799ce3bbea5e94a800f61e6c38879746a579992396304861b7584b6bad967214b811b6bf9aecb36d9d60a15857377cb2fee80b495ad69778903fc45593efeebd'
+ '2d68216fe859d1bcf35e316cf9bf8ed105afb15e27ea00e5ca2e66e433aebf13834fb648e70b544a54a2a135fe65169c6839a67180eb66c724766f4a5ab33725'
+ '5e17325b65cd4f48bbb08d4c986ff5789a29d9657b3fb9828183ba489f231124371e37ef718d4793b52898ea1302f29ebad768866a2322f85a75ae8771ccd607')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ patch -p0 < "$srcdir"/fix_use_ptmx_on_arch.patch
+ patch -p0 < "$srcdir"/fix_CPPsymlink.patch
+
+ rm -r lrzsz-*
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --mandir='${exec_prefix}/share/man'
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -dm755 "$pkgdir"/usr/{bin,share/man/man1}
+ make exec_prefix="$pkgdir"/usr install
+ chmod a+r $pkgdir/usr/bin/*
+}
Copied: zssh/repos/community-staging-x86_64/fix_CPPsymlink.patch (from rev 658557, zssh/trunk/fix_CPPsymlink.patch)
===================================================================
--- community-staging-x86_64/fix_CPPsymlink.patch (rev 0)
+++ community-staging-x86_64/fix_CPPsymlink.patch 2020-07-07 13:40:41 UTC (rev 658558)
@@ -0,0 +1,10 @@
+--- configure 2014-08-17 15:11:40.382633891 +1000
++++ ../fix/configure 2014-08-17 15:17:24.110722666 +1000
+@@ -52,6 +52,7 @@
+ oldincludedir='/usr/include'
+ infodir='${prefix}/info'
+ mandir='${prefix}/man'
++CPPFLAGS="$CPPFLAGS -O2"
+
+ # Initialize some other variables.
+ subdirs=
Copied: zssh/repos/community-staging-x86_64/fix_use_ptmx_on_arch.patch (from rev 658557, zssh/trunk/fix_use_ptmx_on_arch.patch)
===================================================================
--- community-staging-x86_64/fix_use_ptmx_on_arch.patch (rev 0)
+++ community-staging-x86_64/fix_use_ptmx_on_arch.patch 2020-07-07 13:40:41 UTC (rev 658558)
@@ -0,0 +1,11 @@
+--- configure.orig 2015-12-18 14:48:28.000000000 +0100
++++ configure 2015-12-18 15:01:39.619986497 +0100
+@@ -1893,7 +1893,7 @@
+
+ echo "$ac_t""getpseudotty" 1>&6
+ else
+-if test -c /dev/ptmx && test -c /dev/pts/0
++if test -c /dev/ptmx
+ then
+ cat >> confdefs.h <<\EOF
+ #define HAVE_DEV_PTMX 1
More information about the arch-commits
mailing list