pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www Update ap-jk and ap2-jk to ver 1.2.37. Fix pkglin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f9028bbef3d5
branches:  trunk
changeset: 610272:f9028bbef3d5
user:      erh <erh%pkgsrc.org@localhost>
date:      Sun Oct 21 21:33:25 2012 +0000

description:
Update ap-jk and ap2-jk to ver 1.2.37.  Fix pkglint warnings.  Fixes PR#40542

diffstat:

 www/ap-jk/MESSAGE          |  23 ++++++++++++++++++-----
 www/ap-jk/Makefile.common  |  13 ++++++++-----
 www/ap-jk/distinfo         |  14 ++++++--------
 www/ap-jk/patches/patch-aa |  13 -------------
 www/ap-jk/patches/patch-ab |  12 +++++++-----
 www/ap-jk/patches/patch-ac |  12 ------------
 www/ap-jk/patches/patch-ad |   4 +++-
 www/ap2-jk/MESSAGE         |  22 +++++++++++++++++-----
 8 files changed, 59 insertions(+), 54 deletions(-)

diffs (204 lines):

diff -r cfcbd876c501 -r f9028bbef3d5 www/ap-jk/MESSAGE
--- a/www/ap-jk/MESSAGE Sun Oct 21 21:26:19 2012 +0000
+++ b/www/ap-jk/MESSAGE Sun Oct 21 21:33:25 2012 +0000
@@ -1,21 +1,34 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.4 2003/02/17 23:30:27 grant Exp $
+$NetBSD: MESSAGE,v 1.5 2012/10/21 21:33:25 erh Exp $
 
 In order to use this module in your Apache installation, you need to
 add the following to your httpd.conf file:
 
   LoadModule jk_module lib/httpd/mod_jk.so
+  AddModule  mod_jk.c
 
