Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

4
security/libssh/DESCR Normal file
View File

@@ -0,0 +1,4 @@
libssh is a multiplatform C library implementing the SSHv2 and SSHv1 protocol
on client and server side. With libssh, you can remotely execute programs,
transfer files, use a secure and transparent tunnel for
your remote applications.

34
security/libssh/Makefile Normal file
View File

@@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.15 2013/04/08 11:17:21 rodent Exp $
#
# history: upstream renamed 0.11 to 0.1.1;
# we have to use the old-style convention so that version compares work.
#
VER= 0.5.4
DISTNAME= libssh-${VER}
PKGNAME= libssh-0.54
PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= https://red.libssh.org/attachments/download/41/
MAINTAINER= is@NetBSD.org
HOMEPAGE= http://www.libssh.org/
COMMENT= SSHv2+v1 protocol library; libssh.org version ${VER}
LICENSE= 2-clause-bsd
DIST_SUBDIR= security
.include "../../mk/bsd.prefs.mk"
# ftp: Unsupported URL scheme `https'
FETCH_USING= curl
USE_CMAKE= yes
USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE+= libssh.pc.in
TEST_TARGET= check
.include "options.mk"
.include "../../mk/bsd.pkg.mk"

16
security/libssh/PLIST Normal file
View File

@@ -0,0 +1,16 @@
@comment $NetBSD: PLIST,v 1.4 2013/02/01 13:33:49 is Exp $
lib/pkgconfig/libssh.pc
lib/pkgconfig/libssh_threads.pc
include/libssh/callbacks.h
include/libssh/libssh.h
include/libssh/ssh2.h
include/libssh/legacy.h
include/libssh/sftp.h
include/libssh/server.h
@comment, XXX PLIST lib handling seems to be broke
lib/libssh.so.4.2.4
lib/libssh.so.4
lib/libssh.so
lib/libssh_threads.so.4.2.4
lib/libssh_threads.so.4
lib/libssh_threads.so

View File

@@ -0,0 +1,25 @@
# $NetBSD: buildlink3.mk,v 1.13 2013/02/06 23:20:55 jperkin Exp $
BUILDLINK_TREE+= libssh
.if !defined(LIBSSH_BUILDLINK3_MK)
LIBSSH_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libssh+= libssh>=0.54
BUILDLINK_ABI_DEPENDS.libssh+= libssh>=0.54nb1
BUILDLINK_PKGSRCDIR.libssh?= ../../security/libssh
pkgbase := libssh
.include "../../mk/pkg-build-options.mk"
PKG_OPTIONS?= # empty
.if !empty(PKG_OPTIONS:Mzlib)
.include "../../devel/zlib/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mopenssl)
.include "../../security/openssl/buildlink3.mk"
.endif
.endif # LIBSSH_BUILDLINK3_MK
BUILDLINK_TREE+= -libssh

6
security/libssh/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.6 2013/02/01 13:33:49 is Exp $
SHA1 (security/libssh-0.5.4.tar.gz) = 4a372378db8fffaf28d5c79d80b2235843aa587c
RMD160 (security/libssh-0.5.4.tar.gz) = a134cb99f57c544cd31d43bf28506b42b27131e2
Size (security/libssh-0.5.4.tar.gz) = 321265 bytes
SHA1 (patch-aa) = 76de63b15c0ef380cb2bc4ab5b96bf437a79faef

View File

@@ -0,0 +1,29 @@
# $NetBSD: options.mk,v 1.1 2013/02/01 16:47:51 is Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME}
PKG_OPTIONS_REQUIRED_GROUPS= crypto
PKG_OPTIONS_GROUP.crypto= openssl gcrypt
#PKG_SUPPORTED_OPTIONS= compression
PKG_SUGGESTED_OPTIONS= openssl # XXX zlib
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mzlib)
BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2
CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib:Q}
.include "../../devel/zlib/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mopenssl)
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.8
CONFIGURE_ARGS+= --with-libgcrypt=no
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
.include "../../security/openssl/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mgcrypt)
BUILDLINK_API_DEPENDS.gcrypt+= gcrypt>=1.4
CONFIGURE_ARGS+= --with-libgcrypt=${BUILDLINK_PREFIX.libgcrypt:Q}
CONFIGURE_ARGS+= --with-openssl=no
.include "../../security/libgcrypt/buildlink3.mk"
.endif

View File

@@ -0,0 +1,13 @@
--- CMakeLists.txt.orig 2013-01-30 11:46:25.000000000 +0000
+++ CMakeLists.txt 2013-01-30 11:45:52.000000000 +0000
@@ -36,8 +36,8 @@
include(CPackConfig.cmake)
# disallow in-source build
-include(MacroEnsureOutOfSourceBuild)
-macro_ensure_out_of_source_build("${PROJECT_NAME} requires an out of source build. Please create a separate build directory and run 'cmake /path/to/${PROJECT_NAME} [options]' there.")
+#include(MacroEnsureOutOfSourceBuild)
+#macro_ensure_out_of_source_build("${PROJECT_NAME} requires an out of source build. Please create a separate build directory and run 'cmake /path/to/${PROJECT_NAME} [options]' there.")
# add macros
include(MacroAddPlugin)