summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/zssh')
-rw-r--r--net-misc/zssh/Manifest1
-rw-r--r--net-misc/zssh/files/zssh-1.5a-gentoo-include.diff11
-rw-r--r--net-misc/zssh/metadata.xml15
-rw-r--r--net-misc/zssh/zssh-1.5c-r1.ebuild46
4 files changed, 73 insertions, 0 deletions
diff --git a/net-misc/zssh/Manifest b/net-misc/zssh/Manifest
new file mode 100644
index 00000000000..000795dfacb
--- /dev/null
+++ b/net-misc/zssh/Manifest
@@ -0,0 +1 @@
+DIST zssh-1.5c.tgz 344964 SHA256 a2e840f82590690d27ea1ea1141af509ee34681fede897e58ae8d354701ce71b SHA512 799ce3bbea5e94a800f61e6c38879746a579992396304861b7584b6bad967214b811b6bf9aecb36d9d60a15857377cb2fee80b495ad69778903fc45593efeebd WHIRLPOOL c0e8b06f04ccf0522267317308d4b87cf78eafd6fafaed1e330f9fec7b59561defd1a74652cc53ab2a662a299c021059fe49c1c252b50cb6dd6735086bf0333b
diff --git a/net-misc/zssh/files/zssh-1.5a-gentoo-include.diff b/net-misc/zssh/files/zssh-1.5a-gentoo-include.diff
new file mode 100644
index 00000000000..4fc670ac805
--- /dev/null
+++ b/net-misc/zssh/files/zssh-1.5a-gentoo-include.diff
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Fri Sep 20 10:34:40 2002
++++ Makefile.in Fri Sep 20 10:34:56 2002
+@@ -19,7 +19,7 @@
+ AR = @AR@
+ RANLIB = @RANLIB@
+ CC = @CC@
+-CFLAGS = @CFLAGS@ @DEFS@ @EXTRA_CFLAGS@
++CFLAGS = @CFLAGS@ @DEFS@ @EXTRA_CFLAGS@ -I.
+ CPPFLAGS = @CPPFLAGS@
+ LIBS = @LIBS@ @EXTRA_LIBS@
+ LDFLAGS = @LDFLAGS@
diff --git a/net-misc/zssh/metadata.xml b/net-misc/zssh/metadata.xml
new file mode 100644
index 00000000000..39a20f0e481
--- /dev/null
+++ b/net-misc/zssh/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>zlogene@gentoo.org</email>
+ <name>Mikle Kolyada</name>
+ </maintainer>
+ <maintainer>
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">zssh</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-misc/zssh/zssh-1.5c-r1.ebuild b/net-misc/zssh/zssh-1.5c-r1.ebuild
new file mode 100644
index 00000000000..f52dbbebfd1
--- /dev/null
+++ b/net-misc/zssh/zssh-1.5c-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="An ssh wrapper enabling zmodem up/download in ssh"
+HOMEPAGE="http://zssh.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc sparc x86"
+IUSE="nls readline"
+
+DEPEND="readline? (
+ sys-libs/ncurses
+ sys-libs/readline:0
+ )"
+RDEPEND="${DEPEND}
+ net-misc/openssh
+ net-dialup/lrzsz"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.5a-gentoo-include.diff"
+
+ # Fix linking with sys-libs/ncurses[tinfo], bug #527036
+ sed -i -e 's/-ltermcap/-ltinfo/g' configure || die
+
+ epatch_user
+}
+
+src_configure() {
+ tc-export AR CC RANLIB
+ econf \
+ $(use_enable nls) \
+ $(use_enable readline)
+}
+
+src_install() {
+ dobin ${PN} ztelnet
+ doman ${PN}.1 ztelnet.1
+ dodoc CHANGES FAQ README TODO
+}