Ticket #1884: Portfile

File Portfile, 2.0 KB (added by julien.touche@…, 20 years ago)

portfile

Line 
1# $Id: $
2PortSystem        1.0
3name              libssh
4version           0.1
5categories        security
6maintainers       darwinports@openbsd.org
7description       working SSH implementation by the mean of a library
8long_description  \
9                  The ssh library was designed to be used by programmers \
10                  needing a working SSH implementation by the mean of a \
11                  library. The complete control of the client is made by \
12                  the programmer. \
13                  With libssh, you can remotely execute programs, \
14                  transfer files, use a secure and transparent tunnel \
15                  for your remote programs. With its Secure FTP \
16                  implementation, you can play with remote files easily, \
17                  without third-party programs others than libcrypto \
18                  (from openssl). \
19 \
20                  libssh features : \
21                  -Full C library functions for manipulating a \
22                  client-side SSH connection \
23                  -SSH2 protocol compliant \
24                  -Fully configurable sessions \
25                  -Support for AES-128,AES-192,AES-256,blowfish, in cbc \
26                  mode \
27                  -Use multiple SSH connections in a same process, at \
28                  same time. \
29                  -Use multiple channels in the same connection. \
30                  -Thread safety when using different sessions at same \
31                  time. \
32                  -Basic but correct SFTP implementation (secure file \
33                  transfer) \
34                  -RSA and DSS server public key supported \
35                  -Compression support (with zlib) \
36                  -Public key (RSA and DSS) and password authentication \
37                  -A complete documentation about its API \
38                  -Runs on x86 linux, bsd and MacosX \
39                  -A developper listening to you \
40                  -It's free !
41homepage          http://0xbadc0de.be/projects/sshlib.html/
42master_sites      http://www.0xbadc0de.be/projects/libssh/
43extract.suffix    .tgz
44platforms         darwin
45checksums         md5 d3782668fb51efbbbace453532d84449
46
47build.type        gnu
48pre-destroot {
49        reinplace "s|prefix = /opt/local|prefix = ${destroot}${prefix}|" \
50                ${worksrcpath}/Makefile \
51                ${worksrcpath}/libssh/Makefile
52        file mkdir ${destroot}${prefix}/share/doc/${name}
53        xinstall -m 644 ${worksrcpath}/README \
54                ${destroot}${prefix}/share/doc/${name}
55}
56