1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00

2014-08-18 databases/jasperserver: Unstaged, depends on expiring devel/maven2

2014-08-18 devel/maven2: No longer supported by the Apache Foundation. Use 3.x instead.
This commit is contained in:
Antoine Brodin 2014-08-18 12:47:22 +00:00
parent df6b156858
commit 6ca36f50bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365303
20 changed files with 2 additions and 2578 deletions

2
MOVED
View File

@ -6423,3 +6423,5 @@ print/cups-samba||2014-08-15|Removed: defunct for long, disappeared upstream
security/sguil-client|security/sguil|2014-08-16|Merged into new port security/sguil
security/sguil-sensor|security/sguil|2014-08-16|Merged into new port security/sguil
security/sguil-server|security/sguil|2014-08-16|Merged into new port security/sguil
databases/jasperserver||2014-08-18|Has expired: Unstaged, depends on expiring devel/maven2
devel/maven2|devel/maven3|2014-08-18|Has expired: No longer supported by the Apache Foundation. Use 3.x instead

View File

@ -119,7 +119,6 @@
SUBDIR += isql-viewer
SUBDIR += jakarta-commons-dbutils
SUBDIR += jasperreports
SUBDIR += jasperserver
SUBDIR += java-mybatis
SUBDIR += jdb
SUBDIR += jdbc-oracle10g

View File

