[commons-daemon] 38/52: Imported Debian patch 1.0.10-1

Tony Mancill tmancill at moszumanska.debian.org
Wed Nov 12 05:31:32 UTC 2014


This is an automated email from the git hooks/post-receive script.

tmancill pushed a commit to branch master
in repository commons-daemon.

commit 0089f27bbadaaf804bd310bd51734e59681ad577
Merge: 9f86c7f 281cdb0
Author: Damien Raude-Morvan <drazzib at debian.org>
Date:   Fri Mar 2 19:37:23 2012 +0100

    Imported Debian patch 1.0.10-1

 NOTICE.txt                                         |   2 +-
 RELEASE-NOTES.txt                                  |  27 +-
 build.xml                                          |   6 +-
 debian/changelog                                   |  12 +
 debian/control                                     |   2 +-
 debian/copyright                                   |   5 +-
 debian/rules                                       |  20 +-
 pom.xml                                            |   7 +-
 src/main/assembly/src.xml                          |   2 +
 src/main/assembly/{src.xml => win.xml}             |  37 +-
 .../java/org/apache/commons/daemon/Daemon.java     |  12 +-
 .../org/apache/commons/daemon/DaemonContext.java   |   2 +-
 .../apache/commons/daemon/DaemonController.java    |  16 +-
 .../apache/commons/daemon/DaemonInitException.java |   1 +
 .../org/apache/commons/daemon/DaemonListener.java  |   2 +-
 .../apache/commons/daemon/DaemonPermission.java    |  26 +-
 .../apache/commons/daemon/DaemonUserSignal.java    |   5 +-
 .../daemon/support/DaemonConfiguration.java        |   9 +-
 .../commons/daemon/support/DaemonLoader.java       |   4 +-
 .../commons/daemon/support/DaemonWrapper.java      |   4 +-
 src/media/logo.xcf                                 | Bin 0 -> 23803 bytes
 src/native/unix/CHANGES.txt                        |   9 +-
 src/native/unix/configure                          | 661 +++++++++++++++++++-
 src/native/unix/configure.in                       |   6 +-
 src/native/unix/native/jsvc-unix.c                 | 170 +++--
 src/native/unix/native/version.h                   |   2 +-
 src/native/windows/README                          |  70 ++-
 src/native/windows/README.dev                      |  63 --
 src/native/windows/apps/prunmgr/Makefile           |   9 +-
 src/native/windows/apps/prunmgr/prunmgr.h          |   2 +-
 src/native/windows/apps/prunmgr/prunmgr.rc         |  10 +-
 src/native/windows/apps/prunsrv/Makefile           |   9 +-
 src/native/windows/apps/prunsrv/prunsrv.c          |   8 +-
 src/native/windows/apps/prunsrv/prunsrv.h          |   2 +-
 src/native/windows/apps/prunsrv/prunsrv.rc         |   6 +-
 src/native/windows/include/cmdline.h               |   4 +-
 src/native/windows/src/cmdline.c                   |  17 +-
 src/native/windows/src/utils.c                     |   6 +-
 src/samples/AloneDaemon.sh                         |   2 +-
 src/samples/Native.sh                              |  32 +-
 src/site/resources/images/logo.gif                 | Bin 0 -> 4540 bytes
 src/site/resources/images/logo.png                 | Bin 0 -> 14782 bytes
 src/site/site.xml                                  |  45 ++
 src/site/xdoc/binaries.xml                         |  83 +++
 src/site/xdoc/download_daemon.xml                  | 154 +++++
 src/site/xdoc/faq.xml                              | 100 +++
 src/site/xdoc/index.xml                            | 115 ++++
 src/site/xdoc/issue-tracking.xml                   | 102 +++
 src/site/xdoc/jsvc.xml                             | 314 ++++++++++
 src/site/xdoc/mail-lists.xml                       | 202 ++++++
 src/site/xdoc/procrun.xml                          | 688 +++++++++++++++++++++
 .../org/apache/commons/daemon/SimpleDaemon.java    |   5 +-
 52 files changed, 2785 insertions(+), 312 deletions(-)

