]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
debian: handle copyright information for pocketsphinx
authorTravis Cross <tc@traviscross.com>
Sun, 13 May 2012 05:59:03 +0000 (05:59 +0000)
committerTravis Cross <tc@traviscross.com>
Sun, 13 May 2012 20:54:32 +0000 (20:54 +0000)
Debian expects all copyright information to be in one place, so we
copy the license details to debian/copyright and remove the COPYING
files when we install components.

debian/copyright
debian/rules

index 658614828f50806a9f5f7e9b73ef3f0fbf791fed..732b2b7d0cf764205ea73a0214c942a001ef284b 100644 (file)
@@ -23,3 +23,41 @@ License: MPL
  for the specific language governing rights and limitations under the
  License.
 
+Files: libs/pocketsphinx*
+Copyright: 2010 Carnegie Mellon University
+ /* ====================================================================
+  * Copyright (c) 1999-2010 Carnegie Mellon University.  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.
+  *
+  * This work was supported in part by funding from the Defense Advanced 
+  * Research Projects Agency and the National Science Foundation of the 
+  * United States of America, and the CMU Sphinx Speech Consortium.
+  *
+  * THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND 
+  * ANY EXPRESSED 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 CARNEGIE MELLON UNIVERSITY
+  * NOR ITS EMPLOYEES 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.
+  *
+  * ====================================================================
+  *
+  */
+
index 98b31607f43832a18190bace570ae92be1c29218..60c521094037764020d76bdd54cbb7fa7aca5674 100755 (executable)
@@ -93,6 +93,7 @@ override_dh_auto_install:
        -$(FS_INSTALL_SOUNDS) && DESTDIR=debian/tmp make cd-sounds-install cd-moh-install
        mkdir -p debian/tmp/lib/systemd/system
        install -m0644 debian/freeswitch-systemd.freeswitch.service debian/tmp/lib/systemd/system/freeswitch.service
+       rm -f debian/tmp/usr/share/freeswitch/grammar/model/communicator/COPYING
 
 override_dh_installinit:
        dh_installinit -pfreeswitch-sysvinit --name=freeswitch