@ -1,244 +0,0 @@
# Created by: Jason Helfman <jgh@FreeBSD.org>
# $FreeBSD$
PORTNAME= jasperserver
PORTVERSION= 5.5.0
CATEGORIES= databases print java
MASTER_SITES= http://downloads.sourceforge.net/project/jasperserver/JasperServer/JasperReports%20Server%20Community%20Edition%205.5.0/:source1 \
SF/bsdsrc/:source2 \
http://dev.quadras.co.id/archiva/repository/internal/org/codehaus/mojo/cobertura-maven-plugin/2.5-Jaspersoft/:source3
DISTFILES= jasperreports-server-cp-${PORTVERSION}-src.zip:source1 \
FreeBSD-jasperreports-server-cp-${PORTVERSION}-maven-repository.zip:source2 \
cobertura-maven-plugin-2.5-Jaspersoft.jar:source3 \
cobertura-maven-plugin-2.5-Jaspersoft.pom:source3
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= jasperreports-server-cp-${PORTVERSION}-src.zip \
FreeBSD-jasperreports-server-cp-${PORTVERSION}-maven-repository.zip
MAINTAINER= ports@FreeBSD.org
COMMENT= Open Source Java Reporting Library
LICENSE= GPLv3 MIT APACHE20
LICENSE_COMB= multi
DEPRECATED= Unstaged, depends on expiring devel/maven2
EXPIRATION_DATE= 2014-08-18
BUILD_DEPENDS= mvn:${PORTSDIR}/devel/maven2
SRCDIR= ${WRKDIR}/jasperreports-server-cp-${PORTVERSION}-src
PATCH_WRKSRC= ${SRCDIR}
WRKSRC= ${SRCDIR}/${PORTNAME}/buildomatic
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
SQLSRC= ${WRKSRC}/install_resources/sql
JS= ${SRCDIR}/${PORTNAME}
JSREPO= ${JS}-repo
JSUPDATE= 5.2.0-${PORTVERSION}
NO_WRKSUBDIR= yes
USES= zip
USE_JAVA= yes
# use own DOS2UNIX in pre-patch, not the one from bsd.port.mk!
DOS2UNIX_REGEX= .*(css|dtd|java|js|txt|wsdd|xml|xsl)$$
OPTIONS_DEFINE= HEADLESS
HEADLESS_DESC= Optimize for Headless Systems
OPTIONS_SINGLE= AS DB
OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7
OPTIONS_SINGLE_DB= MYSQL PGSQL
OPTIONS_DEFAULT= TOMCAT6 PGSQL
REPLACE_FILES= ${JS}/jasperserver-war/src/main/webappAdditions/WEB-INF/web.xml
REPLACE_LIST_TEMP= ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/}
SUB_FILES= pkg-message
SUB_LIST= DATABASE=${DATABASE} \
JSDB=${JSDB} \
JSHOME=${JSHOME} \
JSTIMEOUT=${JSTIMEOUT} \
JSUPDATE=${JSUPDATE} \
PORTNAME=${PORTNAME} \
PORTSDIR=${PORTSDIR} \
PORTVERSION=${PORTVERSION} \
SRCDIR=${SRCDIR}
PLIST_SUB= DATABASE=${DATABASE} \
JDBCLOC=${JDBCLOC} \
JSUPDATE=${JSUPDATE} \
PORTNAME=${PORTNAME}
PORTDOCS= *
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MHEADLESS}
JAVA_VERSION= 1.7
.else
JAVA_VERSION= 1.6
.endif
.if ${PORT_OPTIONS:MMYSQL}
BROKEN= org.springframework.jdbc.UncategorizedSQLException \
http://community.jaspersoft.com//questions/823526/jasperserver-src-distribution-550
WANT_MYSQL_VER= 55
DBUSER?= root
DBPASS?=
DATABASE= mysql
RUN_DEPENDS+= ${JAVAJARDIR}/mysql-connector-java.jar:${PORTSDIR}/databases/mysql-connector-java
BUILD_DEPENDS+= ${JAVAJARDIR}/mysql-connector-java.jar:${PORTSDIR}/databases/mysql-connector-java
PLIST_SUB+= JDBC="mysql-connector-java.jar"
.endif
#use version 90, application is certified w/ pg90
.if ${PORT_OPTIONS:MPGSQL}
WANT_PGSQL_VER= 90+
JDBC= postgresql-9.2-1002.jdbc4.jar
USE_PGSQL= yes
DBUSER?= pgsql
DBPASS?= pgsql
DATABASE= postgresql
PLIST_SUB+= JDBC=${JDBC}
.endif
.if ${PORT_OPTIONS:MTOMCAT6}
VER= 6
.else
VER= 7
.endif
APPHOME?= ${LOCALBASE}/apache-tomcat-${VER}.0
BUILD_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat${VER}
RUN_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat${VER}
APPTYPE= tomcat${VER}
PLIST_SUB+= APP_VERSION="apache-tomcat-${VER}.0"
JDBCLOC= lib
DBHOST?= localhost
APP_PROPERTIES= ${SRCDIR}/${PORTNAME}/buildomatic/default_master.properties
QTZ_PROPERTIES= ${SRCDIR}/${PORTNAME}/${PORTNAME}-war/target/${PORTNAME}/WEB-INF/js.quartz.properties
JSDB?= jasperserver
JSPORT?= 8080
JSEXTRA?=
JSHOME?= ${APPHOME}/webapps/${PORTNAME}
JSMAILHOST?= localhost
JSMAILUSER?= admin
JSMAILPASS?= password
JSMAILFROM?= "admin@localhost"
JSMAILPROTO?= smtp
JSMAILPORT?= 25
JSTIMEOUT?= 20
pre-fetch:
# show the update warning before we fetch ~400MB sources
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
# We can not use the USE_DOS2UNIX routine, since WRKDIR is redefined
# and we have to convert files in a directory above WRKSRC!
pre-patch:
@${ECHO_MSG} "===> Converting DOS text files to UNIX text files"
@${FIND} -E ${SRCDIR} -type f -iregex '${DOS2UNIX_REGEX}' -print0 | \
${XARGS} -0 ${SED} -i '' -e 's/ $$//'
post-patch:
.for file in ${REPLACE_FILES}
@${ECHO_MSG} -n ">> Customizing `basename ${file}`..."
@${SED} ${REPLACE_LIST_TEMP} ${file} > ${WRKDIR}/`basename ${file}`
@${ECHO_MSG} " [ DONE ]"
.endfor
@${REINPLACE_CMD} -e 's|--DROP|-- DROP|' ${SQLSRC}/mysql/quartz.ddl
post-patch-script:
@${ECHO_MSG} -n ">> Removing unneeded patched files..."
@${FIND} ${WRKDIR} -type f \( -name '*.orig' \) -delete
@${ECHO_MSG} " [ DONE ]"
pre-build: extract patch
@${MKDIR} ${JSREPO}/org/codehaus/mojo/cobertura-maven-plugin/2.5-Jaspersoft
@${CP} ${DISTDIR}/${DIST_SUBDIR}/cobertura-* ${JSREPO}/org/codehaus/mojo/cobertura-maven-plugin/2.5-Jaspersoft
@${ECHO} "appServerType = ${APPTYPE}" > ${APP_PROPERTIES}
@${ECHO} "appServerDir = ${APPHOME}" >> ${APP_PROPERTIES}
@${ECHO} "dbType = ${DATABASE}" >> ${APP_PROPERTIES}
@${ECHO} "dbUsername = ${DBUSER}" >> ${APP_PROPERTIES}
@${ECHO} "dbPassword = ${DBPASS}" >> ${APP_PROPERTIES}
@${ECHO} "dbHost = ${DBHOST}" >> ${APP_PROPERTIES}
@${ECHO} "js.dbName = ${JSDB}" >> ${APP_PROPERTIES}
@( if [ -f ${LOCALBASE}/bin/mvn ] ; then \
${ECHO} "maven = ${JAVASHAREDIR}/maven2/bin/mvn" >> ${APP_PROPERTIES} ; \
else ${FALSE}; \
fi )
.if ${PORT_OPTIONS:MMYSQL}
@${ECHO} "maven.jdbc.groupId = mysql" >> ${APP_PROPERTIES}
@${ECHO} "maven.jdbc.version = 5.1.17-bin" >> ${APP_PROPERTIES}
@${ECHO} "maven.jdbc.artifactId = mysql-connector-java" >> ${APP_PROPERTIES}
.endif
@${ECHO} "js-path = ${JS}" >> ${APP_PROPERTIES}
@${ECHO} "js-pro-path = ${JS}" >> ${APP_PROPERTIES}
@${ECHO} "maven.build.type = repo" >> ${APP_PROPERTIES}
@${ECHO} "repo-path = ${JSREPO}" >> ${APP_PROPERTIES}
@${ECHO} "maven-localrepo-path = ${WRKDIR}/repository" >> ${APP_PROPERTIES}
@${ECHO} "SKIP_TEST_ARG=skipTests" >> ${APP_PROPERTIES}
.if ${PORT_OPTIONS:MMYSQL}
@( if [ -f ${JAVAJARDIR}/mysql-connector-java.jar ] ; then \
${LN} -sf ${JAVAJARDIR}/mysql-connector-java.jar ${SRCDIR}/${PORTNAME}/buildomatic/conf_source/db/mysql/jdbc/mysql-connector-java-5.1.17-bin.jar; \
fi )
.endif
do-build:
# although log will show Downloading, maven is in offline mode and can't download
${CP} ${APP_PROPERTIES} ${SRCDIR}/${PORTNAME}/buildomatic/sample_conf
@( cd ${WRKSRC} && ./js-ant clean-config )
@( cd ${WRKSRC} && ./js-ant gen-config )
@( ${CP} ${WRKDIR}/web.xml ${JS}/jasperserver-war/src/main/webappAdditions/WEB-INF/web.xml )
.if ${PORT_OPTIONS:MMYSQL}
@( cd ${WRKSRC} && ./js-ant add-jdbc-driver )
.endif
@( cd ${WRKSRC} && ./js-ant build-ce )
.if empty(PORT_OPTIONS:MPGSQL)
@${ECHO} "quartz.delegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate" > ${QTZ_PROPERTIES}
.else
@${ECHO} "quartz.delegateClass=org.quartz.impl.jdbcjobstore.PostgreSQLDelegate" > ${QTZ_PROPERTIES}
.endif
@${ECHO} "quartz.tablePrefix=QRTZ_" >> ${QTZ_PROPERTIES}
@${ECHO} "quartz.extraSettings=${JSEXTRA}" >> ${QTZ_PROPERTIES}
@${ECHO} "report.scheduler.web.deployment.uri=http://${DBHOST}:${JSPORT}/${JSDB}" >> ${QTZ_PROPERTIES}
@${ECHO} "report.scheduler.mail.sender.host=${JSMAILHOST}" >> ${QTZ_PROPERTIES}
@${ECHO} "report.scheduler.mail.sender.username=${JSMAILUSER}" >> ${QTZ_PROPERTIES}
@${ECHO} "report.scheduler.mail.sender.password=${JSMAILPASS}" >> ${QTZ_PROPERTIES}
@${ECHO} "report.scheduler.mail.sender.from=${JSMAILFROM}" >> ${QTZ_PROPERTIES}
@${ECHO} "report.scheduler.mail.sender.protocol=${JSMAILPROTO}" >> ${QTZ_PROPERTIES}
@${ECHO} "report.scheduler.mail.sender.port=${JSMAILPORT}" >> ${QTZ_PROPERTIES}
do-install:
@( cd ${WRKSRC} && ./js-ant deploy-webapp-ce )
@${INSTALL_DATA} ${FILESDIR}/jasperserverCreateDefaultSecurity-${DATABASE}.sql ${JSHOME}
@( cd ${SQLSRC} && ${INSTALL_DATA} ${DATABASE}/js-create.ddl ${JSHOME} )
@( cd ${SQLSRC} && ${INSTALL_DATA} ${DATABASE}/quartz.ddl ${JSHOME} )
@( cd ${SQLSRC} && ${INSTALL_DATA} ${DATABASE}/upgrade-${DATABASE}-5.1.0-5.2.0-ce.sql ${JSHOME} )
@( cd ${SQLSRC} && ${INSTALL_DATA} ${DATABASE}/upgrade-${DATABASE}-${JSUPDATE}-ce.sql ${JSHOME} )
@${INSTALL} -m 440 ${QTZ_PROPERTIES} ${JSHOME}/WEB-INF/
#removed shipped driver from vendor
.if ${PORT_OPTIONS:MMYSQL}
@${RM} ${APPHOME}/${JDBCLOC}/mysql-connector-java-5.1.17-bin.jar
${LN} -s ${JAVAJARDIR}/mysql-connector-java.jar ${APPHOME}/${JDBCLOC}
@${RM} ${APPHOME}/${JDBCLOC}/postgresql-9.2-1002.jdbc4.jar
.endif
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${SRCDIR}/JasperReports-Server-CP-Source-Build-Guide.pdf ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,8 +0,0 @@
SHA256 (jasperserver/jasperreports-server-cp-5.5.0-src.zip) = f24cf9ca8021320d9ff40d24c79892e426b7481b159ce8f696c098f6cd4988c8
SIZE (jasperserver/jasperreports-server-cp-5.5.0-src.zip) = 269475922
SHA256 (jasperserver/FreeBSD-jasperreports-server-cp-5.5.0-maven-repository.zip) = 616df58afed994a926aafc58f88b6bc5b50fb6afee2d7fc065c7e9643c81c699
SIZE (jasperserver/FreeBSD-jasperreports-server-cp-5.5.0-maven-repository.zip) = 380124135
SHA256 (jasperserver/cobertura-maven-plugin-2.5-Jaspersoft.jar) = 287717fec79adee9120d3a8f076cace4d129138f8d33a765ac34c88219a1c0ec
SIZE (jasperserver/cobertura-maven-plugin-2.5-Jaspersoft.jar) = 53027
SHA256 (jasperserver/cobertura-maven-plugin-2.5-Jaspersoft.pom) = 89f141678291d33a5b583db75d7d8bf029346c55162b4829fa801d1dec26c3ec
SIZE (jasperserver/cobertura-maven-plugin-2.5-Jaspersoft.pom) = 444

View File

@ -1,38 +0,0 @@
INSERT INTO `JITenant` (`id`, `tenantId`, `parentId`, `tenantName`, `tenantDesc`, `tenantNote`, `tenantUri`, `tenantFolderUri`)
VALUES (1,'organizations',NULL,'root','organizations',' ','/','/');
INSERT INTO `JIRole` (`rolename`, `tenantId`,`externallyDefined`) VALUES
('ROLE_USER',1,0),
('ROLE_ADMINISTRATOR',1,0),
('ROLE_ANONYMOUS',1,0),
('ROLE_PORTLET',1,0);
INSERT INTO `JIUser` (`username`,`tenantId`,`fullname`,`emailAddress`,`password`,`externallyDefined`,`enabled`) VALUES
('anonymousUser',1,'Anonymous User',NULL,'CF35D2E88192D6EB',0,1);
INSERT INTO `JIUserRole` (`userId`,`roleId`)
select u.id, r.id from JIUser u, JIRole r where u.username = 'anonymousUser' and r.roleName = 'ROLE_ANONYMOUS';
-- add jasperadmin user
INSERT INTO `JIUser` (`username`,`tenantId`,`fullname`,`emailAddress`,`password`,`externallyDefined`,`enabled`) VALUES
('jasperadmin',1,'Jasper Administrator',NULL,'349AFAADD5C5A2BD477309618DCD58B9',0,1);
INSERT INTO `JIUserRole` (`userId`,`roleId`)
select u.id, r.id from JIUser u, JIRole r where u.username = 'jasperadmin' and r.roleName = 'ROLE_ADMINISTRATOR';
INSERT INTO JIUserRole (userId,roleId)
select u.id, r.id from JIUser u, JIRole r where u.username = 'jasperadmin' and r.roleName = 'ROLE_USER';
INSERT INTO `JIResourceFolder` (`id`,`version`,`uri`,`hidden`,`name`,`label`,`description`,`parent_folder`,`creation_date`) VALUES
(1,0,'/',0,'/','root','Root of the folder hierarchy',NULL,NOW());
INSERT INTO `JIObjectPermission` (`uri`,`recipientobjectclass`,`permissionMask`,`recipientobjectid`)
select 'repo:/','com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoRole', 1, r.id
from `JIRole` r where rolename = 'ROLE_ADMINISTRATOR';
INSERT INTO `JIObjectPermission` (`uri`,`recipientobjectclass`,`permissionMask`,`recipientobjectid`)
select 'repo:/','com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoRole', 2, r.id
from `JIRole` r where rolename = 'ROLE_USER';

View File

@ -1,38 +0,0 @@
-- Contributed by Alex Matzinger <amatzinger@experts-exchange.com>
INSERT INTO JITenant (id, tenantId, parentId, tenantName, tenantDesc, tenantNote, tenantUri, tenantFolderUri, tenantAlias)
VALUES (1,'organizations',NULL,'root','organizations',' ','/','/',' ');
INSERT INTO JIRole (rolename, tenantId,externallyDefined) VALUES ('ROLE_USER',1,false);
INSERT INTO JIRole (rolename, tenantId,externallyDefined) VALUES ('ROLE_ADMINISTRATOR',1,false);
INSERT INTO JIRole (rolename, tenantId,externallyDefined) VALUES ('ROLE_ANONYMOUS',1,false);
INSERT INTO JIRole (rolename, tenantId,externallyDefined) VALUES ('ROLE_PORTLET',1,false);
INSERT INTO JIUser (username,tenantId,fullname,emailAddress,password,externallyDefined,enabled) VALUES
('anonymousUser',1,'Anonymous User',NULL,'CF35D2E88192D6EB',false,true);
INSERT INTO JIUserRole (userId,roleId)
select u.id, r.id from JIUser u, JIRole r where u.username = 'anonymousUser' and r.roleName = 'ROLE_ANONYMOUS';
-- add jasperadmin user
INSERT INTO JIUser (username,tenantId,fullname,emailAddress,password,externallyDefined,enabled) VALUES
('jasperadmin',1,'Jasper Administrator',NULL,'349AFAADD5C5A2BD477309618DCD58B9',false,true);
INSERT INTO JIUserRole (userId,roleId)
select u.id, r.id from JIUser u, JIRole r where u.username = 'jasperadmin' and r.roleName = 'ROLE_ADMINISTRATOR';
INSERT INTO JIUserRole (userId,roleId)
select u.id, r.id from JIUser u, JIRole r where u.username = 'jasperadmin' and r.roleName = 'ROLE_USER';
INSERT INTO JIResourceFolder (id,version,uri,hidden,name,label,description,parent_folder,creation_date,update_date) VALUES
(1,0,'/',false,'/','root','Root of the folder hierarchy',NULL,NOW(),NOW());
INSERT INTO JIObjectPermission (uri,recipientobjectclass,permissionMask,recipientobjectid)
select 'repo:/','com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoRole', 1, r.id
from JIRole r where rolename = 'ROLE_ADMINISTRATOR';
INSERT INTO JIObjectPermission (uri,recipientobjectclass,permissionMask,recipientobjectid)
select 'repo:/','com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoRole', 2, r.id
from JIRole r where rolename = 'ROLE_USER';

