debian/0000755000000000000000000000000012232635534007173 5ustar debian/libjenkins-remoting-java-doc.doc-base.api0000644000000000000000000000052312232222001016753 0ustar Document: jenkins-remoting Title: API Javadoc for Jenkins Remoting Author: Test annotations developers Abstract: This is the API Javadoc provided for the libjenkins-remoting-java library. Section: Programming Format: HTML Index: /usr/share/doc/libjenkins-remoting-java/api/index.html Files: /usr/share/doc/libjenkins-remoting-java/api/* debian/maven.cleanIgnoreRules0000644000000000000000000000150112232222001013436 0ustar # Maven clean ignore rules - ignore some Maven dependencies and plugins # during the clean phase of a Maven build # 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 before mvn clean is called # junit junit jar s/3\\..*/3.x/ debian/maven.ignoreRules0000644000000000000000000000206412232222001012500 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/ org.apache.maven.plugins maven-jarsigner-plugin * * * * org.apache.maven.plugins maven-pmd-plugin * * * * org.apache.maven.plugins maven-release-plugin * * * * org.codehaus.mojo build-helper-maven-plugin * * * * org.codehaus.mojo findbugs-maven-plugin * * * * com.github.stephenc.findbugs findbugs-annotations * * * * debian/libjenkins-remoting-java.poms0000644000000000000000000000325512232222001014746 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM and its artifact if any # --ignore-pom: don't install the POM. To use on POM files that are created # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] # --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. [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. [mh_install] # --classifier=: Optional, the classifier for the jar. Empty by default. # --site-xml=: Optional, the location for site.xml if it needs to be installed. # Empty by default. [mh_install] # pom.xml --no-parent --has-package-version --java-lib --usj-name=jenkins-remoting debian/maven.rules0000644000000000000000000000213012232222001011326 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/ asm asm-all jar s/.*/3.x/ * * junit junit jar s/4\..*/4.x/ * * org.jenkins-ci.main remoting jar s/.*/debian/ * * asm * * s/3\..*/3.x/ * * s/org.jvnet/org.codehaus.mojo/ s/animal-sniffer-annotation/animal-sniffer-annotations/ jar s/.*/debian/ * * debian/watch0000644000000000000000000000022512232222001010200 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ http://githubredir.debian.net/github/jenkinsci/remoting/ remoting-(\d.*).tar.gz debian debian/orig-tar.sh debian/rules0000755000000000000000000000163012232222001010230 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 # Parse upstream version without +dfsg for source download+ DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p') get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename mv ../jenkins-remoting_$(DEB_UPSTREAM_VERSION).orig.tar.gz \ ../jenkins-remoting_$(DEB_UPSTREAM_VERSION)+dfsg.orig.tar.gz clean:: [ ! -f src/test/keystore/dummy.keystore ] || rm -rf src/test/keystore before-mvn-build:: src/test/keystore/dummy.keystore src/test/keystore/dummy.keystore: mkdir -p src/test/keystore keytool -genkeypair -dname "cn=Jenkins, ou=Jenkins Project, o=Debian, c=US" \ -alias jenkins -keypass jenkins -keystore src/test/keystore/dummy.keystore \ -storepass jenkins -validity 3650 -keyalg RSA debian/changelog0000644000000000000000000000347212232222001011030 0ustar jenkins-remoting (2.23-2) unstable; urgency=low * Team upload. * debian/watch: Updated to exclude the test-client versions * debian/control: Use canonical URLs for the Vcs-* fields * Updated the Maven rules to use the latest version of args4j -- Emmanuel Bourg Thu, 24 Oct 2013 13:00:13 +0200 jenkins-remoting (2.23-1) unstable; urgency=low * New upstream release. * d/control: Update my email address. -- James Page Mon, 12 Aug 2013 16:29:35 +0100 jenkins-remoting (2.22+dfsg-1) unstable; urgency=low * Upload to unstable. -- James Page Thu, 16 May 2013 10:34:00 +0100 jenkins-remoting (2.22+dfsg-1~exp1) experimental; urgency=low * New upstream release. - Refreshed patches. - d/p/remove-findbugs.patch,d/maven.ignoreRules: Drop findbugs annotations as not packaged. - d/control,d/maven.rules: Bump junit -> junit4. * d/control: Bumped Standards-Version: 3.9.4, no changes. * d/control: Dropped DM-Upload-Allowed. -- James Page Sun, 17 Feb 2013 19:31:03 +0000 jenkins-remoting (2.16+dfsg-1) experimental; urgency=low * New upstream release. - Refreshed patches. -- James Page Wed, 19 Sep 2012 11:20:48 +0100 jenkins-remoting (2.11+dfsg-1) unstable; urgency=low * New upstream release. * Bumped Standards-Version: 3.9.3: - d/copyright: Updated Format field to refer to v1.0 of spec. * d/control: Tidied linitian warning about Description. -- James Page Thu, 26 Apr 2012 09:21:27 +0100 jenkins-remoting (2.4+dfsg-1) unstable; urgency=low [James Page] * Initial release (Closes: #654858). [tony mancill] * Set DMUA flag. * Tweak d/copyright. -- James Page Fri, 06 Jan 2012 10:15:43 +0000 debian/patches/0000755000000000000000000000000012232222001010577 5ustar debian/patches/asm3-upgrade.patch0000644000000000000000000000276412232222001014121 0ustar Description: Upgrade of Jenkins codebase to use ASM3 rather than ASM2. This is required because Ubuntu/Debian builds against later versions of libraries which have already transitioned. Author: James Page Forwarded: no --- a/src/test/java/hudson/remoting/ClassRemotingTest.java +++ b/src/test/java/hudson/remoting/ClassRemotingTest.java @@ -57,7 +57,7 @@ public class ClassRemotingTest extends R // make sure the bytes are what we are expecting System.out.println("Resource is "+((byte[])r[1]).length+" bytes"); ClassReader cr = new ClassReader((byte[])r[1]); - cr.accept(new EmptyVisitor(),false); + cr.accept(new EmptyVisitor(),0); // make sure cache is taking effect System.out.println(r[2]); --- a/src/test/java/hudson/remoting/PrefetchTest.java +++ b/src/test/java/hudson/remoting/PrefetchTest.java @@ -24,7 +24,7 @@ package hudson.remoting; import org.objectweb.asm.ClassReader; -import org.objectweb.asm.attrs.StackMapAttribute; +import org.objectweb.asm.Label; import java.io.IOException; @@ -42,8 +42,8 @@ public class PrefetchTest extends RmiTes private static class VerifyTask implements Callable { public String call() throws IOException { - StackMapAttribute sma = new StackMapAttribute(); - return Which.jarFile(sma.getClass()).getPath(); + Label l = new Label(); + return Which.jarFile(l.getClass()).getPath(); } } } debian/patches/series0000644000000000000000000000007012232222001012011 0ustar asm3-upgrade.patch sign-jar.patch remove-findbugs.patch debian/patches/sign-jar.patch0000644000000000000000000000144512232222001013336 0ustar Description: Use maven-jar-plugin to sign jar as maven-jarsigner-plugin is not yet packaged for debian. Author: James Page Forwarded: not-needed --- a/pom.xml +++ b/pom.xml @@ -165,6 +165,18 @@ THE SOFTWARE. + + + + sign + + + ${hudson.sign.alias} + ${hudson.sign.storepass} + ${hudson.sign.keystore} + + + maven-jarsigner-plugin debian/patches/remove-findbugs.patch0000644000000000000000000000160412232222001014715 0ustar Description: Drop findbugs annotations as not packaged Author: James Page Forwarded: not-needed --- a/src/main/java/hudson/remoting/Channel.java +++ b/src/main/java/hudson/remoting/Channel.java @@ -23,7 +23,6 @@ */ package hudson.remoting; -import edu.umd.cs.findbugs.annotations.SuppressWarnings; import hudson.remoting.CommandTransport.CommandReceiver; import hudson.remoting.ExportTable.ExportList; import hudson.remoting.PipeWindow.Key; @@ -715,7 +714,6 @@ public class Channel implements VirtualC * The error that caused the connection to be aborted. Never null. */ @java.lang.SuppressWarnings("ToArrayCallWithZeroLengthArrayArgument") - @SuppressWarnings("ITA_INEFFICIENT_TO_ARRAY") // intentionally; race condition on listeners otherwise protected void terminate(IOException e) { try { synchronized (this) { debian/maven.properties0000644000000000000000000000061412232222001012375 0ustar # Include here properties to pass to Maven during the build. # For example: # maven.test.skip=true # Specify code source and target as not explicit in pom.xml # and defaults to 1.3 maven.compiler.source=1.5 maven.compiler.target=1.5 # Keystore information for signing jar (self signed) hudson.sign.alias=jenkins hudson.sign.storepass=jenkins hudson.sign.keystore=src/test/keystore/dummy.keystore debian/orig-tar.sh0000755000000000000000000000056612232222001011242 0ustar #/bin/sh -e VERSION=$2 TAR=../jenkins-remoting_$VERSION.orig.tar.gz DIR=jenkins-remoting-$VERSION mkdir -p $DIR # Unpack ready fo re-packing tar -xzf $TAR -C $DIR --strip-components=1 # Repack excluding stuff we don't need GZIP=--best tar -czf $TAR --exclude '*.jar' --exclude '*.class' \ --exclude 'CVS' --exclude '.svn' --exclude 'dummy.keystore' $DIR rm -rf $DIR debian/source/0000755000000000000000000000000012232222001010450 5ustar debian/source/format0000644000000000000000000000001412232222001011656 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000117412232222001011332 0ustar Information about jenkins-remoting ---------------------------------- 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. Which version of jenkins-remoting? ---------------------------------- The version of jenkins-remoting should track the version used by the most recent LTS release of Jenkins that is packaged for Debian to ensure alignment to upstream for compatibility. This can be checked by reviewing war/pom.xml in the jenkins source package. debian/compat0000644000000000000000000000000212232222001010346 0ustar 7 debian/copyright0000644000000000000000000000352312232222001011106 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: Jenkins Remoting layer Source: http://jenkins-ci.org Files: * Copyright: 2004-2010, Sun Microsystems, Inc., 2004-2010, Kohsuke Kawaguchi, 2004-2010, Ullrich Hafner, 2004-2010, CloudBees, Inc., 2010, InfraDNA, Inc License: MIT Files: src/main/java/hudson/remoting/FastPipedOutputStream.java src/main/java/hudson/remoting/FastPipedInputStream.java Copyright: 2001, WD 2006-2008, Makoto YUI License: Apache-2.0 Files: debian/* Copyright: 2012, Canonical Ltd (http://www.canonical.com). License: MIT 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' License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/libjenkins-remoting-java-doc.install0000644000000000000000000000007412232222001016175 0ustar target/apidocs/* usr/share/doc/libjenkins-remoting-java/api debian/control0000644000000000000000000000331512232222001010555 0ustar Source: jenkins-remoting Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: James Page Build-Depends: cdbs, debhelper (>= 7), default-jdk, maven-debian-helper (>= 1.4) Build-Depends-Indep: default-jdk-doc, jenkins-test-annotations, junit4, libanimal-sniffer-java, libanimal-sniffer-java-doc, libargs4j-java, libargs4j-java-doc, libasm3-java, libcommons-codec-java, libcommons-codec-java-doc, libcommons-io-java, libcommons-io-java-doc, libmaven-dependency-plugin-java, libmaven-javadoc-plugin-java Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-java/jenkins-remoting.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/jenkins-remoting.git Homepage: http://jenkins-ci.org Package: libjenkins-remoting-java Architecture: all Depends: ${maven:Depends}, ${misc:Depends} Recommends: ${maven:OptionalDepends} Suggests: libjenkins-remoting-java-doc Description: Bridge separate JVMs into a single semi-shared space Allows separate JVMs to be bridged into a single semi-shared space. . This package is primarily used by Jenkins for slave node management but has potential re-use outside of this project. Package: libjenkins-remoting-java-doc Architecture: all Section: doc Depends: ${maven:DocDepends}, ${misc:Depends} Recommends: ${maven:DocOptionalDepends} Suggests: libjenkins-remoting-java Description: Documentation for jenkins-remoting Allows separate JVMs to be bridged into a single semi-shared space. . This package is primarily used by Jenkins for slave node management but has potential re-use outside of this project. . This package contains the API documentation of jenkins-remoting.