diff --cc debian/changelog
index 28496f9,0000000..0d5d38c
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,278 -1,0 +1,290 @@@
++commons-daemon (1.0.10-1) unstable; urgency=low
++
++  * New upstream release.
++  * d/control: Bump Standards-Version to 3.9.3: no changes needed.
++  * d/rules: Enable hardening build with dpkg-buildflags.
++  * d/rules: Remove old code to workaround bug in debhelper.
++  * Fix "Updating the commons-daemon Uploaders list" Remove Michael Koch
++    from Uploaders list (Closes: #654006). Thanks Michael!
++  * d/copyright: Use copyright-format 1.0.
++
++ -- Damien Raude-Morvan <drazzib at debian.org>  Fri, 02 Mar 2012 19:37:23 +0100
++
 +commons-daemon (1.0.8-1) unstable; urgency=low
 +
 +  * New upstream release:
 +    - Refresh all patches.
 +
 + -- Damien Raude-Morvan <drazzib at debian.org>  Thu, 24 Nov 2011 19:29:26 +0100
 +
 +commons-daemon (1.0.7-2) unstable; urgency=low
 +
 +  * Add support for s390x. Closes: #638907.
 +
 + -- Damien Raude-Morvan <drazzib at debian.org>  Mon, 22 Aug 2011 23:07:18 +0200
 +
 +commons-daemon (1.0.7-1) unstable; urgency=high
 +
 +  * New upstream security release.
 +  * Fix CVE-2011-2729 (jsvc does not drop
 +    capabilities allowing the application to access files and directories
 +    owned by superuser).
 +
 + -- Damien Raude-Morvan <drazzib at debian.org>  Fri, 12 Aug 2011 19:36:58 +0200
 +
 +commons-daemon (1.0.6-1) unstable; urgency=low
 +
 +  * New upstream release.
 +  * Refresh patches.
 +  * d/control: Move Depends default-jre-headless | java2-runtime-headless from
 +    libcommons-daemon-java to jsvc package Recommends.
 +  * d/copyright: Use DEP-5 format.
 +
 + -- Damien Raude-Morvan <drazzib at debian.org>  Sun, 10 Jul 2011 22:06:40 +0200
 +
 +commons-daemon (1.0.5-2) unstable; urgency=low
 +
 +  * Publish commons daemon JAR into /usr/share/maven-repo.
 +  * d/control: Bump Standards-Version to 3.9.2: no changes needed.
 +
 + -- Damien Raude-Morvan <drazzib at debian.org>  Mon, 13 Jun 2011 19:25:17 +0200
 +
 +commons-daemon (1.0.5-1) unstable; urgency=low
 +
 +  * New upstream release.
 +
 + -- Damien Raude-Morvan <drazzib at debian.org>  Wed, 05 Jan 2011 22:01:53 +0100
 +
 +commons-daemon (1.0.4-1) unstable; urgency=low
 +
 +  * New upstream release.
 +    - d/patches/syslog.diff: merged upstream.
 +    - d/patches/jsvc_reopen_usr1.diff: merged upstream.
 +    - d/patches/hurd_support.diff: use "gnu" instead of "hurd".
 +
 + -- Damien Raude-Morvan <drazzib at debian.org>  Sun, 21 Nov 2010 18:05:41 +0100
 +
 +commons-daemon (1.0.3-2) UNRELEASED; urgency=low
 +
 +  * d/patches/jsvc_reopen_usr1.diff:
 +    Make jsvc reopen log files on SIGUSR1 (Closes: #460183).
 +
 + -- Damien Raude-Morvan <drazzib at debian.org>  Tue, 31 Aug 2010 00:26:47 +0200
 +
 +commons-daemon (1.0.3-1) unstable; urgency=low
 +
 +  * New upstream release.
 +    - debian/patches/old_capabilities.diff: merged upstream.
 +    - no more prebuilt ELF objects in source tarball.
 +  * d/pacthes/syslog.diff: Updated to keep timestamp when SYSLOG support
 +    is not enabled.
 +  * d/patches/hurd_support.diff: tentative support for GNU/Hurd OS.
 +  * d/control: B-D on libcap-dev for all Linux OS.
 +
 + -- Damien Raude-Morvan <drazzib at debian.org>  Thu, 05 Aug 2010 18:00:06 +0200
 +
 +commons-daemon (1.0.2-2) unstable; urgency=low
 +
 +  * Re-add missing patches (lost during merge of new upstream release):
 +    - debian/patches/syslog.diff: Support for logging to syslog.
 +    - debian/patches/old_capabilities.diff: Work with older Linux capabilities.
 +    - debian/patches/libgcj_PR31700.diff: Bug in GCJ handling of -X options.
 +    - debian/patches/*_support.diff: Support for other Debian architectures.
 +
 + -- Damien Raude-Morvan <drazzib at debian.org>  Wed, 28 Jul 2010 14:59:18 +0200
 +
 +commons-daemon (1.0.2-1) unstable; urgency=low
 +
 +  [ Thierry Carrez ]
 +  * debian/control, debian/rules: Build with default-jdk
 +  * debian/rules: Depend on -headless runtimes
 +  * debian/rules: Set java source/target to 1.4 to match depends
 +
 +  [ Torsten Werner ]
 +  * Re-add changes made by Emmanuel Bourg:
 +    - Update of the URLs
 +    - Rename Jakarta Commons to Apache Commons
 +
 +  [ Damien Raude-Morvan ]
 +  * New upstream stable release (Closes: #578661).
 +    - d/watch: Update URL for new upstream release.
 +  * d/patches/sh4-support.diff: Add support for sh4 arch (Closes: #564166).
 +  * d/control: Remove Arnaud and add myself from Uploaders.
 +  * Updated to Standards-Version 3.9.1:
 +    - d/control: Add recommended get-orig-source target.
 +  * d/control: Add ${misc:Depends} to Depends.
 +  * Switch to 3.0 (quilt) format.
 +  * Use Debhelper 7:
 +    - d/rules: Use dh 7 and cleanup our rules file.
 +    - d/*.dirs: Removed not needed anymore.
 +  * d/libcommons-daemon-java.doc-base and d/rules: Install API Javadoc to
 +    /usr/share/doc/libcommons-daemon-java/api.
 +
 + -- Damien Raude-Morvan <drazzib at debian.org>  Tue, 27 Jul 2010 21:39:41 +0200
 +
 +commons-daemon (1.0.2~svn20061127-10) unstable; urgency=low
 +
 +  * Build-Depends on libcap2-dev (Closes: #506548).
 +  * Added kfreebsd-* support to src/native/unix/support/apsupport.m4
 +    (Closes: #498376).
 +  * Point stdout and stderr to /dev/null for the daemon process
 +    (Closes: #491500, #507968).
 +  * Build-Depends on debhelper >= 7.
 +  * Replace dh_clean -k with dh_prep.
 +  * Moved package to section 'java'.
 +  * Rewrote debian/copyright to refer to
 +    /usr/share/common-licenses/Apache-2.0.
 +  * Updated to Standards-Version 3.8.3.
 +
 + -- Michael Koch <konqueror at gmx.de>  Thu, 17 Sep 2009 22:54:55 +0200
 +
 +commons-daemon (1.0.2~svn20061127-9) unstable; urgency=low
 +
 +  * Added patch to handle old capabilities version in jsvc-unix.c.
 +    Closes: #412690
 +
 + -- Michael Koch <konqueror at gmx.de>  Wed, 07 May 2008 20:03:55 +0200
 +
 +commons-daemon (1.0.2~svn20061127-8) unstable; urgency=low
 +
 +  * Clean src/native/unix/configure. Closes: #478503
 +  * Put jsvc into section utils.
 +
 + -- Michael Koch <konqueror at gmx.de>  Wed, 30 Apr 2008 05:12:17 -0100
 +
 +commons-daemon (1.0.2~svn20061127-7) unstable; urgency=low
 +
 +  * Updated watch file.
 +  * Updated Standards-Version to 3.7.3.
 +  * Remove bashism in debian/rules. (Closes: #478365).
 +  * Build-Depend on default-jdk-builddep. (Closes: #477853).
 +  * Renamed XS-Vcs-* fields to Vcs-*.
 +  * Added Homepage field.
 +
 + -- Michael Koch <konqueror at gmx.de>  Tue, 29 Apr 2008 04:40:33 -0100
 +
 +commons-daemon (1.0.2~svn20061127-6) unstable; urgency=low
 +
 +  * Applied a workaround for a JNI bug in libgcj (see
 +    http://gcc.gnu.org/PR31700).
 +
 + -- Marcus Better <marcus at better.se>  Wed, 25 Apr 2007 15:11:01 +0200
 +
 +commons-daemon (1.0.2~svn20061127-5) unstable; urgency=low
 +
 +  * jsvc can now redirect daemon output to syslog. (Closes: #402878)
 +  * Added support for the ppc64 architecture. Thanks to Andreas
 +    Jochens. (Closes: #404704)
 +  * Print a useful error message if the capabilities module is
 +    missing. Thanks to Adrian Bridgett. (Closes: #412478)
 +  * Don't use included config.sub and config.guess.
 +
 + -- Marcus Better <marcus at better.se>  Wed, 13 Dec 2006 15:09:58 +0100
 +
 +commons-daemon (1.0.2~svn20061127-4) unstable; urgency=low
 +
 +  * Apparently buildds don't grok Build-Depends-Indep. Moved to
 +    Build-Depends as a workaround.
 +
 + -- Marcus Better <marcus at better.se>  Mon,  4 Dec 2006 14:29:08 +0100
 +
 +commons-daemon (1.0.2~svn20061127-3) unstable; urgency=low
 +
 +  * Build-depend on java-gcj-compat-dev instead of Build-depend-indep.
 +
 + -- Marcus Better <marcus at better.se>  Mon,  4 Dec 2006 12:50:35 +0100
 +
 +commons-daemon (1.0.2~svn20061127-2) unstable; urgency=low
 +
 +  * Build-depend on autoconf instead of Build-depend-indep.
 +
 + -- Marcus Better <marcus at better.se>  Thu, 30 Nov 2006 09:39:54 +0100
 +
 +commons-daemon (1.0.2~svn20061127-1) unstable; urgency=low
 +
 +  * Support the arm, hppa, ia64, m68k, mipsel, and s390
 +    architectures. (Closes: #307853)
 +  * Don't include irrelevant README. (Closes: #394169)
 +  * The jsvc-dev package is no longer built as it's not useful.
 +  * debian/control:
 +    - Fix build deps: remove libxerces2-java and libjaxp1.2-java, add autoconf
 +      and docbook-to-man.
 +    - Clean up package descriptions.
 +  * debian/rules:
 +    - Get rid of CDBS.
 +    - Pass correct host options to autoconf.
 +
 + -- Marcus Better <marcus at better.se>  Tue, 28 Nov 2006 13:49:20 +0100
 +
 +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
 +
diff --cc debian/control
index d9d07b1,0000000..7afc949
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,38 -1,0 +1,38 @@@
 +Source: commons-daemon
 +Section: java
 +Priority: optional
 +Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 +Uploaders: Michael Koch <konqueror at gmx.de>, Marcus Better <marcus at better.se>,
 + Damien Raude-Morvan <drazzib at debian.org>
 +Build-Depends: debhelper (>= 7.0.50~), autoconf, autotools-dev, default-jdk,
 + xsltproc, docbook-xsl, ant, libcap-dev [linux-any], maven-repo-helper
 +Build-Conflicts: autoconf2.13
- Standards-Version: 3.9.2
++Standards-Version: 3.9.3
 +Homepage: http://commons.apache.org/daemon/
 +Vcs-Svn: svn://svn.debian.org/pkg-java/trunk/commons-daemon/
 +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/commons-daemon/
 +
 +Package: libcommons-daemon-java
 +Architecture: all
 +Depends: ${misc:Depends}
 +Suggests: java-virtual-machine
 +Recommends: jsvc
 +Description: library to launch Java applications as daemons
 + The Daemon package from Apache Commons can be used to implement Java
 + applications which can be launched as daemons. For example the
 + program will be notified about a shutdown so that it can perform
 + cleanup 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.
 +
 +Package: jsvc
 +Section: utils
 +Architecture: any
 +Depends: ${misc:Depends}, ${shlibs:Depends}, libcommons-daemon-java
 +Recommends: default-jre-headless | java2-runtime-headless
 +Description: wrapper 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.
diff --cc debian/copyright
index 8d67ba7,0000000..f6092ed
mode 100644,000000..100644
--- a/debian/copyright
+++ b/debian/copyright
@@@ -1,21 -1,0 +1,22 @@@
- Format: http://dep.debian.net/deps/dep5/
++Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 +Upstream-Name: Commons Daemon
 +Upstream-Contact: <http://commons.apache.org/daemon>
 +Source: http://www.apache.org/dist/commons/daemon/source/
 +
 +Files: *
 +Copyright: Copyright (C) 1999-2011 The Apache Software Foundation.
 +License: Apache-2.0
- Comment:
++Comment: 
 + Upstream authors: Bill Barker, Jean-Frederic Clere, Mladen Turk,
 + Remy Maucherat, Pier Fumagalli, Yoav Shapira.
 +
 +Files: debian/*
 +Copyright: 2004, Arnaud Vandyck <avdyk at debian.org>
 +Copyright: Copyright (C) 2006 Marcus Better
 +Copyright: 2010-2011, Damien Raude-Morvan
 +License: Apache-2.0
 +
 +License: Apache-2.0
 +  A complete copy of the Apache License, Version 2.0, can be found in
 +  /usr/share/common-licenses/Apache-2.0 on Debian Systems.
++
diff --cc debian/rules
index df0cad8,0000000..7d3dd01
mode 100755,000000..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,53 -1,0 +1,37 @@@
 +#!/usr/bin/make -f
 +
- CFLAGS = -g
- ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- 	CFLAGS += -O0
- else
- 	CFLAGS += -O2
- endif
- 
 +JAVA_HOME	:= /usr/lib/jvm/default-java
 +ANT_ARGS	:= -Dant.build.javac.source=1.4 -Dant.build.javac.target=1.4
 +
 +MAN_STYLESHEET  := /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
 +XSLTPROC 	:= xsltproc --nonet
 +
 +PKGNAME		:= commons-daemon
 +JAVALIBDIR	:= /usr/share/java
 +VERSION		:= $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-)
 +
 +NATIVE_SRC	:= src/native/unix
 +
- # Keep that here as dh7 doesn't handle a configure script inside a subdirectory
- export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
- export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
- ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
- 	confflags += --build $(DEB_HOST_GNU_TYPE)
- else
- 	confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
- endif
- 
 +%:
 +	dh $@ --sourcedirectory=$(NATIVE_SRC) --buildsystem=autoconf --with autotools_dev
 +
 +override_dh_auto_configure:
- 	(cd $(NATIVE_SRC); autoconf; ./configure $(confflags) CFLAGS="$(CFLAGS)" --with-java=$(JAVA_HOME))
++	dh_auto_configure -- --with-java=$(JAVA_HOME) $(shell dpkg-buildflags --export=configure)
 +
 +override_dh_auto_build:
 +	JAVA_HOME=$(JAVA_HOME) ant $(ANT_ARGS)
- 	dh_auto_build --sourcedirectory=$(NATIVE_SRC)
++	dh_auto_build
 +	$(XSLTPROC) $(MAN_STYLESHEET) $(NATIVE_SRC)/man/jsvc.1.xml
 +
 +override_dh_auto_clean:
 +	JAVA_HOME=$(JAVA_HOME) ant $(ANT_ARGS) clean
 +	dh_auto_clean
 +	rm -f jsvc.1
 +
 +override_dh_auto_install:
 +	dh_auto_install
 +	mh_installpoms -plib$(PKGNAME)-java
 +	mh_installjar -plib$(PKGNAME)-java -l pom.xml dist/$(PKGNAME)-$(VERSION).jar
 +
 +get-orig-source:
 +	uscan --force-download --rename

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/commons-daemon.git



More information about the pkg-java-commits mailing list