From owner-svn-ports-all@freebsd.org Mon Jul 8 16:16:24 2019 Return-Path: Delivered-To: svn-ports-all@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 548A615E2847; Mon, 8 Jul 2019 16:16:24 +0000 (UTC) (envelope-from tobik@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 EF6C175E80; Mon, 8 Jul 2019 16:16:23 +0000 (UTC) (envelope-from tobik@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 C29461ACD6; Mon, 8 Jul 2019 16:16:23 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x68GGNJq062603; Mon, 8 Jul 2019 16:16:23 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x68GGN9o062599; Mon, 8 Jul 2019 16:16:23 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201907081616.x68GGN9o062599@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 8 Jul 2019 16:16:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506232 - in head/mail/openemm2015: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/mail/openemm2015: . files X-SVN-Commit-Revision: 506232 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: EF6C175E80 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.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.959,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-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2019 16:16:24 -0000 Author: tobik Date: Mon Jul 8 16:16:22 2019 New Revision: 506232 URL: https://svnweb.freebsd.org/changeset/ports/506232 Log: mail/openemm2015: Unbreak by switching to tomcat85 PR: 238430 Submitted by: maintainer Modified: head/mail/openemm2015/Makefile head/mail/openemm2015/files/pkg-message.in head/mail/openemm2015/pkg-plist Modified: head/mail/openemm2015/Makefile ============================================================================== --- head/mail/openemm2015/Makefile Mon Jul 8 15:21:16 2019 (r506231) +++ head/mail/openemm2015/Makefile Mon Jul 8 16:16:22 2019 (r506232) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= openemm2015 -PORTVERSION= 0 +PORTVERSION= 0.1 CATEGORIES= mail java www MASTER_SITES= SF/openemm/OpenEMM%20software/OpenEMM%202015/ \ http://central.maven.org/maven2/com/lowagie/itext/2.1.7/:MAVEN2 @@ -16,14 +16,13 @@ COMMENT= OpenEMM a email marketing enterprise app LICENSE= CPAL-1.0 LICENSE_FILE= ${WRKSRC}/other/LICENSE.txt -BROKEN= depends on expired www/tomcat8 BROKEN_powerpc64= fails to build: gmake[1]: clang: Command not found LIB_DEPENDS= libslang.so:devel/libslang2 \ libsa.so:net/ossp-sa -#BUILD_DEPENDS= ${TOMCATHOME}/bin/bootstrap.jar:www/tomcat8 \ +BUILD_DEPENDS= ${TOMCATHOME}/bin/bootstrap.jar:www/tomcat85 \ ${ANT_CMD}:devel/apache-ant -#RUN_DEPENDS= ${TOMCATHOME}/bin/bootstrap.jar:www/tomcat8 \ +RUN_DEPENDS= ${TOMCATHOME}/bin/bootstrap.jar:www/tomcat85 \ py27-MySQLdb>=1.2.3:databases/py-MySQLdb USES= dos2unix gmake python:2.7,run @@ -35,7 +34,7 @@ DOS2UNIX_GLOB= *.c *.cpp *.h *.java *.xml *.properties CC= clang CXX= clang++ -TOMCATVER= apache-tomcat-8.0 +TOMCATVER= apache-tomcat-8.5 TOMCATDIR= ${PREFIX}/${TOMCATVER} TOMCATHOME= ${LOCALBASE}/${TOMCATVER} #WEBAPPDIR= ${TOMCATDIR}/webapps @@ -228,6 +227,8 @@ do-install: # create log files ${MKDIR} ${STAGEDIR}/var/log/${PORTNAME} + ${TOUCH} ${STAGEDIR}/var/log/${PORTNAME}/openemm.log + ${TOUCH} ${STAGEDIR}/var/log/${PORTNAME}/openemm-ws.log ${TOUCH} ${STAGEDIR}/var/log/${PORTNAME}/openemm_core.log ${TOUCH} ${STAGEDIR}/var/log/${PORTNAME}/userlogs.log ${TOUCH} ${STAGEDIR}/var/log/${PORTNAME}/openemm_axis.log Modified: head/mail/openemm2015/files/pkg-message.in ============================================================================== --- head/mail/openemm2015/files/pkg-message.in Mon Jul 8 15:21:16 2019 (r506231) +++ head/mail/openemm2015/files/pkg-message.in Mon Jul 8 16:16:22 2019 (r506232) @@ -6,7 +6,7 @@ $> mysqldump -aCceQx --hex-blob --routines --triggers To integrate the OpenEMM 2015 to the installed Tomcat add this chunk to the server.xml of Tomcat: -TOMCAT_HOME= %%PREFIX%%/apache-tomcat-8.0/lib/ +TOMCAT_HOME= %%PREFIX%%/apache-tomcat-8.5/lib/ vi TOMCAT_HOME/conf/server.xml @@ -28,6 +28,7 @@ vi TOMCAT_HOME/conf/server.xml +Change the Engine name="Catalina" to point to defaultHost="OpenEMM" Don't forget securing tomcat, or add a httpd in front secured additional for the jndi database connect: @@ -38,30 +39,24 @@ vi TOMCAT_HOME/conf/context.xml ....