diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-06-30 20:31:37 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-07-07 06:54:11 +0700 |
commit | 1a7d30a3c148199c14ee9707ed89dd2cd5803b34 (patch) | |
tree | 822303a5b7bb49fcb9b766407afe4c2cd0ebdcac /network | |
parent | 78eb12cc6148396b5a0566dfc32e82c7153df4b5 (diff) | |
download | slackbuilds-1a7d30a3c148199c14ee9707ed89dd2cd5803b34.tar.gz |
network/skylable-sx: Removed (DMCA Takedown).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/skylable-sx/README | 16 | ||||
-rw-r--r-- | network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch | 13 | ||||
-rw-r--r-- | network/skylable-sx/rc.sxserver | 114 | ||||
-rw-r--r-- | network/skylable-sx/skylable-sx.SlackBuild | 105 | ||||
-rw-r--r-- | network/skylable-sx/skylable-sx.info | 10 | ||||
-rw-r--r-- | network/skylable-sx/slack-desc | 19 |
6 files changed, 0 insertions, 277 deletions
diff --git a/network/skylable-sx/README b/network/skylable-sx/README deleted file mode 100644 index d1bd908e32..0000000000 --- a/network/skylable-sx/README +++ /dev/null @@ -1,16 +0,0 @@ -Sx is a reliable, fully distributed cluster solution for your data storage -needs. With Sx you can aggregate the disk space available on multiple servers -and merge it into a single storage system. The cluster makes sure that your data -is always replicated over multiple nodes (the exact number of copies is defined -by the sysadmin) and synchronized. - -Additionally Sx has built-in support for deduplication, client-side encryption, -on-the-fly compression and much more. - -NOTE 1: Every required library which is not found on the system will be built - from the included sources. - The last sqlite3 version can be linked dinamically but you must compile - it by source (target the lib64 if x86_64 is your system arch). - -NOTE 2: To build only a client, uncomment the CLIENT_ONLY parameter in - skylable-sx.SlackBuild. diff --git a/network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch b/network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch deleted file mode 100644 index 00d9f683c3..0000000000 --- a/network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/libsxclient/src/openssl.c b/libsxclient/src/openssl.c -index 62bfc01..666430a 100644 ---- a/libsxclient/src/openssl.c -+++ b/libsxclient/src/openssl.c -@@ -98,6 +98,8 @@ int sxi_sslctxfun(sxc_client_t *sx, curlev_t *ev, const struct curl_tlssessionin - return -1; - } - SSL_CTX *ctx = (SSL_CTX*)info->internals; -+ if (!ctx) -+ return -EAGAIN; - SSL_CTX_set_cert_verify_callback(ctx, ssl_verify_hostname, ev); - return 0; - } diff --git a/network/skylable-sx/rc.sxserver b/network/skylable-sx/rc.sxserver deleted file mode 100644 index a69e620f40..0000000000 --- a/network/skylable-sx/rc.sxserver +++ /dev/null @@ -1,114 +0,0 @@ -#!/bin/sh -# -# sxserver - this init script starts and stops the SX server -# -# chkconfig: 2345 80 20 -# description: Scalable public and private cloud storage - -### BEGIN INIT INFO -# Provides: sxserver -# Required-Start: $local_fs $network $remote_fs $time -# Required-Stop: $local_fs $network $remote_fs $time -# Default-Stop: 0 1 6 -# Short-Description: start and stop sxhttpd/sx.fcgi -# Description: Scalable public and private cloud storage -### END INIT INFO - -# Source function library. -. /etc/rc.d/init.d/functions - -exec="/usr/sbin/sx.fcgi" -exec_httpd="/usr/sbin/sxhttpd" -config="/etc/sxserver/sxfcgi.conf" - -[ -e /etc/sysconfig/sxserver ] && . /etc/sysconfig/sxserver - -lockfile=/var/lock/subsys/sxserver - -start() { - [ -x $exec ] || exit 5 - [ -x $exec_httpd ] || exit 5 - [ -f $config ] || exit 6 - mkdir -p /var/run/sxserver - OWNER=`grep run-as $config |cut -f2 -d\"` - chown "$OWNER" /var/run/sxserver - action $"Starting sxserver: " daemon --pidfile /var/run/sxserver/sxfcgi.pid $exec - retval=$? - if test $retval -eq 0; then - action $"Starting sxhttpd: " daemon --pidfile /var/run/sxserver/sxhttpd.pid $exec_httpd -c /etc/sxserver/sxhttpd.conf - retval=$? - fi - [ $retval -eq 0 ] && touch $lockfile - return $retval -} - -stop() { - action $"Stopping sxhttpd: " killproc -p /var/run/sxserver/sxhttpd.pid "sxhttpd" - retval_httpd=$? - - action $"Stopping sxserver: " killproc -p /var/run/sxserver/sxfcgi.pid "sxserver" - retval=$? - - [ $retval -eq 0 ] && retval=$retval_httpd - [ $retval -eq 0 ] && rm -f $lockfile - return $retval -} - -restart() { - stop - start -} - -reload() { - restart -} - -force_reload() { - restart -} - -rh_status() { - status -p /var/run/sxserver/sxhttpd.pid sxhttpd - retval_httpd=$? - status -p /var/run/sxserver/sxfcgi.pid sxserver - retval=$? - [ $retval -eq 0 ] && retval=$retval_httpd - return $retval -} - -rh_status_q() { - rh_status >/dev/null 2>&1 -} - - -case "$1" in - start) - rh_status_q && exit 0 - $1 - ;; - stop) - rh_status_q || exit 0 - $1 - ;; - restart) - $1 - ;; - reload) - rh_status_q || exit 7 - $1 - ;; - force-reload) - force_reload - ;; - status) - rh_status - ;; - condrestart|try-restart) - rh_status_q || exit 0 - restart - ;; - *) - echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}" - exit 2 -esac -exit $? diff --git a/network/skylable-sx/skylable-sx.SlackBuild b/network/skylable-sx/skylable-sx.SlackBuild deleted file mode 100644 index cd16f14cc3..0000000000 --- a/network/skylable-sx/skylable-sx.SlackBuild +++ /dev/null @@ -1,105 +0,0 @@ -#!/bin/sh - -# Slackware build script for skylable-sx - -# Copyright 2015 simotrone <simotrone@gmail.com>, Italy -# 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 BY THE AUTHOR "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. - -PRGNAM=skylable-sx -VERSION=${VERSION:-1.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/sx-$VERSION.tar.gz -cd sx-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Fix a curl-7.45 compatibility issue -patch -p1 < $CWD/patch/skylable-sx-1.2-fix-curl-7.45.patch - -# CLIENT_ONLY="--disable-server" - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - $CLIENT_ONLY \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION - -make -make install DESTDIR=$PKG - -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 -ar COPYING* NEWS QUICKSTART README UPGRADE doc/manual/manual.pdf $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/network/skylable-sx/skylable-sx.info b/network/skylable-sx/skylable-sx.info deleted file mode 100644 index 6c25477390..0000000000 --- a/network/skylable-sx/skylable-sx.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="skylable-sx" -VERSION="1.2" -HOMEPAGE="https://github.com/sx-mirror/sx" -DOWNLOAD="https://ftp.mirrorservice.org/sites/download.salixos.org/x86_64/extra-14.2/source/network/skylable-sx/sx-1.2.tar.gz" -MD5SUM="1a23ff4fc1a8f8d60306f55d8af2ae50" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="yajl fcgi" -MAINTAINER="simotrone" -EMAIL="simotrone@gmail.com" diff --git a/network/skylable-sx/slack-desc b/network/skylable-sx/slack-desc deleted file mode 100644 index 9ab0366787..0000000000 --- a/network/skylable-sx/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -skylable-sx: skylable-sx (private distributed data storage cluster) -skylable-sx: -skylable-sx: Sx is a reliable, fully distributed cluster solution for your data -skylable-sx: storage needs. With Sx you can aggregate the disk space available -skylable-sx: on multiple servers and merge it into a single storage system. The -skylable-sx: cluster makes sure that your data is always replicated over multiple -skylable-sx: nodes (the exact number of copies is defined by the sysadmin) and -skylable-sx: synchronized. Additionally Sx has built-in support for deduplication, -skylable-sx: client-side encryption, on-the-fly compression and much more. -skylable-sx: -skylable-sx: Home: https://github.com/sx-mirror/sx |