Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/sx/
Date: Sat, 02 Jan 2016 13:10:08
Message-Id: 1451704866.52fb108bb61672022174a7b9105bed4440754de7.monsieurp@gentoo
1 commit: 52fb108bb61672022174a7b9105bed4440754de7
2 Author: Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
3 AuthorDate: Sat Jan 2 03:21:06 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 03:21:06 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52fb108b
7
8 net-misc/sx: version bump to 2.0
9
10 net-misc/sx/Manifest | 1 +
11 net-misc/sx/sx-2.0.ebuild | 46 ++++++++++++++++++++++++++++++++++++++++++++++
12 2 files changed, 47 insertions(+)
13
14 diff --git a/net-misc/sx/Manifest b/net-misc/sx/Manifest
15 index cac19f7..0ae31ee 100644
16 --- a/net-misc/sx/Manifest
17 +++ b/net-misc/sx/Manifest
18 @@ -1 +1,2 @@
19 DIST sx-1.2.tar.gz 7218016 SHA256 98c37a84e1653364226aff47e63b715500636c0af3b20f4e74eefe3397ee2d63 SHA512 b1366cd7968b678a877d163e4183d7dbdc1b1d0a90fd1a8bc9e795cbbeb75677e6f15da7f770c77e61cf97ed20c27acc5ab1d17d25cd1c5f1f40271ced42b41a WHIRLPOOL 4dbb5453b4123bfe5380e604ad2782e66642b442e2e2b2609d847de4e06a1bb543231273f55c4605f9562c3936f8c91a150851182fbed3150c92402c44ad16c5
20 +DIST sx-2.0.tar.gz 7641676 SHA256 649ab7ccc1e2fc94aa79169a55bc99bc2b72da50dad82419d7f3c1ee4ef884aa SHA512 7de59d6c794d11a88f2ee87daf04cd2987cbbac2797536d9b62eaa38b5fd7d1dc1a7794ae12155b4df7096fd484b74faec066e8cd47da0a73595b57c8831dbaf WHIRLPOOL 0a07e5adf109a0ba1d9e9cbc741cc950c3567bbd3c7d0f48006c458c1b299c5560e9d84d284e2786325977db1477aeff609258e6f4bffb3a5fc7b4b1b4907075
21
22 diff --git a/net-misc/sx/sx-2.0.ebuild b/net-misc/sx/sx-2.0.ebuild
23 new file mode 100644
24 index 0000000..f24f7a7
25 --- /dev/null
26 +++ b/net-misc/sx/sx-2.0.ebuild
27 @@ -0,0 +1,46 @@
28 +# Copyright 1999-2015 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +# $Id$
31 +
32 +EAPI=5
33 +
34 +inherit eutils
35 +
36 +DESCRIPTION="Skylable SX - a distributed object-storage software for data clusters"
37 +HOMEPAGE="http://www.skylable.com/products/sx"
38 +SRC_URI="http://cdn.skylable.com/source/${P}.tar.gz"
39 +LICENSE="GPL-2 LGPL-2.1"
40 +# If a package appears that links against another .so apart from sxclient-2.0.0.so, change the subslot accordingly.
41 +SLOT="0/2"
42 +KEYWORDS="~amd64"
43 +IUSE="+client ipv6 +server ssl"
44 +nginx_modules_use="nginx_modules_http_fastcgi(-),nginx_modules_http_gzip(-),nginx_modules_http_proxy(-),nginx_modules_http_scgi(-),nginx_modules_http_uwsgi(-)"
45 +DEPEND="
46 + dev-libs/libltdl:0
47 + dev-libs/yajl
48 + net-misc/curl[idn,ipv6(-)?,ssh,ssl(-)?]
49 + server? ( >=dev-db/sqlite-3.8.4.3:3
50 + dev-libs/fcgi
51 + www-servers/nginx:mainline[http,ipv6(-)?,${nginx_modules_use},ssl(-)?] )
52 +"
53 +RDEPEND="${DEPEND}"
54 +
55 +# The server build depends on tools only built during client build.
56 +# The client, though, is fully functional without server components
57 +# (for remote access, for example).
58 +# Deactivate both only if you know you need *only* the libs.
59 +REQUIRED_USE="server? ( client )"
60 +
61 +# tests make a temporary install relative to $prefix, so docdir must be relative to it as well
62 +src_configure() {
63 + econf --disable-sxhttpd \
64 + --with-system-libs \
65 + --docdir="\${prefix}/usr/share/doc/${PF}" \
66 + $(use_enable client sxclient) \
67 + $(use_enable server)
68 +}
69 +
70 +src_install() {
71 + emake DESTDIR="${D}" install
72 + prune_libtool_files --all
73 +}