[libapache-mod-jk] 01/65: Initial import

Markus Koschany apo at moszumanska.debian.org
Sat Oct 8 14:14:43 UTC 2016


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

apo pushed a commit to branch master
in repository libapache-mod-jk.

commit 88668d2d1f6b0f6f543a8f60f31615583e1ecbd1
Author: Stefan Gybas <sgybas at debian.org>
Date:   Sat Jan 10 17:55:40 2004 +0000

    Initial import
---
 debian/500mod_jk.info            | 20 ++++++++++++
 debian/changelog                 | 12 ++++++++
 debian/compat                    |  1 +
 debian/control                   | 24 +++++++++++++++
 debian/copyright                 | 66 ++++++++++++++++++++++++++++++++++++++++
 debian/httpd.conf                | 15 +++++++++
 debian/libapache-mod-jk.docs     |  7 +++++
 debian/libapache-mod-jk.examples |  5 +++
 debian/libapache-mod-jk.install  |  3 ++
 debian/libapache-mod-jk.postinst | 28 +++++++++++++++++
 debian/libapache-mod-jk.prerm    | 26 ++++++++++++++++
 debian/rules                     | 38 +++++++++++++++++++++++
 debian/workers.properties        | 13 ++++++++
 13 files changed, 258 insertions(+)

