debian/0000775000000000000000000000000012171223656007175 5ustar debian/patches/0000775000000000000000000000000012171217057010622 5ustar debian/patches/01_disable_diagnostics.patch0000664000000000000000000000665512171217057016151 0ustar Description: Disable diagnostic probing by default (Fixes CVE-2013-4112) Author: Emmanuel Bourg Forwarded: not-needed Bug: http://bugs.debian.org/717031 Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-4112 --- a/conf/auth_regex.xml +++ b/conf/auth_regex.xml @@ -25,7 +25,7 @@ enable_bundling="true" bundler_capacity="50000" enable_unicast_bundling="true" - enable_diagnostics="true" + enable_diagnostics="false" thread_naming_pattern="cl" timer_type="new" --- a/conf/execution-service.xml +++ b/conf/execution-service.xml @@ -20,7 +20,7 @@ max_bundle_timeout="30" ip_ttl="${jgroups.udp.ip_ttl:2}" enable_bundling="true" - enable_diagnostics="true" + enable_diagnostics="false" thread_naming_pattern="cl" timer_type="new" --- a/conf/fast-local.xml +++ b/conf/fast-local.xml @@ -24,7 +24,7 @@ ip_ttl="${jgroups.udp.ip_ttl:0}" enable_bundling="true" enable_unicast_bundling="true" - enable_diagnostics="true" + enable_diagnostics="false" thread_naming_pattern="cl" timer_type="new" --- a/conf/flush-udp.xml +++ b/conf/flush-udp.xml @@ -19,7 +19,7 @@ max_bundle_timeout="30" ip_ttl="${jgroups.udp.ip_ttl:2}" enable_bundling="true" - enable_diagnostics="true" + enable_diagnostics="false" thread_naming_pattern="pl" --- a/conf/sequencer.xml +++ b/conf/sequencer.xml @@ -21,7 +21,7 @@ max_bundle_timeout="30" ip_ttl="${jgroups.udp.ip_ttl:2}" enable_bundling="true" - enable_diagnostics="true" + enable_diagnostics="false" thread_naming_pattern="cl" thread_pool.enabled="true" --- a/conf/sfc.xml +++ b/conf/sfc.xml @@ -20,7 +20,7 @@ max_bundle_timeout="30" ip_ttl="${jgroups.udp.ip_ttl:2}" enable_bundling="true" - enable_diagnostics="true" + enable_diagnostics="false" thread_naming_pattern="cl" thread_pool.enabled="true" --- a/conf/udp-largecluster.xml +++ b/conf/udp-largecluster.xml @@ -23,7 +23,7 @@ max_bundle_timeout="30" ip_ttl="${jgroups.udp.ip_ttl:8}" enable_bundling="true" - enable_diagnostics="true" + enable_diagnostics="false" thread_naming_pattern="cl" timer_type="new" --- a/conf/udp.xml +++ b/conf/udp.xml @@ -21,7 +21,7 @@ max_bundle_timeout="30" ip_ttl="${jgroups.udp.ip_ttl:2}" enable_bundling="true" - enable_diagnostics="true" + enable_diagnostics="false" thread_naming_pattern="cl" timer_type="new" --- a/src/org/jgroups/protocols/TP.java +++ b/src/org/jgroups/protocols/TP.java @@ -202,8 +202,8 @@ @Property(description="Enable bundling of smaller messages into bigger ones for unicast messages. Default is false") protected boolean enable_unicast_bundling=false; - @Property(description="Switch to enable diagnostic probing. Default is true") - protected boolean enable_diagnostics=true; + @Property(description="Switch to enable diagnostic probing. Default is false") + protected boolean enable_diagnostics=false; @Property(description="Address for diagnostic probing. Default is 224.0.75.75", defaultValueIPv4="224.0.75.75",defaultValueIPv6="ff0e::0:75:75") debian/patches/series0000664000000000000000000000003512171213672012034 0ustar 01_disable_diagnostics.patch debian/rules0000775000000000000000000000145712171213026010252 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java ANT_OPTS := -Xmx128M DEB_ANT_BUILD_TARGET := jar #does no longer work with 2.7.0 #DEB_ANT_CHECK_TARGET := -Djgroups.bind_addr=`hostname` all-tests DEB_JARS := xalan2 serializer junit log4j-1.2 bsh commons-logging glassfish-javaee ant-junit testng ANT_OPTS := -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 install/libjgroups-java:: mh_installpom -plibjgroups-java pom.xml mh_installjar -plibjgroups-java pom.xml -l dist/jgroups-2.12.2.Final.jar get-orig-source: uscan --debug --download-version `echo $(DEB_UPSTREAM_VERSION) | sed -e 's/\./_/g'` --force-download --rename clean:: mh_clean rm -f build.properties debian/watch0000664000000000000000000000020412171210543010211 0ustar version=3 http://sf.net/javagroups/ (?:JGroups|jgroups)-([\d.]*)\.(?:Final|GA)(?:\.src)?\.(?:zip|jar) \ debian debian/orig-tar.sh debian/orig-tar.sh0000775000000000000000000000163112171210543011250 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' VER=`echo $2|sed -e 's/\_/\./g'` TAR=../libjgroups-java_$VER.orig.tar.gz DIR=libjgroups-java-$VER.orig # clean up the upstream tarball if [ -r "$3" ]; then echo "Found existing tarball - presumably from get-orig-soruce/uscan - fixing it" tar xfz $3 fi if find . -type d -a -name "belaban*"; then echo "Renaming belaban* to '$DIR'" mv belaban* $DIR fi # replace CC licensed files by my own simple implementation cp -f debian/annotations/* $DIR/src/org/jgroups/annotations/ if GZIP="-9n" tar -c -z -f $TAR --exclude '*.jar' --exclude '*/out/*' --exclude '*/lib/*' $DIR; then echo "Created tar file in '$TAR'." else echo "Error packing directory '$DIR' to '$TAR'" exit fi rm -rf $3 $DIR # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi echo "[OK]" debian/changelog0000664000000000000000000000765112171217070011051 0ustar libjgroups-java (2.12.2.Final-4) unstable; urgency=low * Disable diagnostic probing by default (CVE-2013-4112) (Closes: #717031) -- Emmanuel Bourg Tue, 16 Jul 2013 12:18:18 +0200 libjgroups-java (2.12.2.Final-3) unstable; urgency=low * Updated the watch file to match releases > 2.11.0 * Removed libbcprov-java from the build dependencies * Added libbcprov-java as a suggested dependency to the binary package * Changed debian/copyright to comply with the DEP5 format * Updated Standards-Version to 3.9.4 (no changes) * Removed the deprecated DMUA flag * Updated the dependency on debhelper (require version >= 7) * Removed the unused dependency on ${shlibs:Depends} * Use canonical URLs for the Vcs-* fields -- Emmanuel Bourg Tue, 30 Apr 2013 10:53:56 +0200 libjgroups-java (2.12.2.Final-2) unstable; urgency=low * Upload to unstable. -- Brian Thomason Tue, 27 Dec 2011 22:36:12 +0100 libjgroups-java (2.12.2.Final-1) experimental; urgency=low * New upstream release * Added Red Hat to copyright list * Patch no longer required [ Steffen Moeller ] * Added Brian to uploaders. -- Brian Thomason Tue, 06 Dec 2011 22:43:17 +0000 libjgroups-java (2.7.0.GA-4) unstable; urgency=low * Team upload. * Switch to default-jdk. (Closes: #643529). * Bump Standards-Version to 3.9.2. No changes were required. -- Miguel Landaeta Sat, 22 Oct 2011 17:14:14 -0430 libjgroups-java (2.7.0.GA-3) unstable; urgency=low * Install POM file for jgroups-core. * Update Standards-Version: 3.8.4. -- Torsten Werner Fri, 21 May 2010 22:29:14 +0200 libjgroups-java (2.7.0.GA-2) unstable; urgency=low * Add a patch to fix the half broken build.xml. (Closes: #571349) * Switch to source format 3.0. -- Torsten Werner Sun, 28 Feb 2010 11:14:45 +0100 libjgroups-java (2.7.0.GA-1) unstable; urgency=low * new upstream release * Add Build-Depends: testng. * Improve target 'get-orig-source'. * Change Depends: openjdk-6-jre-headless. * Disabled tests because there is no such target anymore. * Updated Standards-Version: 3.8.3. * Change Section: java. -- Torsten Werner Wed, 16 Sep 2009 09:53:20 +0200 libjgroups-java (2.6.7.GA-1) unstable; urgency=low * new upstream release -- Torsten Werner Thu, 20 Nov 2008 22:29:20 +0100 libjgroups-java (2.6.3.GA+dfsg1-2) unstable; urgency=low * Fix java bytecode / java runtime version mismatch by setting -source and -target to 1.5 (Closes: #503786) -- Varun Hiremath Sat, 01 Nov 2008 11:06:58 -0400 libjgroups-java (2.6.3.GA+dfsg1-1) unstable; urgency=low * Switch to openjdk-6-jdk for building the package. * Replace the CC licensed files GuardedBy.java and Immutable.java by my own DFSG free implementation. * Move package to main. -- Torsten Werner Sat, 16 Aug 2008 23:32:24 +0200 libjgroups-java (2.6.3.GA-1) unstable; urgency=low * New upstream release * Bump Standards-Version to 3.8.0 -- Varun Hiremath Thu, 10 Jul 2008 00:39:45 +0530 libjgroups-java (2.6.3.CR2-1) unstable; urgency=low * new upstream release -- Torsten Werner Wed, 25 Jun 2008 23:35:32 +0200 libjgroups-java (2.6.2-1) unstable; urgency=low * New upstream release -- Varun Hiremath Fri, 29 Feb 2008 20:44:51 +0530 libjgroups-java (2.6.1-1) unstable; urgency=low * new upstream release * Fix debian/watch to support the new upstream version. * Run testsuite during build process. * Change Standards-Version: 3.7.3. -- Torsten Werner Sun, 16 Dec 2007 22:21:00 +0100 libjgroups-java (2.5.1-1) unstable; urgency=low * Initial release (Closes: #448446) -- Varun Hiremath Tue, 24 Apr 2007 17:19:10 +0530 debian/source/0000775000000000000000000000000012171210543010464 5ustar debian/source/format0000664000000000000000000000001412171210543011672 0ustar 3.0 (quilt) debian/annotations/0000775000000000000000000000000012171210543011521 5ustar debian/annotations/GuardedBy.java0000664000000000000000000000041712171210543014234 0ustar /* simple DFSG free reimplementation of the CC licensed original */ package org.jgroups.annotations; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.SOURCE) public @interface GuardedBy { String value(); } debian/annotations/Immutable.java0000664000000000000000000000037712171210543014312 0ustar /* simple DFSG free reimplementation of the CC licensed original */ package org.jgroups.annotations; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.SOURCE) public @interface Immutable { } debian/compat0000664000000000000000000000000212171210543010362 0ustar 7 debian/README.Debian-source0000664000000000000000000000073712171210543012532 0ustar libjgroups-java =============== The upstream supplied source package contains binary jar files. Currently no clean source distribution exists. Therefore, the upstream sources were modified to comply with the Debian Free Software Guidelines. Use the rules/get-orig-source target to create the orig.tar.gz. For more details on repackaging of upstream sources please see the debian/orig-tar.sh file. -- Varun Hiremath , Tue, 16 Oct 2007 18:29:16 +0530 debian/copyright0000664000000000000000000000235612171210543011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: JGroups Upstream-Contact: Bela Ban Source: http://www.jgroups.org Comment: Contributors: Gianluca Collot John Georgiadis Jim Menard Filip Hanik Vladimir Blagojevic Roman Rokytskyy Ananda Bollu Mandar Shinde Ovidiu Feodorov Robert Schaffar-Taurok Chris Lott Chris Mills Files: * Copyright: 2006, Red Hat, Inc. 2005, JBoss Inc., Chris Mills 2002, Filip Hanik and Bela Ban License: LGPL-2.1 Files: src/org/jgroups/annotations/GuardedBy.java src/org/jgroups/annotations/Immutable.java Copyright: 2008, Torsten Werner License: LGPL-2.1 Files: debian/* Copyright: 2007, Varun Hiremath License: GPL-2 On Debian systems, you can find the GPL 2 license in: /usr/share/common-licenses/GPL-2 License: LGPL-2.1 On Debian systems, you can find the LGPL 2.1 license in: /usr/share/common-licenses/LGPL-2.1 debian/ant.properties0000664000000000000000000000003112171210543012056 0ustar build.sysclasspath=first debian/control0000664000000000000000000000304512171210543010571 0ustar Source: libjgroups-java Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Varun Hiremath , Torsten Werner , Brian Thomason , Emmanuel Bourg Build-Depends: cdbs, debhelper (>= 7) Build-Depends-Indep: ant, default-jdk, glassfish-javaee, bsh, junit, libxalan2-java, libcommons-logging-java, liblog4j1.2-java, ant-optional, testng, maven-repo-helper Standards-Version: 3.9.4 Homepage: http://www.jgroups.org/javagroupsnew/docs/index.html Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/libjgroups-java Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/libjgroups-java/ Package: libjgroups-java Architecture: all Depends: ${misc:Depends} Suggests: libbcprov-java Description: Toolkit for Reliable Multicast Communication JGroups is a toolkit for reliable multicast communication. (Note that this doesn't necessarily mean IP Multicast, JGroups can also use transports such as TCP). It can be used to create groups of processes whose members can send messages to each other. The main features include: * Group creation and deletion. Group members can be spread across LANs or WANs * Joining and leaving of groups * Membership detection and notification about joined/left/crashed members * Detection and removal of crashed members * Sending and receiving of member-to-group messages (point-to-multipoint) * Sending and receiving of member-to-member messages (point-to-point)