debian/0000755000000000000000000000000011761260656007200 5ustar debian/libactivemq-java-doc.doc-base0000644000000000000000000000035411761257647014571 0ustar Document: activemq Title: Apache ActiveMQ libraries Author: The Apache Software Foundation Section: Programming/Java Format: HTML Index: /usr/share/doc/libactivemq-java/api/index.html Files: /usr/share/doc/libactivemq-java/api/*.html debian/rules0000755000000000000000000000101511761257647010263 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/maven.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_MAVEN_DOC_TARGET := javadoc:aggregate DEB_MAVEN_BUILD_TARGET := install binary-post-install/activemq:: chmod 644 debian/activemq/etc/activemq/instances-available/main/log4j.properties chmod 644 debian/activemq/usr/share/doc/activemq/examples/conf/log4j.properties chmod 644 debian/activemq/usr/share/activemq/README.txt get-orig-source: uscan --force-download --rename debian/watch0000644000000000000000000000026411761257647010241 0ustar version=3 opts="uversionmangle=s/-(alpha|beta)-/~$1/,dversionmangle=s/\+dfsg$//" \ https://svn.apache.org/repos/asf/activemq/tags/ \ activemq-(\d.*)/ debian debian/orig-tar.sh debian/changelog0000644000000000000000000000666311761257647011073 0ustar activemq (5.6.0+dfsg-1) unstable; urgency=low * New upstream release: - Refresh all patches. - Drop d/patches/CVE-2011-4605.diff: merged upstream. - d/patches/exclude_mqtt.diff: Disable MQTT transport. - d/patches/exclude_leveldb.diff: Disable LevelDB Store. * d/maven.rules: Upgrade internal components version. * Build-Depends on libxstream-java (>= 1.4). -- Damien Raude-Morvan Fri, 25 May 2012 00:47:55 +0200 activemq (5.5.0+dfsg-7) unstable; urgency=low [ Ulrich Dangel ] * Install the activemq-{core,console,run} and kahadb jar files to /usr/share/java. (Closes: #668943) - Add the necessary --java-lib flag to d/libactivemq-java.poms [ Damien Raude-Morvan ] * Thanks to Ulrich Dangel for RC bugfix, upload to unstable. -- Damien Raude-Morvan Tue, 01 May 2012 14:38:27 +0200 activemq (5.5.0+dfsg-6) unstable; urgency=low * d/patches/activemq-admin.patch: Fix activemq-admin "unexpected operator" (Closes: #662698). Thanks to Mathieu Mitchell. * Bump Standards-Version to 3.9.3: no changes needed. -- Damien Raude-Morvan Sun, 01 Apr 2012 20:26:10 +0200 activemq (5.5.0+dfsg-5) unstable; urgency=high * Fix CVE-2011-4905 (potential Denial of Service) by backporting upstream patch on failover feature. (Closes: #655495). * Set urgency=high for security fix. -- Damien Raude-Morvan Sun, 15 Jan 2012 19:38:21 +0100 activemq (5.5.0+dfsg-4) unstable; urgency=low * d/activemq.init: Merge change proposed by Jonas Genannt to allow console startup, useful for debugging purposes. (Closes: #645241). -- Damien Raude-Morvan Wed, 26 Oct 2011 21:13:20 +0200 activemq (5.5.0+dfsg-3) unstable; urgency=low * d/control: Wrap-and-sort Build-Depends. * d/activemq.links: Since libasm3-java package now provide splited JAR also link all ASM3 jars (Closes: #644834). * d/maven.rules: - Don't replace osgi artifacts since they are now provided by official osgi-core package. - Force 2.1.1 version of maven-war-plugin. -- Damien Raude-Morvan Tue, 11 Oct 2011 23:11:16 +0200 activemq (5.5.0+dfsg-2) unstable; urgency=low * Drop d/patches/exclude_xsd_install.diff and install XSD files into JAR. * Build-Depends on libxbean-java 3.7 for maven-xbean-plugin. * Add new "activemq" package to start ActiveMQ server: - d/activemq.{postinst,prerm}: Create a activemq system user - d/activemq.{install,links}: Install activemq and activemq-admin commands to /usr/bin/, set /usr/share/activemq/ as ACTIVEMQ_HOME and install many examples into /usr/share/doc/activemq/examples/. - d/activemq.README.Debian: Describe how to setup an alternative instance (Closes: #634868). - Provide a way to handle multi-instances of activemq. Each directory inside /etc/activemq/instances-enabled/ will be started as an instance with its own configuration. Thanks to Jonas Genannt for patch. * d/patches/javadoc_links.diff: Update links to system-wide Javadoc. * d/libactivemq-java.README.Debian: Describe disabled features regarding upstream package. * d/control: Don't use package name in synospis. -- Damien Raude-Morvan Sun, 04 Sep 2011 18:50:59 +0200 activemq (5.5.0+dfsg-1) unstable; urgency=low * Initial release (Closes: #627778). -- Damien Raude-Morvan Tue, 21 Jun 2011 00:32:12 +0200 debian/activemq.README.Debian0000644000000000000000000000424011761257647013057 0ustar ActiveMQ Server for Debian ========================== Disabled features ----------------- This package doesn't contains (yet) all features provided by upstream as some dependencies are missing from Debian. For a list of disabled modules, you can look at /usr/share/doc/libactivemq-java/README.Debian Main ActiveMQ instance ---------------------- Current package provide a default ("main") instance for ActiveMQ. As of now, this instance only listen on loopback interface (127.0.0.1) on port 61616, with OpenWire protocol enabled. Messages storage is handled by kahadb in /var/lib/activemq/main/data/kahadb You can customize its environnement here : cp /usr/share/activemq/activemq-options /etc/activemq/instances-available/main/options Edit the file /etc/activemq/instances-available/main/options and restart it. And it's XML configuration can be edited here : /etc/activemq/instances-available/main/activemq.xml Enable it: ln -s /etc/activemq/instances-available/main \ /etc/activemq/instances-enabled/main Start it : invoke-rc.d activemq start Debug an ActiveMQ instance -------------------------- You can start any ActiveMQ instance in foreground for debugging. Start instance `foo` in forground: # /etc/init.d/activemq console foo Setup a new ActiveMQ instance ----------------------------- To create a new instance, you have to : mkdir /etc/activemq/instances-available/ Create your own configuration into /etc/activemq/instances-available//activemq.xml For example, you can copy a sample configuration : cp /etc/activemq/instances-available/main/* \ /etc/activemq/instances-available// If you need some other Xms / Xmx settings or want to use another JDK: cp /usr/share/activemq/activemq-options \ /etc/activemq/instances-available//options In this file, you can modify ACTIVEMQ_BASE if you want to store your data elsewhere than /var/lib/activemq// or JAVA_HOME if you want to use another JDK. Register this instance into enabled: ln -s /etc/activemq/instances-available/ \ /etc/activemq/instances-enabled/ Start it : invoke-rc.d activemq start debian/maven.ignoreRules0000644000000000000000000000452411761257647012541 0ustar # Maven ignore rules - ignore some Maven dependencies and plugins # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., this dependency is then removed # from the POM # junit junit jar s/3\\..*/3.x/ axion axion * * * * commons-primitives commons-primitives * * * * org.apache.activemq activemq-openwire-generator * * * * org.springframework.osgi spring-osgi-core * * * * org.apache.camel camel-core * * * * org.apache.camel camel-spring * * * * org.apache.derby derby * * * * org.apache.directory.server apacheds-core * * * * org.apache.directory.server apacheds-core-integ * * * * org.apache.directory.server apacheds-server-integ * * * * org.apache.ftpserver ftpserver-core * * * * org.jencks jencks * * * * org.eclipse.jetty.aggregate jetty-all-server * * * * org.fusesource.mqtt-client mqtt-client * * * * org.fusesource.fuse-extra fusemq-leveldb * * * * # Replaced by glassfish-j2ee org.apache.geronimo.specs geronimo-jta_1.0.1B_spec * * * * org.apache.geronimo.specs geronimo-j2ee-management_1.1_spec * * * * org.apache.geronimo.specs geronimo-annotation_1.0_spec * * * * org.apache.geronimo.specs geronimo-jacc_1.1_spec * * * * org.apache.geronimo.components geronimo-transaction * * * * # Maven plugins org.apache.maven.plugins maven-eclipse-plugin * * * * org.apache.rat apache-rat-plugin * * * * org.codehaus.mojo cobertura-maven-plugin * * * * org.codehaus.mojo findbugs-maven-plugin * * * * org.codehaus.mojo ianal-maven-plugin * * * * org.codehaus.mojo taglist-maven-plugin * * * * xsddoc maven-xsddoc-plugin * * * * org.mortbay.jetty jetty-maven-plugin * * * * # Test ? org.apache.activemq activeio-core test-jar * * * org.apache.activemq activemq-core jar * tests * org.apache.activemq activemq-core test-jar * * * org.jmock jmock-junit4 * * * * org.jmock jmock-legacy * * * * org.hamcrest hamcrest-all * * * * debian/maven.cleanIgnoreRules0000644000000000000000000000224411761257647013501 0ustar # Maven ignore rules - ignore some Maven dependencies and plugins # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., this dependency is then removed # from the POM # junit junit jar s/3\\..*/3.x/ # Maven plugins org.apache.maven.plugins maven-eclipse-plugin * * * * org.apache.rat apache-rat-plugin * * * * org.codehaus.mojo cobertura-maven-plugin * * * * org.codehaus.mojo findbugs-maven-plugin * * * * org.codehaus.mojo ianal-maven-plugin * * * * org.codehaus.mojo taglist-maven-plugin * * * * xsddoc maven-xsddoc-plugin * * * * org.mortbay.jetty jetty-maven-plugin * * * * org.jvnet.jaxb2.maven2 maven-jaxb2-plugin * * * * debian/activemq.dirs0000644000000000000000000000034011761257647011677 0ustar /etc/activemq /etc/activemq/instances-enabled /etc/activemq/instances-available /usr/share/activemq /usr/share/activemq/bin /usr/share/activemq/lib /usr/share/activemq/lib/optional /var/lib/activemq /var/lib/activemq/data debian/activemq.postrm0000644000000000000000000000231711761257647012270 0ustar #!/bin/sh set -e AMQ_HOME=/var/lib/activemq AMQ_GROUP=activemq AMQ_USER=activemq del_group() { if getent group $AMQ_GROUP > /dev/null 2>&1; then if [ -x "`which delgroup 2>/dev/null`" ]; then delgroup --system --only-if-empty $AMQ_GROUP else echo >&2 "Not removing \`$AMQ_GROUP' system group" \ "because delgroup command was not found." fi fi } del_user() { if getent passwd $AMQ_USER > /dev/null 2>&1; then if [ -x "`which deluser 2>/dev/null`" ]; then deluser --system $AMQ_USER else echo >&2 "Not removing \`$AMQ_USER' system account" \ "because deluser command was not found." fi fi } disable_user() { if getent passwd $AMQ_USER > /dev/null 2>&1; then usermod --shell /bin/false $AMQ_USER fi } if [ "$1" = "purge" ]; then # purge stats overrides # stats overrides could already be removed by root dpkg-statoverride --remove $AMQ_HOME || true # Unsure about this: # http://wiki.debian.org/AccountHandlingInMaintainerScripts del_user del_group # or just disable account ? # disable_user rm -rf $AMQ_HOME fi #DEBHELPER# debian/compat0000644000000000000000000000000211761257647010404 0ustar 7 debian/README.source0000644000000000000000000000226611761257647011373 0ustar Information about activemq ------------------------------ This package was debianized using the mh_make command from the maven-debian-helper package. The build system uses Maven but prevents it from downloading anything from the Internet, making the build compliant with the Debian policy. Cleanup for DFSG ---------------- Build upstream tarball from SVN tag : debian/rules get-orig-source Import upstream tarball without merging to debian (master) branch : git-import-orig --no-merge activemq_5.5.0.orig.tar.gz git tag upstream/5.5.0 Switch to dfsg_clean branch to do the real cleanup : git checkout dfsg_clean git pull . upstream git rm -r assembly/src/release/bin/linux-x86-32 git rm -r assembly/src/release/bin/linux-x86-64/ git rm -r assembly/src/release/bin/macosx/ git rm -r assembly/src/release/bin/solaris/ git rm -r assembly/src/release/bin/win32/ git commit -a -m "Make source dfsg clean" git tag upstream/5.5.0+dfsg git tar-tree upstream/5.5.0+dfsg activemq-5.5.0+dfsg | gzip > activemq_5.5.0+dfsg.orig.tar.gz pristine-tar commit activemq_5.5.0+dfsg.orig.tar.gz Merge back changes into debian (master) branch : git checkout master git pull . dfsg_clean debian/activemq.xml0000644000000000000000000000451211761257647011543 0ustar debian/activemq.init0000644000000000000000000001635111761257647011712 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: activemq # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: ActiveMQ instance # Description: Start ActiveMQ instance ### END INIT INFO # Author: Damien Raude-Morvan # Author: Jonas Genannt PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="ActiveMQ instance" NAME=activemq DAEMON=/usr/bin/$NAME SCRIPTNAME=/etc/init.d/`basename $0` DEFAULT=/etc/default/$NAME ACTIVEMQ_JAR=/usr/share/activemq/bin/run.jar ACTIVEMQ_INSTANCES_ENABLED=/etc/activemq/instances-enabled # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh # Define LSB log_* functions. # Depend on lsb-base (>= 3.2-14) to ensure that this file is present # and status_of_proc is working. . /lib/lsb/init-functions # Whether to start ActiveMQ (as a daemon or not) NO_START=0 ACTIVEMQ_USER=activemq DIETIME=2 # Read configuration variable file if it is present [ -r $DEFAULT ] && . $DEFAULT # Exit now if daemon binary is not installed test -x $DAEMON || exit 0 # Check that the user exists (if we set a user) # Does the user exist? if [ -n "$ACTIVEMQ_USER" ] ; then if getent passwd | grep -q "^$ACTIVEMQ_USER:"; then # Obtain the uid and gid DAEMONUID=`getent passwd |grep "^$ACTIVEMQ_USER:" | awk -F : '{print $3}'` DAEMONGID=`getent passwd |grep "^$ACTIVEMQ_USER:" | awk -F : '{print $4}'` else log_failure_msg "The user $ACTIVEMQ_USER, required to run $NAME does not exist." exit 1 fi fi # Check whether startup has been disabled if [ "$NO_START" != "0" -a "$1" != "stop" ]; then [ "$VERBOSE" != "no" ] && log_failure_msg "Not starting $NAME - edit /etc/default/$NAME and change NO_START to be 0 (or comment it out)." exit 0 fi # Check if any instances exists in instances-enabled directory check_instances_enabled() { if [ -d "$ACTIVEMQ_INSTANCES_ENABLED" ] && [ `/bin/ls $ACTIVEMQ_INSTANCES_ENABLED | wc -l` -gt 0 ]; then return 1 else return 0 fi } # Check if a given process pid's cmdline matches a given name running_pid() { pid=$1 [ -z "$pid" ] && return 1 [ ! -d /proc/$pid ] && return 1 cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|grep "activemq\.base" |cut -d= -f2` getinst=`basename $cmd` # Is this the expected server [ "x$getinst" != "x$INSTANCE" ] && return 1 return 0 } # Check if the process is running looking at /proc # (works for all users) running() { # No pidfile, probably no daemon present [ ! -f "$ACTIVEMQ_PIDFILE" ] && return 1 pid=`cat $ACTIVEMQ_PIDFILE` running_pid $pid || return 1 return 0 } # Start the process using the wrapper start_servers() { mkdir -p /var/run/activemq/ chown $ACTIVEMQ_USER /var/run/activemq/ if check_instances_enabled; then echo "No instances found at ${ACTIVEMQ_INSTANCES_ENABLED}." exit 0 fi for INSTANCE in `ls $ACTIVEMQ_INSTANCES_ENABLED`; do if [ -d "${ACTIVEMQ_INSTANCES_ENABLED}/${INSTANCE}" ]; then ACTIVEMQ_PIDFILE="/var/run/activemq/$INSTANCE.pid" ACTIVEMQ_CONFIG_DIR="$ACTIVEMQ_INSTANCES_ENABLED/$INSTANCE" export INSTANCE export ACTIVEMQ_USER export ACTIVEMQ_PIDFILE export ACTIVEMQ_HOME=/usr/share/activemq export ACTIVEMQ_CONFIG_DIR # Import global configuration . /usr/share/activemq/activemq-options # Import per instance configuration [ -r "${ACTIVEMQ_CONFIG_DIR}/options" ] && . ${ACTIVEMQ_CONFIG_DIR}/options log_progress_msg "$INSTANCE" start-stop-daemon --start --quiet --pidfile $ACTIVEMQ_PIDFILE \ --chuid $ACTIVEMQ_USER --background \ --name java --startas $DAEMON -- $ACTIVEMQ_ARGS errcode=$? if [ ! $errcode ]; then log_progress_msg "(failed)" else [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time if running; then log_progress_msg "(running)" else log_progress_msg "(failed?)" fi fi else echo -n "${INSTANCE} (not an directory)" fi done } # Stops an running Instance stop_server() { INSTANCE=$1 ACTIVEMQ_PIDFILE="/var/run/activemq/$INSTANCE.pid" start-stop-daemon --stop --quiet --pidfile $ACTIVEMQ_PIDFILE \ --user $ACTIVEMQ_USER \ --name java --startas $DAEMON -- stop if running; then force_stop fi if running; then log_progress_msg "(failed)" else log_progress_msg "(stopped)" fi } # Stop the process using the wrapper stop_servers() { for INSTANCE in `ls /var/run/activemq/`; do INSTANCE=$(echo $INSTANCE | sed 's@.pid@@') log_progress_msg "$INSTANCE" stop_server "$INSTANCE" done } # Force the process to die killing it manually force_stop() { [ ! -e "$ACTIVEMQ_PIDFILE" ] && return if running ; then kill -15 $pid # Is it really dead? sleep "$DIETIME"s if running ; then kill -9 $pid sleep "$DIETIME"s if running ; then echo "Cannot kill $NAME (pid=$pid)!" exit 1 fi fi fi rm -f $ACTIVEMQ_PIDFILE } case "$1" in console) INSTANCE=$2 if [ ! -z $INSTANCE ]; then log_daemon_msg "Starting with Console $DESC " "$INSTANCE" if [ -r "${ACTIVEMQ_INSTANCES_ENABLED}/${INSTANCE}/activemq.xml" ]; then ACTIVEMQ_PIDFILE="/var/run/activemq/$INSTANCE.pid" ACTIVEMQ_CONFIG_DIR="$ACTIVEMQ_INSTANCES_ENABLED/$INSTANCE" if [ -f $ACTIVEMQ_PIDFILE ]; then stop_server "$INSTANCE" fi export INSTANCE export ACTIVEMQ_USER export ACTIVEMQ_PIDFILE export ACTIVEMQ_HOME=/usr/share/activemq export ACTIVEMQ_CONFIG_DIR # Import global configuration . /usr/share/activemq/activemq-options # Import per instance configuration [ -r "${ACTIVEMQ_CONFIG_DIR}/options" ] && . ${ACTIVEMQ_CONFIG_DIR}/options ACTIVEMQ_ARGS=$(echo $ACTIVEMQ_ARGS | sed 's/start/console/') start-stop-daemon --start --pidfile $ACTIVEMQ_PIDFILE \ --chuid $ACTIVEMQ_USER \ --name java --startas $DAEMON -- $ACTIVEMQ_ARGS else echo "File ${ACTIVEMQ_INSTANCES_ENABLED}/${BROKER}/activemq.xml not found." exit 1 fi else echo "Usage: $0 console foo" echo "This will start instance foo in foreground useful for debugging purposes." exit 1 fi log_end_msg 0 ;; start) log_daemon_msg "Starting $DESC " "$NAME" start_servers log_end_msg 0 ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" stop_servers log_end_msg 0 ;; restart|force-reload) log_daemon_msg "Restarting $DESC" "$NAME" stop_servers start_servers log_end_msg 0 ;; status) log_daemon_msg "Checking status of $DESC" "$NAME" for INSTANCE in `ls $ACTIVEMQ_INSTANCES_ENABLED`; do if [ -d "${ACTIVEMQ_INSTANCES_ENABLED}/${INSTANCE}" ]; then ACTIVEMQ_PIDFILE="/var/run/activemq/${INSTANCE}.pid" log_progress_msg "$INSTANCE" if running; then log_progress_msg "(running)" else log_progress_msg "(stopped)" fi fi done log_end_msg 0 ;; reload) log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon" log_warning_msg "cannot re-read the config file (use restart)." ;; *) echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status|console}" >&2 exit 1 ;; esac exit 0 debian/activemq.install0000644000000000000000000000174011761257647012411 0ustar # File list from assembly/src/main/descriptors/common-bin.xml # and assembly/src/main/descriptors/unix-bin.xml assembly/src/release/README.txt /usr/share/activemq/ assembly/src/release/bin/activemq /usr/bin/ assembly/src/release/bin/activemq-admin /usr/bin/ assembly/src/release/conf/*.properties /usr/share/doc/activemq/examples/conf/ assembly/src/release/conf/*.xml /usr/share/doc/activemq/examples/conf/ assembly/src/release/conf/log4j.properties /etc/activemq/instances-available/main/ assembly/src/release/example/ruby/* /usr/share/doc/activemq/examples/ruby/ assembly/src/release/example/transactions/* /usr/share/doc/activemq/examples/transactions/ assembly/src/release/lib/activemq-rar.txt /usr/share/activemq/lib/ assembly/src/sample-conf/activemq-*.xml /usr/share/doc/activemq/examples/conf/ debian/activemq-options /usr/share/activemq/ debian/activemq.xml /etc/activemq/instances-available/main/ debian/activemq.postinst0000644000000000000000000000152311761257647012625 0ustar #!/bin/sh set -e AMQ_HOME=/var/lib/activemq AMQ_GROUP=activemq AMQ_USER=activemq create_group() { if ! getent group $AMQ_GROUP > /dev/null 2>&1; then addgroup --system $AMQ_GROUP fi } create_user() { if ! getent passwd $AMQ_USER > /dev/null 2>&1; then adduser --system --no-create-home --ingroup $AMQ_GROUP \ --home $AMQ_HOME --shell /bin/bash $AMQ_USER else AMQ_HOME=`getent passwd $AMQ_USER | cut -f6 -d:` # Renable user (give him a shell) usermod --shell /bin/bash $AMQ_USER fi } if [ "$1" = "configure" ]; then create_group create_user # Use dpkg-statoverride instead of direct chmod/chown if ! dpkg-statoverride --list $AMQ_HOME >/dev/null 2>&1; then dpkg-statoverride --update --add $AMQ_USER root 755 $AMQ_HOME fi fi #DEBHELPER# debian/source/0000755000000000000000000000000011761257647010506 5ustar debian/source/format0000644000000000000000000000001411761257647011714 0ustar 3.0 (quilt) debian/main.xml0000644000000000000000000000451211761257647010656 0ustar debian/maven.rules0000644000000000000000000000442511761257647011375 0ustar # Maven rules - transform Maven dependencies and plugins # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # - a regular expression of the form s/match/replace/ # in this case, elements that match are transformed using # the regex rule. # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., replacing the version with 3.x # junit junit jar s/3\\..*/3.x/ org.apache.activemq activemq-core jar s/.*/5.6.0/ * * org.apache.activemq activemq-jaas jar s/.*/5.6.0/ * * org.apache.activemq activemq-ra jar s/.*/5.6.0/ * * org.apache.activemq kahadb jar s/.*/5.6.0/ * * org.apache.activemq activemq-pool jar s/.*/5.6.0/ * * org.apache.activemq activemq-console jar s/.*/5.6.0/ * * # Dependencies org.apache.activemq.protobuf activemq-protobuf * s/.*/1.1/ * * commons-collections commons-collections jar s/3\..*/3.x/ * * commons-httpclient commons-httpclient jar s/3\..*/3.x/ * * commons-net commons-net jar s/2\..+/2.x/ * * s/jdom/org.jdom/ jdom jar s/1\..*/debian/ * * log4j log4j jar s/1\.2\..*/1.2.x/ * * junit junit jar s/.*/4.x/ * * s/regexp/jakarta-regexp/ s/regexp/jakarta-regexp/ jar s/.*/debian/ * * commons-logging commons-logging * s/.*/debian/ * * commons-logging commons-logging-api * s/.*/debian/ * * s/ant/org.apache.ant/ * * s/.*/debian/ * * org.springframework * * s/.*/3.x/ * * s/velocity/org.apache.velocity/ * * s/.*/debian/ * * # JEE s/org.apache.geronimo.specs/javax/ s/geronimo-jms_1.1_spec/javaee-api/ jar s/.*/5.0/ * * s/org.apache.geronimo.specs/javax/ s/geronimo-jta_1.0.1B_spec/javaee-api/ jar s/.*/5.0/ * * s/org.apache.geronimo.specs/javax/ s/geronimo-jacc_1.1_spec/javaee-api/ jar s/.*/5.0/ * * s/org.apache.geronimo.specs/javax/ s/geronimo-j2ee-connector_1.5_spec/javaee-api/ jar s/.*/5.0/ * * s/org.apache.geronimo.specs/javax/ s/geronimo-servlet_2.5_spec/javaee-api/ jar s/.*/5.0/ * * debian/maven.properties0000644000000000000000000000017111761257647012431 0ustar # Include here properties to pass to Maven during the build. # For example: # maven.test.skip=true maven.test.skip=true debian/patches/0000755000000000000000000000000011761257647010635 5ustar debian/patches/exclude_geronimo_jca.diff0000644000000000000000000000343611761257647015642 0ustar Description: Disabled usage of Geronimo JCA provider because its not yet in Debian. Author: Damien Raude-Morvan Last-Update: 2011-06-21 Forwarded: not-needed --- a/activemq-pool/pom.xml +++ b/activemq-pool/pom.xml @@ -42,6 +42,21 @@ + + + + maven-compiler-plugin + + + **/JcaPooledConnectionFactory.* + **/JcaConnectionPool.* + **/ActiveMQResourceManager.* + + + + + + --- a/activemq-spring/src/main/java/org/apache/activemq/pool/PooledConnectionFactoryBean.java +++ b/activemq-spring/src/main/java/org/apache/activemq/pool/PooledConnectionFactoryBean.java @@ -112,7 +112,7 @@ */ @PostConstruct public void afterPropertiesSet() throws Exception { - if (pooledConnectionFactory == null && transactionManager != null && resourceName != null) { + /*if (pooledConnectionFactory == null && transactionManager != null && resourceName != null) { try { LOGGER.debug("Trying to build a JcaPooledConnectionFactory"); JcaPooledConnectionFactory f = new JcaPooledConnectionFactory(); @@ -126,7 +126,7 @@ } catch (Throwable t) { LOGGER.debug("Could not create JCA enabled connection factory: " + t, t); } - } + }*/ if (pooledConnectionFactory == null && transactionManager != null) { try { LOGGER.debug("Trying to build a XaPooledConnectionFactory"); debian/patches/exclude_spring_osgi.diff0000644000000000000000000000244311761257647015526 0ustar Description: Disable Spring OSGi support because it's not yet in Debian. Author: Damien Raude-Morvan Last-Update: 2011-06-21 Forwarded: not-needed --- a/activemq-spring/src/main/java/org/apache/activemq/hooks/SpringContextHook.java +++ b/activemq-spring/src/main/java/org/apache/activemq/hooks/SpringContextHook.java @@ -23,7 +23,6 @@ import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.context.ConfigurableApplicationContext; -import org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext; public class SpringContextHook implements Runnable, ApplicationContextAware { @@ -34,13 +33,13 @@ if (applicationContext instanceof ConfigurableApplicationContext) { ((ConfigurableApplicationContext) applicationContext).close(); } - if (applicationContext instanceof OsgiBundleXmlApplicationContext){ + /*if (applicationContext instanceof OsgiBundleXmlApplicationContext){ try { ((OsgiBundleXmlApplicationContext)applicationContext).getBundle().stop(); } catch (BundleException e) { LOG.info("Error stopping OSGi bundle " + e, e); } - } + }*/ } debian/patches/disable_some_modules.diff0000644000000000000000000000220611761257647015645 0ustar Description: Only enable some modules for now Author: Damien Raude-Morvan Last-Update: 2011-05-08 Forwarded: not-needed --- a/pom.xml +++ b/pom.xml @@ -171,27 +171,35 @@ + activemq-console activemq-core activemq-fileserver activemq-jaas + activemq-pool activemq-ra + activemq-run activemq-spring + activemq-jmdns_1.0 kahadb debian/patches/drop_derby_use.diff0000644000000000000000000000231611761257647014476 0ustar Description: Drop usage of derby inside activemq-core/src/main/java/org/apache/activemq/store/jdbc/DataSourceSupport.java Author: Damien Raude-Morvan Last-Update: 2011-05-08 Forwarded: not-needed --- a/activemq-core/src/main/java/org/apache/activemq/store/jdbc/DataSourceSupport.java +++ b/activemq-core/src/main/java/org/apache/activemq/store/jdbc/DataSourceSupport.java @@ -22,7 +22,7 @@ import javax.sql.DataSource; import org.apache.activemq.util.IOHelper; -import org.apache.derby.jdbc.EmbeddedDataSource; +//import org.apache.derby.jdbc.EmbeddedDataSource; /** * A helper class which provides a factory method to create a default @@ -83,10 +83,11 @@ System.setProperty("derby.storage.fileSyncTransactionLog", "true"); System.setProperty("derby.storage.pageCacheSize", "100"); - final EmbeddedDataSource ds = new EmbeddedDataSource(); - ds.setDatabaseName("derbydb"); - ds.setCreateDatabase("create"); - return ds; + //final EmbeddedDataSource ds = new EmbeddedDataSource(); + //ds.setDatabaseName("derbydb"); + //ds.setCreateDatabase("create"); + //return ds; + return null; } public String toString() { debian/patches/activemq-admin.patch0000644000000000000000000000117011761257647014554 0ustar Description: Fix running activemq-admin without any argument which led to "132: [: =: unexpected operator". Author: Mathieu Mitchell Last-Update: 2012-03-05 Forwarded: no --- a/assembly/src/release/bin/activemq-admin +++ b/assembly/src/release/bin/activemq-admin @@ -146,7 +146,7 @@ # Set default classpath ACTIVEMQ_CLASSPATH="${ACTIVEMQ_CONF};"$ACTIVEMQ_CLASSPATH -if [ ""$1 = "start" ] ; then +if [ "$1" = "start" ] ; then if [ -z "$ACTIVEMQ_OPTS" ] ; then ACTIVEMQ_OPTS="-Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties" fi debian/patches/init_debian_default_values.diff0000644000000000000000000000737311761257647017031 0ustar Description: Init script for ActiveMQ : Use default values compliant with Debian installation. ACTIVEMQ_HOME=/usr/share/activemq ACTIVEMQ_BASE="/var/lib/activemq" ACTIVEMQ_CONFIG_DIR="/etc/activemq" ACTIVEMQ_PIDFILE="/var/run/activemq.pid" JAVA_HOME="/usr/lib/jvm/java-6-openjdk/" Create data directory and chown to $ACTIVEMQ_USER Author: Damien Raude-Morvan Last-Update: 2011-07-22 Forwarded: not-needed --- a/assembly/src/release/bin/activemq +++ b/assembly/src/release/bin/activemq @@ -29,18 +29,16 @@ # ------------------------------------------------------------------------ # CONFIGURATION -ACTIVEMQ_CONFIGS="/etc/default/activemq $HOME/.activemqrc" +ACTIVEMQ_CONFIGS="/usr/share/activemq/activemq-options" + +if [ -r "/etc/activemq/instances-enabled/$INSTANCE/options" ]; then + ACTIVEMQ_CONFIGS="/etc/activemq/instances-enabled/$INSTANCE/options" + fi + # Backup invocation parameters COMMANDLINE_ARGS="$@" -# For using instances -if ( basename $0 | grep "activemq-instance-" > /dev/null);then - INST="`basename $0|sed 's/^activemq-instance-//;s/\.sh$//'`" - ACTIVEMQ_CONFIGS="/etc/default/activemq-instance-${INST} $HOME/.activemqrc-instance-${INST}" - echo "INFO: Using alternative activemq configuration files: $ACTIVEMQ_CONFIGS" -fi - ## START:DEFAULTCONFIG # ------------------------------------------------------------------------ # Configuration file for running Apache Active MQ as standalone provider @@ -50,43 +48,13 @@ # Active MQ installation dir if [ -z "$ACTIVEMQ_HOME" ] ; then # try to find ACTIVEMQ - if [ -d /opt/activemq ] ; then - ACTIVEMQ_HOME=/opt/activemq - fi - - if [ -d "${HOME}/opt/activemq" ] ; then - ACTIVEMQ_HOME="${HOME}/opt/activemq" + if [ -d /usr/share/activemq ] ; then + ACTIVEMQ_HOME=/usr/share/activemq fi - - ## resolve links - $0 may be a link to activemq's home - PRG="$0" - progname=`basename "$0"` - saveddir=`pwd` - - # need this for relative symlinks - dirname_prg=`dirname "$PRG"` - cd "$dirname_prg" - - while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '.*/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi - done - - ACTIVEMQ_HOME=`dirname "$PRG"`/.. - - cd "$saveddir" - - # make it fully qualified - ACTIVEMQ_HOME=`cd "$ACTIVEMQ_HOME" && pwd` fi if [ -z "$ACTIVEMQ_BASE" ] ; then - ACTIVEMQ_BASE="$ACTIVEMQ_HOME" + ACTIVEMQ_BASE="/var/lib/activemq" fi # Active MQ configuration directory @@ -102,7 +70,7 @@ # Configure a user with non root priviledges, if no user is specified do not change user if [ -z "$ACTIVEMQ_USER" ] ; then - ACTIVEMQ_USER="" + ACTIVEMQ_USER="activemq" fi # Active MQ data directory @@ -140,14 +108,14 @@ # Location of the pidfile if [ -z "$ACTIVEMQ_PIDFILE" ]; then - ACTIVEMQ_PIDFILE="$ACTIVEMQ_DATA/activemq-`hostname`.pid" + ACTIVEMQ_PIDFILE="/var/run/activemq.pid" fi # Location of the java installation # Specify the location of your java installation using JAVA_HOME, or specify the # path to the "java" binary using JAVACMD # (set JAVACMD to "auto" for automatic detection) -#JAVA_HOME="" +JAVA_HOME="/usr/lib/jvm/java-6-openjdk/" JAVACMD="auto" # Set jvm memory configuration @@ -391,6 +359,15 @@ DOIT_POSTFIX=" - $ACTIVEMQ_USER" echo "INFO: changing to user '$ACTIVEMQ_USER' to invoke java" fi + + # Create data directory and chown to $ACTIVEMQ_USER + if [ ! -d "$ACTIVEMQ_DATA_DIR" ]; then + mkdir -p $ACTIVEMQ_DATA_DIR + if [ -z "$ACTIVEMQ_USER" ]; then + chown -R $ACTIVEMQ_USER $ACTIVEMQ_DATA_DIR + fi + fi + # Execute java binary if [ -n "$PIDFILE" ] && [ "$PIDFILE" != "stop" ];then $DOIT_PREFIX "$JAVACMD $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \ debian/patches/javadoc_links.diff0000644000000000000000000000506611761257647014305 0ustar Description: Use Javadoc installed system-wide for HTML links. Author: Damien Raude-Morvan Last-Update: 2011-07-22 Forwarded: not-needed --- a/activemq-core/pom.xml +++ b/activemq-core/pom.xml @@ -303,7 +303,7 @@ ${javase-javadoc-url} ${javaee-javadoc-url} ${slf4j-javadoc-url} - http://junit.sourceforge.net/javadoc/ + /usr/share/doc/junit4/api/ ${basedir}/../etc/css/stylesheet.css true --- a/pom.xml +++ b/pom.xml @@ -102,7 +102,7 @@ scpexe://people.apache.org/www/activemq.apache.org/maven/ 1.6 1.6 - http://download.oracle.com/javase/6/docs/api/ + /usr/share/doc/default-jdk-doc/api/ http://download.oracle.com/javaee/6/api/ http://www.slf4j.org/apidocs/ @@ -1268,14 +1268,14 @@ ${javase-javadoc-url} ${javaee-javadoc-url} - http://jakarta.apache.org/commons/collections/apidocs-COLLECTIONS_3_0/ - http://jakarta.apache.org/commons/dbcp/apidocs/ - http://jakarta.apache.org/commons/fileupload/apidocs/ - http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/ + /usr/share/doc/libcommons-collections3-java-doc/api/ + /usr/share/doc/libcommons-dbcp-java/api/ + /usr/share/doc/libcommons-fileupload-java/api/ + /usr/share/doc/libcommons-httpclient-java-doc/docs/apidocs/ ${slf4j-javadoc-url} - http://jakarta.apache.org/commons/pool/apidocs/ - http://junit.sourceforge.net/javadoc/ - http://logging.apache.org/log4j/docs/api/ + /usr/share/doc/libcommons-pool-java/api/ + /usr/share/doc/junit4/api/ + /usr/share/doc/liblog4j1.2-java/api/ ${basedir}/../etc/css/stylesheet.css true debian/patches/series0000644000000000000000000000032011761257647012045 0ustar drop_derby_use.diff disable_some_modules.diff exclude_geronimo_jca.diff exclude_spring_osgi.diff javadoc_links.diff init_debian_default_values.diff activemq-admin.patch exclude_mqtt.diff exclude_leveldb.diff debian/patches/exclude_leveldb.diff0000644000000000000000000000144011761257647014614 0ustar Description: Disable LevelDB Store (new feature of 5.6 release) because it depends on non-existing library in Debian. Author: Damien Raude-Morvan Last-Update: 2012-05-28 Forwarded: not-needed --- a/activemq-core/pom.xml +++ b/activemq-core/pom.xml @@ -53,7 +53,6 @@ org.springframework.beans.factory.xml;resolution:=optional, org.w3c.dom.traversal*;resolution:=optional, org.fusesource.hawtbuf*;resolution:=optional, - org.fusesource.mq.leveldb*;resolution:=optional, * @@ -410,6 +409,7 @@ **/mqtt/* + **/leveldb/* debian/patches/exclude_mqtt.diff0000644000000000000000000000203611761257647014166 0ustar Description: Disable MQTT transport (new feature of 5.6 release) because it depends on non-existing library in Debian. Author: Damien Raude-Morvan Last-Update: 2012-05-28 Forwarded: not-needed --- a/activemq-core/pom.xml +++ b/activemq-core/pom.xml @@ -54,8 +54,6 @@ org.w3c.dom.traversal*;resolution:=optional, org.fusesource.hawtbuf*;resolution:=optional, org.fusesource.mq.leveldb*;resolution:=optional, - org.fusesource.mqtt.client*;resolution:=optional, - org.fusesource.mqtt.codec*;resolution:=optional, * @@ -407,6 +405,15 @@ + + maven-compiler-plugin + + + **/mqtt/* + + + + maven-surefire-plugin debian/orig-tar.sh0000755000000000000000000000070511761257647011273 0ustar #!/bin/sh -e VERSION=$2 TAR=../activemq_$VERSION.orig.tar.gz DIR=activemq-$VERSION TAG=$(echo "activemq-$VERSION" | sed -re's/~(alpha|beta)/-\1-/') svn export https://svn.apache.org/repos/asf/activemq/tags/${TAG}/ $DIR GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR rm -rf $DIR ../$TAG # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir && echo "moved $TAR to $origDir" fi debian/libactivemq-java-doc.install0000644000000000000000000000007311761257647014560 0ustar target/site/apidocs/* /usr/share/doc/libactivemq-java/api/ debian/activemq.links0000644000000000000000000000720611761257647012066 0ustar /usr/share/java/activemq-run.jar /usr/share/activemq/bin/run.jar /usr/share/java/activemq-console.jar /usr/share/activemq/lib/activemq-console.jar /usr/share/java/activemq-core.jar /usr/share/activemq/lib/activemq-core.jar /usr/share/java/activemq-jaas.jar /usr/share/activemq/lib/activemq-jaas.jar /usr/share/java/activemq-protobuf.jar /usr/share/activemq/lib/activemq-protobuf.jar /usr/share/java/glassfish-javaee.jar /usr/share/activemq/lib/glassfish-javaee.jar /usr/share/java/jcl-over-slf4j.jar /usr/share/activemq/lib/jcl-over-slf4j.jar /usr/share/java/kahadb.jar /usr/share/activemq/lib/kahadb.jar /usr/share/java/slf4j-api.jar /usr/share/activemq/lib/slf4j-api.jar /usr/share/java/activeio-core.jar /usr/share/activemq/lib/optional/activeio-core.jar /usr/share/java/activemq-jmdns_1.0.jar /usr/share/activemq/lib/optional/activemq-jmdns_1.0.jar /usr/share/java/activemq-pool.jar /usr/share/activemq/lib/optional/activemq-pool.jar /usr/share/java/activemq-spring.jar /usr/share/activemq/lib/optional/activemq-spring.jar /usr/share/java/asm3.jar /usr/share/activemq/lib/optional/asm3.jar /usr/share/java/asm3-commons.jar /usr/share/activemq/lib/optional/asm3-commons.jar /usr/share/java/commons-beanutils.jar /usr/share/activemq/lib/optional/commons-beanutils.jar /usr/share/java/commons-codec.jar /usr/share/activemq/lib/optional/commons-codec.jar /usr/share/java/commons-collections3.jar /usr/share/activemq/lib/optional/commons-collections3.jar /usr/share/java/commons-dbcp.jar /usr/share/activemq/lib/optional/commons-dbcp.jar /usr/share/java/commons-httpclient.jar /usr/share/activemq/lib/optional/commons-httpclient.jar /usr/share/java/commons-lang.jar /usr/share/activemq/lib/optional/commons-lang.jar /usr/share/java/commons-net2.jar /usr/share/activemq/lib/optional/commons-net2.jar /usr/share/java/commons-pool.jar /usr/share/activemq/lib/optional/commons-pool.jar /usr/share/java/jasypt.jar /usr/share/activemq/lib/optional/jasypt.jar /usr/share/java/jettison.jar /usr/share/activemq/lib/optional/jettison.jar /usr/share/java/josql.jar /usr/share/activemq/lib/optional/josql.jar /usr/share/java/log4j-1.2.jar /usr/share/activemq/lib/optional/log4j-1.2.jar /usr/share/java/slf4j-log4j12.jar /usr/share/activemq/lib/optional/slf4j-log4j12.jar /usr/share/java/spring3-aop.jar /usr/share/activemq/lib/optional/spring3-aop.jar /usr/share/java/spring3-beans.jar /usr/share/activemq/lib/optional/spring3-beans.jar /usr/share/java/spring3-context.jar /usr/share/activemq/lib/optional/spring3-context.jar /usr/share/java/spring3-core.jar /usr/share/activemq/lib/optional/spring3-core.jar /usr/share/java/spring3-expression.jar /usr/share/activemq/lib/optional/spring3-expression.jar /usr/share/java/spring3-jms.jar /usr/share/activemq/lib/optional/spring3-jms.jar /usr/share/java/spring3-orm.jar /usr/share/activemq/lib/optional/spring3-orm.jar /usr/share/java/spring3-transaction.jar /usr/share/activemq/lib/optional/spring3-transaction.jar /usr/share/java/stax-api.jar /usr/share/activemq/lib/optional/stax-api.jar /usr/share/java/velocity.jar /usr/share/activemq/lib/optional/velocity.jar /usr/share/java/wstx-lgpl.jar /usr/share/activemq/lib/optional/wstx-lgpl.jar /usr/share/java/xbean-spring.jar /usr/share/activemq/lib/optional/xbean-spring.jar /usr/share/java/xpp3.jar /usr/share/activemq/lib/optional/xpp3.jar /usr/share/java/xstream.jar /usr/share/activemq/lib/optional/xstream.jar debian/activemq-options0000644000000000000000000000067111761257647012437 0ustar # Time to wait for the server to start, in seconds STARTTIME=5 # !!! Use a specific data directory for each instance ACTIVEMQ_BASE="/var/lib/activemq/$INSTANCE" # Use openjdk-6 as default Java runtime JAVA_HOME="/usr/lib/jvm/java-6-openjdk/" # Set some JVM memory options ACTIVEMQ_OPTS="-Xms512M -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true" # Arguments to launch /usr/bin/activemq ACTIVEMQ_ARGS="start xbean:activemq.xml" debian/control0000644000000000000000000001256111761257647010616 0ustar Source: activemq Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Damien Raude-Morvan Build-Depends: cdbs, debhelper (>= 7), default-jdk, maven-debian-helper (>= 1.4) Build-Depends-Indep: ant, default-jdk-doc, glassfish-javaee (>= 2.1.1-b31g), libactivemq-activeio-java, libactivemq-protobuf-java, libaopalliance-java, libaxis-java, libaxis-java-doc, libbuild-helper-maven-plugin-java, libcommons-beanutils-java, libcommons-beanutils-java-doc, libcommons-collections3-java, libcommons-daemon-java, libcommons-httpclient-java, libcommons-io-java, libcommons-logging-java, libcommons-logging-java-doc, libcommons-net2-java, libcommons-net2-java-doc, libcommons-pool-java, libcommons-pool-java-doc, libgentlyweb-utils-java, libgentlyweb-utils-java-doc, libjasypt-java, libjasypt-java-doc, libjavacc-maven-plugin-java, libjdom1-java (>= 1.0), libjdom1-java-doc, libjettison-java, libjosql-java, libjosql-java-doc, liblog4j1.2-java, libmaven-antrun-plugin-java, libmaven-bundle-plugin-java, libmaven-enforcer-plugin-java, libmaven-install-plugin-java, libmaven-javadoc-plugin-java, libmaven-shade-plugin-java, libmaven-war-plugin-java, libslf4j-java, libspring-context-java (>= 3.0.5.RELEASE-3), libspring-jms-java, libspring-test-java, libspring-web-java, libspring-web-servlet-java, libstax-java, libxalan2-java, libxbean-java (>= 3.7), libxbean-java-doc, libxpp3-java, libxstream-java (>= 1.4) Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/pkg-java/activemq.git Vcs-Browser: http://git.debian.org/?p=pkg-java/activemq.git Homepage: http://activemq.apache.org Package: libactivemq-java Architecture: all Depends: ${maven:Depends}, ${misc:Depends} Recommends: ${maven:OptionalDepends} Suggests: libactivemq-java-doc Description: Java message broker core libraries Apache ActiveMQ is a message broker built around Java Message Service (JMS) API : allow sending messages between two or more clients in a loosely coupled, reliable, and asynchronous way. . This message broker supports : * JMS 1.1 and J2EE 1.4 with support for transient, persistent, transactional and XA messaging * Spring Framework, CXF and Axis integration * pluggable transport protocols such as in-VM, TCP, SSL, NIO, UDP, multicast, JGroups and JXTA * persistence using JDBC along with journaling * OpenWire (cross language wire protocol) and Stomp (Streaming Text Orientated Messaging Protocol) protocols . This package contains a core Java library for ActiveMQ. Package: libactivemq-java-doc Architecture: all Section: doc Depends: ${maven:DocDepends}, ${misc:Depends} Recommends: ${maven:DocOptionalDepends} Suggests: libactivemq-java Description: Java message broker core libraries - documentation Apache ActiveMQ is a message broker built around Java Message Service (JMS) API : allow sending messages between two or more clients in a loosely coupled, reliable, and asynchronous way. . This message broker supports : * JMS 1.1 and J2EE 1.4 with support for transient, persistent, transactional and XA messaging * Spring Framework, CXF and Axis integration * pluggable transport protocols such as in-VM, TCP, SSL, NIO, UDP, multicast, JGroups and JXTA * persistence using JDBC along with journaling * OpenWire (cross language wire protocol) and Stomp (Streaming Text Orientated Messaging Protocol) protocols . This package contains Javadoc API for libactivemq-java. Package: activemq Architecture: all Depends: adduser (>= 3.11), libactivemq-java (= ${source:Version}), openjdk-6-jre-headless | java6-runtime-headless, ${misc:Depends} Description: Java message broker - server Apache ActiveMQ is a message broker built around Java Message Service (JMS) API : allow sending messages between two or more clients in a loosely coupled, reliable, and asynchronous way. . This message broker supports : * JMS 1.1 and J2EE 1.4 with support for transient, persistent, transactional and XA messaging * Spring Framework, CXF and Axis integration * pluggable transport protocols such as in-VM, TCP, SSL, NIO, UDP, multicast, JGroups and JXTA * persistence using JDBC along with journaling * OpenWire (cross language wire protocol) and Stomp (Streaming Text Orientated Messaging Protocol) protocols . This package contains a server installation of ActiveMQ. debian/libactivemq-java.poms0000644000000000000000000000507211761257647013331 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM or # --no-parent: remove the tag from the POM # --package=: an alternative package to use when installing this POM # and its artifact # --has-package-version: to indicate that the original version of the POM is the same as the upstream part # of the version for the package. # --keep-elements=: a list of XML elements to keep in the POM # during a clean operation with mh_cleanpom or mh_installpom # --artifact=: path to the build artifact associated with this POM, # it will be installed when using the command mh_install # --java-lib: install the jar into /usr/share/java to comply with Debian # packaging guidelines # --usj-name=: name to use when installing the library in /usr/share/java # --usj-version=: version to use when installing the library in /usr/share/java # --no-usj-versionless: don't install the versionless link in /usr/share/java # --dest-jar=: the destination for the real jar # it will be installed with mh_install. # --classifier=: Optional, the classifier for the jar. Empty by default. # --ignore-pom: don't install the POM with mh_install or mh_installpoms. To use with POM files that are created # temporarily for certain artifacts such as Javadoc jars. # pom.xml --no-parent --has-package-version activemq-core/pom.xml --has-package-version --java-lib kahadb/pom.xml --has-package-version --java-lib activemq-jmdns_1.0/pom.xml --has-package-version activemq-jaas/pom.xml --has-package-version activemq-ra/pom.xml --has-package-version activemq-pool/pom.xml --has-package-version activemq-spring/pom.xml --has-package-version activemq-fileserver/pom.xml --has-package-version activemq-console/pom.xml --has-package-version --java-lib activemq-run/pom.xml --has-package-version --java-lib activemq-optional/pom.xml --ignore-pom activemq-karaf/pom.xml --ignore-pom activemq-camel/pom.xml --ignore-pom activemq-all/pom.xml --ignore-pom activemq-rar/pom.xml --ignore-pom activemq-tooling/pom.xml --ignore-pom activemq-tooling/maven-activemq-plugin/pom.xml --ignore-pom activemq-tooling/maven-activemq-perf-plugin/pom.xml --ignore-pom activemq-tooling/maven-activemq-memtest-plugin/pom.xml --ignore-pom activemq-web/pom.xml --ignore-pom activemq-web-demo/pom.xml --ignore-pom activemq-web-console/pom.xml --ignore-pom activemq-blueprint/pom.xml --ignore-pom activemq-xmpp/pom.xml --ignore-pom assembly/pom.xml --ignore-pom debian/activemq.default0000644000000000000000000000030311761257647012361 0ustar # Whether to start ActiveMQ (as a daemon or not) NO_START=0 # Use Debian create user to run ActiveMQ process ACTIVEMQ_USER="activemq" # Time to wait for the server to die, in seconds DIETIME=2 debian/copyright0000644000000000000000000000116111761257647011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Apache ActiveMQ Upstream-Contact: http://activemq.apache.org/developer-forum.html Source: https://svn.apache.org/repos/asf/activemq/trunk/ Files: * Copyright: 2005-2011, Apache Software Foundation License: Apache-2.0 Files: debian/* Copyright: Copyright 2011, Damien Raude-Morvan Copyright 2011, Jonas Genannt License: Apache-2.0 License: Apache-2.0 On Debian GNU/Linux system you can find the complete text of the Apache-2.0 license in '/usr/share/common-licenses/Apache-2.0' debian/TODO0000644000000000000000000000012411761257647007673 0ustar - Enable all module - Provide some startup script (in an activemq-server package ?) debian/libactivemq-java.README.Debian0000644000000000000000000000157111761257647014471 0ustar ActiveMQ for Debian =================== Disabled features ----------------- For now, libactivemq-java doesn't provide the same featureset as upstream "activemq" tarball, as some modules have been disabled in Debian package build. Here is a complete list of disabled modules : - activemq-camel: need Apache Camel library - activemq-blueprint: need XBean OSGi Blueprint library - activemq-karaf: need Apache Karaf Shell Console library - activemq-openwire-generator: need Groovy Gram and Annogen modules - activemq-optional: need Eclipse Jetty 7 - activemq-rar: need many Apache Geronimo JEE Server libs - activemq-tooling: need Apache Derby - activemq-web: need Eclipse Jetty 7 - activemq-web-demo: need activemq-web - activemq-web-console: need activemq-web - activemq-xmpp: need Smack XMPP library and maven-jaxb2-plugin - activemq-all: need everything else...