summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libssh/README10
-rw-r--r--libraries/libssh/libssh.SlackBuild116
-rw-r--r--libraries/libssh/libssh.info9
-rw-r--r--libraries/libssh/slack-desc19
4 files changed, 0 insertions, 154 deletions
diff --git a/libraries/libssh/README b/libraries/libssh/README
deleted file mode 100644
index 1486d2d196..0000000000
--- a/libraries/libssh/README
+++ /dev/null
@@ -1,10 +0,0 @@
-libssh is a library designed to be used by programmers needing a working
-SSH implementation by means of a library. The complete control of the
-client is made by the programmer. With libssh, you can remotely execute
-programs, transfer files, use a secure and transparent tunnel for your
-remote programs. With its Secure FTP implementation, you can play with
-remote files easily, without third-party programs others than libcrypto
-(from openssl). libssh features : SSH1 and SSH2 portocols and support
-for AES-128,AES-192, AES-256,blowfish,3DES encryption.
-
-Note: libssh is neither related to nor conflicts with libssh2.
diff --git a/libraries/libssh/libssh.SlackBuild b/libraries/libssh/libssh.SlackBuild
deleted file mode 100644
index 15ba2bc638..0000000000
--- a/libraries/libssh/libssh.SlackBuild
+++ /dev/null
@@ -1,116 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libssh
-
-# Copyright 2009-2011 Larry Hajali <larryhaja[at]gmail[dot]com>
-# Copyright 2011 Niels Horn, Rio de Janeiro, RJ, Brazil
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# revision date: 2011/10/24
-
-PRGNAM=libssh
-VERSION=${VERSION:-0.5.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-mkdir build
-cd build
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DWITH_GCRYPT=1 \
- -DWITH_SSH1=1 \
- -DWITH_PCAP=1 \
- -DWITH_SFTP=1 \
- -DWITH_SERVER=1 \
- -DWITH_STATIC_LIB=0 \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_BUILD_TYPE=Release ..
-
- make VERBOSE=1
- # We need to build the man-pages and documentation as well
- make doc VERBOSE=1
- make install DESTDIR=$PKG
-cd ..
-
-# Manually install man-pages
-mkdir -p $PKG/usr/man
-cp -a build/doc/man/man3 $PKG/usr/man
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS BSD ChangeLog COPYING INSTALL README build/doc/html build/doc/latex \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/libssh/libssh.info b/libraries/libssh/libssh.info
deleted file mode 100644
index 0379e1e91a..0000000000
--- a/libraries/libssh/libssh.info
+++ /dev/null
@@ -1,9 +0,0 @@
-PRGNAM="libssh"
-VERSION="0.5.2"
-HOMEPAGE="http://www.libssh.org/"
-DOWNLOAD="http://www.libssh.org/files/0.5/libssh-0.5.2.tar.gz"
-MD5SUM="38b67c48af7a9204660a3e08f97ceba6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-MAINTAINER="Niels Horn"
-EMAIL="niels.horn@gmail.com"
diff --git a/libraries/libssh/slack-desc b/libraries/libssh/slack-desc
deleted file mode 100644
index 9674904236..0000000000
--- a/libraries/libssh/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-libssh: libssh (A library for ssh)
-libssh:
-libssh: libssh is a library for accessing ssh client services through
-libssh: C libraries calls in a simple manner. Features include:
-libssh: - C library functions for manipulating a client-side SSH
-libssh: - Fully configurable sessions
-libssh: - Support for AES-128,AES-192,AES-256,blowfish, in cbc mode
-libssh: - Use multiple SSH connections in a same process at same time
-libssh: - Usable SFTP implementation
-libssh: - Public key and password authentication
-libssh: