SF.net SVN: gar:[25109] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Jun 22 11:56:13 CEST 2015


Revision: 25109
          http://sourceforge.net/p/gar/code/25109
Author:   dmichelsen
Date:     2015-06-22 09:56:12 +0000 (Mon, 22 Jun 2015)
Log Message:
-----------
jsvc/trunk: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/jsvc/
    csw/mgar/pkg/jsvc/Makefile
    csw/mgar/pkg/jsvc/branches/
    csw/mgar/pkg/jsvc/tags/
    csw/mgar/pkg/jsvc/trunk/
    csw/mgar/pkg/jsvc/trunk/Makefile
    csw/mgar/pkg/jsvc/trunk/checksums
    csw/mgar/pkg/jsvc/trunk/files/
    csw/mgar/pkg/jsvc/trunk/files/jsvc.1

Added: csw/mgar/pkg/jsvc/Makefile
===================================================================
--- csw/mgar/pkg/jsvc/Makefile	                        (rev 0)
+++ csw/mgar/pkg/jsvc/Makefile	2015-06-22 09:56:12 UTC (rev 25109)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*

Index: csw/mgar/pkg/jsvc/trunk
===================================================================
--- csw/mgar/pkg/jsvc/trunk	2015-06-22 09:47:42 UTC (rev 25108)
+++ csw/mgar/pkg/jsvc/trunk	2015-06-22 09:56:12 UTC (rev 25109)

Property changes on: csw/mgar/pkg/jsvc/trunk
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+work
Added: csw/mgar/pkg/jsvc/trunk/Makefile
===================================================================
--- csw/mgar/pkg/jsvc/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/jsvc/trunk/Makefile	2015-06-22 09:56:12 UTC (rev 25109)
@@ -0,0 +1,46 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = commons-daemon
+VERSION = 1.0.15
+
+DESCRIPTION = Jsvc is a set of libraries and applications for making Java applications run on UNIX more easily
+
+MASTER_SITES += http://artfiles.org/apache.org//commons/daemon/source/
+DISTNAME = $(NAME)-$(VERSION)-src
+DISTFILES += $(DISTNAME).tar.gz
+# Generated with
+#   docbook2man jsvc.1.xml
+# and then manually take out three lines after ".de URL" as it confuses nroff
+DISTFILES += jsvc.1
+
+VENDOR_URL = http://commons.apache.org/proper/commons-daemon/jsvc.html
+LICENSE = LICENSE.txt
+
+PACKAGES += CSWjsvc
+SPKG_DESC_CSWjsvc = A set of libraries and applications for making Java applications run on UNIX more easily
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWjsvc += CSWjre8
+# checkpkg cannot detect this
+CHECKPKG_OVERRIDES_CSWjsvc += surplus-dependency|CSWjre8
+
+# This is /usr/local/java
+CHECKPKG_OVERRIDES_CSWjsvc += file-with-bad-content|/usr/local|root/opt/csw/bin/jsvc
+
+WORKSRC = $(WORKDIR)/$(DISTNAME)/src/native/unix
+
+CONFIGURE_ARGS += $(DIRPATHS)
+CONFIGURE_ARGS += --with-java=$(prefix)/java/jdk/jdk8
+
+# There is no testsuite
+TEST_SCRIPTS =
+
+# There is no "install" target
+INSTALL_SCRIPTS = custom
+
+include gar/category.mk
+
+install-custom:
+	ginstall -D -m 0755 $(WORKSRC)/jsvc $(DESTDIR)$(bindir)/jsvc
+	ginstall -D -m 0644 $(WORKDIR)/jsvc.1 $(DESTDIR)$(mandir)/man1/jsvc.1
+	@$(MAKECOOKIE)


Property changes on: csw/mgar/pkg/jsvc/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: csw/mgar/pkg/jsvc/trunk/checksums
===================================================================
--- csw/mgar/pkg/jsvc/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/jsvc/trunk/checksums	2015-06-22 09:56:12 UTC (rev 25109)
@@ -0,0 +1 @@
+e467bc1f332d47ad85d18ea8b8a897c3  commons-daemon-1.0.15-src.tar.gz