-You will also need a running Java Servlet engine, e.g. www/jakarta-tomcat
-or www/ap-jserv.  You will need to consult the servlet engine documentation
-for to finish configuring Apache before you can use mod_jk.so.  A possible
-configuration you can add to your httpd.conf to use Jakarta Tomcat is:
+You will also need a running Java Servlet engine, e.g. www/apache-tomcat6
+You will need to consult the servlet engine documentation to finish
+configuring Apache before you can use mod_jk.so.
+Possible settings you can add to your httpd.conf to use Apache Tomcat are:
+(according to http://tomcat.apache.org/connectors-doc/generic_howto/quick.html)
 
   <IfModule mod_jk.c>
   JkWorkersFile        ${PREFIX}/tomcat/conf/workers.properties
   JkLogFile     /var/log/httpd/mod_jk.log
+  JkShmFile     /var/log/httpd/mod_jk.shm
   JkLogLevel    info
   JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
+  JkMount /examples/* worker1
   </IfModule>
 
+With a minimum workers.properties file:
+
+  # Define 1 real worker using ajp13
+  worker.list=worker1
+  # Set properties for worker1 (ajp13)
+  worker.worker1.type=ajp13
+  worker.worker1.host=localhost
+  worker.worker1.port=8009
+
 ===========================================================================
diff -r cfcbd876c501 -r f9028bbef3d5 www/ap-jk/Makefile.common
--- a/www/ap-jk/Makefile.common Sun Oct 21 21:26:19 2012 +0000
+++ b/www/ap-jk/Makefile.common Sun Oct 21 21:33:25 2012 +0000
@@ -1,12 +1,15 @@
-# $NetBSD: Makefile.common,v 1.6 2007/05/29 02:22:22 obache Exp $
+# $NetBSD: Makefile.common,v 1.7 2012/10/21 21:33:25 erh Exp $
+# used by www/ap-jk/Makefile
+# used by www/ap2-jk/Makefile
 
-JK_VERSION=    1.2.23
+JK_VERSION=    1.2.37
 CATEGORIES=    www java
-MASTER_SITES=  http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-${JK_VERSION}/
+MASTER_SITES= ${MASTER_SITE_APACHE:=tomcat/tomcat-connectors/jk/}
 
-MAINTAINER=    erh%NetBSD.org@localhost
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://tomcat.apache.org/connectors-doc/
 COMMENT=       Apache connector for accessing Jakarta Tomcat
+LICENSE=    apache-2.0
 
 CONFLICTS=     ap-jk-[0-9]*
 
@@ -24,7 +27,7 @@
 SUBST_CLASSES+=                jk-lt
 SUBST_STAGE.jk-lt=     post-configure
 SUBST_FILES.jk-lt=     Makefile common/Makefile apache-2.0/Makefile
-SUBST_SED.jk-lt=       -e "s|^\(LIBTOOL =\) [^ ]*$$|\1 \$$(SHELL) \$$(top_builddir)/libtool|g"
+SUBST_SED.jk-lt=       -e "s|^\\(LIBTOOL =\\) [^ ]*\$$|\\1 \$$(SHELL) \$$(top_builddir)/libtool|g"
 SUBST_MESSAGE.jk-lt=   Fixing libtool references.
 
 # XXX The standard --with-apxs2 when using apache2 doesn't work
diff -r cfcbd876c501 -r f9028bbef3d5 www/ap-jk/distinfo
--- a/www/ap-jk/distinfo        Sun Oct 21 21:26:19 2012 +0000
+++ b/www/ap-jk/distinfo        Sun Oct 21 21:33:25 2012 +0000
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.10 2010/02/16 14:52:13 joerg Exp $
+$NetBSD: distinfo,v 1.11 2012/10/21 21:33:25 erh Exp $
 
-SHA1 (tomcat-connectors-1.2.23-src.tar.gz) = 9ab3c108a9e6b20dc7dd172917f8941eee0ec32c
-RMD160 (tomcat-connectors-1.2.23-src.tar.gz) = d7892ff73f22e83feb49b4746d769f518e3f4c6a
-Size (tomcat-connectors-1.2.23-src.tar.gz) = 1368060 bytes
-SHA1 (patch-aa) = c7a68265883fd7494356543a17dcec0be7744fe9
-SHA1 (patch-ab) = 57e4ead1a73d9a47fb634d5c7fb18d49d0393a08
-SHA1 (patch-ac) = 14fdec1c921f369ee51a5d73a3bee3ec9056f07a
-SHA1 (patch-ad) = aeb977deea6ae10d6d346aa71d9ab3c00abcf069
+SHA1 (tomcat-connectors-1.2.37-src.tar.gz) = 99e9ba0b2e72b28da7de6b14f103302e7b392a5d
+RMD160 (tomcat-connectors-1.2.37-src.tar.gz) = fbc47d9f767c75b039554dfc0776876290c580d9
+Size (tomcat-connectors-1.2.37-src.tar.gz) = 1528647 bytes
+SHA1 (patch-ab) = ce0e84952f94a97d55fe143a27d3208afe027cf0
+SHA1 (patch-ad) = a7a77730b694ccb6d3d3fdc820cf74de522120bc
diff -r cfcbd876c501 -r f9028bbef3d5 www/ap-jk/patches/patch-aa
--- a/www/ap-jk/patches/patch-aa        Sun Oct 21 21:26:19 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2007/04/25 06:24:02 obache Exp $
-
---- common/jk_util.c.orig      2007-04-10 14:29:48.000000000 +0000
-+++ common/jk_util.c
-@@ -1720,7 +1720,7 @@ int jk_gettid()
-     pthread_getunique_np(&t, &tid);
-     return ((int)(tid.intId.lo & 0xFFFFFFFF));
- #else
--    int tid = (int)(t & 0xFFFF);
-+      int tid = (int)t;
-     return tid;
- #endif /* AS400 */
- }
diff -r cfcbd876c501 -r f9028bbef3d5 www/ap-jk/patches/patch-ab
--- a/www/ap-jk/patches/patch-ab        Sun Oct 21 21:26:19 2012 +0000
+++ b/www/ap-jk/patches/patch-ab        Sun Oct 21 21:33:25 2012 +0000
@@ -1,13 +1,15 @@
-$NetBSD: patch-ab,v 1.1 2005/03/30 16:41:47 erh Exp $
+$NetBSD: patch-ab,v 1.2 2012/10/21 21:33:25 erh Exp $
+
+Fixup the Makefile so it uses the right libtool.
 
