deb 包中的版权文件 - 如何 [英] copyright file in deb package - how to

查看:32
本文介绍了deb 包中的版权文件 - 如何的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I'm trying to create a deb package from binaries but I have a problem with copyright file. If I place a file named copyright inside DEBIAN folder it complains of two things:

  • Missing copyright
  • Unknown control file copyright

If I place it under /usr/share/doc or /usr/share/doc/mypackage it does not complain at all but, in any case, when I open generated debian package, Ubuntu Software Center states License: Unknown

Using: ubuntu raring

Executing fakeroot dpkg-deb -z8 -Zgzip --build myproj

Copyright file looks as follows:

Format: http://dep.debian.net/deps/dep5
Upstream-Name: myproj
Source:


Files: *
Copyright: 2013 myproj. All rights reserved.
License: Limited Use Software License Agreement
 License Text Here

解决方案

Apparently the "Unknown" issue in Ubuntu Software Center is not an issue and cannot be solved for the moment. From ubuntu lists, Feb'13 thread:

Your copyright file looks perfect. Unfortunately, software-center still doesn't actually parse the copyright file to gather that information. It seems to use "License: Open Source" or everything in Ubuntu main and universe, "Proprietary" for things in restricted, and "Unknown" for everything else. There is an open bug report about the issue here:

https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/435183

They started working in the issue in July

这篇关于deb 包中的版权文件 - 如何的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