diff --git a/debian/500mod_jk.info b/debian/500mod_jk.info
new file mode 100644
index 0000000..fb3d9cf
--- /dev/null
+++ b/debian/500mod_jk.info
@@ -0,0 +1,20 @@
+LoadModule: jk_module /usr/lib/apache/1.3/mod_jk.so
+Directives:
+ JkMountCopy
+ JkMount
+ JkAutoMount
+ JkWorkersFile
+ JkLogFile
+ JkLogLevel
+ JkLogStampFormat
+ JkAutoAlias
+ JkRequestLogFormat
+ JkExtractSSL
+ JkHTTPSIndicator
+ JkCERTSIndicator
+ JkCIPHERIndicator
+ JkSESSIONIndicator
+ JkKEYSIZEIndicator
+ JkOptions
+ JkEnvVar
+Description: Tomcat connector for Java servlets and web applications
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f80741d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,12 @@
+libapache-mod-jk (1:1.2.5-1) unstable; urgency=low
+
+  * New upstream release (libapache-mod-jk was previously built by the tomcat
+    source package)
+  * Updated download location in copyright file
+  * Mention in the long description that this module can talk to a remote
+    Tomcat server so it can go into main
+  * Updated to the new module handling in Apache 1.3.29 and support Apache,
+    Apache-Perl and Apache-SSL
+
+ -- Stefan Gybas <sgybas at debian.org>  Sat, 10 Jan 2004 17:18:52 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..32272d5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: libapache-mod-jk
+Section: web
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Stefan Gybas <sgybas at debian.org>
+Build-Depends: cdbs (>= 0.4.8), debhelper (>= 4.1.0), apache-dev (>= 1.3.29.0.1)
+Standards-Version: 3.6.1
+
+Package: libapache-mod-jk
+Architecture: any
+Section: web
+Priority: optional
+Depends: ${shlibs:Depends}, apache-common (>= 1.3.29.0.1), apache | apache-perl | apache-ssl
+Suggests: tomcat4
+Description: Apache 1.3 connector for the Tomcat Java servlet engine
+ Apache Tomcat is the reference implementation for the Java Servlet and
+ JavaServer Pages (JSP) specification from the Apache Jakarta project.
+ .
+ This package contains an Apache 1.3 module (mod_jk) to forward requests
+ from Apache to Tomcat using the AJP 1.2, 1.3 or 1.4 protocol. It can either
+ talk to Tomcat on the local machine or to a remote engine using TCP.
+ .
+ For more information about Tomcat please take a look at the home page at
+ http://jakarta.apache.org/tomcat/index.html.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e45efa9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,66 @@
+This package was debianized by Stefan Gybas <sgybas at debian.org> on
+11-Nov-2003. The source archive was downloaded from
+http://www.apache.de/dist/jakarta/tomcat-connectors/jk/.
+
+Authors: The Apache Jakarta team
+
+Copyright:
+
+/* ========================================================================= *
+ *                                                                           *
+ *                 The Apache Software License,  Version 1.1                 *
+ *                                                                           *
+ *      Copyright (c) 1999, 2000, 2001  The Apache Software Foundation.      *
+ *                           All rights reserved.                            *
+ *                                                                           *
+ * ========================================================================= *
+ *                                                                           *
+ * Redistribution and use in source and binary forms,  with or without modi- *
+ * fication, are permitted provided that the following conditions are met:   *
+ *                                                                           *
+ * 1. Redistributions of source code  must retain the above copyright notice *
+ *    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 end-user documentation  included with the redistribution,  if any, *
+ *    must include the following acknowlegement:                             *
+ *                                                                           *
+ *       "This product includes  software developed  by the Apache  Software *
+ *        Foundation <http://www.apache.org/>."                              *
+ *                                                                           *
+ *    Alternately, this acknowlegement may appear in the software itself, if *
+ *    and wherever such third-party acknowlegements normally appear.         *
+ *                                                                           *
+ * 4. The names  "The  Jakarta  Project",  "Tomcat",  and  "Apache  Software *
+ *    Foundation"  must not be used  to endorse or promote  products derived *
+ *    from this  software without  prior  written  permission.  For  written *
+ *    permission, please contact <apache at apache.org>.                        *
+ *                                                                           *
+ * 5. Products derived from this software may not be called "Apache" nor may *
+ *    "Apache" appear in their names without prior written permission of the *
+ *    Apache Software Foundation.                                            *
+ *                                                                           *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED 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 APACHE  SOFTWARE  FOUNDATION OR  ITS CONTRIBUTORS  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.                                               *
+ *                                                                           *
+ * ========================================================================= *
+ *                                                                           *
+ * This software  consists of voluntary  contributions made  by many indivi- *
+ * duals on behalf of the  Apache Software Foundation.  For more information *
+ * on the Apache Software Foundation, please see <http://www.apache.org/>.   *
+ *                                                                           *
+ * ========================================================================= */
+ */
+
diff --git a/debian/httpd.conf b/debian/httpd.conf
new file mode 100644
index 0000000..67b884f
--- /dev/null
+++ b/debian/httpd.conf
@@ -0,0 +1,15 @@
+# mod_jk configuration
+#
+JkWorkersFile /etc/libapache-mod-jk/workers.properties
+JkLogFile /var/log/apache/mod_jk.log
+JkLogLevel info
+
+# A virtual host
+#
+<VirtualHost 10.0.0.1:80>
+  ServerName host1.apache.org
+  DocumentRoot /var/www
+  JkMount /*.jsp local
+  JkMount /examples/* local
+</VirtualHost>
+
diff --git a/debian/libapache-mod-jk.docs b/debian/libapache-mod-jk.docs
new file mode 100644
index 0000000..5b234cc
--- /dev/null
+++ b/debian/libapache-mod-jk.docs
@@ -0,0 +1,7 @@
+jk/docs/*.html
+jk/docs/style.css
+jk/docs/common
+jk/docs/images
+jk/docs/jk
+jk/docs/jk2
+
diff --git a/debian/libapache-mod-jk.examples b/debian/libapache-mod-jk.examples
new file mode 100644
index 0000000..26ac622
--- /dev/null
+++ b/debian/libapache-mod-jk.examples
@@ -0,0 +1,5 @@
+debian/httpd.conf
+jk/tools/reports/README.txt
+jk/tools/reports/tomcat_reports.pl
+jk/tools/reports/tomcat_trend.pl
+
diff --git a/debian/libapache-mod-jk.install b/debian/libapache-mod-jk.install
new file mode 100644
index 0000000..83fea04
--- /dev/null
+++ b/debian/libapache-mod-jk.install
@@ -0,0 +1,3 @@
+debian/500mod_jk.info			/usr/lib/apache/1.3/
+debian/workers.properties		/etc/libapache-mod-jk/
+
diff --git a/debian/libapache-mod-jk.postinst b/debian/libapache-mod-jk.postinst
new file mode 100644
index 0000000..12bb975
--- /dev/null
+++ b/debian/libapache-mod-jk.postinst
@@ -0,0 +1,28 @@
+#!/bin/sh -e
+
+#DEBHELPER#
+
+case "$1" in
+    configure)
+
+	# Only activate mod_jk if this is not an upgrade
+	if [ -z "$2" ]; then
+	    for i in apache apache-perl apache-ssl; do
+		if [ -r /etc/$i/modules.conf ]; then
+			/usr/sbin/modules-config $i enable mod_jk
+		fi
+	    done
+	fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+	echo "$0 called with unknown argument \`$1'" >&2
+	exit 1
+    ;;
+esac
+
+exit 0
+
diff --git a/debian/libapache-mod-jk.prerm b/debian/libapache-mod-jk.prerm
new file mode 100644
index 0000000..bf8bf52
--- /dev/null
+++ b/debian/libapache-mod-jk.prerm
@@ -0,0 +1,26 @@
+#!/bin/sh -e
+
+#DEBHELPER#
+
+case "$1" in
+    upgrade|failed-upgrade)
+		# Nothing to do here
+    ;;
+
+    deconfigure|remove)
+	# Disable mod_jk if this is not an upgrade
+	for i in apache apache-perl apache-ssl; do
+	    if [ -r /etc/$i/modules.conf ]; then
+		/usr/sbin/modules-config $i disable mod_jk quiet
+	    fi
+	done
+    ;;
+
+    *)
+	echo "$0 called with unknown argument \`$1'" >&2
+	exit 1
+    ;;
+esac
+
+exit 0
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d8141bc
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+# debian/rules file for libapache-mod-jk (uses cdbs)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+# We can't use the autotools class since jk/native/configure does not work
+# with all the options that the autotools class specifies. But we use
+# the autotools-files class to update config.sub and config.guess.
+_cdbs_class_makefile := 1
+include /usr/share/cdbs/1/class/autotools-files.mk
+DEB_AC_AUX_DIR := jk/native/scripts/build/unix
+
+DEB_DH_MAKESHLIBS_ARGS_libapache-mod-jk := --noscripts
+
+
+clean::
+	rm -f jk/native/apache-1.3/Makefile jk/native/apache-1.3/Makefile.apxs
+	rm -f jk/native/apache-2.0/Makefile jk/native/apache-2.0/Makefile.apxs
+	rm -f jk/native/common/Makefile jk/native/common/list.mk
+	rm -f jk/native/jni/Makefile jk/native/Makefile jk/native/libtool
+	rm -f jk/native/config.status jk/native/config.log
+	rm -f jk/native/apache-1.3/mod_jk.o
+	rm -f jk/native/apache-1.3/mod_jk.la jk/native/apache-1.3/mod_jk.lo
+	rm -f jk/native/apache-1.3/mod_jk.a jk/native/apache-1.3/mod_jk.so*
+	rm -f jk/native/common/*.lo jk/native/common/*.o
+	rm -rf jk/native/apache-1.3/.libs jk/native/common/.libs
+
+configure/libapache-mod-jk:: jk/native/config.status
+jk/native/config.status:
+	cd jk/native && ./configure --with-apxs=/usr/bin/apxs
+
+build/libapache-mod-jk::
+	make -C jk/native
+
+install/libapache-mod-jk::
+	mkdir -p debian/libapache-mod-jk/usr/lib/apache/1.3/
+	cp jk/native/apache-1.3/mod_jk.so.0.0.0 debian/libapache-mod-jk/usr/lib/apache/1.3/mod_jk.so
+
diff --git a/debian/workers.properties b/debian/workers.properties
new file mode 100644
index 0000000..1bcf3a3
--- /dev/null
+++ b/debian/workers.properties
@@ -0,0 +1,13 @@
+# Tomcat and Java configuration
+#
+workers.tomcat_home=/usr/share/tomcat4
+workers.java_home=/usr/lib/j2se/1.4
+ps=/
+worker.list=local
+
+# Definition for local worker using AJP 1.3
+#
+worker.local.type=ajp13
+worker.local.host=localhost
+worker.local.port=8009
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libapache-mod-jk.git



More information about the pkg-java-commits mailing list