Author: onkarshinde-guest
Date: 2010-04-07 18:03:24 +0000 (Wed, 07 Apr 2010)
New Revision: 12041

Added:
   trunk/libstruts1.2-java/debian/patches/series
   trunk/libstruts1.2-java/debian/source/
   trunk/libstruts1.2-java/debian/source/format
Modified:
   trunk/libstruts1.2-java/debian/ant.properties
   trunk/libstruts1.2-java/debian/changelog
   trunk/libstruts1.2-java/debian/compat
   trunk/libstruts1.2-java/debian/control
   trunk/libstruts1.2-java/debian/copyright
   trunk/libstruts1.2-java/debian/patches/01_build_javac_target.patch
   trunk/libstruts1.2-java/debian/patches/02_CVE-2008-2025.patch
   trunk/libstruts1.2-java/debian/rules
Log:
servlet2.3 -> servlet2.5 migration

Modified: trunk/libstruts1.2-java/debian/ant.properties
===================================================================
--- trunk/libstruts1.2-java/debian/ant.properties       2010-04-07 16:47:19 UTC 
(rev 12040)
+++ trunk/libstruts1.2-java/debian/ant.properties       2010-04-07 18:03:24 UTC 
(rev 12041)
@@ -6,6 +6,7 @@
 commons-validator.jar=/usr/share/java/commons-validator.jar
 jakarta-oro.jar=/usr/share/java/oro.jar
 jdbc20ext.jar=/usr/share/java/jdbc2_0-stdext.jar
-servlet.jar=/usr/share/java/servlet-2.3.jar
+jsp.jar=/usr/share/java/jsp-api-2.1.jar
+servlet.jar=/usr/share/java/servlet-api-2.5.jar
 antlr.jar=/usr/share/java/antlr.jar
 struts.el.home=contrib/struts-el

Modified: trunk/libstruts1.2-java/debian/changelog
===================================================================
--- trunk/libstruts1.2-java/debian/changelog    2010-04-07 16:47:19 UTC (rev 
12040)
+++ trunk/libstruts1.2-java/debian/changelog    2010-04-07 18:03:24 UTC (rev 
12041)
@@ -1,12 +1,26 @@
-libstruts1.2-java (1.2.9-3.2) UNRELEASED; urgency=low
+libstruts1.2-java (1.2.9-4) unstable; urgency=low
 
-  * Non-maintainer upload.
+  [ Onkar Shinde ]
+  * Build/runtime dependency libservlet2.3-java -> libservlet2.5-java.
+  * Build dependency java-gcj-compat-dev -> default-jdk.
+  * Remove runtime dependencies since the package is build with lowest target
+    JVM version (1.3)
+  * Convert patches to quilt format. Convert package to 3.0 format.
+  * lintian errors/warnings fixed
+    - Section devel -> java.
+    - Standards version 3.7.2 -> 3.8.4.
+    - Remove Debian revisions from build/runtime dependencies.
+    - Add ${misc:Depends} to runtime dependencies.
+    - Update compat version to 5.
+    - Move homepage url to Homepage field.
+    - Write copyright in DEP-5 format. Remove complete text of Apache-2.0
+      license.
 
   [ Emmanuel Bourg ]
   * Update of the URLs
   * Rename Jakarta Commons to Apache Commons
 
- -- Sylvestre Ledru <sylvestre.le...@inria.fr>  Wed, 17 Jun 2009 10:53:33 +0200
+ -- Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>  
Wed, 07 Apr 2010 14:21:41 +0530
 
 libstruts1.2-java (1.2.9-3.1) unstable; urgency=high
 

Modified: trunk/libstruts1.2-java/debian/compat
===================================================================
--- trunk/libstruts1.2-java/debian/compat       2010-04-07 16:47:19 UTC (rev 
12040)
+++ trunk/libstruts1.2-java/debian/compat       2010-04-07 18:03:24 UTC (rev 
12041)
@@ -1 +1 @@
-4
+5

Modified: trunk/libstruts1.2-java/debian/control
===================================================================
--- trunk/libstruts1.2-java/debian/control      2010-04-07 16:47:19 UTC (rev 
12040)
+++ trunk/libstruts1.2-java/debian/control      2010-04-07 18:03:24 UTC (rev 
12041)
@@ -1,16 +1,16 @@
 Source: libstruts1.2-java
