CVS commons-daemon/debian
Arnaud Vandyck
avdyk@haydn.debian.org
Mon Apr 4 19:34:06 2005
Update of /cvsroot/pkg-java/commons-daemon/debian
In directory haydn:/tmp/cvs-serv29939/debian
Modified Files:
changelog control docs rules
Added Files:
libcommons-daemon-java.links
Log Message:
move to main
--- /cvsroot/pkg-java/commons-daemon/debian/changelog 2004/11/12 16:55:09 1.2
+++ /cvsroot/pkg-java/commons-daemon/debian/changelog 2005/04/04 19:33:03 1.3
@@ -1,3 +1,17 @@
+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@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).
--- /cvsroot/pkg-java/commons-daemon/debian/control 2004/11/12 16:55:09 1.2
+++ /cvsroot/pkg-java/commons-daemon/debian/control 2005/04/04 19:33:03 1.3
@@ -1,65 +1,39 @@
Source: commons-daemon
-Section: contrib/libs
+Section: libs
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
-Uploaders: Arnaud Vandyck <avdyk@debian.org>
-Build-Depends: debhelper (>> 4.0.0), sablevm, jikes, kaffe (>= 2:1.1.4), junit, cdbs, libant1.6-java, j2sdk1.4 | java2-compiler, libxerces2-java, libjaxp1.2-java
+Uploaders: Arnaud Vandyck <avdyk@debian.org>, Wolfgang Baer <WBaer@gmx.de>
+Build-Depends: debhelper (>= 4.2.30), cdbs, kaffe (>= 2:1.1.4.PRECVS12-1), kaffe-dev (>= 2:1.1.4.PRECVS12-1), junit, libant1.6-java, libxerces2-java, libjaxp1.2-java
Standards-Version: 3.6.1
Package: libcommons-daemon-java
Architecture: all
-Depends: kaffe (>= 2:1.1.4) | sablevm | gij | java2-runtime
+Depends: kaffe (>= 2:1.1.4.PRECVS12-1) | java1-runtime | java2-runtime
Recommends: jsvc
-Description: java API to launch java applications as daemons
- Having a single-point of entry is a valid solution for client
- applications, where interactively a user can command to the application
- to quit (which can terminate the Virtual Machine process at calling the
- System .exit( int ) method), but in those cases where the
- application is not interactive (server applications) there is currently
- no portable way to notify the Virtual Machine of its imminent shutdown.
+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.
.
- Most multi-user operating systems already have a way in which server
- applications are started and stopped, under Unix based operating
- systems non interactive server applications are called daemons and are
- controlled by the operating system with a set of specified
- signals. Under Windows such programs are called services and are
- controlled by appropriate calls to specific functions defined in the
- application binary, but although the ways of dealing with the problem
- are different, in both cases the operating system can notify a server
- application of its imminent shutdown, and the application has the
- ability to perform certain tasks before its process of execution is
- destroyed.
- .
- This is the java library, see jsvc for the application
+ 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: contrib/net
+Section: net
Architecture: any
Depends: ${shlibs:Depends}, libcommons-daemon-java
Description: native application to launch java applications as daemons
- Having a single-point of entry is a valid solution for client
- applications, where interactively a user can command to the application
- to quit (which can terminate the Virtual Machine process at calling the
- System .exit( int ) method), but in those cases where the
- application is not interactive (server applications) there is currently
- no portable way to notify the Virtual Machine of its imminent shutdown.
- .
- Most multi-user operating systems already have a way in which server
- applications are started and stopped, under Unix based operating
- systems non interactive server applications are called daemons and are
- controlled by the operating system with a set of specified
- signals. Under Windows such programs are called services and are
- controlled by appropriate calls to specific functions defined in the
- application binary, but although the ways of dealing with the problem
- are different, in both cases the operating system can notify a server
- application of its imminent shutdown, and the application has the
- ability to perform certain tasks before its process of execution is
- destroyed.
- .
- This is the native application to launch the java daemon.
+ 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/>
@@ -68,24 +42,6 @@
Architecture: all
Depends: jsvc
Description: development files for jsvc
- Having a single-point of entry is a valid solution for client
- applications, where interactively a user can command to the application
- to quit (which can terminate the Virtual Machine process at calling the
- System .exit( int ) method), but in those cases where the
- application is not interactive (server applications) there is currently
- no portable way to notify the Virtual Machine of its imminent shutdown.
- .
- Most multi-user operating systems already have a way in which server
- applications are started and stopped, under Unix based operating
- systems non interactive server applications are called daemons and are
- controlled by the operating system with a set of specified
- signals. Under Windows such programs are called services and are
- controlled by appropriate calls to specific functions defined in the
- application binary, but although the ways of dealing with the problem
- are different, in both cases the operating system can notify a server
- application of its imminent shutdown, and the application has the
- ability to perform certain tasks before its process of execution is
- destroyed.
- .
- This is a part of the Apache Jakarta Project.
- Home: <http://jakarta.apache.org/commons/daemon/>
+ 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.
--- /cvsroot/pkg-java/commons-daemon/debian/docs 2004/10/11 09:01:22 1.1.1.1
+++ /cvsroot/pkg-java/commons-daemon/debian/docs 2005/04/04 19:33:03 1.2
@@ -3,3 +3,5 @@
README
RELEASE-NOTES.txt
STATUS.html
+src/docs/daemon.html
+dist/docs/api
--- /cvsroot/pkg-java/commons-daemon/debian/rules 2004/10/11 09:01:22 1.1.1.1
+++ /cvsroot/pkg-java/commons-daemon/debian/rules 2005/04/04 19:33:03 1.2
@@ -7,32 +7,29 @@
# This is the debhelper compatibility version to use.
#export DH_COMPAT=4
-# this is for my IBM ppc's JDK
-export JITC_PROCESSOR_TYPE=6
-
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
-JAVA_HOME := /usr/lib/j2se/1.4
+JAVA_HOME := /usr/lib/kaffe
ANT_HOME := /usr/share/ant1.6
-DEB_JARS := /usr/share/ant1.6/lib/ant-launcher.jar jaxp-1.2 xercesImpl
+DEB_JARS := ${ANT_HOME}/lib/ant-launcher.jar jaxp-1.2 xercesImpl
DEB_ANT_COMPILER := jikes
DEB_ANT_BUILD_TARGET := dist
LIBRARY=commons-daemon
VERSION=1.0
-install/lib${LIBRARY}-java::
- install -m 644 dist/${LIBRARY}.jar debian/lib${LIBRARY}-java/usr/share/java/${LIBRARY}-${VERSION}.jar
- echo "usr/share/java/${LIBRARY}-${VERSION}.jar usr/share/java/${LIBRARY}.jar" > debian/lib${LIBRARY}-java.links
-# NO DOCUMENTATION AT THE MOMENT
-# -cp -a dist/docs/ debian/lib${LIBRARY}-java/usr/share/doc/lib${LIBRARY}-java/
-
-install/jsvc::
- cd src/native/unix ; ./configure --with-java=$(JAVA_HOME) ; make
-
clean::
- -rm debian/lib${LIBRARY}-java.links
-(cd src/native/unix ; make clean)
-rm src/native/unix/config.log src/native/unix/config.status
+
+common-configure-arch::
+ cd src/native/unix ; ./configure --with-java=$(JAVA_HOME)
+
+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
+ # NO DOCUMENTATION AT THE MOMENT
+ # -cp -a dist/docs/ debian/lib${LIBRARY}-java/usr/share/doc/lib${LIBRARY}-java/