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

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

问题描述

我正在尝试从二进制文件创建一个deb程序包,但是版权文件有问题. 如果我在DEBIAN文件夹中放置一个名为copyright的文件,它将抱怨两件事:

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:

  • 缺少版权
  • 控制文件版权未知

如果我将其放在/usr/share/doc/usr/share/doc/mypackage下,则完全没有抱怨,但是无论如何,当我打开生成的debian软件包时,Ubuntu软件中心会声明许可证:未知

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

使用:ubuntu raring

Using: ubuntu raring

执行fakeroot dpkg-deb -z8 -Zgzip --build myproj

版权文件如下:

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

推荐答案

显然,Ubuntu软件中心中的未知"问题不是问题,暂时无法解决. 从Ubuntu列表中,13年2月的线程:

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:

您的版权文件看起来很完美.不幸的是,软件中心 仍然没有真正解析版权文件来收集 信息.似乎使用许可证:开源"或其中的所有内容 Ubuntu main和Universe,"Proprietary"(专有)用于受限制的事物,以及 对于其他所有内容,未知".有一个关于 问题在这里:

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

他们从7月开始研究该问题

They started working in the issue in July

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

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