View File

@ -1,120 +0,0 @@
--- ./jasperserver/buildomatic/bin/dev.xml.orig 2013-05-02 17:15:28.000000000 -0700
+++ ./jasperserver/buildomatic/bin/dev.xml 2013-05-02 17:15:49.000000000 -0700
@@ -68,7 +68,7 @@
<arg value="${maven.settings.file}"/>
<!-- <arg value="-e"/> --> <!-- ERROR INFO MODE -->
<!-- <arg value="-X"/> --> <!-- DETAILED DEBUG MODE -->
- <!-- <arg value="-o"/> --> <!-- OFFLINE MODE -->
+ <arg value="-o"/>
<args/>
</exec>
</sequential>
@@ -143,15 +143,6 @@
</sequential>
</macrodef>
- <macrodef name="runsvn">
- <attribute name="dir" default="${buildBase}"/>
- <element name="args" implicit="yes"/>
- <sequential>
- <exec executable="${svn}" dir="@{dir}" failonerror="true">
- <args/>
- </exec>
- </sequential>
- </macrodef>
<!-- ======================================================================= -->
@@ -170,7 +161,7 @@
<arg value="-Dversion=${maven.jdbc.version}"/>
<arg value="-Dpackaging=jar"/>
<arg value="-Dfile=${currentDbDir}/jdbc/${jdbcJar}"/>
- <!-- <arg value="-o"/> --> <!-- OFFLINE MODE -->
+ <arg value="-o"/>
</runmaven>
</target>
@@ -239,71 +230,6 @@
<echo></echo>
</target>
- <target name="test-svn"
- depends="init-source-paths"
- description="test svn">
- <echo>Testing svn...</echo>
- <runsvn>
- <arg value="list"/>
- <arg value="${js-url}"/>
- </runsvn>
- <!-- echo>open source working directory: ${js-path}</echo>
- <echo>pro working directory: ${js-path}</echo>
- -->
- </target>
-
- <target name="checkout-ce"
- depends="init-source-paths"
- description="svn checkout os">
- <runsvn>
- <arg value="co"/>
- <arg value="${js-url}"/>
- <arg value="${js-path}"/>
- </runsvn>
- </target>
-
- <target name="checkout-ce-anon"
- depends="init-source-paths"
- description="svn checkout os">
- <runsvn>
- <arg value="co"/>
- <arg line="--username anonsvn --password anonsvn"/>
- <arg value="${js-url}"/>
- <arg value="${js-path}"/>
- </runsvn>
- </target>
-
- <target name="checkout-pro"
- depends="init-source-paths"
- description="svn checkout pro">
- <runsvn>
- <arg value="co"/>
- <arg value="${js-pro-url}"/>
- <arg value="${js-pro-path}"/>
- </runsvn>
- </target>
-
- <target name="update-all"
- depends="update-ce,update-pro"
- description="svn update of ce src and pro src">
- </target>
-
- <target name="update-ce"
- depends="init-source-paths"
- description="svn update os">
- <runsvn dir="${js-path}">
- <arg value="update"/>
- </runsvn>
- </target>
-
- <target name="update-pro"
- depends="init-source-paths"
- description="svn update pro">
- <runsvn dir="${js-pro-path}">
- <arg value="update"/>
- </runsvn>
- </target>
-
<target name="build-src-all"
depends="build-ce, build-pro"
description="Builds JasperServer CE/Pro and copies WAR files to install resources">
@@ -608,11 +534,6 @@
build ddl pro, init js db pro, run integration tests pro, run production data pro">
</target>
- <target name="build-all-svn-update"
- depends="update-all,build-src-all,build-init-js-db-pro,run-integration-tests-pro,run-production-data-pro"
- description="(do not do svn update), clean build all src, drop-recreate db,
- build ddl pro, init js db pro, run integration tests pro, run production data pro">
- </target>
<target name="build-all-deploy"
depends="build-all,deploy-webapp-pro"

