[pkg-java] r2798 - in branches/commons-daemon/feature/runtime-jvm-detection: . debian debian/patches

Marcus Better marcusb-guest at alioth.debian.org
Tue Nov 28 10:14:24 CET 2006


Author: marcusb-guest
Date: 2006-11-28 10:14:24 +0100 (Tue, 28 Nov 2006)
New Revision: 2798

Added:
   branches/commons-daemon/feature/runtime-jvm-detection/debian/
   branches/commons-daemon/feature/runtime-jvm-detection/debian/changelog
   branches/commons-daemon/feature/runtime-jvm-detection/debian/compat
   branches/commons-daemon/feature/runtime-jvm-detection/debian/control
   branches/commons-daemon/feature/runtime-jvm-detection/debian/copyright
   branches/commons-daemon/feature/runtime-jvm-detection/debian/docs
   branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc-dev.dirs
   branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc-dev.install
   branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.1
   branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.1.xml
   branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.dirs
   branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.install
   branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.manpages
   branches/commons-daemon/feature/runtime-jvm-detection/debian/libcommons-daemon-java.dirs
   branches/commons-daemon/feature/runtime-jvm-detection/debian/libcommons-daemon-java.links
   branches/commons-daemon/feature/runtime-jvm-detection/debian/patches/
   branches/commons-daemon/feature/runtime-jvm-detection/debian/patches/01_invalid_execve_usage.patch
   branches/commons-daemon/feature/runtime-jvm-detection/debian/patches/02_build_ppc64.patch
   branches/commons-daemon/feature/runtime-jvm-detection/debian/rules
   branches/commons-daemon/feature/runtime-jvm-detection/debian/watch
