#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
#
<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
# Put all the libssh2 man3 man pages under /usr/share/man/man3ssh2
<transform file path=usr/share/man/man3ssh2/(.+)ssh2$ -> \
set action.hash usr/share/man/man3/%<1> >
set name=pkg.fmri \
value=pkg:/library/libssh2@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary \
value="libssh2 - client-side C library implementing the SSH2 protocol"
set name=pkg.description \
value="libssh2 is a client-side C library implementing the SSH2 protocol. It can be used to permit file transfer using SCP or SFTP, to communicate with a program that runs on the remote host, or to tunnel TCP connections through the secure transport offered by SSH."
set name=com.oracle.info.description value="the libssh2 client-side C library"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2012/341
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
file path=usr/include/libssh2.h
file path=usr/include/libssh2_publickey.h
file path=usr/include/libssh2_sftp.h
file path=usr/lib/$(MACH64)/libssh2.so.1.0.1
file path=usr/lib/$(MACH64)/pkgconfig/libssh2.pc
link path=usr/lib/libssh2.so target=libssh2.so.1.0.1
link path=usr/lib/libssh2.so.1 target=libssh2.so.1.0.1
file path=usr/lib/libssh2.so.1.0.1
file path=usr/lib/pkgconfig/libssh2.pc
license COPYING license=BSD