debian/0000755000000000000000000000000012225331412007161 5ustar debian/control0000644000000000000000000000436412223010563010572 0ustar Source: janino Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Philipp Hagemeister , Damien Raude-Morvan Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9), javahelper, maven-repo-helper Build-Depends-Indep: ant, default-jdk, unzip Homepage: http://janino.net Vcs-Git: git://anonscm.debian.org/pkg-java/janino.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/janino.git Package: janino Architecture: all Depends: libjanino-java, libjanino-java-doc, ${misc:Depends} Recommends: default-jre-headless Description: runtime compiler for Java expressions - binary Janino is a compiler that reads a Java expression, block, class body, source file or a set of source files, and generates Java bytecode that is loaded and executed directly. Janino is not intended to be a development tool, but an embedded compiler for run-time compilation purposes, e.g. expression evaluators or embedded code as with JSP. . This package contains the janinoc tool. Package: libjanino-java Architecture: all Depends: ${misc:Depends} Replaces: janino (<< 2.6.1-1~) Breaks: janino (<< 2.6.1-1~) Description: runtime compiler for Java expressions - library Janino is a compiler that reads a Java expression, block, class body, source file or a set of source files, and generates Java bytecode that is loaded and executed directly. Janino is not intended to be a development tool, but an embedded compiler for run-time compilation purposes, e.g. expression evaluators or embedded code as with JSP. . This package contains Java library. Package: libjanino-java-doc Section: doc Architecture: all Depends: ${misc:Depends} Replaces: janino (<< 2.6.1-1~) Breaks: janino (<< 2.6.1-1~) Description: runtime compiler for Java expressions - documentation Janino is a compiler that reads a Java expression, block, class body, source file or a set of source files, and generates Java bytecode that is loaded and executed directly. Janino is not intended to be a development tool, but an embedded compiler for run-time compilation purposes, e.g. expression evaluators or embedded code as with JSP. . This package contains Java library documentation as Javadoc. debian/rules0000755000000000000000000000210512223010563010236 0ustar #!/usr/bin/make -f export JAVA_HOME=/usr/lib/jvm/default-java VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') %: dh $@ --buildsystem ant override_dh_auto_build: dh_auto_build -- -buildfile janino-dist/build.xml build override_dh_auto_install: mh_installpom -plibjanino-java --no-parent --has-package-version -e$(VERSION) commons-compiler/pom.xml mh_installjar -plibjanino-java --java-lib -e$(VERSION) commons-compiler/pom.xml janino-dist/build/commons-compiler.jar mh_installpom -plibjanino-java --no-parent --has-package-version -e$(VERSION) commons-compiler-jdk/pom.xml mh_installjar -plibjanino-java --java-lib -e$(VERSION) commons-compiler-jdk/pom.xml janino-dist/build/commons-compiler-jdk.jar mh_installpom -plibjanino-java --no-parent --has-package-version -e$(VERSION) janino/pom.xml mh_installjar -plibjanino-java --java-lib -e$(VERSION) janino/pom.xml janino-dist/build/janino.jar jh_manifest -plibjanino-java override_dh_auto_clean: -rm -rf janino-dist/build janino-dist/mirror mh_clean get-orig-source:: uscan --force-download debian/janino.manpages0000644000000000000000000000002112223010563012144 0ustar debian/janinoc.1 debian/libjanino-java.manifest0000644000000000000000000000030012223010563013565 0ustar usr/share/java/janino.jar: Main-Class: org.codehaus.janino.SimpleCompiler Class-Path: commons-compiler.jar ant.jar usr/share/java/commons-compiler-jdk.jar: Class-Path: commons-compiler.jar debian/source/0000755000000000000000000000000012223010563010460 5ustar debian/source/format0000644000000000000000000000001412223010563011666 0ustar 3.0 (quilt) debian/source/options0000644000000000000000000000014112223010563012072 0ustar # Do not generate diff for changes in config.(sub|guess) extend-diff-ignore = "(^|/)README.txt$" debian/janino.install0000644000000000000000000000003112223010563012020 0ustar debian/janinoc /usr/bin/ debian/patches/0000755000000000000000000000000012223010563010607 5ustar debian/patches/series0000644000000000000000000000013712223010563012025 0ustar 01-include-ant-runtime.patch 02-remove-nullanalysis-annotations.patch 03-disable-signing.patch debian/patches/02-remove-nullanalysis-annotations.patch0000644000000000000000000000302112223010563020407 0ustar Description: Removes the use of the de.unkrig.commons.nullanalysis annotations which aren't provided with the upstream sources. Author: Emmanuel Bourg Forwarded: not-needed --- a/commons-compiler-jdk/src/org/codehaus/commons/compiler/jdk/package-info.java +++ b/commons-compiler-jdk/src/org/codehaus/commons/compiler/jdk/package-info.java @@ -27,5 +27,5 @@ /** * Main package of the plugin. */ -@de.unkrig.commons.nullanalysis.NotNullByDefault package org.codehaus.commons.compiler.jdk; +package org.codehaus.commons.compiler.jdk; --- a/janino-dist/build.xml +++ b/janino-dist/build.xml @@ -88,21 +88,6 @@ /> - - - - - - - Forwarded: not-needed --- a/janino-dist/build.xml +++ b/janino-dist/build.xml @@ -64,7 +64,7 @@ classpath="${ant.jar}:build/bin-commons-compiler:../de.unkrig.jdisasm/bin" debug="true" debuglevel="lines,vars,source" - includeantruntime="false" + includeantruntime="true" > debian/patches/03-disable-signing.patch0000644000000000000000000000255712223010563015120 0ustar Description: Disable the code signing with a self signed certificated. This doesn't play well with the manifest modification performed by jh_manifest to make the jar executable (and signing with a self signed certificate doesn't provide any security anyway). Author: Emmanuel Bourg Forwarded: not-needed --- a/janino-dist/build.xml +++ b/janino-dist/build.xml @@ -44,13 +44,6 @@ - @@ -79,13 +72,6 @@ - @@ -114,13 +100,6 @@ - debian/README.Debian0000644000000000000000000000125612223010563011225 0ustar Janino enables your application to compile Java code at runtime. It's useful where parts of code change often (i.e. business logic) or as a scripting engine that integrates seamlessly with your (Java) application. These and other use cases are discussed at http://janino.net/use.html . You may want to examine some examples, installed to /usr/share/doc/janino/samples/ . Janino can also act as a drop-in for javac, although this is mainly useful if you want to test if Janino compiles your code without any problems instead of using it as a replacement for a "real" Java compiler. For more information on janinoc, the command line interface, type "man janinoc" or run "janinoc -help". debian/libjanino-java-doc.install0000644000000000000000000000021612223010563014176 0ustar janino-dist/mirror/javadoc/* /usr/share/doc/libjanino-java/api janino/src/org/codehaus/janino/samples/* /usr/share/doc/libjanino-java/samples debian/changelog0000644000000000000000000001011212223010563011025 0ustar janino (2.7.0-1) unstable; urgency=low * Team upload. * New upstream release * Build the source tarball from the upstream SVN repository * Use XZ compression for the upstream tarball * Use the upstream build system instead of javahelper * Install the Maven artifacts in /usr/share/maven-repo * Added commons-compiler.jar to the classpath defined in the manifests of janino.jar and commons-compiler-jdk.jar * Register the documentation with doc-base * debian/control: Changed the Section from libs to java * debian/watch: Updated the download page -- Emmanuel Bourg Wed, 02 Oct 2013 14:10:56 +0200 janino (2.6.1-1) unstable; urgency=low * New upstream release: - d/rules: Override configure step to unzip *-src.zip. - d/rules: Also clean existing binary JAR files. * d/watch: Updated from sepwatch. * d/copyright: Update and use copyright-format 1.0. * Switch to dh 7 and javahelper: - d/ant.properties, d/patches/*: Dropped. - d/control: Drop cdbs. - d/javabuild: Build all 3 modules. - d/*.javadoc: Publish 'internal' Javadoc from javahelper. - d/*.jlibs: Install 3 modules into /usr/share/java. - d/*.manifest: Add Main-Class attribute to janino.jar. - d/rules: Call dh with javahelper. * Split janino package: - Move Javadoc to libjanino-java-doc package - Move /usr/share/java/janino.jar to libjanino-java package. - Only keep janinoc into janino package. - Adjust Depends / Conflicts to help migration. -- Damien Raude-Morvan Fri, 16 Aug 2013 10:21:12 +0200 janino (2.5.15-3) unstable; urgency=low * Upload to unstable. * d/control: Bump Standards-Version to 3.9.4 (no changes needed). * d/control: Use canonical URL for Vcs-* fields. -- Damien Raude-Morvan Wed, 08 May 2013 13:48:08 +0200 janino (2.5.15-2) experimental; urgency=low [ Jari Aalto ] * Remove deprecated dpatch and upgrade to packaging format "3.0 quilt". * Update to Standards-Version to 3.9.3 and debhelper to 9. [ Damien Raude-Morvan ] * Transfer package to pkg-java team. * Add myself as Uploaders. * Merge patch from Jari Aalto. (Closes: #664347). * Merge changes from Ubuntu (Thierry Carrez): - Added debian/ant.properties to build java2-compatible code. - debian/control, debian/rules: Build-depend on default-jdk * d/control: Add ${misc:Depends} to binary packages. * d/contorl: Add Vcs-* headers for Git repository. -- Damien Raude-Morvan Sun, 10 Feb 2013 13:52:00 +0100 janino (2.5.15-1) unstable; urgency=low * New upstream version * Fix janinoc script to handle arguments containing white space correctly * Updated Standards-Version to 3.8.0 * Removed unnecessary DOS-Unix line ending conversions -- Philipp Hagemeister Fri, 20 Jun 2008 12:48:56 +0200 janino (2.5.13-1) unstable; urgency=low * New upstream version * Corrected additional incorrect hyphens in manpage -- Philipp Hagemeister Sat, 22 Mar 2008 19:12:37 +0100 janino (2.5.12-1) unstable; urgency=low * New upstream version * Removed a typo in debian/README.Debian * Updated Standards-Version to 3.7.3 * Moved homepage from description to its own field * Corrected minus signs in manpage -- Philipp Hagemeister Tue, 29 Jan 2008 15:30:42 +0100 janino (2.5.11-1) unstable; urgency=low * New upstream version -- Philipp Hagemeister Thu, 09 Nov 2007 23:58:47 +0200 janino (2.5.10-1) unstable; urgency=low * New upstream version -- Philipp Hagemeister Thu, 13 Sep 2007 21:21:46 +0200 janino (2.5.9-1) unstable; urgency=low * New upstream version * Better description -- Philipp Hagemeister Tue, 08 Aug 2007 21:07:02 +0200 janino (2.5.8-1) unstable; urgency=low * Initial Debian packaging (Bug #432254) * Patched to remove static buildpaths from build.xml * Added a wrapper script for org.codehaus.janino.Compiler, called janinoc * Added a manpage -- Philipp Hagemeister Sun, 17 Jun 2007 21:42:23 +0200 debian/libjanino-java-doc.doc-base0000644000000000000000000000043112223010563014204 0ustar Document: libjanino-java Title: API Javadoc for Janino Author: Arno Unkrig Abstract: This is the API Javadoc provided for the libjanino-java library. Section: Programming Format: HTML Index: /usr/share/doc/libjanino-java/api/index.html Files: /usr/share/doc/libjanino-java/api/* debian/copyright0000644000000000000000000000342512223010563011117 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Janino Upstream-Contact: Arno Unkrig Source: http://janino.net/changelog.html Files: * Copyright: 2001-2013, Arno Unkrig License: BSD-3-clauses Files: debian/* Copyright: 2007, Philipp Hagemeister 2012-2013, Damien Raude-Morvan License: BSD-3-clauses License: BSD-3-clauses Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/janinoc.10000644000000000000000000000304612223010563010666 0ustar .TH JANINOC "1" "July 2007" "Janino" .SH NAME Janino \- a runtime Java Compiler. .SH SYNOPSIS .BI "janinoc [" options "] " source-file " ..." .SH DESCRIPTION .TP Janino is a compiler that reads a Java expression, block, class body, source file or a set of source files, and generates Java bytecode that is loaded and executed directly. Janino is not intended to be a development tool, but an embedded compiler for run-time compilation purposes, e.g. expression evaluators or "server pages" engines like JSP. .TP janinoc is a front-end that compiles all specified input files. .SH OPTIONS .HP \fB\-d\fR output-dir Where to save class files .TP \fB\-sourcepath\fR dirlist, \fB\-extdirs\fR dirlist, \fB\-bootclasspath\fR dirlist Where to look for other source files .TP \fB\-encoding\fR encoding Encoding of source files, e.g. "UTF-8" or "ISO-8859-1" .TP \fB\-verbose\fR More output. .TP \fB\-g\fR [none|{lines,vars,source}] Generate all, no, or only some debugging info. .TP \fB\-warn:\fRpattern-list Issue certain warnings, examples: .nf \-warn:* All warnings \-warn:IASF Only warn against implicit access to static fields \-warn:*\-IASF Enables all warnings, except those against implicit access to static fields \-warn:*\-IA*+IASF Enables all warnings, except those against implicit accesses, but do warn against implicit access to static fields .fi .TP \fB\-rebuild\fR Compile all source files, even if the class files seems up-to-date .TP \fB\-help\fR Prints a help message .SH "AUTHORS" .nf The Janino Team http://janino.net/ Arno Unkrig .fi debian/orig-tar.sh0000755000000000000000000000065712223010563011253 0ustar #!/bin/sh -e VERSION=$2 TAR=../janino_$VERSION.orig.tar.xz DIR=janino-$VERSION svn export https://svn.codehaus.org/janino/tags/janino_$VERSION/ $DIR tar -c -J -f $TAR --exclude .classpath --exclude .settings --exclude .project --exclude *.jar --exclude .hgignore $DIR rm -rf $DIR ../$TAG $3 # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi debian/janinoc0000644000000000000000000000007212223010563010523 0ustar #!/bin/sh exec java -jar /usr/share/java/janino.jar "$@" debian/watch0000644000000000000000000000017612223010563010215 0ustar version=3 http://janino.net/changelog.html .*janino-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)|zip) debian debian/orig-tar.sh debian/javabuild0000644000000000000000000000015112223010563011041 0ustar commons-compiler.jar commons-compiler/ commons-compiler-jdk.jar commons-compiler-jdk/ janino.jar janino/ debian/compat0000644000000000000000000000000212223010563010356 0ustar 9