-Section: devel
+Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
 Uploaders: Arnaud Vandyck <av...@debian.org>, Stefan Gybas 
<sgy...@debian.org>, Michael Koch <konque...@gmx.de>
-Build-Depends: debhelper (>= 4.2.30), cdbs (>= 0.4.8), java-gcj-compat-dev, 
ant, ant-optional, libxerces2-java, libxalan2-java, libcommons-beanutils-java 
(>= 1.7.0-1), libcommons-digester-java (>= 1.7-1), libcommons-fileupload-java 
(>= 1.0-1), libcommons-logging-java, libcommons-validator-java (>= 1.1.4-1), 
liboro-java, libservlet2.3-java, antlr
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5), cdbs (>= 0.4.8), default-jdk, ant, 
ant-optional, libxerces2-java, libxalan2-java, libcommons-beanutils-java (>= 
1.7.0), libcommons-digester-java (>= 1.7), libcommons-fileupload-java (>= 1.0), 
libcommons-logging-java, libcommons-validator-java (>= 1.1.4), liboro-java, 
libservlet2.5-java, antlr
+Standards-Version: 3.8.4
+Homepage: http://struts.apache.org/
 
 Package: libstruts1.2-java
 Architecture: all
-Section: devel
 Priority: optional
-Depends: java-gcj-compat | java1-runtime | java2-runtime, 
libcommons-beanutils-java (>= 1.7.0-1), libcommons-digester-java (>= 1.7-1), 
libcommons-fileupload-java (>= 1.0-1), libcommons-logging-java, 
libcommons-validator-java (>= 1.1.4-1), liboro-java, libservlet2.3-java
+Depends: ${misc:Depends}, libcommons-beanutils-java (>= 1.7.0), 
libcommons-digester-java (>= 1.7), libcommons-fileupload-java (>= 1.0), 
libcommons-logging-java, libcommons-validator-java (>= 1.1.4), liboro-java, 
libservlet2.5-java
 Description: Java Framework for MVC web applications
  The core of the Struts framework is a flexible control layer based on standard
  technologies like Servlets, JavaBeans, ResourceBundles, and Extensible
@@ -24,5 +24,3 @@
  Beans (EJB), JDBC, and Object Relational Bridge. For the View, Struts works
  well with JavaServer Pages (JSP), including JSTL and JSF, as well as Velocity
  Templates, XSLT, and other presentation systems. 
- .
-  Homepage: http://struts.apache.org/

Modified: trunk/libstruts1.2-java/debian/copyright
===================================================================
--- trunk/libstruts1.2-java/debian/copyright    2010-04-07 16:47:19 UTC (rev 
12040)
+++ trunk/libstruts1.2-java/debian/copyright    2010-04-07 18:03:24 UTC (rev 
12041)
@@ -1,185 +1,16 @@
-This package was debianized by Stefan Gybas <sgy...@debian.org> on 01-Jul-2003.
-The source code was downloaded from
-<http://www.apache.org/dist/struts/source/>. 
+Format-Specification: 
http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: libstruts1.2-java
+Maintainer: http://struts.apache.org/1.x/
+Source: http://www.apache.org/dist/struts/source/
 
-Copyright (BSD-style license):
+Files: *
+Copyright: 2000-2010, Apache Software Foundation
+License: Apache-2.0
+ On Debian systems the text of the Apache-2.0 license can be found in
+ /usr/share/common-licenses/Apache-2.0.
 
