* Update to 5.9.0
* Convert to stage dir Changes: http://activemq.apache.org/activemq-590-release.html
This commit is contained in:
parent
d3d7a75575
commit
20df3ffac1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332291
6 changed files with 1443 additions and 197 deletions
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= activemq
|
||||
PORTVERSION= 5.8.0
|
||||
PORTVERSION= 5.9.0
|
||||
CATEGORIES= net java
|
||||
MASTER_SITES= http://www.sai.msu.su/apache/${MASTER_SITE_SUBDIR}/ \
|
||||
${MASTER_SITE_APACHE}/${MASTER_SITE_SUBDIR}/
|
||||
|
@ -11,10 +11,10 @@ DISTNAME= apache-${PORTNAME}-${PORTVERSION}-bin
|
|||
MAINTAINER= tj@FreeBSD.org
|
||||
COMMENT= Messaging and Integration Patterns provider
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
USE_JAVA= yes
|
||||
LICENSE= AL2
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.7+
|
||||
MQDATA= ${PREFIX}/lib/${PORTNAME}
|
||||
MQDB?= /var/db/activemq
|
||||
|
@ -23,41 +23,34 @@ MQUSER?= activemq
|
|||
MQGROUP?= ${MQUSER}
|
||||
USERS= ${MQUSER}
|
||||
GROUPS= ${MQGROUP}
|
||||
CAMELVERSION= 2.10.3
|
||||
SPRINGVERSION= 3.1.3
|
||||
JETTYVERSION= 7.6.7.v20120910
|
||||
LVDBVERSION= 0.5
|
||||
LVDBJNIVERSION= 1.5
|
||||
CAMELVERSION= 2.12.1
|
||||
SPRINGVERSION= 3.2.4
|
||||
JETTYVERSION= 7.6.9.v20130131
|
||||
LVDBVERSION= 0.6
|
||||
LVDBJNIVERSION= 1.7
|
||||
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
USE_RC_SUBR= ${PORTNAME}
|
||||
|
||||
PORTDOCS= LICENSE NOTICE README.txt WebConsole-README.txt user-guide.html
|
||||
ETC_FILES= activemq-command.xml \
|
||||
activemq-demo.xml \
|
||||
activemq-dynamic-network-broker1.xml \
|
||||
activemq-dynamic-network-broker2.xml \
|
||||
activemq-jdbc.xml \
|
||||
activemq-scalability.xml \
|
||||
activemq-security.xml \
|
||||
activemq-specjms.xml \
|
||||
activemq-static-network-broker1.xml \
|
||||
activemq-static-network-broker2.xml \
|
||||
activemq-stomp.xml \
|
||||
activemq-throughput.xml \
|
||||
activemq.xml \
|
||||
camel.xml \
|
||||
DOC_FILES= LICENSE NOTICE README.txt
|
||||
ETC_FILES= activemq.xml \
|
||||
broker-localhost.cert \
|
||||
broker.ks \
|
||||
broker.ts \
|
||||
client.ks \
|
||||
client.ts \
|
||||
credentials-enc.properties \
|
||||
credentials.properties \
|
||||
groups.properties \
|
||||
jetty-realm.properties \
|
||||
jetty.xml \
|
||||
jmx.access \
|
||||
jmx.password \
|
||||
log4j.properties \
|
||||
logging.properties
|
||||
|
||||
logging.properties \
|
||||
login.config \
|
||||
users.properties
|
||||
WRKSRC= ${WRKDIR}/apache-${PORTNAME}-${PORTVERSION}
|
||||
SUB_FILES= pkg-install pkg-deinstall
|
||||
SUB_LIST= ETC_FILES="${ETC_FILES}" \
|
||||
MQUSER="${MQUSER}" \
|
||||
MQGROUP="${MQGROUP}" \
|
||||
|
@ -71,45 +64,42 @@ PLIST_SUB= MQUSER="${MQUSER}" \
|
|||
JETTYVERSION="${JETTYVERSION}" \
|
||||
LVDBVERSION="${LVDBVERSION}" \
|
||||
LVDBJNIVERSION="${LVDBJNIVERSION}"
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${DOCSDIR}/
|
||||
.for f in ${PORTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
|
||||
.for f in ${DOC_FILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
@${MKDIR} ${MQDATA} ${MQDB} ${MQDATA}/bin ${ETCDIR}
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} example ${EXAMPLESDIR}/
|
||||
@${MKDIR} ${STAGEDIR}${MQDATA} ${STAGEDIR}${MQDATA}/bin ${STAGEDIR}${ETCDIR}
|
||||
@${MKDIR} ${STAGEDIR}${MQDB}
|
||||
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.for f in ${ETC_FILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/conf/${f} ${ETCDIR}/${f}.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/conf/${f} ${STAGEDIR}${ETCDIR}/${f}.sample
|
||||
.endfor
|
||||
|
||||
.for f in ${PORTNAME} ${PORTNAME}-admin diag
|
||||
@cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} ${f} ${MQDATA}/bin
|
||||
@cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} ${f} ${STAGEDIR}${MQDATA}/bin
|
||||
.endfor
|
||||
|
||||
@cd ${WRKSRC}/bin && ${INSTALL_DATA} activemq.jar ${MQDATA}/bin
|
||||
@cd ${WRKSRC}/bin && ${INSTALL_DATA} wrapper.jar ${MQDATA}/bin
|
||||
@cd ${WRKSRC}/bin && ${INSTALL_DATA} activemq.jar ${STAGEDIR}${MQDATA}/bin
|
||||
@cd ${WRKSRC}/bin && ${INSTALL_DATA} wrapper.jar ${STAGEDIR}${MQDATA}/bin
|
||||
|
||||
.for f in webapps webapps-demo lib
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${MQDATA}
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${MQDATA}
|
||||
.endfor
|
||||
|
||||
@${LN} -sf ${MQDB} ${MQDATA}/data
|
||||
@${LN} -sf ${ETCDIR} ${MQDATA}/conf
|
||||
@${LN} -sf ${EXAMPLESDIR}/example ${MQDATA}/example
|
||||
@${CHOWN} -Rh ${MQUSER}:${MQGROUP} ${MQDB} ${ETCDIR} ${EXAMPLES} \
|
||||
${MQDATA}
|
||||
|
||||
post-install:
|
||||
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
${INSTALL} -d -o ${MQUSER} -g ${MQGROUP} ${MQDB}
|
||||
@${LN} -sf ${MQDB} ${STAGEDIR}${MQDATA}/data
|
||||
@${LN} -sf ${ETCDIR} ${STAGEDIR}${MQDATA}/conf
|
||||
@${LN} -sf ${EXAMPLESDIR} ${STAGEDIR}${MQDATA}/examples
|
||||
@${LN} -sf ${DOCSDIR} ${STAGEDIR}${MQDATA}/docs
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (apache-activemq-5.8.0-bin.tar.gz) = 73657935c796275ed05df39a9247c1e507be0fa8f280c15fc3715f856ba54189
|
||||
SIZE (apache-activemq-5.8.0-bin.tar.gz) = 47362127
|
||||
SHA256 (apache-activemq-5.9.0-bin.tar.gz) = a3be191a2fe5034e4be3834cde3e081c8dd292b92a6a69b2fdb4497997c00773
|
||||
SIZE (apache-activemq-5.9.0-bin.tar.gz) = 55438331
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
|
||||
ETCDIR=%%ETCDIR%%
|
||||
ETC_FILES="%%ETC_FILES%%"
|
||||
|
||||
case $2 in
|
||||
DEINSTALL)
|
||||
for f in ${ETC_FILES}
|
||||
do
|
||||
/usr/bin/cmp -s ${ETCDIR}/${f}.sample \
|
||||
${ETCDIR}/${f} \
|
||||
&& /bin/rm -f ${ETCDIR}/${f}
|
||||
done
|
||||
esac
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
|
||||
ETCDIR=%%ETCDIR%%
|
||||
ETC_FILES="%%ETC_FILES%%"
|
||||
|
||||
case $2 in
|
||||
POST-INSTALL)
|
||||
for f in ${ETC_FILES}
|
||||
do
|
||||
if [ ! -f ${ETCDIR}/${f} ]; then
|
||||
/bin/cp ${ETCDIR}/${f}.sample ${ETCDIR}/${f}
|
||||
fi
|
||||
done
|
||||
esac
|
|
@ -1,4 +1,4 @@
|
|||
Apache ActiveMQ is the most popular and powerful open source messaging
|
||||
and Integration Patterns provider.
|
||||
|
||||
WWW: http://activemq.apache.org
|
||||
WWW: http://activemq.apache.org
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue