debian/0000755000000000000000000000000012073253366007175 5ustar debian/orig-tar.exclude0000644000000000000000000000001511434275635012273 0ustar *.jar beansh debian/copyright0000644000000000000000000000125711776351133011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: nailgun Upstream-Contact: Martian Software, Inc Source: http://sourceforge.net/projects/nailgun/files/nailgun/ Files: * Copyright: 2004, Martian Software, Inc License: Apache-2 On Debian systems, the full text of the Apache License version 2.0 can be found in the file `/usr/share/common-licenses/Apache-2.0'. Files: debian/* Copyright: 2010-2012, Hideki Yamane 2010, Torsten Werner License: GPL-3+ On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. debian/compat0000644000000000000000000000000212001633047010360 0ustar 9 debian/control0000644000000000000000000000162112062734407010576 0ustar Source: nailgun Section: java Priority: extra Maintainer: Debian Java Maintainers Uploaders: Hideki Yamane , Torsten Werner Build-Depends: debhelper (>= 9), ant, ant-optional, default-jdk, libcobertura-java, junit Standards-Version: 3.9.4 Homepage: http://martiansoftware.com/nailgun/ Vcs-Git: git://git.debian.org/pkg-java/nailgun.git Vcs-Browser: http://git.debian.org/?p=pkg-java/nailgun.git Package: nailgun Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: client, protocol, and server for running Java programs from CLI Nailgun is a client, protocol, and server for running Java programs from the command line without incurring the JVM startup overhead. Programs run in the server (which is implemented in Java), and are triggered by the client (written in C), which handles all I/O. debian/changelog0000644000000000000000000000433712073253272011052 0ustar nailgun (0.9.0+trunk95-3) unstable; urgency=low * Upload to unstable. -- Hideki Yamane Wed, 09 Jan 2013 20:38:21 +0900 nailgun (0.9.0+trunk95-2) experimental; urgency=low * Team upload. * debian/rules - use debian/ant.properties to specify version to avoid incompatible java bytecode format with OpenJDK 7 issue (LP: #1049742) * add debian/ant.properties - use "ant.build.javac.{source,target}=1.6" * debian/control - set "Standards-Version: 3.9.4" -- Hideki Yamane Sat, 15 Dec 2012 08:41:01 +0900 nailgun (0.9.0+trunk95-1) unstable; urgency=medium * Bump up version number since it produces jar files with version as 0.9.0. Nothing changed in upstream source. * set "urgency=medium" to introduce other packages' security fix to testing quickly. * debian/nailgun.links - fix wrong symlink, now it should be changed to 0.9.0 (Closes: #688186) -- Hideki Yamane Thu, 20 Sep 2012 22:58:48 +0900 nailgun (0.7.1+trunk95-1) unstable; urgency=medium * Taken from Subversion repository * debian/control - update to "Standard-Version: 3.9.3" - update my e-mail address - set "Build-Depends: debhelper (>= 9)" to enable hardening * debian/patches - refresh all two patches - add "name_define_as_ng-nailgun_ng.c.patch" to avoid ClassNotFoundException (LP: #793859) - add "Makefile_enable_hardening.patch" to enable hardening * debian/rules - enable hardening * debian/compat - set 9 to enable hardening -- Hideki Yamane Thu, 19 Jul 2012 07:12:55 +0900 nailgun (0.7.1-3) unstable; urgency=low * Team upload. * Disable junitreport ant target in build.xml. (Closes: #592823) * Remove binary build artifact so the package builds twice in a row. -- tony mancill Sat, 21 Aug 2010 22:20:39 -0700 nailgun (0.7.1-2) unstable; urgency=low * Move Build-Depends-Indep to Build-Depends. (Closes: #591926) -- Torsten Werner Fri, 06 Aug 2010 17:17:03 +0200 nailgun (0.7.1-1) unstable; urgency=low * Initial release - install ng as ng-nailgun -- Hideki Yamane (Debian-JP) Tue, 23 Mar 2010 10:39:45 +0900 debian/orig-tar.sh0000755000000000000000000000050011434275635011256 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' DIR=nailgun-$2 TAG=$(echo "Root_NailGun_$2" | sed "s/\./_/g") svn export https://nailgun.svn.sourceforge.net/svnroot/nailgun/tags/$TAG/nailgun $DIR tar cfz nailgun_$2.orig.tar.gz -X debian/orig-tar.exclude $DIR rm -rf $DIR ../Root_NailGun_* debian/ant.properties0000644000000000000000000000030212062734531012064 0ustar # Ensure that source and target are 1.6 # For backwards compat on Java 7 # see https://lists.debian.org/debian-java/2012/12/msg00026.html # ant.build.javac.source=1.6 ant.build.javac.target=1.6 debian/watch0000644000000000000000000000040711434275635010232 0ustar # Compulsory line, this is a version 3 file version=3 # Uncomment to find new files on sourceforge, for devscripts >= 2.9 opts=uversionmangle=s/_/./g \ https://nailgun.svn.sourceforge.net/svnroot/nailgun/tags/ Root_NailGun_(.*)/ \ debian debian/orig-tar.sh debian/docs0000644000000000000000000000002411434275635010047 0ustar README.txt docs/api debian/patches/0000755000000000000000000000000012026620605010614 5ustar debian/patches/name_define_as_ng-nailgun_ng.c.patch0000644000000000000000000000277611776604634017631 0ustar Description: avoid "java.lang.ClassNotFoundException: ng-nailgun" error nailgun expect to be called as ng but we install it as ng-nailgun. This patch will define client name as ng-nailgun and get no error with that. Author: Hideki Yamane --- Origin: vendor Bug-Ubuntu: https://launchpad.net/bugs/793859 Forwarded: no Last-Update: 2012-07-09 Index: nailgun-0.7.1+trunk95/src/c/ng.c =================================================================== --- nailgun-0.7.1+trunk95.orig/src/c/ng.c 2012-07-09 10:24:55.000000000 -0600 +++ nailgun-0.7.1+trunk95/src/c/ng.c 2012-07-09 10:40:52.572583405 -0600 @@ -74,7 +74,7 @@ #define NAILGUN_CLIENT_NAME_EXE "ng.exe" #define NAILGUN_PORT_DEFAULT "2113" -#define NAILGUN_CLIENT_NAME "ng" +#define NAILGUN_CLIENT_NAME "ng-nailgun" #define CHUNK_HEADER_LEN (5) #define NAILGUN_SOCKET_FAILED (231) @@ -511,9 +511,9 @@ */ void usage(int exitcode) { fprintf(stderr, "NailGun v%s\n\n", NAILGUN_VERSION); - fprintf(stderr, "Usage: ng class [--nailgun-options] [args]\n"); + fprintf(stderr, "Usage: ng-nailgun class [--nailgun-options] [args]\n"); fprintf(stderr, " (to execute a class)\n"); - fprintf(stderr, " or: ng alias [--nailgun-options] [args]\n"); + fprintf(stderr, " or: ng-nailgun alias [--nailgun-options] [args]\n"); fprintf(stderr, " (to execute an aliased class)\n"); fprintf(stderr, " or: alias [--nailgun-options] [args]\n"); fprintf(stderr, " (to execute an aliased class, where \"alias\"\n"); debian/patches/0002-update-build.xml-disable-junitreport.patch0000644000000000000000000000164711776575631021411 0ustar Index: nailgun-0.7.1+trunk95/build.xml =================================================================== --- nailgun-0.7.1+trunk95.orig/build.xml 2012-07-09 09:40:27.173082955 -0600 +++ nailgun-0.7.1+trunk95/build.xml 2012-07-09 09:41:04.181082177 -0600 @@ -64,6 +64,7 @@ + debian/patches/series0000644000000000000000000000023712001635037012031 0ustar 0001-update-build.xml-for-cobertura.patch 0002-update-build.xml-disable-junitreport.patch name_define_as_ng-nailgun_ng.c.patch Makefile_enable_hardening.patch debian/patches/Makefile_enable_hardening.patch0000644000000000000000000000177012001636423016702 0ustar Description: hardening patch Just remove some variables to enable hardening Author: Hideki Yamane --- Origin: vendor Forwarded: no Last-Update: 2012-07-18 Index: nailgun-0.7.1+trunk95/Makefile =================================================================== --- nailgun-0.7.1+trunk95.orig/Makefile 2012-07-19 07:35:11.000000000 +0900 +++ nailgun-0.7.1+trunk95/Makefile 2012-07-19 07:47:44.933349906 +0900 @@ -7,14 +7,11 @@ # Your compiler location may vary. WIN32_CC=/usr/bin/i586-mingw32msvc-gcc -CC=gcc -CFLAGS=-Wall -pedantic -s -O3 - ng: src/c/ng.c @echo "Building ng client. To build a Windows binary, type 'make ng.exe'" - ${CC} ${CFLAGS} -o ng src/c/ng.c + ${CC} $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o ng src/c/ng.c -ng.exe: src/c/ng.c +ng.exe: src/c/ng.c,/usr/bin/i586-mingw32msvc-gcc ${WIN32_CC} -o ng.exe src/c/ng.c -lwsock32 -O3 ${CFLAGS} # any idea why the command line is so sensitive to the order of # the arguments? If CFLAGS is at the beginning, it won't link. debian/patches/0001-update-build.xml-for-cobertura.patch0000644000000000000000000000360211776575557020174 0ustar From: Torsten Werner Date: Sat, 31 Jul 2010 20:15:06 +0200 Subject: [PATCH] update build.xml for cobertura ... and fix tools.classpath --- build.xml | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) Index: nailgun-0.7.1+trunk95/build.xml =================================================================== --- nailgun-0.7.1+trunk95.orig/build.xml 2009-05-22 19:34:14.000000000 -0600 +++ nailgun-0.7.1+trunk95/build.xml 2012-07-09 09:40:27.173082955 -0600 @@ -45,8 +45,13 @@ - - + + + + + + + @@ -134,13 +139,13 @@ - + - + @@ -181,7 +186,7 @@ - + debian/nailgun.install0000644000000000000000000000007011434275635012222 0ustar ng-nailgun usr/bin/ dist/nailgun-*.jar usr/share/java/ debian/nailgun.links0000644000000000000000000000007412026621467011674 0ustar usr/share/java/nailgun-0.9.0.jar usr/share/java/nailgun.jar debian/source/0000755000000000000000000000000011434275635010500 5ustar debian/source/format0000644000000000000000000000001411434275635011706 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000056612062734373010264 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS := hardening=+all export ANT="ant -propertyfile $(CURDIR)/debian/ant.properties" %: dh $@ override_dh_auto_build: dh_auto_build -S ant cp $(CURDIR)/ng $(CURDIR)/ng-nailgun override_dh_auto_clean: -dh_auto_clean -S ant -rm $(CURDIR)/ng-nailgun get-orig-source: uscan --force-download --rename