--- signserver3.3-3.3.0alpha7.orig/conf/signserver_build.properties +++ signserver3.3-3.3.0alpha7/conf/signserver_build.properties @@ -0,0 +1,5 @@ +includemodulesinbuild=false +module.odfsigner.enabled=false +module.ooxmlsigner.enabled=false +signserverclientws.enabled=true +module.renewal.enabled=true --- signserver3.3-3.3.0alpha7.orig/debian/signserver-admingui-ws.desktop +++ signserver3.3-3.3.0alpha7/debian/signserver-admingui-ws.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Categories=GTK;Network +Name=SignServer Admin GUI (remote) +Icon=signserver-admingui +Exec=/usr/bin/signserver-gui -ws --- signserver3.3-3.3.0alpha7.orig/debian/README.jars +++ signserver3.3-3.3.0alpha7/debian/README.jars @@ -0,0 +1,44 @@ +Packages as found in debian 2008-07-30. +In 6th column packages as found in Ubuntu 10.04 alpha2 2010-02-25. +Plan is to make a binary package of the "not found" packages and depend on that and the existing jars (this is not done yet tough) + + in lucid + +4243690 1620 -rw-r--r-- 1 han han 1653685 Jul 28 22:18 ./1.6/bcprov-jdk.jar 1.41 beta not found libbcprov-java (1.43-1ubuntu1) +4243687 1624 -rw-r--r-- 1 han han 1657010 Jul 28 22:18 ./1.6/bcprov-jdk.139.jar libbcprov-java 1.39-2 +2179285 212 -rw-r--r-- 1 han han 212232 Jul 11 22:50 ./1.6/bcmail-jdk.jar libbcmail-java 1.39-2 libbcmail-java (1.43-1ubuntu1) + +2589295 20 -rw-r--r-- 1 han han 18770 May 1 22:41 ./jaxws/saaj-api.jar not found todo: needed? + +1605646 364 -rw-r--r-- 1 han han 367444 May 1 22:42 ./log4j.jar liblog4j1.2-java 1.2.15-3 liblog4j1.2-java (1.2.15-9ubuntu2) +7538181 28 -rw-r--r-- 1 han han 24942 Jul 28 22:18 ./module/tsa/1.6/bctsp-jdk.jar libbctsp-java 1.39-2 libbctsp-java (1.43-1ubuntu1) +7538167 24 -rw-r--r-- 1 han han 23947 Jul 28 22:18 ./module/tsa/1.5/bctsp-jdk.jar libbctsp-java 1.39-2 ??? - +3293197 1136 -rw-r--r-- 1 han han 1155088 Jul 28 22:18 ./module/pdfsigner/itext/itext.jar libitext-java 1.4.5-3 libitext-java (2.1.7-1) + +1605645 520 -rw-r--r-- 1 han han 528045 May 1 22:42 ./ejbca-util.jar not found needs packaging! + +2506890 416 -rw-r--r-- 1 han han 421601 May 1 22:41 ./quartz/quartz-1.6.0.jar libquartz-java (1.6.1~RC1-1) libquartz-java (1.6.6-1) +1524090 84 -rw-r--r-- 1 han han 79265 May 1 22:40 ./ext/servlet-2.3.jar libservlet2.3-java 4.0-10 libservlet2.3-java (4.0-10ubuntu3) +1524094 32 -rw-r--r-- 1 han han 30117 May 1 22:40 ./ext/commons-cli-1.2.jar libcommons-cli-java 1.1-3 libcommons-cli-java (1.2-2ubuntu1) + +1819009 56 -rw-r--r-- 1 han han 52220 May 21 19:40 ./ext/ejb/ejb3-persistence.jar not found libhibernate3-java, libhibernate-entitymanager-java, libhibernate-annotations-java etc +1818662 20 -rw-r--r-- 1 han han 20385 May 1 22:40 ./ext/ejb/jboss-ejb3x.jar libjboss-ejb3x-java 4.2.2.GA-5 libjboss-ejb3x-java (4.2.3.GA-1) +1524092 128 -rw-r--r-- 1 han han 124724 May 1 22:40 ./ext/xml-apis.jar libjaxp1.3-java 1.3.04-3 libjaxp1.3-java (1.3.04-5ubuntu2) +1524095 124 -rw-r--r-- 1 han han 121070 May 1 22:40 ./ext/junit-3.8.1.jar junit 3.8.2-1 junit (3.8.2-4) +1524091 172 -rw-r--r-- 1 han han 171658 May 1 22:40 ./ext/jsch-0.1.32.jar libjsch-java 0.1.37-3 libjsch-java (0.1.42-1build1) +1524096 140 -rw-r--r-- 1 han han 137410 May 1 22:40 ./ext/jdom-b9.jar libjdom1-java(1.0-4) libjdom1-java (1.1.1+dfsg-1) +1966304 72 -rw-r--r-- 1 han han 67115 May 1 22:40 ./ext/velocity/nekohtml.jar libnekohtml-java 0.9.5+dfsg-1.1 libnekohtml-java (1.9.13-1) +1966301 128 -rw-r--r-- 1 han han 124724 May 1 22:40 ./ext/velocity/xml-apis.jar libxalan2-java 2.7.1-2 libxalan2-java (2.7.1-5ubuntu1) +1966302 48 -rw-r--r-- 1 han han 45386 May 1 22:40 ./ext/velocity/activation.jar libgnujaf-java 1.1.1-4 libgnujaf-java (1.1.1-5) +1966303 140 -rw-r--r-- 1 han han 137410 May 1 22:40 ./ext/velocity/jdom-b9.jar libjdom1-java 1.0-4 libjdom1-java (1.1.1+dfsg-1) +1966300 512 -rw-r--r-- 1 han han 517761 May 1 22:40 ./ext/velocity/velocity-dep-1.4.jar velocity 1.4-5 velocity (1.6.2-3) +1524093 872 -rw-r--r-- 1 han han 885362 May 1 22:40 ./ext/xerces_2_3_0.jar libxerces2-java 2.9.1-2 /usr/share/java/xercesImpl.jar libxerces2-java (2.9.1-4ubuntu1) +3345202 1268 -rw-r--r-- 1 han han 1291498 May 1 22:42 ./reports/jfreechart-1.0.9.jar libjfreechart-java 1.0.10-1 libjfreechart-java (1.0.13-2) +3345201 308 -rw-r--r-- 1 han han 307734 May 1 22:42 ./reports/jcommon-1.0.12.jar libjcommon-java 1.0.10.dfsg-1 libjcommon-java (1.0.10.dfsg-1ubuntu1) +1605644 172 -rw-r--r-- 1 han han 169763 May 1 22:42 ./commons-lang-2.0.jar libcommons-lang-java 2.4-1 libcommons-lang-java (2.4-4) + + +Application Servers +James needs packaging? +JBoss 4.2.3 jbossas4 not complete, needs packaging? +GlassFish V2 glassfish-appserv (2+b58g-3ubuntu1), not complete, needs packaging? --- signserver3.3-3.3.0alpha7.orig/debian/README.building +++ signserver3.3-3.3.0alpha7/debian/README.building @@ -0,0 +1,32 @@ +Building a debian package +------------------------- + +Create source tarball +$ ant release:source-tarball + +Move to a new folder +$ cd .. +$ mkdir packaging +$ mv signserver-3.3.0alpha4-src.tar.gz packaging/ +$ cd packaging + +Adjust the name of the tarball and extract it +$ mv signserver-3.3.0alpha4-src.tar.gz signserver3.3_3.3.0alpha4.orig.tar.gz +$ tar zxvf signserver3.3_3.3.0alpha4.orig.tar.gz +$ mv signserver-3.3.0alpha4 signserver3.3-3.3.0alpha4 + +Symlink the debian folder +$ cd signserver3.3-3.3.0alpha4 +$ cp -r res/install/debian . + +Update the changelog +$ dch -i + +Test to build binary package +$ debuild -us -uc + +Build and sign a source only package +$ debuild -S + +Upload to PPA +$ dput ppa:markuskilas/ppa ../signserver3.3_3.3.0alpha4-1markus1_source.changes --- signserver3.3-3.3.0alpha7.orig/debian/signserver-admingui-local.desktop +++ signserver3.3-3.3.0alpha7/debian/signserver-admingui-local.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Categories=GNOME;GTK;System;Settings +Name=SignServer Admin GUI (local) +Icon=signserver-admingui +Exec=/usr/bin/signserver-gui --- signserver3.3-3.3.0alpha7.orig/debian/copyright +++ signserver3.3-3.3.0alpha7/debian/copyright @@ -0,0 +1,424 @@ +This package was debianized by Markus KilÃ¥s on Fri, 13 Aug 2010 17:25 +0200 + +Upstream Author: PrimeKey Solutions AB + +Copyright: 2007-2011 PrimeKey Solutions AB + +License: + GNU Lesser Public License + + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + [This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + Preamble + + The licenses for most software are designed to take away your freedom to share + and change it. By contrast, the GNU General Public Licenses are intended to + guarantee your freedom to share and change free software--to make sure the + software is free for all its users. + + This license, the Lesser General Public License, applies to some specially + designated software packages--typically libraries--of the Free Software + Foundation and other authors who decide to use it. You can use it too, but we + suggest you first think carefully about whether this license or the ordinary + General Public License is the better strategy to use in any particular case, + based on the explanations below. + + When we speak of free software, we are referring to freedom of use, not price. + Our General Public Licenses are designed to make sure that you have the freedom + to distribute copies of free software (and charge for this service if you wish); + that you receive source code or can get it if you want it; that you can change + the software and use pieces of it in new free programs; and that you are + informed that you can do these things. + + To protect your rights, we need to make restrictions that forbid distributors to + deny you these rights or to ask you to surrender these rights. These + restrictions translate to certain responsibilities for you if you distribute + copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis or for a + fee, you must give the recipients all the rights that we gave you. You must make + sure that they, too, receive or can get the source code. If you link other code + with the library, you must provide complete object files to the recipients, so + that they can relink them with the library after making changes to the library + and recompiling it. And you must show them these terms so they know their + rights. + + We protect your rights with a two-step method: (1) we copyright the library, and + (2) we offer you this license, which gives you legal permission to copy, + distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that there is no + warranty for the free library. Also, if the library is modified by someone else + and passed on, the recipients should know that what they have is not the + original version, so that the original author's reputation will not be affected + by problems that might be introduced by others. + + Finally, software patents pose a constant threat to the existence of any free + program. We wish to make sure that a company cannot effectively restrict the + users of a free program by obtaining a restrictive license from a patent holder. + Therefore, we insist that any patent license obtained for a version of the + library must be consistent with the full freedom of use specified in this + license. + + Most GNU software, including some libraries, is covered by the ordinary GNU + General Public License. This license, the GNU Lesser General Public License, + applies to certain designated libraries, and is quite different from the + ordinary General Public License. We use this license for certain libraries in + order to permit linking those libraries into non-free programs. + + When a program is linked with a library, whether statically or using a shared + library, the combination of the two is legally speaking a combined work, a + derivative of the original library. The ordinary General Public License + therefore permits such linking only if the entire combination fits its criteria + of freedom. The Lesser General Public License permits more lax criteria for + linking other code with the library. + + We call this license the "Lesser" General Public License because it does Less to + protect the user's freedom than the ordinary General Public License. It also + provides other free software developers Less of an advantage over competing non- + free programs. These disadvantages are the reason we use the ordinary General + Public License for many libraries. However, the Lesser license provides + advantages in certain special circumstances. + + For example, on rare occasions, there may be a special need to encourage the + widest possible use of a certain library, so that it becomes a de-facto + standard. To achieve this, non-free programs must be allowed to use the library. + A more frequent case is that a free library does the same job as widely used + non-free libraries. In this case, there is little to gain by limiting the free + library to free software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free programs + enables a greater number of people to use a large body of free software. For + example, permission to use the GNU C Library in non-free programs enables many + more people to use the whole GNU operating system, as well as its variant, the + GNU/Linux operating system. + + Although the Lesser General Public License is Less protective of the users' + freedom, it does ensure that the user of a program that is linked with the + Library has the freedom and the wherewithal to run that program using a modified + version of the Library. + + The precise terms and conditions for copying, distribution and modification + follow. Pay close attention to the difference between a "work based on the + library" and a "work that uses the library". The former contains code derived + from the library, whereas the latter must be combined with the library in order + to run. + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other program which + contains a notice placed by the copyright holder or other authorized party + saying it may be distributed under the terms of this Lesser General Public + License (also called "this License"). Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data prepared so as + to be conveniently linked with application programs (which use some of those + functions and data) to form executables. + + The "Library", below, refers to any such software library or work which has been + distributed under these terms. A "work based on the Library" means either the + Library or any derivative work under copyright law: that is to say, a work + containing the Library or a portion of it, either verbatim or with modifications + and/or translated straightforwardly into another language. (Hereinafter, + translation is included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for making + modifications to it. For a library, complete source code means all the source + code for all modules it contains, plus any associated interface definition + files, plus the scripts used to control compilation and installation of the + library. + + Activities other than copying, distribution and modification are not covered by + this License; they are outside its scope. The act of running a program using the + Library is not restricted, and output from such a program is covered only if its + contents constitute a work based on the Library (independent of the use of the + Library in a tool for writing it). Whether that is true depends on what the + Library does and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's complete source + code as you receive it, in any medium, provided that you conspicuously and + appropriately publish on each copy an appropriate copyright notice and + disclaimer of warranty; keep intact all the notices that refer to this License + and to the absence of any warranty; and distribute a copy of this License along + with the Library. + + You may charge a fee for the physical act of transferring a copy, and you may at + your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Library or any portion of it, thus + forming a work based on the Library, and copy and distribute such modifications + or work under the terms of Section 1 above, provided that you also meet all of + these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices stating that you + changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no charge to all third + parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a table of data + to be supplied by an application program that uses the facility, other than as + an argument passed when the facility is invoked, then you must make a good faith + effort to ensure that, in the event an application does not supply such function + or table, the facility still operates, and performs whatever part of its purpose + remains meaningful. + + (For example, a function in a library to compute square roots has a purpose that + is entirely well-defined independent of the application. Therefore, Subsection + 2d requires that any application-supplied function or table used by this + function must be optional: if the application does not supply it, the square + root function must still compute square roots.) + + These requirements apply to the modified work as a whole. If identifiable + sections of that work are not derived from the Library, and can be reasonably + considered independent and separate works in themselves, then this License, and + its terms, do not apply to those sections when you distribute them as separate + works. But when you distribute the same sections as part of a whole which is a + work based on the Library, the distribution of the whole must be on the terms of + this License, whose permissions for other licensees extend to the entire whole, + and thus to each and every part regardless of who wrote it. + + Thus, it is not the intent of this section to claim rights or contest your + rights to work written entirely by you; rather, the intent is to exercise the + right to control the distribution of derivative or collective works based on the + Library. + + In addition, mere aggregation of another work not based on the Library with the + Library (or with a work based on the Library) on a volume of a storage or + distribution medium does not bring the other work under the scope of this + License. + + 3. You may opt to apply the terms of the ordinary GNU General Public License + instead of this License to a given copy of the Library. To do this, you must + alter all the notices that refer to this License, so that they refer to the + ordinary GNU General Public License, version 2, instead of to this License. (If + a newer version than version 2 of the ordinary GNU General Public License has + appeared, then you can specify that version instead if you wish.) Do not make + any other change in these notices. + + Once this change is made in a given copy, it is irreversible for that copy, so + the ordinary GNU General Public License applies to all subsequent copies and + derivative works made from that copy. + + This option is useful when you wish to copy part of the code of the Library into + a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or derivative of it, + under Section 2) in object code or executable form under the terms of Sections 1 + and 2 above provided that you accompany it with the complete corresponding + machine-readable source code, which must be distributed under the terms of + Sections 1 and 2 above on a medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy from a + designated place, then offering equivalent access to copy the source code from + the same place satisfies the requirement to distribute the source code, even + though third parties are not compelled to copy the source along with the object + code. + + 5. A program that contains no derivative of any portion of the Library, but is + designed to work with the Library by being compiled or linked with it, is called + a "work that uses the Library". Such a work, in isolation, is not a derivative + work of the Library, and therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library creates an + executable that is a derivative of the Library (because it contains portions of + the Library), rather than a "work that uses the library". The executable is + therefore covered by this License. Section 6 states terms for distribution of + such executables. + + When a "work that uses the Library" uses material from a header file that is + part of the Library, the object code for the work may be a derivative work of + the Library even though the source code is not. Whether this is true is + especially significant if the work can be linked without the Library, or if the + work is itself a library. The threshold for this to be true is not precisely + defined by law. + + If such an object file uses only numerical parameters, data structure layouts + and accessors, and small macros and small inline functions (ten lines or less in + length), then the use of the object file is unrestricted, regardless of whether + it is legally a derivative work. (Executables containing this object code plus + portions of the Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may distribute the + object code for the work under the terms of Section 6. Any executables + containing that work also fall under Section 6, whether or not they are linked + directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or link a "work + that uses the Library" with the Library to produce a work containing portions of + the Library, and distribute that work under terms of your choice, provided that + the terms permit modification of the work for the customer's own use and reverse + engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the Library is + used in it and that the Library and its use are covered by this License. You + must supply a copy of this License. If the work during execution displays + copyright notices, you must include the copyright notice for the Library among + them, as well as a reference directing the user to the copy of this License. + Also, you must do one of these things: + + a) Accompany the work with the complete corresponding machine-readable source + code for the Library including whatever changes were used in the work (which + must be distributed under Sections 1 and 2 above); and, if the work is an + executable linked with the Library, with the complete machine-readable "work + that uses the Library", as object code and/or source code, so that the user can + modify the Library and then relink to produce a modified executable containing + the modified Library. (It is understood that the user who changes the contents + of definitions files in the Library will not necessarily be able to recompile + the application to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the Library. A + suitable mechanism is one that (1) uses at run time a copy of the library + already present on the user's computer system, rather than copying library + functions into the executable, and (2) will operate properly with a modified + version of the library, if the user installs one, as long as the modified + version is interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at least three years, to + give the same user the materials specified in Subsection 6a, above, for a charge + no more than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy from a + designated place, offer equivalent access to copy the above specified materials + from the same place. + + e) Verify that the user has already received a copy of these materials or that + you have already sent this user a copy. + + For an executable, the required form of the "work that uses the Library" must + include any data and utility programs needed for reproducing the executable from + it. However, as a special exception, the materials to be distributed need not + include anything that is normally distributed (in either source or binary form) + with the major components (compiler, kernel, and so on) of the operating system + on which the executable runs, unless that component itself accompanies the + executable. + + It may happen that this requirement contradicts the license restrictions of + other proprietary libraries that do not normally accompany the operating system. + Such a contradiction means you cannot use both them and the Library together in + an executable that you distribute. + + 7. You may place library facilities that are a work based on the Library side- + by-side in a single library together with other library facilities not covered + by this License, and distribute such a combined library, provided that the + separate distribution of the work based on the Library and of the other library + facilities is otherwise permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work based on the + Library, uncombined with any other library facilities. This must be distributed + under the terms of the Sections above. + + b) Give prominent notice with the combined library of the fact that part of it + is a work based on the Library, and explaining where to find the accompanying + uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute the Library + except as expressly provided under this License. Any attempt otherwise to copy, + modify, sublicense, link with, or distribute the Library is void, and will + automatically terminate your rights under this License. However, parties who + have received copies, or rights, from you under this License will not have their + licenses terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not signed it. + However, nothing else grants you permission to modify or distribute the Library + or its derivative works. These actions are prohibited by law if you do not + accept this License. Therefore, by modifying or distributing the Library (or any + work based on the Library), you indicate your acceptance of this License to do + so, and all its terms and conditions for copying, distributing or modifying the + Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the Library), + the recipient automatically receives a license from the original licensor to + copy, distribute, link with or modify the Library subject to these terms and + conditions. You may not impose any further restrictions on the recipients' + exercise of the rights granted herein. You are not responsible for enforcing + compliance by third parties with this License. + + 11. If, as a consequence of a court judgment or allegation of patent + infringement or for any other reason (not limited to patent issues), conditions + are imposed on you (whether by court order, agreement or otherwise) that + contradict the conditions of this License, they do not excuse you from the + conditions of this License. If you cannot distribute so as to satisfy + simultaneously your obligations under this License and any other pertinent + obligations, then as a consequence you may not distribute the Library at all. + For example, if a patent license would not permit royalty-free redistribution of + the Library by all those who receive copies directly or indirectly through you, + then the only way you could satisfy both it and this License would be to refrain + entirely from distribution of the Library. + + If any portion of this section is held invalid or unenforceable under any + particular circumstance, the balance of the section is intended to apply, and + the section as a whole is intended to apply in other circumstances. + + It is not the purpose of this section to induce you to infringe any patents or + other property right claims or to contest validity of any such claims; this + section has the sole purpose of protecting the integrity of the free software + distribution system which is implemented by public license practices. Many + people have made generous contributions to the wide range of software + distributed through that system in reliance on consistent application of that + system; it is up to the author/donor to decide if he or she is willing to + distribute software through any other system and a licensee cannot impose that + choice. + + This section is intended to make thoroughly clear what is believed to be a + consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in certain + countries either by patents or by copyrighted interfaces, the original copyright + holder who places the Library under this License may add an explicit + geographical distribution limitation excluding those countries, so that + distribution is permitted only in or among countries not thus excluded. In such + case, this License incorporates the limitation as if written in the body of this + License. + + 13. The Free Software Foundation may publish revised and/or new versions of the + Lesser General Public License from time to time. Such new versions will be + similar in spirit to the present version, but may differ in detail to address + new problems or concerns. + + Each version is given a distinguishing version number. If the Library specifies + a version number of this License which applies to it and "any later version", + you have the option of following the terms and conditions either of that version + or of any later version published by the Free Software Foundation. If the + Library does not specify a license version number, you may choose any version + ever published by the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free programs + whose distribution conditions are incompatible with these, write to the author + to ask for permission. For software which is copyrighted by the Free Software + Foundation, write to the Free Software Foundation; we sometimes make exceptions + for this. Our decision will be guided by the two goals of preserving the free + status of all derivatives of our free software and of promoting the sharing and + reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE + LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED + IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS + IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT + NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE + LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF + ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL + ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE + LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, + SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY + TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING + RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF + THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER + PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + END OF TERMS AND CONDITIONS + +The Debian packaging is copyright 2010, 2011 Markus KilÃ¥s and available on the same terms as the package itself (see above). --- signserver3.3-3.3.0alpha7.orig/debian/control +++ signserver3.3-3.3.0alpha7/debian/control @@ -0,0 +1,112 @@ +Source: signserver3.3 +Section: misc +Priority: optional +Maintainer: Markus Kilås +Build-Depends: ant (>= 1.8.0), ant-optional, debhelper (>= 5), + default-jdk (>= 1.6), + glassfish-appserv (>=1:2ur2-b04-6), + glassfish-javaee (>=1:2ur2-b04-6), + junit (>=3.8.2-4), + libbcmail-java (>= 1.45), + libbcprov-java (>=1.45), + libbctsp-java (>=1.45), + libcertcvc-java (>= 1.2.11), + libcommons-cli-java, + libcommons-fileupload-java, + libcommons-configuration-java, + libcommons-lang-java, + libejbca-util-signserver-java, + libgnujaf-java, + libgnumail-java, + libhibernate-annotations-java, + libhibernate3-java, + libitext-java (>=2.1.7-1), + libjaxp1.3-java (>=1.3.04-5ubuntu2), + libjboss-ejb3x-java (>=4.2.3.GA-1), + libjcommon-java, + libjdom1-java, + libjfreechart-java, + libjline-java, + libjsch-java, + liblog4j1.2-java, + libnekohtml-java, + libquartz-java, + libservlet2.5-java, + libxalan2-java, + libxerces2-java, + velocity, + libswingworker-java, + libappframework-java, + libbeansbinding-java, + libxmltask-java +Standards-Version: 3.7.2 +Homepage: http://www.signserver.org/ + +Package: signserver3.3 +Architecture: all +Depends: libsignserver3.3-common, signserver3.3-server, libsignserver3.3-modules, ${misc:Depends} +Suggests: signserver3.3-admingui, signserver3.3-client, signserver3.3-doc +Description: SignServer automated signing server + SignServer is an automated signing server + +Package: libsignserver3.3-common +Architecture: all +Depends: libcertcvc-java (>= 1.2.11), + libejbca-util-signserver-java, + libcertcvc-java, + libcommons-lang-java, + libcommons-configuration-java, + libcommons-cli-java, + libcommons-io-java, + liblog4j1.2-java, + libbcprov-java (>= 1.45), + libbctsp-java (>=1.45), + libbcmail-java (>= 1.45), + libjboss-j2ee-java, + libjboss-ejb3x-java (>=4.2.3.GA-1), + ${misc:Depends} +Description: SignServer automated signing server + Common classes for different parts of signserver + +Package: signserver3.3-server +Architecture: all +Depends: libsignserver3.3-common, + ant (>= 1.7.1), + libhibernate3-java, + libhibernate-annotations-java, + libcommons-fileupload-java, + libquartz-java, + ${misc:Depends} +Description: SignServer automated signing server + SignServer is an automated signing server + +Package: libsignserver3.3-modules +Architecture: all +Depends: signserver3.3-server, libsignserver3.3-common, + libitext-java (>=2.1.7-1), + ${misc:Depends} +Description: SignServer automated signing server + Modules for SignServer + +Package: signserver3.3-admingui +Architecture: all +Depends: libsignserver3.3-common, signserver3.3-client, + libbeansbinding-java, + libswingworker-java, + libappframework-java, + ${misc:Depends} +Description: SignServer automated signing server + Admin GUI for SignServer + +Package: signserver3.3-client +Architecture: all +Depends: libsignserver3.3-common, ${misc:Depends} +Description: SignServer automated signing server + Client for SignServer + +Package: signserver3.3-doc +Architecture: all +Depends: ${misc:Depends} +Description: SignServer automated signing server + Documentation for SignServer + --- signserver3.3-3.3.0alpha7.orig/debian/rules +++ signserver3.3-3.3.0alpha7/debian/rules @@ -0,0 +1,139 @@ +#!/usr/bin/make -f +# Based on http://pkg-java.alioth.debian.org/docs/tutorial.html + +export DH_VERBOSE=1 +export JAVA_HOME=/usr/lib/jvm/default-java +export APPSRV_HOME=${CURDIR}/debian/temp/appserver + +build: build-stamp +build-stamp: + dh_testdir +# Mock appserver + mkdir -pv ${APPSRV_HOME}/lib + rm -f ${APPSRV_HOME}/lib/appserv-rt.jar + ln -s /usr/share/java/glassfish-appserv-rt.jar ${APPSRV_HOME}/lib/appserv-rt.jar +# mkdir -p ${APPSRV_HOME}/client +# ln -s /usr/share/java/glassfish-javaee.jar ${APPSRV_HOME}/client/jboss-j2ee.jar + +# Configuration + echo "includemodulesinbuild=false" > conf/signserver_build.properties + +# Disable modules with unsatisfied dependencies + echo "module.odfsigner.enabled=false" >> conf/signserver_build.properties + echo "module.ooxmlsigner.enabled=false" >> conf/signserver_build.properties + + echo "signserverclientws.enabled=true" >> conf/signserver_build.properties + echo "module.renewal.enabled=true" >> conf/signserver_build.properties + +# Patch AdminGUI to use the GTK look and feel (DSS-319) + sed -i 's/Application.lookAndFeel.*=.*/Application.lookAndFeel = com.sun.java.swing.plaf.gtk.GTKLookAndFeel/g' modules/SignServer-AdminGUI/src/org/signserver/admin/gui/resources/SignServerAdminGUIApplication.properties + +# Update paths to work with unprivileged user + sed -i 's/tmp=.*/tmp=\/tmp\/signserver-$${user.name}/g' res/signserver-project.properties + sed -i 's/ear.dist.file=.*/ear.dist.file=$${tmp}\/dist\/signserver.ear/g' res/signserver-project.properties + +# Build + + ant -q -DmappingsFile=debian/oneiric-jars.properties debian-pkgdist | grep -v "Trying to override old definition of task http://www.netbeans.org/" | grep -v "org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml" + + touch $@ + +clean: + dh_testdir + dh_testroot +# Mock appserver + mkdir -pv ${APPSRV_HOME}/lib + rm -f ${APPSRV_HOME}/lib/appserv-rt.jar +# ln -s /usr/share/java/glassfish-appserv-rt.jar ${APPSRV_HOME}/lib/appserv-rt.jar +# Clean + ant -q clean | grep -v "Trying to override old definition of task http://www.netbeans.org/" | grep -v "org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml" + rm lib/ext/ -rf +# rm ${APPSRV_HOME} -rf + rm -f build-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + +# Install libsignserver3.3-common + mkdir -p debian/libsignserver3.3-common/ + cp -rv dist-debian/libsignserver-common/* debian/libsignserver3.3-common/ + +# Install libsignserver3.3-modules + mkdir -p debian/libsignserver3.3-modules/ + cp -r dist-debian/libsignserver-modules/* debian/libsignserver3.3-modules/ + +# Install signserver3.3-admingui + mkdir -p debian/signserver3.3-admingui/bin + cp -r dist-debian/signserver-admingui/* debian/signserver3.3-admingui/ + mkdir -p debian/signserver3.3-admingui/usr/share/icons + cp modules/SignServer-AdminGUI/src/org/signserver/admin/gui/resources/cogwheel_gear_zahnrad_6.png debian/signserver3.3-admingui/usr/share/icons/signserver-admingui.png + mkdir -p debian/signserver3.3-admingui/usr/share/applications + cp debian/signserver-admingui-local.desktop debian/signserver3.3-admingui/usr/share/applications/ + cp debian/signserver-admingui-ws.desktop debian/signserver3.3-admingui/usr/share/applications/ + mkdir debian/signserver3.3-admingui/usr/bin + + chmod +x debian/signserver3.3-admingui/usr/share/signserver3.3/bin/signserver-gui + ln -sf /usr/share/signserver3.3/bin/signserver-gui debian/signserver3.3-admingui/usr/bin/ + +# Install signserver3.3-client + mkdir -p debian/signserver3.3-client/usr/bin/ + cp -r dist-debian/signserver-client/* debian/signserver3.3-client/ + chmod +x debian/signserver3.3-client/usr/share/signserver3.3/bin/signclient + ln -sf /usr/share/signserver3.3/bin/signclient debian/signserver3.3-client/usr/bin/ + +# Install signserver3.3-server + mkdir -p debian/signserver3.3-server/usr/bin + cp -rv dist-debian/signserver-server/* debian/signserver3.3-server/ + chmod +x debian/signserver3.3-server/usr/share/signserver3.3/bin/signserver + ln -sf /usr/share/signserver3.3/bin/signserver debian/signserver3.3-server/usr/bin/ + + chmod +x debian/signserver3.3-server/usr/share/signserver3.3/bin/ant + ln -sf /usr/share/signserver3.3/bin/ant debian/signserver3.3-server/usr/bin/signant + + chmod +x debian/signserver3.3-server/usr/share/signserver3.3/bin/signserver + chmod +x debian/signserver3.3-server/usr/share/signserver3.3/bin/ant + +# Install signserver3.3-doc + mkdir -p debian/signserver3.3-doc + cp -rv dist-debian/signserver-doc/* debian/signserver3.3-doc/ + + +binary-arch: build install +# Java packages are arch: all, nothing to do here + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install --list-missing --sourcedir=debian/ejbca-util-signserver +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install \ No newline at end of file --- signserver3.3-3.3.0alpha7.orig/debian/oneiric-jars.properties +++ signserver3.3-3.3.0alpha7/debian/oneiric-jars.properties @@ -0,0 +1,69 @@ +# Mappings for Ubuntu 11.10 +# +# Maps from jar files SignServer depends on in SIGNSERVER_HOME/lib/ext to their location in the distribution. +# This file can be used as input to the debian-pkgdist Ant target for creating/replacing jars with symlinks. +# +# Sample usage: +# ant -DmappingsFile=debian/oneiric-jars.properties debian-pkgdist +# +# Version $Id: oneiric-jars.properties 2326 2012-04-25 07:07:19Z netmackan $ +# + +#ejbca-util-signserver +ext/ejbca-util.jar=/usr/share/java/ejbca-util-signserver.jar +ext/cert-cvc.jar=/usr/share/java/cert-cvc.jar +ext/commons-collections-3.2.jar=/usr/share/java/commons-collections3.jar +ext/commons-io-1.4.jar=/usr/share/java/commons-io.jar +ext/commons-logging.jar=/usr/share/java/commons-logging.jar +ext/ext/ejb/jboss-ejb3x.jar=/usr/share/java/jboss-ejb3x.jar +ext/commons-configuration.jar=/usr/share/java/commons-configuration.jar + +#Log4J +ext/log4j.jar=/usr/share/java/log4j-1.2.jar + +#Servlet +ext/ext/servlet-2.3.jar=/usr/share/java/servlet-api-2.5.jar +ext/javaee-web-api-6.0/javaee-web-api-6.0.jar=/usr/share/java/servlet-api-2.5.jar + +#Bouncy Castle +ext/1.6/bcprov-jdk.jar=/usr/share/java/bcprov.jar +ext/1.6/bcmail-jdk.jar=/usr/share/java/bcmail.jar +ext/1.6/bctsp-jdk.jar=/usr/share/java/bctsp.jar + +#Persistence +ext/hibernate/hibernate3.jar=/usr/share/java/hibernate3.jar +ext/hibernate/hibernate-annotations.jar=/usr/share/java/hibernate-annotations.jar +ext/hibernate/hibernate-entitymanager.jar=/usr/share/java/hibernate-entitymanager.jar +ext/hibernate/hibernate-core.jar=/usr/share/java/hibernate-core.jar + +#EJB +ext/ext/ejb/jboss-j2ee.jar=/usr/share/java/glassfish-javaee.jar +ext/hibernate/ejb3-persistence.jar=/usr/share/java/glassfish-javaee.jar +ext/javaee-api-6.0/javaee-api-6.0.jar=/usr/share/java/glassfish-javaee.jar + +#Commons CLI +ext/ext/commons-cli-1.2.jar=/usr/share/java/commons-cli.jar +ext/commons-lang-2.4.jar=/usr/share/java/commons-lang.jar + +#Quartz +ext/quartz/quartz-1.6.0.jar=/usr/share/java/quartz-1.6.6.jar + +#Commons FileUpload +ext/commons-fileupload-1.2.1.jar=/usr/share/java/commons-fileupload.jar + +#Swing Application Framework +ext/swing-app-framework/appframework-1.0.3.jar=/usr/share/java/AppFramework-1.03.jar +ext/swing-app-framework/swing-worker-1.1.jar=/usr/share/java/swing-worker-1.1.jar +ext/beans-binding/beansbinding-1.2.1.jar=/usr/share/java/beansbinding.jar + +#itext +ext/module/pdfsigner/itext/itext.jar=/usr/share/java/itext.jar + +#jfreechart +ext/reports/jfreechart-1.0.9.jar=/usr/share/java/jfreechart.jar +ext/reports/jcommon-1.0.12.jar=/usr/share/java/jcommon.jar + +#velocity +ext/ext/velocity/velocity.jar=/usr/share/java/velocity.jar +ext/ext/xmltask.jar=/usr/share/java/xmltask.jar + --- signserver3.3-3.3.0alpha7.orig/debian/changelog +++ signserver3.3-3.3.0alpha7/debian/changelog @@ -0,0 +1,151 @@ +signserver3.3 (3.3.0alpha7-1markus2) oneiric; urgency=low + + * Added missing runtime dependency + * Fixed symlink to jar + + -- Markus KilÃ¥s Sat, 28 Apr 2012 22:48:18 +0200 + +signserver3.3 (3.3.0alpha7-1markus1) oneiric; urgency=low + + * Depend on Ant >= 1.8 + * New upstream alpha release + + -- Markus KilÃ¥s Fri, 27 Apr 2012 16:05:13 +0200 + +signserver3.3 (3.3.0alpha6-1markus1) oneiric; urgency=low + + * Simplified packaging. + + -- Markus KilÃ¥s Sat, 31 Dec 2011 21:28:55 +0100 + +signserver3.3 (3.3.0alpha5-1markus3) natty; urgency=low + + * Fixing desktop shortcuts. + + -- Markus KilÃ¥s Thu, 29 Dec 2011 20:39:01 +0100 + +signserver3.3 (3.3.0alpha5-1markus2) natty; urgency=low + + * Fixing dependencies. + + -- Markus KilÃ¥s Tue, 27 Dec 2011 22:30:34 +0100 + +signserver3.3 (3.3.0alpha5-1markus1) natty; urgency=low + + * New upstream release. + + -- Markus KilÃ¥s Tue, 27 Dec 2011 15:20:34 +0100 + +signserver3.3 (3.3.0alpha4-1markus7) natty; urgency=low + + * Including Admin GUI splash screen. + + -- Markus KilÃ¥s Tue, 27 Dec 2011 13:45:10 +0100 + +signserver3.3 (3.3.0alpha4-1markus6) natty; urgency=low + + * Added documentation build. + + -- Markus KilÃ¥s Tue, 27 Dec 2011 12:18:53 +0100 + +signserver3.3 (3.3.0alpha4-1markus5) natty; urgency=low + + * Fixed wrapper scripts. + + -- Markus KilÃ¥s Mon, 26 Dec 2011 17:57:07 +0100 + +signserver3.3 (3.3.0alpha4-1markus4) natty; urgency=low + + * New packages. + + -- Markus KilÃ¥s Sun, 25 Dec 2011 21:12:13 +0100 + +signserver3.3 (3.3.0alpha4-1markus3) natty; urgency=low + + * Added missing dependencies. + + -- Markus KilÃ¥s Thu, 22 Dec 2011 10:34:37 +0100 + +signserver3.3 (3.3.0alpha4-1markus2) natty; urgency=low + + * Added missing dependencies. + + -- Markus KilÃ¥s Wed, 21 Dec 2011 20:17:08 +0100 + +signserver3.3 (3.3.0alpha4-1markus1) natty; urgency=low + + * New upstreams release. + + -- Markus KilÃ¥s Wed, 21 Dec 2011 12:54:27 +0100 + +signserver3.3 (3.3.0alpha1-1markus9) natty; urgency=low + + * Fixed commands in debian/rules. + + -- Markus KilÃ¥s Thu, 17 Nov 2011 16:41:38 +0100 + +signserver3.3 (3.3.0alpha1-1markus8) natty; urgency=low + + * Added missing build dependency: libejbca-util-signserver-java. + + -- Markus KilÃ¥s Thu, 17 Nov 2011 09:28:54 +0100 + +signserver3.3 (3.3.0alpha1-1markus7) natty; urgency=low + + * Removed conflicting dependency. + + -- Markus KilÃ¥s Wed, 16 Nov 2011 19:39:52 +0100 + +signserver3.3 (3.3.0alpha1-1markus6) natty; urgency=low + + * Fixed dependencies. + + -- Markus KilÃ¥s Wed, 16 Nov 2011 10:46:54 +0100 + +signserver3.3 (3.3.0alpha1-1markus5) natty; urgency=low + + * Added missing dependencies. + + -- Markus KilÃ¥s Tue, 15 Nov 2011 19:23:50 +0100 + +signserver3.3 (3.3.0alpha1-1markus4) natty; urgency=low + + * Excluding some parts using Ant instead of removing the sources. + + -- Markus KilÃ¥s Sun, 13 Nov 2011 21:51:36 +0100 + +signserver3.3 (3.3.0alpha1-1markus3) natty; urgency=low + + * Including original sources. + + -- Markus KilÃ¥s Sun, 13 Nov 2011 10:00:55 +0100 + +signserver3.3 (3.3.0alpha1-1markus2) natty; urgency=low + + * Improved package. + + -- Markus KilÃ¥s Sat, 12 Nov 2011 21:40:36 +0100 + +signserver3.3 (3.3.0alpha1-1) natty; urgency=low + + * New upstream alpha from SVN (r1910). + + -- Markus KilÃ¥s Sat, 05 Nov 2011 21:16:53 +0200 + +signserver3.2 (3.2.0-b20110320-1) lucid; urgency=low + + * New upstream beta from SVN. + + -- Markus KilÃ¥s Sun, 20 Mar 2011 12:34:33 +0200 + +signserver3.1 (3.1.4-svn-0markus2) lucid; urgency=low + + * Added dependency on ant-optional. + + -- Markus KilÃ¥s Sat, 14 Aug 2010 00:46:28 +0200 + +signserver3.1 (3.1.4-svn-0markus1) lucid; urgency=low + + * Initial release. + + -- Markus KilÃ¥s Fri, 13 Aug 2010 17:27:18 +0200 --- signserver3.3-3.3.0alpha7.orig/debian/compat +++ signserver3.3-3.3.0alpha7/debian/compat @@ -0,0 +1 @@ +7 --- signserver3.3-3.3.0alpha7.orig/debian/source/format +++ signserver3.3-3.3.0alpha7/debian/source/format @@ -0,0 +1 @@ +1.0 --- signserver3.3-3.3.0alpha7.orig/modules/SignServer-AdminGUI/src/org/signserver/admin/gui/resources/SignServerAdminGUIApplication.properties +++ signserver3.3-3.3.0alpha7/modules/SignServer-AdminGUI/src/org/signserver/admin/gui/resources/SignServerAdminGUIApplication.properties @@ -21,7 +21,7 @@ Application.description = A simple GUI for SignServer based on Swing Application Framework Application.vendorId = SignServer.org Application.id = SignServerAdminGUIApplication -Application.lookAndFeel = system +Application.lookAndFeel = com.sun.java.swing.plaf.gtk.GTKLookAndFeel #NOI18N worker.icon=cogwheel_gear_zahnrad_6.png #NOI18N --- signserver3.3-3.3.0alpha7.orig/res/signserver-project.properties +++ signserver3.3-3.3.0alpha7/res/signserver-project.properties @@ -18,7 +18,7 @@ signserver.configfile=/etc/signserver/signserver.conf # Folder: tmp -tmp=${base}/tmp +tmp=/tmp/signserver-${user.name} # Folder: bin bin=${base}/bin @@ -50,7 +50,7 @@ # Output folder for the files to be included in Debian packages debian.pkgdist.destdir=${base}/dist-debian -ear.dist.file=${server.dist.dir}/signserver.ear +ear.dist.file=${tmp}/dist/signserver.ear signserverws.dir=./modules/SignServer-ejb-SignServerWS validationws.dir=./modules/SignServer-ejb-ValidationWS --- signserver3.3-3.3.0alpha7.orig/tmp/conf/jndi.properties +++ signserver3.3-3.3.0alpha7/tmp/conf/jndi.properties @@ -0,0 +1,23 @@ +## $Id: jndi.properties 2015 2011-12-17 16:12:38Z netmackan $ +## + +## Do not edit "jndi.properties" as it will be overwritten! +## Instead edit "jndi.properties.jboss". + +# JBoss properites +java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory +java.naming.provider.url=127.0.0.1:1099 +java.naming.factory.url.pkgs=org.jboss.naming + +## Glassfish properties +#java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFactory +#java.naming.factory.url.pkgs=com.sun.enterprise.naming +#java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl +#org.omg.CORBA.ORBInitialHost=localhost +#org.omg.CORBA.ORBInitialPort=3700 + +# Sample weblogic properties +#java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory +#java.naming.provider.url=t3://127.0.0.1:7001 +#java.naming.security.principal=system +#java.naming.security.credentials=weblogic