Added: csw/mgar/pkg/jsvc/trunk/files/jsvc.1
===================================================================
--- csw/mgar/pkg/jsvc/trunk/files/jsvc.1	                        (rev 0)
+++ csw/mgar/pkg/jsvc/trunk/files/jsvc.1	2015-06-22 09:56:12 UTC (rev 25109)
@@ -0,0 +1,96 @@
+.\" -*- coding: us-ascii -*-
+.if \n(.g .ds T< \\FC
+.if \n(.g .ds T> \\F[\n[.fam]]
+.if \n(.g .mso www.tmac
+.TH JSVC 1 "June 2011" "Jsvc version 1.0.6" "Apache Commons Daemon project"
+.SH NAME
+jsvc \- application to launch java daemon
+.SH SYNOPSIS
+'nh
+.fi
+.ad l
+\fBjsvc\fR \kx
+.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
+'in \n(.iu+\nxu
+[-jvm \fIJVM name\fR] [-client \fIclient JVM\fR] [-server \fIserver JVM\fR] [-classpath \fIpath\fR] [-cp \fIpath\fR] [-java-home \fIdirectory\fR] [-version] [-help] [-?] [-nodetach] [-debug] [-check] [-user \fIuser\fR] [-wait \fIwaittime\fR] [-umask \fImask\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]
+'in \n(.iu-\nxu
+.ad b
+'hy
+.SH DESCRIPTION
+\fBjsvc\fR executes \fIclassfile\fR
+that implements a Daemon interface.
+.SH OPTIONS
+.TP 
+\*(T<\fB\-jvm\fR\*(T> JVM name
+use a specific Java Virtual Machine.
+.TP 
+\*(T<\fB\-client\fR\*(T> client JVM
+use a client Java Virtual Machine.
+.TP 
+\*(T<\fB\-server\fR\*(T> server JVM
+use a server Java Virtual Machine.
+.TP 
+\*(T<\fB\-cp/ \-classpath\fR\*(T> directory and zip/jar files
+set search path for service classes and resouces
+.TP 
+\*(T<\fB\-java\-home\fR\*(T> directory
+set the path of your JDK or JRE installation (or set
+the JAVA_HOME environment variable)
+.TP 
+\*(T<\fB\-version\fR\*(T>
+show the current Java environment version (to check
+correctness of -home and -jvm. Implies -nodetach)
+.TP 
+\*(T<\fB\-help\fR\*(T>
+show this help page (implies -nodetach)
+.TP 
+\*(T<\fB\-nodetach\fR\*(T>
+don't detach from parent process and become a daemon
+.TP 
+\*(T<\fB\-debug\fR\*(T>
+verbosely print debugging information
+.TP 
+\*(T<\fB\-check\fR\*(T>
+only check service (implies -nodetach)
+.TP 
+\*(T<\fB\-stop\fR\*(T>
+stop the service using the file given in the -pidfile option
+.TP 
+\*(T<\fB\-wait\fR\*(T> waittime
+wait up to waittime seconds for the service to start
+waittime should multiple of 10 (min=10)
+.TP 
+\*(T<\fB\-umask\fR\*(T> mask
+sets the file mode creation mask
+.TP 
+\*(T<\fB\-user\fR\*(T> user
+user used to run the daemon (defaults to current user)
+.TP 
+\*(T<\fB\-verbose[:class|gc|jni]\fR\*(T>
+enable verbose output
+.TP 
+\*(T<\fB\-outfile\fR\*(T> /full/path/to/file
+Location for output from stdout (defaults to
+/dev/null). Use the value '&2' to simulate
+\&'1>&2', or 'SYSLOG' to send output to the system
+log.
+.TP 
+\*(T<\fB\-errfile\fR\*(T> /full/path/to/file
+Location for output from stderr (defaults to
+/dev/null). Use the value '&1' to simulate
+\&'2>&1', or 'SYSLOG' to send output to the system
+log.
+.TP 
+\*(T<\fB\-pidfile\fR\*(T> /full/path/to/file
+Location for output from the file containing the pid of jsvc
+(defaults to /var/run/jsvc.pid)
+.TP 
+\*(T<\fB\-D\fR\*(T><name>=<value>
+set a Java system property
+.TP 
+\*(T<\fB\-X\fR\*(T><option>
+set Virtual Machine specific option
+.SH AUTHOR
+JSVC is part of the Apache Commons Daemon project. Authors are
+Jean-Frederic Clere, Remy Maucherat, Yoav Shapira, Bill Barker, Mladen Turk. JSVC is
+released under the Apache License Version 2.0.

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list