View File

@ -1,11 +0,0 @@
--- ./jasperserver/buildomatic/conf_source/db/mysql/db.template.properties.orig 2011-02-18 15:03:17.000000000 -0800
+++ ./jasperserver/buildomatic/conf_source/db/mysql/db.template.properties 2011-02-18 15:04:04.000000000 -0800
@@ -8,7 +8,7 @@
# jdbc url templates...assume same host, port, db type
admin.jdbcUrl=jdbc:mysql://${dbHost}:${dbPort}/mysql
-js.jdbcUrl=jdbc:mysql://${dbHost}:${dbPort}/${js.dbName}?useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true&amp;autoReconnectForPools=true
+js.jdbcUrl=jdbc:mysql://${dbHost}:${dbPort}/${js.dbName}?zeroDateTimeBehavior=convertToNull&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true&amp;autoReconnectForPools=true
sugarcrm.jdbcUrl=jdbc:mysql://${dbHost}:${dbPort}/${sugarcrm.dbName}?useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true&amp;autoReconnectForPools=true
foodmart.jdbcUrl=jdbc:mysql://${dbHost}:${dbPort}/${foodmart.dbName}?useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true&amp;autoReconnectForPools=true

View File

@ -1,118 +0,0 @@
--- ./jasperserver/buildomatic/install_resources/sql/postgresql/js-create.ddl.orig 2011-02-21 16:48:37.000000000 -0800
+++ ./jasperserver/buildomatic/install_resources/sql/postgresql/js-create.ddl 2011-02-21 15:45:58.000000000 -0800
@@ -1,6 +1,6 @@
create table JIAccessEvent (
- id int8 not null,
+ id bigserial not null,
user_id int8 not null,
event_date timestamp not null,
resource_id int8 not null,
@@ -108,7 +108,7 @@
);
create table JILogEvent (
- id int8 not null,
+ id bigserial not null,
occurrence_date timestamp not null,
event_type int2 not null,
component varchar(100),
@@ -136,7 +136,7 @@
);
create table JIObjectPermission (
- id int8 not null,
+ id bigserial not null,
uri varchar(250) not null,
recipientobjectclass varchar(250),
recipientobjectid int8,
@@ -158,7 +158,7 @@
);
create table JIProfileAttribute (
- id int8 not null,
+ id bigserial not null,
attrName varchar(255) not null,
attrValue varchar(255) not null,
principalobjectclass varchar(255) not null,
@@ -175,7 +175,7 @@
);
create table JIReportJob (
- id int8 not null,
+ id bigserial not null,
version int4 not null,
owner int8 not null,
label varchar(100) not null,
@@ -190,7 +190,7 @@
);
create table JIReportJobCalendarTrigger (
- id int8 not null,
+ id bigserial not null,
minutes varchar(200) not null,
hours varchar(80) not null,
days_type int2 not null,
@@ -201,7 +201,7 @@
);
create table JIReportJobMail (
- id int8 not null,
+ id bigserial not null,
version int4 not null,
subject varchar(100) not null,
message varchar(2000),
@@ -232,7 +232,7 @@
);
create table JIReportJobRepoDest (
- id int8 not null,
+ id bigserial not null,
version int4 not null,
folder_uri varchar(250) not null,
sequential_filenames bool not null,
@@ -251,7 +251,7 @@
);
create table JIReportJobTrigger (
- id int8 not null,
+ id bigserial not null,
version int4 not null,
timezone varchar(40),
start_type int2 not null,
@@ -287,7 +287,7 @@
);
create table JIRepositoryCache (
- id int8 not null,
+ id bigserial not null,
uri varchar(250) not null,
cache_name varchar(20) not null,
data bytea,
@@ -299,7 +299,7 @@
);
create table JIResource (
- id int8 not null,
+ id bigserial not null,
version int4 not null,
name varchar(100) not null,
parent_folder int8 not null,
@@ -328,7 +328,7 @@
);
create table JIRole (
- id int8 not null,
+ id bigserial not null,
rolename varchar(100) not null,
tenantId int8 not null,
externallyDefined bool,
@@ -352,7 +352,7 @@
);
create table JIUser (
- id int8 not null,
+ id bigserial not null,
username varchar(100) not null,
tenantId int8 not null,
fullname varchar(100) not null,

View File

@ -1,51 +0,0 @@
--- ./jasperserver/common/shared-config/applicationContext-themes.xml.orig 2011-10-18 16:40:01.000000000 -0700
+++ ./jasperserver/common/shared-config/applicationContext-themes.xml 2011-10-18 16:40:56.000000000 -0700
@@ -14,7 +14,6 @@
-->
-<!--
<bean id="themeResolver" class="org.springframework.web.servlet.theme.FixedThemeResolver">
<property name="defaultThemeName" value="default"/>
</bean>
@@ -22,27 +21,29 @@
<bean id="themeSource" class="org.springframework.ui.context.support.ResourceBundleThemeSource">
<property name="basenamePrefix" value="themes."/>
</bean>
--->
<!-- To run the themes from the repository, uncomment the three beans below and comment out the two beans above -->
-
+<!--
<bean id="themeResolver" class="com.jaspersoft.jasperserver.war.themes.JSThemeResolver">
<property name="defaultThemeName">
<util:property-path path="configurationBean.themeDefaultName"/>
</property>
<property name="delegate" ref="jsThemeResolver"/>
</bean>
-
+-->
+<!--
<bean id="jsThemeResolver" class="com.jaspersoft.jasperserver.war.themes.MTThemeResolver">
<property name="defaultThemeName">
<util:property-path path="configurationBean.themeDefaultName"/>
</property>
<property name="tenantService" ref="${bean.hibernateTenantService}" />
</bean>
-
+-->
+<!--
<bean id="themeSource" class="com.jaspersoft.jasperserver.war.themes.RepositoryFolderThemeSourceImpl">
<property name="themeCache" ref="themeCache"/>
</bean>
+-->
<bean id="themeCache" class="com.jaspersoft.jasperserver.war.themes.ThemeCache">
<property name="repositoryService" ref="unsecureRepositoryService"/>
@@ -84,4 +85,4 @@
<property name="themeSource" ref="themeSource" />
</bean>
-</beans>
\ No newline at end of file
+</beans>

View File

@ -1,11 +0,0 @@
--- ./jasperserver/jasperserver-war/src/main/webappAdditions/WEB-INF/web.xml.orig 2009-02-26 21:34:12.000000000 +0100
+++ ./jasperserver/jasperserver-war/src/main/webappAdditions/WEB-INF/web.xml 2010-10-17 22:22:39.000000000 +0200
@@ -288,7 +288,7 @@
<session-config>
<!-- Default to 20 minute session timeouts -->
- <session-timeout>20</session-timeout>
+ <session-timeout>%%JSTIMEOUT%%</session-timeout>
</session-config>
<jsp-config>

View File

@ -1,39 +0,0 @@
==============================================================================
To use this software package, you need to properly configure and enable an
application and database server. These components need to be enabled,
respectively, in /etc/rc.conf.
The %%DATABASE%% schema and default security credentials have been copied to:
- %%JSHOME%%/js-create.ddl
- %%JSHOME%%/quartz.ddl
- %%JSHOME%%/upgrade-%%DATABASE%%-5.1.0-5.2.0-ce.sql
- %%JSHOME%%/upgrade-%%DATABASE%%-%%JSUPDATE%%-ce.sql
and
- %%JSHOME%%/jasperserverCreateDefaultSecurity-%%DATABASE%%.sql
Take necessary precautions before loading this sql into the %%PORTNAME%% database.
To create the %%JSDB%% database, you may choose to run the following target against
%%SRCDIR%%/%%PORTNAME%%/buildomatic/js-ant
./js-ant create-js-db (Creates the %%JSDB%% database)
If the %%JSDB%% database already exists, you may need to first drop the database:
./js-ant drop-js-db (Drops the %%JSDB%% database)
Alternatively, you may choose to use the following method to create a suitable database:
(mysql) mysql> create database %%JSDB%% character set utf8;
(postgresql) create database %%JSDB%%;
============== W A R N I N G I M P O R T A N T N O T E =================
To upgrade, it is recommended to refer to the Installation Guide found here:
http://community.jaspersoft.com/documentation
============== W A R N I N G I M P O R T A N T N O T E =================
WWW: http://community.jaspersoft.com/project/jasperreports-server

View File

@ -1,5 +0,0 @@
JasperServer is a business intelligence platform based on JasperReports.
It is a Web and Web services based application for reporting, data analysis
(OLAP UI and server) and data integration.
WWW: http://community.jaspersoft.com/project/jasperreports-server

View File

@ -1,22 +0,0 @@
#!/bin/sh
# $FreeBSD$
BATCH=${BATCH:=no}
if [ "$2" = "PRE-INSTALL" ]; then
cat << _EOF
============== W A R N I N G I M P O R T A N T N O T E =================
To upgrade, it is recommended to refer to the Installation Guide found here:
http://community.jaspersoft.com/documentation
============== W A R N I N G I M P O R T A N T N O T E =================
_EOF
if [ -z "${PACKAGE_BUILDING}" -a "${BATCH}" = "no" ]; then
read -p "Hit ^c now to stop, any key to continue: " -t 20 a || true
echo
echo
fi
fi

File diff suppressed because it is too large Load Diff

View File

@ -1263,7 +1263,6 @@
SUBDIR += matreshka
SUBDIR += maven-ant-tasks
SUBDIR += maven-wrapper
SUBDIR += maven2
SUBDIR += maven3
SUBDIR += maven31
SUBDIR += mcpp

View File

@ -1,47 +0,0 @@
# Created by: Herve Quiroz <hq@FreeBSD.org>
# $FreeBSD$
PORTNAME= maven2
DISTVERSION= 2.2.1
PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= maven/binaries
DISTNAME= apache-maven-${DISTVERSION}-bin
MAINTAINER= wombat@marsupial.org
COMMENT= Java project management tool, 2.0 branch
RUN_DEPENDS= mvn:${PORTSDIR}/devel/maven-wrapper
DEPRECATED= No longer supported by the Apache Foundation. Use 3.x instead.
EXPIRATION_DATE=2014-08-18
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= m2.sh
SUB_LIST= CLASSWORLDS_JAR=classworlds-1.1.jar
WRKSRC= ${WRKDIR}/apache-maven-${DISTVERSION}
INSTANCE_FILE= 020201-${PORTNAME}-${PORTVERSION}
INSTANCES_DIR= etc/maven-wrapper/instances.d/
PLIST_FILES= ${INSTANCES_DIR}/${INSTANCE_FILE}
PORTDATA= *
post-extract:
${RM} -f ${WRKSRC}/bin/m2.bat
${ECHO_CMD} "${DATADIR}" > ${WRKSRC}/${INSTANCE_FILE}
do-install:
cd ${WRKSRC} && ${FIND} . -type d -exec ${MKDIR} \
${STAGEDIR}${DATADIR}/{} \;
cd ${WRKSRC} && ${FIND} . -type f -not -path "\./bin/" \
-exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
${INSTALL_DATA} ${WRKSRC}/bin/m2.conf ${STAGEDIR}${DATADIR}/bin
${INSTALL_SCRIPT} ${WRKDIR}/m2.sh ${STAGEDIR}${DATADIR}/bin/mvn
@${MKDIR} ${STAGEDIR}${PREFIX}/${INSTANCES_DIR}
${INSTALL_DATA} ${WRKSRC}/${INSTANCE_FILE} \
${STAGEDIR}${PREFIX}/${INSTANCES_DIR}
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (apache-maven-2.2.1-bin.tar.gz) = b9a36559486a862abfc7fb2064fd1429f20333caae95ac51215d06d72c02d376
SIZE (apache-maven-2.2.1-bin.tar.gz) = 2840961

View File

@ -1,18 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
if [ -f /etc/mavenrc ] ; then
. /etc/mavenrc
fi
if [ -f "${HOME}/.mavenrc" ] ; then
. "${HOME}/.mavenrc"
fi
M2_HOME=${M2_HOME:-"%%DATADIR%%"}
JAVA_VERSION="%%JAVA_VERSION%%" exec "%%LOCALBASE%%/bin/java" $MAVEN_OPTS \
-classpath "${M2_HOME}/boot/%%CLASSWORLDS_JAR%%" \
"-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
"-Dmaven.home=${M2_HOME}" org.codehaus.classworlds.Launcher "$@"

View File

@ -1,8 +0,0 @@
Maven is a software project management and comprehension tool. Based on the
concept of a project object model (POM), Maven can manage a project's build,
reporting and documentation from a central piece of information.
Maven 2.0 is a rewrite of the popular Maven application to achieve a number of
goals, and to provide a stable basis to take it into the future.
WWW: http://maven.apache.org/maven2/index.html