From owner-svn-ports-head@freebsd.org Sat May 11 17:53:12 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44AD215A34AE; Sat, 11 May 2019 17:53:12 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E08276ABBE; Sat, 11 May 2019 17:53:11 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B34501EFB2; Sat, 11 May 2019 17:53:11 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4BHrBM7088068; Sat, 11 May 2019 17:53:11 GMT (envelope-from dbaio@FreeBSD.org) Received: (from dbaio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4BHrAkI088058; Sat, 11 May 2019 17:53:10 GMT (envelope-from dbaio@FreeBSD.org) Message-Id: <201905111753.x4BHrAkI088058@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbaio set sender to dbaio@FreeBSD.org using -f From: "Danilo G. Baio" Date: Sat, 11 May 2019 17:53:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501273 - in head/devel: . zanata-platform zanata-platform/files X-SVN-Group: ports-head X-SVN-Commit-Author: dbaio X-SVN-Commit-Paths: in head/devel: . zanata-platform zanata-platform/files X-SVN-Commit-Revision: 501273 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E08276ABBE X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_SHORT(-0.96)[-0.961,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Sat, 11 May 2019 17:53:12 -0000 Author: dbaio Date: Sat May 11 17:53:10 2019 New Revision: 501273 URL: https://svnweb.freebsd.org/changeset/ports/501273 Log: Add devel/zanata-platform: Zanata is a web-based translation platform Zanata is a web-based translation platform for managing localization projects. Localization (L10n) is the process of translating software or documentation into different languages. Zanata platform is designed for translators, content creators and developers to manage localization projects. WWW: http://zanata.org/ Reviewed by: lwhsu, mat, ygy Differential Revision: https://reviews.freebsd.org/D19985 Added: head/devel/zanata-platform/ head/devel/zanata-platform/Makefile (contents, props changed) head/devel/zanata-platform/distinfo (contents, props changed) head/devel/zanata-platform/files/ head/devel/zanata-platform/files/standalone-zanata.xml.sample (contents, props changed) head/devel/zanata-platform/pkg-descr (contents, props changed) head/devel/zanata-platform/pkg-message (contents, props changed) head/devel/zanata-platform/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat May 11 17:44:23 2019 (r501272) +++ head/devel/Makefile Sat May 11 17:53:10 2019 (r501273) @@ -6197,6 +6197,7 @@ SUBDIR += z80asm SUBDIR += z80ex SUBDIR += zanata-cli + SUBDIR += zanata-platform SUBDIR += zapcc SUBDIR += zeal SUBDIR += zfp Added: head/devel/zanata-platform/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/zanata-platform/Makefile Sat May 11 17:53:10 2019 (r501273) @@ -0,0 +1,80 @@ +# $FreeBSD$ + +PORTNAME= zanata-platform +PORTVERSION= 4.6.2 +CATEGORIES= devel java +MASTER_SITES= https://github.com/zanata/zanata-platform/releases/download/platform-${PORTVERSION}/ \ + https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_CONNECTOR_JAVA_VERSION}/:database +DISTFILES= zanata-war-${PORTVERSION}.war \ + mysql-connector-java-${MYSQL_CONNECTOR_JAVA_VERSION}.jar:database +EXTRACT_ONLY= + +MAINTAINER= dbaio@FreeBSD.org +COMMENT= Zanata is a web-based translation platform + +LICENSE= GPLv2 LGPL21+ +LICENSE_COMB= multi + +NO_ARCH= yes +NO_BUILD= yes + +# It's needed this specific version, databases/mysql-connector-java51 is +# currently with 5.1.47 version. +MYSQL_CONNECTOR_JAVA_VERSION= 5.1.26 + +PLIST_SUB= APP_HOME=${APP_HOME} + +OPTIONS_DEFINE= CLAMAV + +OPTIONS_SINGLE= WF +OPTIONS_SINGLE_WF= WILDFLY10 WILDFLY11 WILDFLY12 WILDFLY13 WILDFLY14 \ + WILDFLY15 WILDFLY16 WILDFLY90 +OPTIONS_DEFAULT= WILDFLY10 + +CLAMAV_DESC= Clam AntiVirus +CLAMAV_RUN_DEPENDS= clamav>=0:security/clamav + +WILDFLY10_DESC= WildFly version 10.0 +WILDFLY10_VARS= APP_HOME=${PREFIX}/wildfly10 +WILDFLY10_RUN_DEPENDS= ${APP_HOME}/bin/standalone.sh:java/wildfly10 + +WILDFLY11_DESC= WildFly version 11.0 +WILDFLY11_VARS= APP_HOME=${PREFIX}/wildfly11 +WILDFLY11_RUN_DEPENDS= ${APP_HOME}/bin/standalone.sh:java/wildfly11 + +WILDFLY12_DESC= WildFly version 12.0 +WILDFLY12_VARS= APP_HOME=${PREFIX}/wildfly12 +WILDFLY12_RUN_DEPENDS= ${APP_HOME}/bin/standalone.sh:java/wildfly12 + +WILDFLY13_DESC= WildFly version 13.0 +WILDFLY13_VARS= APP_HOME=${PREFIX}/wildfly13 +WILDFLY13_RUN_DEPENDS= ${APP_HOME}/bin/standalone.sh:java/wildfly13 + +WILDFLY14_DESC= WildFly version 14.0 +WILDFLY14_VARS= APP_HOME=${PREFIX}/wildfly14 +WILDFLY14_RUN_DEPENDS= ${APP_HOME}/bin/standalone.sh:java/wildfly14 + +WILDFLY15_DESC= WildFly version 15.0 +WILDFLY15_VARS= APP_HOME=${PREFIX}/wildfly15 +WILDFLY15_RUN_DEPENDS= ${APP_HOME}/bin/standalone.sh:java/wildfly15 + +WILDFLY16_DESC= WildFly version 16.0 +WILDFLY16_VARS= APP_HOME=${PREFIX}/wildfly16 +WILDFLY16_RUN_DEPENDS= ${APP_HOME}/bin/standalone.sh:java/wildfly16 + +WILDFLY90_DESC= WildFly version 9.0 +WILDFLY90_VARS= APP_HOME=${PREFIX}/wildfly90 +WILDFLY90_RUN_DEPENDS= ${APP_HOME}/bin/standalone.sh:java/wildfly90 + +do-install: + @${MKDIR} ${STAGEDIR}/var/lib/zanata + @${MKDIR} ${STAGEDIR}${APP_HOME}/standalone/deployments \ + ${STAGEDIR}${APP_HOME}/standalone/configuration + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/zanata-war-${PORTVERSION}.war \ + ${STAGEDIR}/${APP_HOME}/standalone/deployments/ROOT.war + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/mysql-connector-java-${MYSQL_CONNECTOR_JAVA_VERSION}.jar \ + ${STAGEDIR}/${APP_HOME}/standalone/deployments/mysql-connector-java.jar + ${INSTALL_DATA} ${FILESDIR}/standalone-zanata.xml.sample \ + ${STAGEDIR}/${APP_HOME}/standalone/configuration + +.include Added: head/devel/zanata-platform/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/zanata-platform/distinfo Sat May 11 17:53:10 2019 (r501273) @@ -0,0 +1,5 @@ +TIMESTAMP = 1557275921 +SHA256 (zanata-war-4.6.2.war) = db1b87fcf2bd3d918402af5740b43cc0f862eb76a57070e2170ed1576ad8ffbb +SIZE (zanata-war-4.6.2.war) = 84018622 +SHA256 (mysql-connector-java-5.1.26.jar) = 0618340ec0b5c094e3b61cdb66400d88b54087003e02bd2ba074f87abb254ee2 +SIZE (mysql-connector-java-5.1.26.jar) = 855946 Added: head/devel/zanata-platform/files/standalone-zanata.xml.sample ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/zanata-platform/files/standalone-zanata.xml.sample Sat May 11 17:53:10 2019 (r501273) @@ -0,0 +1,527 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + jdbc:mysql://localhost:3306/zanata?useUnicode=true + com.mysql.jdbc.Driver + mysql-connector-java.jar + + 0 + 20 + FailingConnectionOnly + + + zanata + zanataCHANGEME + + + + true + false + + + + NOWARN + + + + jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE + h2 + + sa + sa + + + + + org.h2.jdbcx.JdbcDataSource + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.0.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added: head/devel/zanata-platform/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/zanata-platform/pkg-descr Sat May 11 17:53:10 2019 (r501273) @@ -0,0 +1,8 @@ +Zanata is a web-based translation platform for managing localization projects. +Localization (L10n) is the process of translating software or documentation into +different languages. + +Zanata platform is designed for translators, content creators and developers to +manage localization projects. + +WWW: http://zanata.org/ Added: head/devel/zanata-platform/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/zanata-platform/pkg-message Sat May 11 17:53:10 2019 (r501273) @@ -0,0 +1,6 @@ +================================================================================ + +For installation instructions of devel/zanata-platform port, visit +https://wiki.freebsd.org/Zanata/Install + +=============================================================================== Added: head/devel/zanata-platform/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/zanata-platform/pkg-plist Sat May 11 17:53:10 2019 (r501273) @@ -0,0 +1,9 @@ +@owner www +@group www +@(,,600) %%APP_HOME%%/standalone/configuration/standalone-zanata.xml.sample +%%APP_HOME%%/standalone/deployments/ROOT.war +%%APP_HOME%%/standalone/deployments/mysql-connector-java.jar +@dir /var/lib/zanata +@owner +@group +@dir /var/lib