diff options
Diffstat (limited to 'meta/recipes-devtools/opkg-utils/opkg-utils/add-license-field.patch')
-rw-r--r-- | meta/recipes-devtools/opkg-utils/opkg-utils/add-license-field.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils/add-license-field.patch b/meta/recipes-devtools/opkg-utils/opkg-utils/add-license-field.patch deleted file mode 100644 index 0d3345972f..0000000000 --- a/meta/recipes-devtools/opkg-utils/opkg-utils/add-license-field.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | Add knowledge about License field in ipk headers | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
6 | |||
7 | Index: opkg-utils/opkg.py | ||
8 | =================================================================== | ||
9 | --- opkg-utils.orig/opkg.py 2010-11-01 04:52:35.000000000 -0700 | ||
10 | +++ opkg-utils/opkg.py 2011-07-13 15:18:03.900037344 -0700 | ||
11 | @@ -145,6 +145,7 @@ | ||
12 | self.priority = None | ||
13 | self.tags = None | ||
14 | self.fn = fn | ||
15 | + self.license = None | ||
16 | |||
17 | if fn: | ||
18 | # see if it is deb format | ||
19 | @@ -319,6 +320,12 @@ | ||
20 | def get_section(self, section): | ||
21 | return self.section | ||
22 | |||
23 | + def set_license(self, license): | ||
24 | + self.license = license | ||
25 | + | ||
26 | + def get_license(self, license): | ||
27 | + return self.license | ||
28 | + | ||
29 | def get_file_list(self): | ||
30 | if not self.fn: | ||
31 | return [] | ||
32 | @@ -425,6 +432,7 @@ | ||
33 | if self.description: out = out + "Description: %s\n" % (self.description) | ||
34 | if self.oe: out = out + "OE: %s\n" % (self.oe) | ||
35 | if self.homepage: out = out + "HomePage: %s\n" % (self.homepage) | ||
36 | + if self.license: out = out + "License: %s\n" % (self.license) | ||
37 | if self.priority: out = out + "Priority: %s\n" % (self.priority) | ||
38 | if self.tags: out = out + "Tags: %s\n" % (self.tags) | ||
39 | out = out + "\n" | ||