---- apache-2.0/Makefile.in.orig        2004-12-24 05:18:10.000000000 -0600
-+++ apache-2.0/Makefile.in     2005-03-29 15:05:10.000000000 -0600
-@@ -20,6 +20,8 @@
+--- apache-2.0/Makefile.in.orig        2012-05-09 08:08:26.000000000 -0500
++++ apache-2.0/Makefile.in     2012-10-21 15:25:01.000000000 -0500
+@@ -34,6 +34,8 @@
  # Apache2 settings, values guessed by Apache config and used to build it
  # Will define libexecdir, LIBTOOL, etc
  include @APACHE_CONFIG_VARS@
 +top_builddir = ..
 +LIBTOOL = 
  
- # Local settings ( overriding/appending to Apache's ) 
+ # Local settings ( overriding/appending to Apache's )
  COMMON=../common
diff -r cfcbd876c501 -r f9028bbef3d5 www/ap-jk/patches/patch-ac
--- a/www/ap-jk/patches/patch-ac        Sun Oct 21 21:26:19 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2005/03/30 16:41:47 erh Exp $
-
---- jni/Makefile.in.orig       2005-03-29 15:59:54.000000000 -0600
-+++ jni/Makefile.in    2005-03-29 16:00:04.000000000 -0600
-@@ -1,5 +1,7 @@
- OEXT=.lo
- include @APACHE_CONFIG_VARS@
-+top_builddir = ..
-+LIBTOOL = 
- 
- JK=../common/
- COMMON_OBJECTS=${JK}jk_map${OEXT} ${JK}jk_util${OEXT} ${JK}jk_pool${OEXT}
diff -r cfcbd876c501 -r f9028bbef3d5 www/ap-jk/patches/patch-ad
--- a/www/ap-jk/patches/patch-ad        Sun Oct 21 21:26:19 2012 +0000
+++ b/www/ap-jk/patches/patch-ad        Sun Oct 21 21:33:25 2012 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-ad,v 1.2 2010/02/16 14:52:13 joerg Exp $
+$NetBSD: patch-ad,v 1.3 2012/10/21 21:33:25 erh Exp $
+
+Fixup the Makefile so it doesn't use libtool to install.
 
 --- apache-1.3/Makefile.in.orig        2006-03-02 16:45:37.000000000 +0000
 +++ apache-1.3/Makefile.in     2006-03-02 16:45:52.000000000 +0000
diff -r cfcbd876c501 -r f9028bbef3d5 www/ap2-jk/MESSAGE
--- a/www/ap2-jk/MESSAGE        Sun Oct 21 21:26:19 2012 +0000
+++ b/www/ap2-jk/MESSAGE        Sun Oct 21 21:33:25 2012 +0000
@@ -1,21 +1,33 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2006/07/22 19:43:29 abs Exp $
+$NetBSD: MESSAGE,v 1.2 2012/10/21 21:33:25 erh Exp $
 
 In order to use this module in your Apache installation, you need to
 add the following to your httpd.conf file:
 
   LoadModule jk_module lib/httpd/mod_jk.so
 
-You will also need a running Java Servlet engine, e.g. www/jakarta-tomcat
-or www/ap-jserv.  You will need to consult the servlet engine documentation
-for to finish configuring Apache before you can use mod_jk.so.  A possible
-configuration you can add to your httpd.conf to use Jakarta Tomcat is:
+You will also need a running Java Servlet engine, e.g. www/apache-tomcat6
+You will need to consult the servlet engine documentation to finish
+configuring Apache before you can use mod_jk.so.
+Possible settings you can add to your httpd.conf to use Apache Tomcat are:
+(according to http://tomcat.apache.org/connectors-doc/generic_howto/quick.html)
 
   <IfModule mod_jk.c>
   JkWorkersFile        ${PREFIX}/tomcat/conf/workers.properties
   JkLogFile     /var/log/httpd/mod_jk.log
+  JkShmFile     /var/log/httpd/mod_jk.shm
   JkLogLevel    info
   JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
+  JkMount /examples/* worker1
   </IfModule>
 
+With a minimum workers.properties file:
+
+  # Define 1 real worker using ajp13
+  worker.list=worker1
+  # Set properties for worker1 (ajp13)
+  worker.worker1.type=ajp13
+  worker.worker1.host=localhost
+  worker.worker1.port=8009
+
 ===========================================================================



Home | Main Index | Thread Index | Old Index