diff options
author | Marshall Brewer <tomboy64@sina.cn> | 2016-06-03 03:06:30 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-06-07 15:42:13 +0200 |
commit | c27547e48c8404e7ed921b5c47a57405ff95b7e7 (patch) | |
tree | 9c758f7c33f03c5b8f9057caf52d74b4170ef309 /sys-cluster | |
parent | net-misc/sx: version bump 2.1 (diff) | |
download | gentoo-c27547e48c8404e7ed921b5c47a57405ff95b7e7.tar.gz gentoo-c27547e48c8404e7ed921b5c47a57405ff95b7e7.tar.bz2 gentoo-c27547e48c8404e7ed921b5c47a57405ff95b7e7.zip |
net-misc/sx: renamed to sys-cluster/sx
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/sx/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/sx/metadata.xml | 22 | ||||
-rw-r--r-- | sys-cluster/sx/sx-2.0.ebuild | 46 | ||||
-rw-r--r-- | sys-cluster/sx/sx-2.1.ebuild | 46 |
4 files changed, 116 insertions, 0 deletions
diff --git a/sys-cluster/sx/Manifest b/sys-cluster/sx/Manifest new file mode 100644 index 000000000000..0519fb31ab34 --- /dev/null +++ b/sys-cluster/sx/Manifest @@ -0,0 +1,2 @@ +DIST sx-2.0.tar.gz 7641676 SHA256 649ab7ccc1e2fc94aa79169a55bc99bc2b72da50dad82419d7f3c1ee4ef884aa SHA512 7de59d6c794d11a88f2ee87daf04cd2987cbbac2797536d9b62eaa38b5fd7d1dc1a7794ae12155b4df7096fd484b74faec066e8cd47da0a73595b57c8831dbaf WHIRLPOOL 0a07e5adf109a0ba1d9e9cbc741cc950c3567bbd3c7d0f48006c458c1b299c5560e9d84d284e2786325977db1477aeff609258e6f4bffb3a5fc7b4b1b4907075 +DIST sx-2.1.tar.gz 7823814 SHA256 7f93f5e5d2495063eef8d868883779ee5bc44c97466365336faccf28b6e71521 SHA512 d38cff97fafee6fae5b7918f99dc91aa5223fcc7244e860dbc90fa098c8d04a46764d003780ba0beb364adfde00fbdc365e7ec77999b98c21a4e875ab7a8a7a0 WHIRLPOOL 1202bdcd501c9732f58c9421c8a9279e78eba6141f36fd3af7b2e7cfc320879ee772e7ece3869b410f69342b68cfb12fa87936a8f278b167df06c1c28b94a3de diff --git a/sys-cluster/sx/metadata.xml b/sys-cluster/sx/metadata.xml new file mode 100644 index 000000000000..dfe4aaca9ec4 --- /dev/null +++ b/sys-cluster/sx/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tomboy64@sina.cn</email> + <name>M.B.</name> + <description>Maintainer, assign bugs to him</description> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + SX Cluster is a reliable, fully distributed cluster solution for your data storage needs, released under the GPL licence. With SX Cluster you 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. + </longdescription> + <use> + <flag name="client">Access the SX Cluster from this machine via its Nginx server. Also responsible for tools required to run the server.</flag> + <flag name="ipv6">Enable support for communication via IPv6.</flag> + <flag name="server">Enable SX's server component.</flag> + <flag name="ssl">Enable communication security via OpenSSL.</flag> + </use> +</pkgmetadata> diff --git a/sys-cluster/sx/sx-2.0.ebuild b/sys-cluster/sx/sx-2.0.ebuild new file mode 100644 index 000000000000..f24f7a7a7e2f --- /dev/null +++ b/sys-cluster/sx/sx-2.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="Skylable SX - a distributed object-storage software for data clusters" +HOMEPAGE="http://www.skylable.com/products/sx" +SRC_URI="http://cdn.skylable.com/source/${P}.tar.gz" +LICENSE="GPL-2 LGPL-2.1" +# If a package appears that links against another .so apart from sxclient-2.0.0.so, change the subslot accordingly. +SLOT="0/2" +KEYWORDS="~amd64" +IUSE="+client ipv6 +server ssl" +nginx_modules_use="nginx_modules_http_fastcgi(-),nginx_modules_http_gzip(-),nginx_modules_http_proxy(-),nginx_modules_http_scgi(-),nginx_modules_http_uwsgi(-)" +DEPEND=" + dev-libs/libltdl:0 + dev-libs/yajl + net-misc/curl[idn,ipv6(-)?,ssh,ssl(-)?] + server? ( >=dev-db/sqlite-3.8.4.3:3 + dev-libs/fcgi + www-servers/nginx:mainline[http,ipv6(-)?,${nginx_modules_use},ssl(-)?] ) +" +RDEPEND="${DEPEND}" + +# The server build depends on tools only built during client build. +# The client, though, is fully functional without server components +# (for remote access, for example). +# Deactivate both only if you know you need *only* the libs. +REQUIRED_USE="server? ( client )" + +# tests make a temporary install relative to $prefix, so docdir must be relative to it as well +src_configure() { + econf --disable-sxhttpd \ + --with-system-libs \ + --docdir="\${prefix}/usr/share/doc/${PF}" \ + $(use_enable client sxclient) \ + $(use_enable server) +} + +src_install() { + emake DESTDIR="${D}" install + prune_libtool_files --all +} diff --git a/sys-cluster/sx/sx-2.1.ebuild b/sys-cluster/sx/sx-2.1.ebuild new file mode 100644 index 000000000000..578972b83592 --- /dev/null +++ b/sys-cluster/sx/sx-2.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="Skylable SX - a distributed object-storage software for data clusters" +HOMEPAGE="http://www.skylable.com/products/sx" +SRC_URI="http://cdn.skylable.com/source/${P}.tar.gz" +LICENSE="GPL-2 LGPL-2.1" +# If a package appears that links against another .so apart from sxclient-2.0.0.so, change the subslot accordingly. +SLOT="0/2" +KEYWORDS="~amd64 ~x86" +IUSE="+client ipv6 +server ssl" +nginx_modules_use="nginx_modules_http_fastcgi(-),nginx_modules_http_gzip(-),nginx_modules_http_proxy(-),nginx_modules_http_scgi(-),nginx_modules_http_uwsgi(-)" +DEPEND=" + dev-libs/libltdl:0 + dev-libs/yajl + net-misc/curl[idn,ipv6(-)?,ssh,ssl(-)?] + server? ( >=dev-db/sqlite-3.8.4.3:3 + dev-libs/fcgi + www-servers/nginx:mainline[http,ipv6(-)?,${nginx_modules_use},ssl(-)?] ) +" +RDEPEND="${DEPEND}" + +# The server build depends on tools only built during client build. +# The client, though, is fully functional without server components +# (for remote access, for example). +# Deactivate both only if you know you need *only* the libs. +REQUIRED_USE="server? ( client )" + +# tests make a temporary install relative to $prefix, so docdir must be relative to it as well +src_configure() { + econf --disable-sxhttpd \ + --with-system-libs \ + --docdir="\${prefix}/usr/share/doc/${PF}" \ + $(use_enable client sxclient) \ + $(use_enable server) +} + +src_install() { + emake DESTDIR="${D}" install + prune_libtool_files --all +} |