mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Violette Roche-Montane
21.47.2013 58d38c7d3e2709cc84da8729998350536069cb45
Partial fix for OPENDJ-1114 Improve the DEB package
- copyright added
- doc section added (to complete)
1 files added
1 files modified
125 ■■■■■ changed files
opends/build.xml 19 ●●●●● patch | view | raw | blame | history
opends/resource/debian/copyright 106 ●●●●● patch | view | raw | blame | history
opends/build.xml
@@ -1492,8 +1492,9 @@
    <getversionnumber property="VERSION_NUMBER_STRING" />
    <property name="prefix"    value="/opt/opendj"/>
    <property name="release"   value="1"/>
    <property name="prefix"      value="/opt/opendj"/>
    <property name="release"     value="1"/>
    <property name="docprefix"   value="/usr/share/doc/opendj"/>
    <mkdir dir="${build.dir}/deb/control" />
@@ -1511,21 +1512,21 @@
    </copy>
    <!--        Debian files for preinst/postinstall/preuninstall/postuninstall -->
    <copy todir="${build.dir}/deb/control">
        <fileset dir="resource/debian/control"/>
    </copy>
    <copy file="resource/debian/copyright" tofile="${package.dir}/${SHORT_NAME}-${VERSION_NUMBER_STRING}/copyright" />
    <replace dir="${build.dir}/deb/control/" token="@prefix@" value="${prefix}" />
    <deb destfile="${package.dir}/${PKG_NAME}_${pkg_version_string}-${release}${pkg_version_qualifier}_all.deb"
         control="${build.dir}/deb/control" verbose="false">
                  control="${build.dir}/deb/control" verbose="false">
      <tarfileset dir="${package.dir}/${SHORT_NAME}-${VERSION_NUMBER_STRING}"
                  includes="**/*"
                  excludes="**/bat/**, **/QuickSetup.app/**, **/Uninstall.app/**, **/*ControlPanel.app*/**, **/*.bat*, **/*.exe*, bin/*, template/**/*,lib/_client-script.sh,lib/_script-util.sh,lib/_server-script.sh,lib/_mixed-script.sh,setup,uninstall,upgrade"
                  excludes="**/bat/**, **/*.app/**, **/*.bat*, **/*.exe*, bin/*, template/**/*, lib/*.sh, setup, uninstall, upgrade, legal-notices/**, copyright"
                  prefix="${prefix}" filemode="644" dirmode="755" />
      <tarfileset dir="${package.dir}/${SHORT_NAME}-${VERSION_NUMBER_STRING}"
                  includes="lib/_client-script.sh,lib/_script-util.sh,lib/_server-script.sh,lib/_mixed-script.sh"
      <tarfileset dir="${package.dir}/${SHORT_NAME}-${VERSION_NUMBER_STRING}" includes="lib/*.sh"
                  prefix="${prefix}" filemode="755" dirmode="755" />
      <tarfileset dir="${package.dir}/${SHORT_NAME}-${VERSION_NUMBER_STRING}" includes="bin/*"
                  excludes="bin/README_WINDOWS.txt, **/bin/ControlPanel.app/"
@@ -1533,7 +1534,9 @@
      <tarfileset dir="${package.dir}/${SHORT_NAME}-${VERSION_NUMBER_STRING}" includes="setup,uninstall,upgrade"
                  prefix="${prefix}" filemode="755" dirmode="755" />
      <tarfileset dir="${package.dir}/${SHORT_NAME}-${VERSION_NUMBER_STRING}" includes="template/**/*"
                  prefix="${prefix}" filemode="444" dirmode="744" />
                  prefix="${prefix}" filemode="444" dirmode="744" />
      <tarfileset dir="${package.dir}/${SHORT_NAME}-${VERSION_NUMBER_STRING}" includes="legal-notices/**, copyright"
                  prefix="${docprefix}" filemode="755" dirmode="744" />
    </deb>
  </target>
opends/resource/debian/copyright
New file
@@ -0,0 +1,106 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: opendj
Upstream-Contact: Forgerock <opendj@forgerock.org>
Source: http://opendj.forgerock.org/
Files: *
Copyright: 2013 ForgeRock AS
License: CDDL
 CDDL HEADER START
 .
 The contents of this file are subject to the terms of the
 Common Development and Distribution License, Version 1.0 only
 (the "License").  You may not use this file except in compliance
 with the License.
 .
 You can obtain a copy of the license at
 trunk/opendj3/legal-notices/CDDLv1_0.txt
 or http://forgerock.org/license/CDDLv1.0.html.
 See the License for the specific language governing permissions
 and limitations under the License.
 .
 When distributing Covered Code, include this CDDL HEADER in each
 file and include the License file at
 trunk/opendj3/legal-notices/CDDLv1_0.txt.  If applicable,
 add the following below this CDDL HEADER, with the fields enclosed
 by brackets "[]" replaced with your own identifying information:
      Portions Copyright [yyyy] [name of copyright owner]
 .
 CDDL HEADER END
 .
 --------------------------------------------------------------------
 Unless otherwise noted, all files in this distribution are released
 under the Common Development and Distribution License (CDDL).
 Exceptions are noted within the associated source files.
 --------------------------------------------------------------------
Files: lib/je.jar
License: LICENSE,v 1.12 2008/01/07 14:28:36 cwl Exp $
The following is the license that applies to this copy of the Berkeley
DB Java Edition software.  For a license to use the Berkeley DB Java
Edition software under conditions other than those described here, or
to purchase support for this software, please contact Oracle at
berkeleydb-info_us@oracle.com.
Files: lib/je.jar
Copyright: (c) 2002,2008 Oracle.  All rights reserved.
License : Oracle
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
 3. Redistributions in any form must be accompanied by information on
    how to obtain complete source code for the DB software and any
    accompanying software that uses the DB software.  The source code
    must either be included in the distribution or be available for no
    more than the cost of distribution plus a nominal fee, and must be
    freely redistributable under reasonable conditions.  For an
    executable file, complete source code means the source code for all
    modules it contains.  It does not include source code for modules or
    files that typically accompany the major components of the operating
    system on which the executable file runs.
 .
 THIS SOFTWARE IS PROVIDED BY ORACLE ``AS IS'' AND ANY EXPRESS OR
 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
 NON-INFRINGEMENT, ARE DISCLAIMED.  IN NO EVENT SHALL ORACLE BE LIABLE
 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
 OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
 IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Files: lib/je.jar
Copyright: (c) 2000-2005 INRIA, France Telecom
License: France Telecom
 ASM: a very small and fast Java bytecode manipulation framework
 All rights reserved.
 .
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
 3. Neither the name of the copyright holders nor the names of its
    contributors may be used to endorse or promote products derived from
    this software without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 THE POSSIBILITY OF SUCH DAMAGE.