--- bcel-5.2.orig/debian/rules +++ bcel-5.2/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f +# debian/rules file for libbcel-java (uses cdbs) + +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk + +JAVA_HOME := /usr/lib/jvm/default-java +ANT_HOME := /usr/share/ant +DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar xmlParserAPIs xercesImpl regexp +DEB_ANT_BUILD_TARGET := dist + +clean:: + rm -rf target dist + --- bcel-5.2.orig/debian/changelog +++ bcel-5.2/debian/changelog @@ -0,0 +1,145 @@ +bcel (5.2-3ubuntu3) jaunty; urgency=low + + * debian/control: Added libxerces2-java-doc back to "Depends:". + (LP: #190247) + + -- Savvas Radevic Fri, 20 Feb 2009 19:22:25 +0100 + +bcel (5.2-3ubuntu2) intrepid; urgency=low + + * Build-depend on default-jdk instead of java-gcj-compat-dev. + + -- Matthias Klose Wed, 30 Jul 2008 13:41:38 +0000 + +bcel (5.2-3ubuntu1) hardy; urgency=low + + * Merge from debian unstable, remaining changes: + - libbcel-java-doc: Add alternative dependency on libgcj-doc. + - debian/control: Drop libbcel-java-doc's dependency to + libxerces2-java-doc to a suggestion, since that is in multiverse. + + -- Martin Pitt Tue, 23 Oct 2007 15:42:43 +0200 + +bcel (5.2-3) unstable; urgency=low + + * Added link from /usr/share/ant/lib/bcel.jar to /usr/share/java/bcel.jar + (Closes: #440000). + + -- Michael Koch Sat, 01 Sep 2007 10:44:44 +0200 + +bcel (5.2-2) unstable; urgency=low + + * Migrate experimental version to unstable. + * Remove downloading of a Jar from build.xml. + + -- Paul Cager Sun, 15 Apr 2007 21:49:05 +0100 + +bcel (5.2-1) experimental; urgency=low + + * New upstream release (Closes: #349779) + * Upstream now uses Apache Software License version 2 + * Upgraded to standards version 3.7.2 + * Bumped debhelper to version 5 + * Added myself to co-maintainers + * Uses java-gcj compiler, rather than kaffe + * Moved ant / cdbs from build-depends-indep to build-depends as + required by java-policy (and lintian) + * Corrected dependencies (removed Java runtime as specified in Java policy) + * Patched build.xml to remove actions (which are no supported in + all JDKs), and to add a to classpath-doc in the Javadoc target + * Created watch file + * Created "install" and "links" files for both binary packages + * Moved API docs to /usr/share/doc/libbcel-java/api (as required + by draft Java policy) + * Added a doc-base + + -- Paul Cager Sat, 13 Jan 2007 23:04:12 +0000 + +bcel (5.1-6) unstable; urgency=low + + * kaffe compiler transition + * Removed Takashi from uploaders to reflect current maintainers + * Bumped debhelper version to fix linda error + + -- Wolfgang Baer Mon, 16 Jan 2006 13:52:14 +0100 + +bcel (5.1-5) unstable; urgency=low + + * libant1.6-java to ant transition + * Changed xerces dependency to xerces2 + * Removed explicit dependencies on gjdoc, jikes + * Added myself to uploaders + * Standards-Version 3.6.2 + + -- Wolfgang Baer Sun, 25 Sep 2005 00:09:17 +0200 + +bcel (5.1-4) unstable; urgency=low + + * Reupload with orig tarball (Closes: #301507). + * Removed trailing line in debian/compat and debian/libjava-bcel-doc.docs. + + -- Michael Koch Mon, 28 Mar 2005 10:02:02 +0000 + +bcel (5.1-3) unstable; urgency=low + + * Move all packages to main. + * Fixed Depends and Suggests. + + -- Michael Koch Sat, 12 Mar 2005 23:13:25 +0000 + +bcel (5.1-2) unstable; urgency=low + + * Moved to main. + * Ported to CDBS. + * Use Debian Java Packagers as Maintainer. + * Added Takashi, Arnaud, myself to Uploaders. + * Build-Depend and use kaffe and libant1.6-java. + * Standards-Version: 3.6.1 (no changes required). + + -- Michael Koch Wed, 9 Mar 2005 17:02:28 +0000 + +bcel (5.1-1mkoch1) unstable; urgency=low + + * New upstream release + + This version is compatible with JDK 1.4 (closes: #174977) + * Added myself to Uploaders + * Standards-Version: 3.6.0 (no changes required) + + Don't use Ant in the clean target to avoid Build-Depends: + * Build with debhelper >= 4.1.0 to get rid of /usr/doc compatibility + symlinks + * Updated long description and added a link to the home page. + * Fixed build dependencies (closes: #174980) + * Build using j2sdk1.4 + * Moved libbcel-java-doc from contrib/libs to contrib/doc + * Updated download location and upstream authors debian/copyright + * Fixed package dependencies according to the Java policy (closes: #174984) + * Only build the API documentation, building the real documentaion requires + addisional files from the Jakarta project + + -- Stefan Gybas Mon, 14 Jul 2003 20:43:51 +0200 + +bcel (5.0-1) unstable; urgency=low + + * New upstream release. (Cleses #137459 request new package) + + -- Takashi Okamoto Fri, 5 Jul 2002 18:18:18 +0900 + +bcel (4.3.1-3) unstable; urgency=low + + * fixed bcel.jar was invalid (Closes: #136352) + + -- Takashi Okamoto Sat, 2 Mar 2002 10:18:27 +0900 + +bcel (4.3.1-2) unstable; urgency=low + + * remove ant dependeny (Closes: #133066) + * move to new Java Policy + + -- Takashi Okamoto Sat, 9 Feb 2002 19:13:48 +0900 + +bcel (4.3.1-1) unstable; urgency=low + + * Initial Release. + + -- Takashi Okamoto Sun, 5 Aug 2001 10:22:10 +0900 + --- bcel-5.2.orig/debian/libbcel-java.links +++ bcel-5.2/debian/libbcel-java.links @@ -0,0 +1,2 @@ +/usr/share/java/bcel-5.2.jar /usr/share/java/bcel.jar +/usr/share/java/bcel.jar /usr/share/ant/lib/bcel.jar --- bcel-5.2.orig/debian/watch +++ bcel-5.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://archive.apache.org/dist/jakarta/bcel/source/bcel-([0-9]+\.[0-9]+)-src.tar.gz --- bcel-5.2.orig/debian/libbcel-java.dirs +++ bcel-5.2/debian/libbcel-java.dirs @@ -0,0 +1 @@ +usr/share/java --- bcel-5.2.orig/debian/copyright +++ bcel-5.2/debian/copyright @@ -0,0 +1,212 @@ +This package was debianized by Takashi Okamoto on +Sun, 5 Aug 2001 10:22:10 +0900. + +The source code was downloaded from http://jakarta.apache.org/bcel/ + +Upstream Authors: + Markus Dahm + Jason van Zyl + +Copyright (BSD-style license): + + 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. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. --- bcel-5.2.orig/debian/libbcel-java-doc.doc-base +++ bcel-5.2/debian/libbcel-java-doc.doc-base @@ -0,0 +1,9 @@ +Document: libbcel-java +Title: API Javadoc for BCEL +Author: BCEL developers +Abstract: This is the API Javadoc provided by the BCEL library. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libbcel-java/api/index.html +Files: /usr/share/doc/libbcel-java/api/* --- bcel-5.2.orig/debian/compat +++ bcel-5.2/debian/compat @@ -0,0 +1 @@ +4 --- bcel-5.2.orig/debian/libbcel-java.install +++ bcel-5.2/debian/libbcel-java.install @@ -0,0 +1 @@ +target/bcel-5.2.jar usr/share/java --- bcel-5.2.orig/debian/control +++ bcel-5.2/debian/control @@ -0,0 +1,41 @@ +Source: bcel +Section: libs +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Debian Java Maintainers +Uploaders: Stefan Gybas , Arnaud Vandyck , Michael Koch , Wolfgang Baer , Paul Cager +Build-Depends-Indep: default-jdk, libregexp-java, libxerces2-java +Build-Depends: ant (>= 1.6.5), cdbs (>= 0.4.5.3), debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: libbcel-java +Architecture: all +Section: libs +Depends: libregexp-java +Suggests: libbcel-java-doc +Description: Analyze, create, and manipulate (binary) Java class files + The Byte Code Engineering Library is intended to give users a convenient + possibility to analyze, create, and manipulate (binary) Java class files + (those ending with .class). Classes are represented by objects which contain + all the symbolic information of the given class: methods, fields and byte + code instructions, in particular. + . + Such objects can be read from an existing file, be transformed by a program + (e.g. a class loader at run-time) and dumped to a file again. An even more + interesting application is the creation of classes from scratch at run-time. + The Byte Code Engineering Library (BCEL) may be also useful if you want to + learn about the Java Virtual Machine (JVM) and the format of Java .class + files. + . + Homepage: http://jakarta.apache.org/bcel/ + +Package: libbcel-java-doc +Architecture: all +Section: doc +Depends: libgcj-doc | classpath-doc, libxerces2-java-doc +Suggests: libbcel-java +Description: Documentation for Byte Code Engineering Library (BCEL) + Documentation for the BCEL Java library which is used to manipulate Java + bytecode. + . + Homepage: http://jakarta.apache.org/bcel/ --- bcel-5.2.orig/debian/libbcel-java-doc.install +++ bcel-5.2/debian/libbcel-java-doc.install @@ -0,0 +1 @@ +dist/docs/api usr/share/doc/libbcel-java --- bcel-5.2.orig/debian/patches/build.xml.patch +++ bcel-5.2/debian/patches/build.xml.patch @@ -0,0 +1,23 @@ +--- build.xml 2006-06-03 04:48:22.000000000 +0100 ++++ build.xml.patched 2007-01-09 11:12:59.000000000 +0000 +@@ -108,10 +108,4 @@ + + + +- +- +- +- +- +- + +--- build.xml 2007-01-14 22:11:59.000000000 +0000 ++++ build.xml.patched 2007-01-14 22:21:35.000000000 +0000 +@@ -105,6 +105,7 @@ + + + ++ + + + --- bcel-5.2.orig/debian/patches/manifest.patch +++ bcel-5.2/debian/patches/manifest.patch @@ -0,0 +1,14 @@ +--- manifest.txt.new 1970-01-01 00:00:00.000000000 +0000 ++++ manifest.txt 2005-03-09 17:14:22.000000000 +0000 +@@ -0,0 +1,11 @@ ++Manifest-Version: 1.0 ++Package: org.apache.bcel ++ ++Name: org.apache.bcel ++Specification-Title: bcel ++Specification-Version: 5.1 ++Specification-Vendor: Apache Software Foundation ++Implementation-Title: org.apache.bcel ++Implementation-Version: 5.1 ++Implementation-Vendor: Apache Software Foundation ++