-
-                               Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-Modifications for Debian are copyright (C) 2003 Stefan Gybas and released
-under the terms of the GPL version 2, or any later version. On Debian
-systems the text of the GPL can be found in /usr/share/common-licenses/GPL.
+Files: debian/*
+Copyright: 2003-2010, Stefan Gybas <sgy...@debian.org>
+License: GPL-2+
+ On Debian systems the text of the GPL can be found in
+ /usr/share/common-licenses/GPL-2.

Modified: trunk/libstruts1.2-java/debian/patches/01_build_javac_target.patch
===================================================================
--- trunk/libstruts1.2-java/debian/patches/01_build_javac_target.patch  
2010-04-07 16:47:19 UTC (rev 12040)
+++ trunk/libstruts1.2-java/debian/patches/01_build_javac_target.patch  
2010-04-07 18:03:24 UTC (rev 12041)
@@ -1,7 +1,9 @@
 Description: Puts in missing "target" attribute to the compiler (prevents 
FTBFS).
 
---- a/build.xml 2006-03-09 15:32:38.000000000 +0000
-+++ b/build.xml        2006-04-24 10:26:48.000000000 +0000
+Index: libstruts1.2-java-1.2.9/build.xml
+===================================================================
+--- libstruts1.2-java-1.2.9.orig/build.xml     2006-04-24 17:34:34.000000000 
+0530
++++ libstruts1.2-java-1.2.9/build.xml  2010-04-07 21:54:50.000000000 +0530
 @@ -398,7 +398,8 @@
              destdir="${build.home}/library/classes"
              debug="${compile.debug}"

Modified: trunk/libstruts1.2-java/debian/patches/02_CVE-2008-2025.patch
===================================================================
--- trunk/libstruts1.2-java/debian/patches/02_CVE-2008-2025.patch       
2010-04-07 16:47:19 UTC (rev 12040)
+++ trunk/libstruts1.2-java/debian/patches/02_CVE-2008-2025.patch       
2010-04-07 18:03:24 UTC (rev 12041)
@@ -1,11 +1,11 @@
 Description: Fixes CVE-2008-2025 Cross-site scripting (XSS) vulnerability
 Author: Giuseppe Iuculano <iucul...@debian.org>
 
-diff --git a/src/share/org/apache/struts/taglib/html/BaseHandlerTag.java 
b/src/share/org/apache/struts/taglib/html/BaseHandlerTag.java
-index 403ff97..386ccf3 100644
---- a/src/share/org/apache/struts/taglib/html/BaseHandlerTag.java
-+++ b/src/share/org/apache/struts/taglib/html/BaseHandlerTag.java
-@@ -35,6 +35,7 @@ import org.apache.struts.taglib.TagUtils;
+Index: 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/BaseHandlerTag.java
+===================================================================
+--- 
libstruts1.2-java-1.2.9.orig/src/share/org/apache/struts/taglib/html/BaseHandlerTag.java
   2006-03-09 21:02:44.000000000 +0530
++++ 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/BaseHandlerTag.java
        2010-04-07 21:54:53.000000000 +0530
+@@ -35,6 +35,7 @@
  import org.apache.struts.taglib.logic.IterateTag;
  import org.apache.struts.util.MessageResources;
  import org.apache.struts.util.RequestUtils;
@@ -13,7 +13,7 @@
  
  /**
   * Base class for tags that render form elements capable of including 
JavaScript
-@@ -898,10 +899,12 @@ public abstract class BaseHandlerTag extends 
BodyTagSupport {
+@@ -898,10 +899,12 @@
       */
      protected void prepareAttribute(StringBuffer handlers, String name, 
Object value) {
          if (value != null) {
@@ -27,11 +27,11 @@
              handlers.append("\"");
          }
      }
-diff --git a/src/share/org/apache/struts/taglib/html/FormTag.java 
b/src/share/org/apache/struts/taglib/html/FormTag.java
-index e8eb9b4..ba2d782 100644
---- a/src/share/org/apache/struts/taglib/html/FormTag.java
-+++ b/src/share/org/apache/struts/taglib/html/FormTag.java
-@@ -37,6 +37,7 @@ import org.apache.struts.config.ModuleConfig;
+Index: 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/FormTag.java
+===================================================================
+--- 
libstruts1.2-java-1.2.9.orig/src/share/org/apache/struts/taglib/html/FormTag.java
  2006-03-09 21:02:28.000000000 +0530
++++ 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/FormTag.java    
   2010-04-07 21:54:53.000000000 +0530
+@@ -37,6 +37,7 @@
  import org.apache.struts.taglib.TagUtils;
  import org.apache.struts.util.MessageResources;
  import org.apache.struts.util.RequestUtils;