Log:
Add debian dir from trunk (r2797).


Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/changelog
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/changelog	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/changelog	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1,72 @@
+commons-daemon (1.0.1-3) unstable; urgency=low
+
+  * Apply a patch to support ppc64 arch, thanks to Andreas Jochens
+    (closes: #361831)
+
+ -- Arnaud Vandyck <avdyk at debian.org>  Mon,  3 Jul 2006 11:04:55 +0200
+
+commons-daemon (1.0.1-2) unstable; urgency=low
+
+  * (Builds-)Depends on java-gcj-compat(-dev) instead of kaffe(-dev)
+    (Closes: #358343).
+  * Update Standards-Version to 3.7.2.
+
+ -- Michael Koch <konqueror at gmx.de>  Sat,  1 Jul 2006 15:56:17 +0000
+
+commons-daemon (1.0.1-1) unstable; urgency=low
+
+  * New upstream release
+    + updated manpage for new options
+    + amd64 now supported 
+      (I will leave 307853 open until all debian platforms are supported)
+  * Patch from upstream CVS to fix invalid execve() usage (closes: #314937)
+  * libant1.6-java to ant transition (closes: #326436)
+  * Added autotools-dev to let cdbs update the config.guess/sub
+  * Standards-Version 3.6.2 (no changes)
+
+  * Upload sponsored by XXX
+
+ -- Wolfgang Baer <WBaer at gmx.de>  Sat, 10 Sep 2005 17:45:46 +0200 
+
+commons-daemon (1.0-5) unstable; urgency=low
+
+  * upload with the sources.
+  * Build with free tools now, therefore buildable on all 
+    architectures and a jsvc binary should be provided (closes: #286871)
+  * Move to main as built with free tools
+  * Shortened and clarified description (closes: #279752)  
+
+ -- Arnaud Vandyck <avdyk at debian.org>  Sun, 10 Apr 2005 23:31:38 +0200
+
+commons-daemon (1.0-4) unstable; urgency=low
+
+  * Build with free tools now, therefore buildable on all 
+    architectures and a jsvc binary should be provided (closes: #286871)
+  * Moved configure/build of jsvc binary from install/jsvc target to the
+    common-configure-arch and common-build-arch targets
+  * Move to main as built with free tools
+  * Shortened and clarified description (closes: #279752)  
+  * Build javadoc api and include daemons.html into documentation
+    (Removed patch 01_dist_without_javadoc.patch)
+  * avdyk: added Wolfgang to the uploaders
+  
+ -- Wolfgang Baer <WBaer at gmx.de>  Fri, 12 Nov 2004 17:48:04 +0100
+
+commons-daemon (1.0-3) unstable; urgency=low
+
+  * changed build-dep-indep to build-dep (closes: #280933).
+
+ -- Arnaud Vandyck <avdyk at debian.org>  Fri, 12 Nov 2004 17:48:04 +0100
+
+commons-daemon (1.0-2) unstable; urgency=low
+
+  * improved description for jsvc-dev.
+
+ -- Arnaud Vandyck <avdyk at debian.org>  Fri, 29 Oct 2004 11:57:53 +0200
+
+commons-daemon (1.0-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Arnaud Vandyck <avdyk at debian.org>  Sat,  9 Oct 2004 17:51:44 +0200
+

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/compat
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/compat	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/compat	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1 @@
+4

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/control
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/control	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/control	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1,48 @@
+Source: commons-daemon
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Arnaud Vandyck <avdyk at debian.org>, Wolfgang Baer <WBaer at gmx.de>, Michael Koch <konqueror at gmx.de>
+Build-Depends: debhelper (>= 4.2.30), cdbs, java-gcj-compat-dev, junit, ant, libxerces2-java, libjaxp1.2-java, autotools-dev
+Standards-Version: 3.7.2
+
+Package: libcommons-daemon-java
+Architecture: all
+Depends: java-gcj-compat | java1-runtime | java2-runtime
+Suggests: java-virtual-machine
+Recommends: jsvc
+Description: Java API to launch java applications as daemons
+ The libcommons-daemon-java package can be used to implement java applications
+ which can be launched as daemons of the operating system. The application
+ has to implement the provided interfaces by this package in order to 
+ be launched/stopped and restarted in the same fashion a normal unix 
+ daemons.
+ .
+ For example the java program will be notified about a shutdown and
+ therefore be able to perform tasks before its process of  execution is 
+ destroyed by the operation system.
+ .
+ This package contains the java library - you will also need the actual binary
+ for your architecture which is provided by the jsvc package.
+ .
+ This is a part of the Apache Jakarta Project.
+ Home: <http://jakarta.apache.org/commons/daemon/>
+
+Package: jsvc
+Section: net
+Architecture: any
+Depends: ${shlibs:Depends}, libcommons-daemon-java
+Description: native application to launch java applications as daemons
+ This is the native application for launching java applications implementing
+ certain interfaces from the libcommons-daemon-java package as daemons.
+ .
+ This is a part of the Apache Jakarta Project.
+ Home: <http://jakarta.apache.org/commons/daemon/>
+
+Package: jsvc-dev
+Architecture: all
+Depends: jsvc
+Description: development files for jsvc
+ This package provides the development files of the jsvc application.
+ For a description please have a look at the packages jsvc and
+ libcommons-daemon-java.

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/copyright
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/copyright	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/copyright	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1,187 @@
+This package was debianized by Arnaud Vandyck <avdyk at debian.org> on
+Sam, 09 Oct 2004 17:46:48 +0200
+
+It was downloaded from http://jakarta.apache.org/commons/daemon
+
+Upstream Authors: Jean-Frederic Clere, Remy Maucherat, Yoav Shapira,
+                  Bill Barker
+
+                  http://jakarta.apache.org/commons/daemon/team-list.html
+
+Copyright:
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/docs
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/docs	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/docs	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1,6 @@
+PROPOSAL.html
+README
+RELEASE-NOTES.txt
+STATUS.html
+src/docs/daemon.html
+dist/docs/api

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc-dev.dirs
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc-dev.dirs	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc-dev.dirs	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1 @@
+usr/include/jsvc

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc-dev.install
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc-dev.install	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc-dev.install	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1,9 @@
+src/native/unix/native/arguments.h usr/include/jsvc/
+src/native/unix/native/debug.h usr/include/jsvc/
+src/native/unix/native/dso.h usr/include/jsvc/
+src/native/unix/native/help.h usr/include/jsvc/
+src/native/unix/native/home.h usr/include/jsvc/
+src/native/unix/native/java.h usr/include/jsvc/
+src/native/unix/native/jsvc.h usr/include/jsvc/
+src/native/unix/native/location.h usr/include/jsvc/
+src/native/unix/native/replace.h usr/include/jsvc/

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.1
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.1	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.1	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1,110 @@
+.\"Generated by db2man.xsl. Don't modify this, modify the source.
+.de Sh \" Subsection
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Ip \" List item
+.br
+.ie \\n(.$>=3 .ne \\$3
+.el .ne 3
+.IP "\\$1" \\$2
+..
+.TH "JSVC" 1 "" "" ""
+.SH NAME
+jsvc \- application to launch java daemon
+.SH "SYNOPSIS"
+.ad l
+.hy 0
+.HP 5
+\fBjsvc\fR [\-jvm\ \fIJVM\ name\fR] [\-classpath\ \fIpath\fR] [\-cp\ \fIpath\fR] [\-home\ \fIdirectory\fR] [\-version] [\-help] [\-?] [\-nodetach] [\-debug] [\-check] [\-user\ \fIuser\fR] [\-wait\ \fIwaittime\fR] [\-stop] [\-verbose\fI:class|gc|jni\fR] [\-outfile\ \fI/full/path/to/file\fR] [\-errfile\ \fI/full/path/to/file\fR] [\-pidfile\ \fI/full/path/to/file\fR] [\-Dproperty=\fIvalue\fR] [\-X\fIoption\fR]
+.ad
+.hy
+
+.SH "DESCRIPTION"
+
+.PP
+\fBjsvc\fR executes \fIclassfile\fR that implements a Daemon interface\&.
+
+.SH "OPTIONS"
+
+.TP
+\fB\-jvm\fR JVM name
+use a specific Java Virtual Machine\&.
+
+.TP
+\fB\-cp/ \-classpath\fR directory and zip/jar files
+set search path for service classes and resouces
+
+.TP
+\fB\-home\fR directory
+set the path of your JDK or JRE installation (or set the JAVA_HOME environment variable)
+
+.TP
+\fB\-version\fR
+show the current Java environment version (to check correctness of \-home and \-jvm\&. Implies \-nodetach)
+
+.TP
+\fB\-help\fR
+show this help page (implies \-nodetach)
+
+.TP
+\fB\-nodetach\fR
+don't detach from parent process and become a daemon
+
+.TP
+\fB\-debug\fR
+verbosely print debugging information
+
+.TP
+\fB\-check\fR
+only check service (implies \-nodetach)
+
+.TP
+\fB\-stop\fR
+stop the service using the file given in the \-pidfile option
+
+.TP
+\fB\-wait\fR waittime
+wait up to waittime seconds for the service to start waittime should multiple of 10 (min=10)
+
+.TP
+\fB\-user\fR user
+user used to run the daemon (defaults to current user)
+
+.TP
+\fB\-verbose[:class|gc|jni]\fR
+enable verbose output
+
+.TP
+\fB\-outfile\fR /full/path/to/file
+Location for output from stdout (defaults to /dev/null)\&. Use the value '&2' to simulate '1>&2'
+
+.TP
+\fB\-errfile\fR /full/path/to/file
+Location for output from stderr (defaults to /dev/null)\&. Use the value '&1' to simulate '2>&1'
+
+.TP
+\fB\-pidfile\fR /full/path/to/file
+Location for output from the file containing the pid of jsvc (defaults to /var/run/jsvc\&.pid)
+
+.TP
+\fB\-D\fR<name>=<value>
+set a Java system property
+
+.TP
+\fB\-X\fR<option>
+set Virtual Machine specific option
+
+.SH "AUTHOR"
+
+.PP
+JSVC is part of the Jakarta Commons Daemon project\&. Authors are Jean\-Frederic Clere, Remy Maucherat, Yoav Shapira, Bill Barker\&. JSVC is under the Apache License Version 2\&.0\&.
+

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.1.xml
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.1.xml	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.1.xml	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+                   "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<refentry id='jsvc1'>
+  <refmeta>
+    <refentrytitle>JSVC</refentrytitle>
+    <manvolnum>1</manvolnum>
+    <refmiscinfo class='date'>October 2004</refmiscinfo>
+    <refmiscinfo class='source'>Jsvc version 1.0</refmiscinfo>
+    <refmiscinfo class='manual'>Jakarta project</refmiscinfo>
+  </refmeta>
+  <refnamediv id='name'>
+    <refname>jsvc</refname>
+    <refpurpose>application to launch java daemon</refpurpose>
+  </refnamediv>
+  <!-- body begins here -->
+  <refsynopsisdiv id='synopsis'>
+    <cmdsynopsis>
+      <command>jsvc</command>
+      <arg choice='opt'>-jvm <replaceable>JVM name</replaceable></arg>
+      <arg choice='opt'>-classpath <replaceable>path</replaceable></arg>
+      <arg choice='opt'>-cp <replaceable>path</replaceable></arg>
+      <arg choice='opt'>-home <replaceable>directory</replaceable></arg>
+      <arg choice='opt'>-version</arg>
+      <arg choice='opt'>-help</arg>
+      <arg choice='opt'>-?</arg>
+      <arg choice='opt'>-nodetach</arg>
+      <arg choice='opt'>-debug</arg>
+      <arg choice='opt'>-check</arg>
+      <arg choice='opt'>-user</arg>
+      <arg choice='opt'>-verbose<replaceable>:class|gc|jni</replaceable></arg>
+      <arg choice='opt'>-outfile <replaceable>/full/path/to/file</replaceable></arg>
+      <arg choice='opt'>-errfile <replaceable>/full/path/to/file</replaceable></arg>
+      <arg choice='opt'>-pidfile <replaceable>/full/path/to/file</replaceable></arg>
+      <arg choice='opt'>-Dproperty=<replaceable>value</replaceable></arg>
+      <arg choice='opt'>-X<replaceable>option</replaceable></arg>
+      <!-- end of the new arguments -->
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1 id="description">
+    <title>DESCRIPTION</title>
+    <para><command>jsvc</command> executes <emphasis remap="I">classfile</emphasis>
+    that implements a Daemon interface.</para>
+  </refsect1>
+
+  <refsect1 id="options">
+    <title>OPTIONS</title>
+
+    <variablelist remap="TP">
+      <varlistentry>
+        <term><option>-jvm</option> JVM name</term>
+        <listitem>
+          <para>use a specific Java Virtual Machine.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-cp/ -classpath</option> directory and zip/jar 
+          files</term>
+        <listitem>
+          <para>set search path for service classes and resouces</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-home</option> directory</term>
+        <listitem>
+          <para>set the path of your JDK or JRE installation (or set
+        				the JAVA_HOME environment variable)
+          </para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-version</option></term>
+        <listitem>
+          <para>show the current Java environment version (to check
+        				correctness of -home and -jvm. Implies -nodetach)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-help</option></term>
+        <listitem>
+          <para>show this help page (implies -nodetach)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-nodetach</option></term>
+        <listitem>
+          <para>don't detach from parent process and become a daemon</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-debug</option></term>
+        <listitem>
+          <para>verbosely print debugging information</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-check</option></term>
+        <listitem>
+          <para>only check service (implies -nodetach)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-user</option></term>
+        <listitem>
+          <para>user used to run the daemon (defaults to current user)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-verbose[:class|gc|jni]</option></term>
+        <listitem>
+          <para>enable verbose output</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-outfile</option> /full/path/to/file</term>
+        <listitem>
+          <para>Location for output from stdout (defaults to /dev/null). Use 
+            the value '&amp;2' to simulate '1&gt;&amp;2'</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-errfile</option> /full/path/to/file</term>
+        <listitem>
+          <para>Location for output from stderr (defaults to /dev/null). Use 
+            the value '&amp;1' to simulate '2&gt;&amp;1'</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-pidfile</option> /full/path/to/file</term>
+        <listitem>
+          <para>Location for output from the file containing the pid of jsvc 
+            (defaults to /var/run/jsvc.pid)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-D</option>&lt;name&gt;=&lt;value&gt;</term>
+        <listitem>
+          <para>set a Java system property</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-X</option>&lt;option&gt;</term>
+        <listitem>
+          <para>set Virtual Machine specific option</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+
+  <refsect1 id='author'><title>AUTHOR</title>
+    <para>JSVC is part of the Jakarta Commons Daemon project. Authors are 
+      Jean-Frederic Clere, Remy Maucherat, Yoav Shapira, Bill Barker. JSVC is 
+      under the Apache License Version 2.0.</para>
+  </refsect1>
+
+</refentry>

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.dirs
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.dirs	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.dirs	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1 @@
+usr/bin

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.install
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.install	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.install	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1 @@
+src/native/unix/jsvc usr/bin

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.manpages
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.manpages	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/jsvc.manpages	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1 @@
+debian/jsvc.1

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/libcommons-daemon-java.dirs
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/libcommons-daemon-java.dirs	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/libcommons-daemon-java.dirs	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1,2 @@
+usr/share/java
+usr/share/doc

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/libcommons-daemon-java.links
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/libcommons-daemon-java.links	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/libcommons-daemon-java.links	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1 @@
+usr/share/java/commons-daemon-1.0.1.jar usr/share/java/commons-daemon.jar

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/patches/01_invalid_execve_usage.patch
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/patches/01_invalid_execve_usage.patch	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/patches/01_invalid_execve_usage.patch	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1,34 @@
+--- src/native/unix/native/jsvc-unix.c	2005/08/15 11:19:48	232794
++++ src/native/unix/native/jsvc-unix.c	2005/08/15 17:44:02	232839
+@@ -631,8 +631,9 @@
+     if (strcmp(argv[0],args->procname)!=0) {
+         char *oldpath=getenv("LD_LIBRARY_PATH");
+         char *libf=java_library(args,data);
+-        char *old=argv[0];
++        char *filename;
+         char buf[2048];
++        int  ret;
+         char *tmp=NULL;
+         char *p1=NULL;
+         char *p2=NULL;
+@@ -653,9 +654,18 @@
+ 
+         log_debug("Invoking w/ LD_LIBRARY_PATH=%s",getenv("LD_LIBRARY_PATH"));
+ 
++        /* execve needs a full path */
++        ret = readlink("/proc/self/exe",buf,sizeof(buf)-1);
++        if (ret<=0)
++          strcpy(buf,argv[0]);
++        else
++          buf[ret]='\0';
++  
++        filename=buf;
++
+         argv[0]=args->procname;
+-        execve(old,argv,environ);
+-        log_error("Cannot execute JSVC executor process");
++        execve(filename,argv,environ);
++        log_error("Cannot execute JSVC executor process (%s)",filename);
+         return(1);
+     }
+     log_debug("Running w/ LD_LIBRARY_PATH=%s",getenv("LD_LIBRARY_PATH"));

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/patches/02_build_ppc64.patch
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/patches/02_build_ppc64.patch	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/patches/02_build_ppc64.patch	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1,11 @@
+--- src/native/unix/configure~	2005-05-17 11:00:45.000000000 +0000
++++ src/native/unix/configure	2006-07-03 08:56:25.000000000 +0000
+@@ -2422,7 +2422,7 @@
+     ;;
+   esac
+   case $host_cpu in
+-  powerpc)
++  powerpc*)
+     CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\"" ;;
+   sparc*)
+     CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\"" ;;

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/rules
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/rules	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/rules	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1,36 @@
+#!/usr/bin/make -f
+# debian/rules for commons-daemon
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+JAVA_HOME            := /usr/lib/jvm/java-gcj
+ANT_HOME             := /usr/share/ant
+DEB_JARS             := jaxp-1.2 xercesImpl
+DEB_ANT_BUILD_TARGET := dist
+
+LIBRARY=commons-daemon
+VERSION=1.0.1
+
+clean::
+	-(cd src/native/unix ; make clean)
+	-rm src/native/unix/config.log src/native/unix/config.status	
+	-rm src/native/unix/native/Makefile
+	-rm src/native/unix/Makefile
+	-rm src/native/unix/Makedefs
+
+common-configure-arch::
+	cd src/native/unix ; ./configure --with-java=$(JAVA_HOME) --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+
+common-build-arch::
+	cd src/native/unix ; make
+
+install/lib${LIBRARY}-java::
+	install -m 644 dist/${LIBRARY}.jar debian/lib${LIBRARY}-java/usr/share/java/${LIBRARY}-${VERSION}.jar	


Property changes on: branches/commons-daemon/feature/runtime-jvm-detection/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/commons-daemon/feature/runtime-jvm-detection/debian/watch
===================================================================
--- branches/commons-daemon/feature/runtime-jvm-detection/debian/watch	2006-11-28 09:11:14 UTC (rev 2797)
+++ branches/commons-daemon/feature/runtime-jvm-detection/debian/watch	2006-11-28 09:14:24 UTC (rev 2798)
@@ -0,0 +1,2 @@
+version=2
+http://www.apache.org/dist/jakarta/commons/daemon/source/daemon-(.*)\.tar\.gz debian uupdate




More information about the pkg-java-commits mailing list