Date: Thursday, November 23, 2017 @ 03:58:44
  Author: felixonmars
Revision: 268141

addpkg: zssh 1.5c-10

Added:
  zssh/
  zssh/repos/
  zssh/trunk/
  zssh/trunk/PKGBUILD
  zssh/trunk/fix_CPPsymlink.patch
  zssh/trunk/fix_use_ptmx_on_arch.patch

----------------------------+
 PKGBUILD                   |   41 +++++++++++++++++++++++++++++++++++++++++
 fix_CPPsymlink.patch       |   10 ++++++++++
 fix_use_ptmx_on_arch.patch |   11 +++++++++++
 3 files changed, 62 insertions(+)

Added: zssh/trunk/PKGBUILD
===================================================================
--- zssh/trunk/PKGBUILD                         (rev 0)
+++ zssh/trunk/PKGBUILD 2017-11-23 03:58:44 UTC (rev 268141)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Ross Eldridge <[email protected]>
+# Contributor: Ivo(sh) Musil <[email protected]>
+
+pkgname=zssh
+pkgver=1.5c
+pkgrel=10
+pkgdesc="SSH and Telnet client with ZMODEM file transfer capability"
+arch=("i686" "x86_64")
+license=("GPL")
+url="http://zssh.sourceforge.net/";
+depends=("readline")
+source=("http://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/*
+}


Property changes on: zssh/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: zssh/trunk/fix_CPPsymlink.patch
===================================================================
--- zssh/trunk/fix_CPPsymlink.patch                             (rev 0)
+++ zssh/trunk/fix_CPPsymlink.patch     2017-11-23 03:58:44 UTC (rev 268141)
@@ -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=

Added: zssh/trunk/fix_use_ptmx_on_arch.patch
===================================================================
--- zssh/trunk/fix_use_ptmx_on_arch.patch                               (rev 0)
+++ zssh/trunk/fix_use_ptmx_on_arch.patch       2017-11-23 03:58:44 UTC (rev 
268141)
@@ -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

Reply via email to