@@ -39,7 +39,7 @@
  
  /**
   * Custom tag that represents an input form, associated with a bean whose
-@@ -547,10 +548,10 @@ public class FormTag extends TagSupport {
+@@ -547,10 +548,10 @@
  
          results.append(" action=\"");
          results.append(
@@ -52,7 +52,7 @@
                  
          results.append("\"");
      }
-@@ -580,7 +581,7 @@ public class FormTag extends TagSupport {
+@@ -580,7 +581,7 @@
                  results.append("<div><input type=\"hidden\" name=\"");
                  results.append(Constants.TOKEN_KEY);
                  results.append("\" value=\"");
@@ -61,7 +61,7 @@
                  if (this.isXhtml()) {
                      results.append("\" />");
                  } else {
-@@ -598,10 +599,12 @@ public class FormTag extends TagSupport {
+@@ -598,10 +599,12 @@
       */
      protected void renderAttribute(StringBuffer results, String attribute, 
String value) {
          if (value != null) {
@@ -75,11 +75,11 @@
              results.append("\"");
          }
      }
-diff --git a/src/share/org/apache/struts/taglib/html/HtmlTag.java 
b/src/share/org/apache/struts/taglib/html/HtmlTag.java
-index fb64875..d4da38d 100644
---- a/src/share/org/apache/struts/taglib/html/HtmlTag.java
-+++ b/src/share/org/apache/struts/taglib/html/HtmlTag.java
-@@ -29,6 +29,7 @@ import javax.servlet.jsp.tagext.TagSupport;
+Index: 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/HtmlTag.java
+===================================================================
+--- 
libstruts1.2-java-1.2.9.orig/src/share/org/apache/struts/taglib/html/HtmlTag.java
  2006-03-09 21:02:30.000000000 +0530
++++ 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/HtmlTag.java    
   2010-04-07 21:54:54.000000000 +0530
+@@ -29,6 +29,7 @@
  import org.apache.struts.Globals;
  import org.apache.struts.taglib.TagUtils;
  import org.apache.struts.util.MessageResources;
