summaryrefslogtreecommitdiff
path: root/dev-perl/Net-SSH2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/Net-SSH2
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/Net-SSH2')
-rw-r--r--dev-perl/Net-SSH2/Manifest5
-rw-r--r--dev-perl/Net-SSH2/Net-SSH2-0.580.0-r1.ebuild42
-rw-r--r--dev-perl/Net-SSH2/metadata.xml21
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-perl/Net-SSH2/Manifest b/dev-perl/Net-SSH2/Manifest
new file mode 100644
index 000000000000..0ce292077e79
--- /dev/null
+++ b/dev-perl/Net-SSH2/Manifest
@@ -0,0 +1,5 @@
+DIST Net-SSH2-0.58.tar.gz 124853 SHA256 1d1f5f4cdf267ded0cb17ace6def2204f1891fc1274e248e7332dcd48f6a189e SHA512 753e5037d08405f9c401631cd77f1df57e7ee14db44033df8ce0b82f02377bdf7fdecd32bb6f9e1cd80f3fed88adb37e3abdb0b1dbfa50d115ee9e31fd735380 WHIRLPOOL 272dea3d975229cda0a9ad2e44c91ce55ae05aafabbdef52a8e931b2d988baaf224153b9fbf5c248e38ec685eb2118bba85337197c015ae7b892f2c90ca76b11
+EBUILD Net-SSH2-0.580.0-r1.ebuild 845 SHA256 d7017d765ad51c1f77a836d453929b1fde44315432eead2d29033eb32be567fe SHA512 1d244ce2e0ffdc79c5f646babeb2e7444b90897547430af07c52a41901327af67ff57330e6939df171953b2dd965b150dc73d317eebfeeb766a84364d5b91ec1 WHIRLPOOL a62fe1e663f46a9b1ec989f3f14409f42ef65b9cead10dac7f34fb8004a636dc449b7c6c3ffc318a5ed09f10fb03df8dd4b501f0265c8cc89f33a6b3647cbb9c
+MISC ChangeLog 4090 SHA256 4038f056dffe9fbe8e88c5a8dcf07e8186d405eff972ced2ff7014f4c6bb97d4 SHA512 29ebafc4d67919aa1738b7a1e3cf9dfca8081b28228289302c489138d865d41adcbc5c1a6063ab6c1613df49f51a47d646c6529a4b811e79c120d7931f47c618 WHIRLPOOL be5c27b8c160ff38a5957e83ebef1be8d0a43fb23c96079a328a3a5bfe0ee80c8d1833fd1bac794c48339bf342e49ae6da50a510a971ef463168f77c55e22209
+MISC ChangeLog-2015 1566 SHA256 a30aaf6f6c7a657e337828a1875dae583184954dd3a785afc2713b9cf0cc1970 SHA512 9e3418b8982342ec89bb9eee07f39b30f9347db47b3cb6797460994df4b9631cedf39873942e6c6d2c1c549a745cdb4b519cfba6f2e010c802a2298221aa6d01 WHIRLPOOL 1868a0e313f1033a6102f0157f4829ca8f55f579d5bdc2884e99ad23513a7f2d127d3ff4862db155d43132d0e2fc48e58bbabee71c3d068cbb0c472ba638d757
+MISC metadata.xml 852 SHA256 a3e01be383311a0444c726a42e913592fc4eeaafa2c1f15fa870f4b43bf2ea6f SHA512 cd8b57c8a216ec83090a6c529d89443d63dff46c075bb045152b4043ab099c106e561557dfa8e6f8b42a108549522d3ba6365aa8af0343550946bcc347356adb WHIRLPOOL fb0441391f8f7bf7dca1e813fa17aa97f44ab3ae4b434d7abf77245f8bdfeefb8f629822f1b0f46511f8f73c595a89c13bfada16746d91f42b2057e0a141eb1a
diff --git a/dev-perl/Net-SSH2/Net-SSH2-0.580.0-r1.ebuild b/dev-perl/Net-SSH2/Net-SSH2-0.580.0-r1.ebuild
new file mode 100644
index 000000000000..f9768f58738f
--- /dev/null
+++ b/dev-perl/Net-SSH2/Net-SSH2-0.580.0-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=SALVA
+DIST_VERSION=0.58
+DIST_EXAMPLES=( "example/*" )
+inherit perl-module
+
+DESCRIPTION="Support for the SSH 2 protocol via libssh2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gcrypt libressl"
+
+RDEPEND="
+ sys-libs/zlib
+ net-libs/libssh2
+ !gcrypt? (
+ !libressl? ( dev-libs/openssl:0 )
+ libressl? ( dev-libs/libressl )
+ )
+ gcrypt? (
+ dev-libs/libgcrypt:0
+ )
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-Constant
+ >=virtual/perl-ExtUtils-MakeMaker-6.50
+"
+
+src_prepare() {
+ sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL ||
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+ perl-module_src_prepare
+}
+
+src_configure() {
+ use gcrypt && myconf=gcrypt
+ perl-module_src_configure
+}
diff --git a/dev-perl/Net-SSH2/metadata.xml b/dev-perl/Net-SSH2/metadata.xml
new file mode 100644
index 000000000000..cade61a47899
--- /dev/null
+++ b/dev-perl/Net-SSH2/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <use>
+ <flag name="gcrypt">Use libgcrypt instead of openssl</flag>
+ </use>
+ <upstream>
+ <remote-id type="cpan">Net-SSH2</remote-id>
+ <remote-id type="cpan-module">Net::SSH2</remote-id>
+ <remote-id type="cpan-module">Net::SSH2::Channel</remote-id>
+ <remote-id type="cpan-module">Net::SSH2::Dir</remote-id>
+ <remote-id type="cpan-module">Net::SSH2::File</remote-id>
+ <remote-id type="cpan-module">Net::SSH2::Listener</remote-id>
+ <remote-id type="cpan-module">Net::SSH2::PublicKey</remote-id>
+ <remote-id type="cpan-module">Net::SSH2::SFTP</remote-id>
+ </upstream>
+</pkgmetadata>