From owner-svn-ports-head@FreeBSD.ORG Tue Jul 1 16:24:17 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 554724E4; Tue, 1 Jul 2014 16:24:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4251D23CF; Tue, 1 Jul 2014 16:24:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s61GOH3Z064372; Tue, 1 Jul 2014 16:24:17 GMT (envelope-from vg@svn.freebsd.org) Received: (from vg@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s61GOF5I064359; Tue, 1 Jul 2014 16:24:15 GMT (envelope-from vg@svn.freebsd.org) Message-Id: <201407011624.s61GOF5I064359@svn.freebsd.org> From: Veniamin Gvozdikov Date: Tue, 1 Jul 2014 16:24:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360051 - in head/net-mgmt: . sx sx/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2014 16:24:17 -0000 Author: vg Date: Tue Jul 1 16:24:15 2014 New Revision: 360051 URL: http://svnweb.freebsd.org/changeset/ports/360051 QAT: https://qat.redports.org/buildarchive/r360051/ Log: add new port: net-mgmt/sx Skylable 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. WWW: http://www.skylable.com/ Added: head/net-mgmt/sx/ head/net-mgmt/sx/Makefile (contents, props changed) head/net-mgmt/sx/distinfo (contents, props changed) head/net-mgmt/sx/files/ head/net-mgmt/sx/files/pkg-message.in (contents, props changed) head/net-mgmt/sx/files/sxserver.in (contents, props changed) head/net-mgmt/sx/pkg-descr (contents, props changed) head/net-mgmt/sx/pkg-plist (contents, props changed) Modified: head/net-mgmt/Makefile Modified: head/net-mgmt/Makefile ============================================================================== --- head/net-mgmt/Makefile Tue Jul 1 16:04:13 2014 (r360050) +++ head/net-mgmt/Makefile Tue Jul 1 16:24:15 2014 (r360051) @@ -314,6 +314,7 @@ SUBDIR += ssgless SUBDIR += statsd SUBDIR += subcalc + SUBDIR += sx SUBDIR += sysmon SUBDIR += tcpreplay SUBDIR += tcptrack Added: head/net-mgmt/sx/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/sx/Makefile Tue Jul 1 16:24:15 2014 (r360051) @@ -0,0 +1,42 @@ +# Created by: Veniamin Gvozdikov +# $FreeBSD$ + +PORTNAME= sx +PORTVERSION= 0.3 +CATEGORIES= net-mgmt +MASTER_SITES= http://cdn.skylable.com/source/ + +MAINTAINER= vg@FreeBSD.org +COMMENT= Skylable Sx is a reliable, fully distributed cluster solution + +LICENSE= GPLv2 + +LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ + libfcgi.so:${PORTSDIR}/www/fcgi + +HAS_CONFIGURE= yes +USE_LDCONFIG= yes +USES= gmake libtool pkgconfig +CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" --prefix="${STAGE}${PREFIX}" \ + --sysconfdir="${ETCDIR}" + +OPTIONS_DEFINE= SXSERVER +SXSERVER_DESC= Enable sxhttpd server +OPTIONS_DEFAULT=SXSERVER + +.include + +.if ${PORT_OPTIONS:MSXSERVER} +CONFIGURE_ARGS+=--localstatedir="${STAGE}${PREFIX}/sxserver" +PLIST_SUB+= SXSERVER="" +PLIST_SUB+= SXCLIENT="@comment " +USE_RC_SUBR= sxserver +SUB_FILES= pkg-message +.else +CONFIGURE_ARGS+=--disable-sxhttpd +PLIST_SUB+= SXSERVER="@comment " +PLIST_SUB+= SXCLIENT="" +.endif + +.include Added: head/net-mgmt/sx/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/sx/distinfo Tue Jul 1 16:24:15 2014 (r360051) @@ -0,0 +1,2 @@ +SHA256 (sx-0.3.tar.gz) = f176c629b3a8352f776d68612a178a46f5059427c6c48d7fa704e1044c44798f +SIZE (sx-0.3.tar.gz) = 6529595 Added: head/net-mgmt/sx/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/sx/files/pkg-message.in Tue Jul 1 16:24:15 2014 (r360051) @@ -0,0 +1,7 @@ +######################################################### +# +# +# After install run and fill required fields +# +# +######################################################### Added: head/net-mgmt/sx/files/sxserver.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/sx/files/sxserver.in Tue Jul 1 16:24:15 2014 (r360051) @@ -0,0 +1,51 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: sxserver +# REQUIRE: LOGIN +# BEFORE: securelevel +# KEYWORD: shutdown + +# Add the following lines to /etc/rc.conf to enable `sxserver': +# +# sxserver_enable="YES" +# + +. /etc/rc.subr + +name="sxserver" +rcvar=sxserver_enable + +command="%%PREFIX%%/sbin/sxserver" +start_precmd="${name}_prestart" +stop_cmd="${name}_stop" +restart_cmd="${name}_restart" +status_cmd="${name}_status" + +load_rc_config "$name" +: ${sxserver_enable="NO"} + +sxserver_prestart() +{ + command_args="start" +} + +sxserver_stop() +{ + eval "${command} stop" +} + +sxserver_restart() +{ + eval "${command} restart" +} + +sxserver_status() +{ + eval "${command} status" +} + +run_rc_command $* + Added: head/net-mgmt/sx/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/sx/pkg-descr Tue Jul 1 16:24:15 2014 (r360051) @@ -0,0 +1,9 @@ +Skylable 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. + +WWW: http://www.skylable.com/ Added: head/net-mgmt/sx/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/sx/pkg-plist Tue Jul 1 16:24:15 2014 (r360051) @@ -0,0 +1,54 @@ +bin/randgen +bin/sxacl +bin/sxcat +bin/sxcp +bin/sxinit +bin/sxls +bin/sxreport-client +bin/sxrm +bin/sxsim +bin/sxvol +%%SXSERVER%%%%ETCDIR%%/sxserver/errors/414.json +%%SXSERVER%%%%ETCDIR%%/sxserver/errors/50x.json +%%SXSERVER%%%%ETCDIR%%/sxserver/fastcgi_params +%%SXSERVER%%%%ETCDIR%%/sxserver/sxhttpd.conf.default +include/sx.h +lib/libsx.so +lib/libsx.so.0 +lib/libsx.so.0.0.0 +lib/sxclient/libsxf_aes256-12.so +lib/sxclient/libsxf_aes256.so +lib/sxclient/libsxf_attribs-11.so +lib/sxclient/libsxf_attribs.so +lib/sxclient/libsxf_null-11.so +lib/sxclient/libsxf_null.so +lib/sxclient/libsxf_zcomp-10.so +lib/sxclient/libsxf_zcomp.so +sbin/sx.fcgi +sbin/sxadm +%%SXSERVER%%sbin/sxhttpd +sbin/sxreport-server +%%SXSERVER%%sbin/sxserver +%%SXSERVER%%sbin/sxsetup +%%SXSERVER%%%%PORTDOCS%%%%DOCSDIR%%/logrotate.d/sxserver +%%SXSERVER%%%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/logrotate.d +%%SXSERVER%%%%PORTDOCS%%@dirrmtry %%DOCSDIR%% +%%SXSERVER%%@dirrmtry %%ETCDIR%%/sxserver/errors +%%SXSERVER%%@dirrmtry %%ETCDIR%%/sxserver +%%SXSERVER%%@dirrmtry %%ETCDIR%% +@dirrm lib/sxclient +%%SXSERVER%%@dirrmtry sxserver/lib/sxserver +%%SXSERVER%%@dirrmtry sxserver/lib +%%SXSERVER%%@dirrmtry sxserver/log/sxserver +%%SXSERVER%%@dirrmtry sxserver/log +%%SXSERVER%%@dirrmtry sxserver/run/sxserver +%%SXSERVER%%@dirrmtry sxserver/run +%%SXSERVER%%@dirrmtry sxserver/sxserver +%%SXSERVER%%@dirrmtry sxserver +%%SXCLIENT%%@dirrmtry var/lib/sxserver +%%SXCLIENT%%@dirrmtry var/lib +%%SXCLIENT%%@dirrmtry var/log/sxserver +%%SXCLIENT%%@dirrmtry var/log +%%SXCLIENT%%@dirrmtry var/run/sxserver +%%SXCLIENT%%@dirrmtry var/run +%%SXCLIENT%%@dirrmtry var