@@ -87,7 +87,7 @@
  
  /**
   * Renders an HTML <html> element with appropriate language attributes if
-@@ -151,20 +152,20 @@ public class HtmlTag extends TagSupport {
+@@ -151,20 +152,20 @@
  
          if ((this.lang || this.locale || this.xhtml) && validLanguage) {
              sb.append(" lang=\"");
@@ -112,11 +112,11 @@
              }
              sb.append("\"");
          }
-diff --git 
a/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java 
b/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java
-index 77d7dba..5da8317 100644
---- a/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java
-+++ b/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java
-@@ -45,6 +45,7 @@ import org.apache.struts.Globals;
+Index: 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java
+===================================================================
+--- 
libstruts1.2-java-1.2.9.orig/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java
   2006-03-09 21:02:20.000000000 +0530
++++ 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java
        2010-04-07 21:54:54.000000000 +0530
+@@ -45,6 +45,7 @@
  import org.apache.struts.action.ActionMapping;
  import org.apache.struts.config.ModuleConfig;
  import org.apache.struts.taglib.TagUtils;
@@ -124,7 +124,7 @@
  import org.apache.struts.util.MessageResources;
  import org.apache.struts.validator.Resources;
  import org.apache.struts.validator.ValidatorPlugIn;
-@@ -850,7 +851,7 @@ public class JavascriptValidatorTag extends BodyTagSupport 
{
+@@ -850,7 +851,7 @@
          }
  
          if (this.src != null) {
@@ -133,11 +133,11 @@
          }
  
          start.append("> \n");
-diff --git a/src/share/org/apache/struts/taglib/html/OptionTag.java 
b/src/share/org/apache/struts/taglib/html/OptionTag.java
-index 4df5c95..e9e4b2e 100644
---- a/src/share/org/apache/struts/taglib/html/OptionTag.java
-+++ b/src/share/org/apache/struts/taglib/html/OptionTag.java
-@@ -26,6 +26,7 @@ import javax.servlet.jsp.tagext.BodyTagSupport;
+Index: 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/OptionTag.java
+===================================================================
+--- 
libstruts1.2-java-1.2.9.orig/src/share/org/apache/struts/taglib/html/OptionTag.java
        2006-03-09 21:02:26.000000000 +0530
++++ 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/OptionTag.java  
   2010-04-07 21:54:54.000000000 +0530
+@@ -26,6 +26,7 @@
  import org.apache.struts.Globals;
  import org.apache.struts.taglib.TagUtils;
  import org.apache.struts.util.MessageResources;
@@ -145,7 +145,7 @@
  
  /**
   * Tag for select options.  The body of this tag is presented to the user
-@@ -235,7 +236,7 @@ public class OptionTag extends BodyTagSupport {
+@@ -235,7 +236,7 @@
      protected String renderOptionElement() throws JspException {
          StringBuffer results = new StringBuffer("<option value=\"");
          
@@ -154,7 +154,7 @@
          results.append("\"");
          if (disabled) {
              results.append(" disabled=\"disabled\"");
-@@ -245,17 +246,17 @@ public class OptionTag extends BodyTagSupport {
+@@ -245,17 +246,17 @@
          }
          if (style != null) {
              results.append(" style=\"");
@@ -175,11 +175,11 @@
              results.append("\"");
          }
          results.append(">");
-diff --git a/src/share/org/apache/struts/taglib/html/OptionsCollectionTag.java 
b/src/share/org/apache/struts/taglib/html/OptionsCollectionTag.java
-index 9999259..e5ecb66 100644
---- a/src/share/org/apache/struts/taglib/html/OptionsCollectionTag.java
-+++ b/src/share/org/apache/struts/taglib/html/OptionsCollectionTag.java
-@@ -30,6 +30,7 @@ import javax.servlet.jsp.tagext.TagSupport;
+Index: 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/OptionsCollectionTag.java
+===================================================================
+--- 
libstruts1.2-java-1.2.9.orig/src/share/org/apache/struts/taglib/html/OptionsCollectionTag.java
     2006-03-09 21:02:56.000000000 +0530
++++ 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/OptionsCollectionTag.java
  2010-04-07 21:54:54.000000000 +0530
+@@ -30,6 +30,7 @@
  
  import org.apache.commons.beanutils.PropertyUtils;
  import org.apache.struts.util.IteratorAdapter;
@@ -187,7 +187,7 @@
  import org.apache.struts.taglib.TagUtils;
  import org.apache.struts.util.MessageResources;
  
-@@ -291,7 +292,7 @@ public class OptionsCollectionTag extends TagSupport {
+@@ -291,7 +292,7 @@
          if (filter) {
              sb.append(TagUtils.getInstance().filter(value));
          } else {
@@ -196,7 +196,7 @@
          }
          sb.append("\"");
          if (matched) {
-@@ -299,12 +300,12 @@ public class OptionsCollectionTag extends TagSupport {
+@@ -299,12 +300,12 @@
          }
          if (style != null) {
              sb.append(" style=\"");
@@ -211,7 +211,7 @@
              sb.append("\"");
          }
          
-@@ -313,7 +314,7 @@ public class OptionsCollectionTag extends TagSupport {
+@@ -313,7 +314,7 @@
          if (filter) {
              sb.append(TagUtils.getInstance().filter(label));
          } else {
@@ -220,11 +220,11 @@
          }
          
          sb.append("</option>\r\n");
-diff --git a/src/share/org/apache/struts/taglib/html/OptionsTag.java 
b/src/share/org/apache/struts/taglib/html/OptionsTag.java
-index 90d716a..dbc14cf 100644
---- a/src/share/org/apache/struts/taglib/html/OptionsTag.java
-+++ b/src/share/org/apache/struts/taglib/html/OptionsTag.java
-@@ -32,6 +32,7 @@ import org.apache.commons.beanutils.PropertyUtils;
+Index: 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/OptionsTag.java
+===================================================================
+--- 
libstruts1.2-java-1.2.9.orig/src/share/org/apache/struts/taglib/html/OptionsTag.java
       2006-03-09 21:02:34.000000000 +0530
++++ 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/OptionsTag.java 
   2010-04-07 21:54:54.000000000 +0530
+@@ -32,6 +32,7 @@
  import org.apache.struts.util.IteratorAdapter;
  import org.apache.struts.taglib.TagUtils;
  import org.apache.struts.util.MessageResources;
@@ -232,7 +232,7 @@
  
  /**
   * Tag for creating multiple &lt;select&gt; options from a collection.  The
-@@ -313,7 +314,7 @@ public class OptionsTag extends TagSupport {
+@@ -313,7 +314,7 @@
          if (filter) {
              sb.append(TagUtils.getInstance().filter(value));
          } else {
@@ -241,7 +241,7 @@
          }
          sb.append("\"");
          if (matched) {
-@@ -321,12 +322,12 @@ public class OptionsTag extends TagSupport {
+@@ -321,12 +322,12 @@
          }
          if (style != null) {
              sb.append(" style=\"");
@@ -256,7 +256,7 @@
              sb.append("\"");
          }
          
-@@ -335,7 +336,7 @@ public class OptionsTag extends TagSupport {
+@@ -335,7 +336,7 @@
          if (filter) {
              sb.append(TagUtils.getInstance().filter(label));
          } else {
@@ -265,11 +265,11 @@
          }
          
          sb.append("</option>\r\n");
-diff --git a/src/share/org/apache/struts/taglib/html/RewriteTag.java 
b/src/share/org/apache/struts/taglib/html/RewriteTag.java
-index 804e50c..63a2f03 100644
---- a/src/share/org/apache/struts/taglib/html/RewriteTag.java
-+++ b/src/share/org/apache/struts/taglib/html/RewriteTag.java
-@@ -24,6 +24,7 @@ import java.util.Map;
+Index: 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/RewriteTag.java
+===================================================================
+--- 
libstruts1.2-java-1.2.9.orig/src/share/org/apache/struts/taglib/html/RewriteTag.java
       2006-03-09 21:02:28.000000000 +0530
++++ 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/taglib/html/RewriteTag.java 
   2010-04-07 21:54:54.000000000 +0530
+@@ -24,6 +24,7 @@
  import javax.servlet.jsp.JspException;
  
  import org.apache.struts.taglib.TagUtils;
@@ -277,7 +277,7 @@
  
  /**
   * Generate a URL-encoded URI as a string.
-@@ -72,7 +73,8 @@ public class RewriteTag extends LinkTag {
+@@ -72,7 +73,8 @@
                  (messages.getMessage("rewrite.url", e.toString()));
          }
  
@@ -287,11 +287,11 @@
  
          return (SKIP_BODY);
  
-diff --git a/src/share/org/apache/struts/util/ResponseUtils.java 
b/src/share/org/apache/struts/util/ResponseUtils.java
-index 4588bb2..fe7e517 100644
---- a/src/share/org/apache/struts/util/ResponseUtils.java
-+++ b/src/share/org/apache/struts/util/ResponseUtils.java
-@@ -137,6 +137,37 @@ public class ResponseUtils {
+Index: 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/util/ResponseUtils.java
+===================================================================
+--- 
libstruts1.2-java-1.2.9.orig/src/share/org/apache/struts/util/ResponseUtils.java
   2006-03-09 21:02:30.000000000 +0530
++++ 
libstruts1.2-java-1.2.9/src/share/org/apache/struts/util/ResponseUtils.java     
   2010-04-07 21:54:54.000000000 +0530
+@@ -137,6 +137,37 @@
      }
  
  

Added: trunk/libstruts1.2-java/debian/patches/series
===================================================================
--- trunk/libstruts1.2-java/debian/patches/series                               
(rev 0)
+++ trunk/libstruts1.2-java/debian/patches/series       2010-04-07 18:03:24 UTC 
(rev 12041)
@@ -0,0 +1,2 @@
+01_build_javac_target.patch
+02_CVE-2008-2025.patch

Modified: trunk/libstruts1.2-java/debian/rules
===================================================================
--- trunk/libstruts1.2-java/debian/rules        2010-04-07 16:47:19 UTC (rev 
12040)
+++ trunk/libstruts1.2-java/debian/rules        2010-04-07 18:03:24 UTC (rev 
12041)
@@ -2,10 +2,9 @@
 # debian/rules file for libstruts1.2-java (uses cdbs)
 
 include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/class/ant.mk
 
-JAVA_HOME := /usr/lib/jvm/java-gcj
+JAVA_HOME := /usr/lib/jvm/default-java
 ANT_HOME := /usr/share/ant
 
 DEB_JARS := xercesImpl xml-apis xalan2 $(ANT_HOME)/lib/ant-launcher.jar 
$(ANT_HOME)/lib/ant-trax.jar $(ANT_HOME)/lib/ant-apache-regexp.jar

Added: trunk/libstruts1.2-java/debian/source/format
===================================================================
--- trunk/libstruts1.2-java/debian/source/format                                
(rev 0)
+++ trunk/libstruts1.2-java/debian/source/format        2010-04-07 18:03:24 UTC 
(rev 12041)
@@ -0,0 +1 @@
+3.0 (quilt)


_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

Reply via email to