summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2013-02-19 19:27:14 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-22 06:09:23 -0800
commit13bf43f371201aa54cdfd0909762e32bfc23c1ea (patch)
tree10a90d45f3726f1b10c7ed9ecd1d04a12d1f3b3d /meta/recipes-extended
parentf841c83c8f6df112593403db51bc15f8b50125fd (diff)
downloadpoky-13bf43f371201aa54cdfd0909762e32bfc23c1ea.tar.gz
man: Remove wildcard from SRC_URI
[ CQID: WIND00402802 ] Remove the wildcard from the SRC_URI. This causes problems when you .bbappend and add a FILESEXTRAPATHS entry. The unpack task may be unable to find the files to unpack leading to an error. Avoid wildcards at all costs... Note, remove both man-1.5m2-multiple.patch and man-1.6e-lzma+xz-support.patch, they were not being applied in the previous version. The later also fails to apply when added to the SRC_URI. (From OE-Core rev: 61b60906b2825d4f9ea1f5ae11e1f9fcc77ac4e7) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/man/man/man-1.5m2-multiple.patch22
-rw-r--r--meta/recipes-extended/man/man/man-1.6e-lzma+xz-support.patch124
-rw-r--r--meta/recipes-extended/man/man_1.6g.bb47
3 files changed, 25 insertions, 168 deletions
diff --git a/meta/recipes-extended/man/man/man-1.5m2-multiple.patch b/meta/recipes-extended/man/man/man-1.5m2-multiple.patch
deleted file mode 100644
index ec06ab7833..0000000000
--- a/meta/recipes-extended/man/man/man-1.5m2-multiple.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1Upstream-Status: Pending
2
3Signed-off-by: Scott Garman <scott.a.garman@intel.com>
4
5--- man-1.5m2/src/manfile.c_multiple 2006-12-08 23:42:17.000000000 +0100
6+++ man-1.5m2/src/manfile.c 2006-12-09 00:00:01.000000000 +0100
7@@ -25,9 +25,12 @@
8
9 if (a) {
10 if (*head) {
11- p = *head;
12- while(p->next)
13- p = p->next;
14+ for (p = *head; p->next; p = p->next) {
15+ if(!strcmp (p->filename, a->filename))
16+ return;
17+ }
18+ if(!strcmp (p->filename, a->filename))
19+ return;
20 p->next = a;
21 } else
22 *head = a;
diff --git a/meta/recipes-extended/man/man/man-1.6e-lzma+xz-support.patch b/meta/recipes-extended/man/man/man-1.6e-lzma+xz-support.patch
deleted file mode 100644
index aae980fc7f..0000000000
--- a/meta/recipes-extended/man/man/man-1.6e-lzma+xz-support.patch
+++ /dev/null
@@ -1,124 +0,0 @@
1Upstream-Status: Pending
2
3Signed-off-by: Scott Garman <scott.a.garman@intel.com>
4
5Index: man-1.6f/configure
6===================================================================
7--- man-1.6f.orig/configure 2010-12-29 14:00:35.000000000 -0800
8+++ man-1.6f/configure 2010-12-29 14:27:57.584431711 -0800
9@@ -1027,7 +1027,7 @@
10 then
11 DO_COMPRESSION=true
12 compress=
13- for i in lzma bzip2 gzip bzip tzip pack compress freeze yabba
14+ for i in xz lzma bzip2 gzip bzip tzip pack compress freeze yabba
15 do
16 eval F$i=missing
17 for j in $DEFPATH
18@@ -1080,6 +1080,7 @@
19 fi
20
21 case $compress in
22+ *xz*) ext=".xz" ;;
23 *lzma*) ext=".lzma" ;;
24 *bzip2*) ext=".bz2" ;;
25 *gzip*) ext=".gz" ;;
26@@ -1123,7 +1124,7 @@
27 fi
28
29 # unconditionally handle uncompression
30-UNCOMPRESSORS="unlzma gunzip bzip2 pcat zcat fcat unyabba"
31+UNCOMPRESSORS="unxz unlzma gunzip bzip2 pcat zcat fcat unyabba"
32 for i in $UNCOMPRESSORS
33 do
34 eval F$i=missing
35@@ -1144,6 +1145,10 @@
36 if [ $Fbzip2 != missing ]; then
37 bzip2="$Fbzip2 -c -d"
38 fi
39+unxz=missing
40+if [ $Funxz != missing ]; then
41+ unxz="$Funxz -c -d"
42+fi
43 unlzma=missing
44 if [ $Funlzma != missing ]; then
45 unlzma="$Funlzma -c -d"
46@@ -1176,6 +1181,9 @@
47 bzip2)
48 echo "Command to use for .bz2 files (standard bzip2)"
49 echo $n "[`eval echo \\$$filter`] $c" ;;
50+ xz)
51+ echo "Command to use for .xz files (standard xz)"
52+ echo $n "[`eval echo \\$$filter`] $c" ;;
53 lzma)
54 echo "Command to use for .lzma files (standard lzma)"
55 echo $n "[`eval echo \\$$filter`] $c" ;;
56@@ -1240,6 +1248,7 @@
57 case $compress_ext in
58 .gz) decompress=$gunzip ;;
59 .bz2) decompress=$bzip2 ;;
60+ .xz) decompress=$unxz ;;
61 .lzma) decompress=$unlzma ;;
62 .z) decompress=$pcat ;;
63 .Z) decompress=$zcat ;;
64@@ -1333,6 +1342,7 @@
65 s,@zcat@,$zcat,
66 s,@gunzip@,$gunzip,
67 s,@bzip2@,$bzip2,
68+s,@unxz@,$unxz,
69 s,@unlzma@,$unlzma,
70 s,@unyabba@,$unyabba,
71 s,@compress@,$compress,
72Index: man-1.6f/src/makewhatis.sh
73===================================================================
74--- man-1.6f.orig/src/makewhatis.sh 2010-12-29 14:00:35.000000000 -0800
75+++ man-1.6f/src/makewhatis.sh 2010-12-29 14:16:18.821555314 -0800
76@@ -242,7 +242,7 @@
77 find $mandir/${pages}$i/. -name '*' $findarg0 $findarg -print | LC_ALL=C $AWK -v MAN_NAME="$MAN_NAME" -v MAN_DESCRIPTION="$MAN_DESCRIPTION" '
78
79 function readline() {
80- if (use_zcat || use_bzcat || use_lzcat) {
81+ if (use_zcat || use_bzcat || use_lzcat || use_xzcat) {
82 result = (pipe_cmd | getline);
83 if (result < 0) {
84 print "Pipe error: " pipe_cmd " " ERRNO > "/dev/stderr";
85@@ -257,7 +257,7 @@
86 }
87
88 function closeline() {
89- if (use_zcat || use_bzcat || use_lzcat) {
90+ if (use_zcat || use_bzcat || use_lzcat || use_xzcat) {
91 return close(pipe_cmd);
92 } else {
93 return close(filename);
94@@ -278,7 +278,9 @@
95 use_bzcat = match(filename,"\\.bz2");
96 if(!use_bzcat)
97 use_lzcat = match(filename,"\\.lzma");
98- if (use_zcat || use_bzcat || use_lzcat ) {
99+ if(!use_xzcat)
100+ use_xzcat = match(filename,"\\.xz");
101+ if (use_zcat || use_bzcat || use_lzcat || use_xzcat ) {
102 filename_no_gz = substr(filename, 0, RSTART - 1);
103 } else {
104 filename_no_gz = filename;
105@@ -291,14 +293,16 @@
106 actual_section = section;
107 }
108 sub(/\..*/, "", progname);
109- if (use_zcat || use_bzcat || use_lzcat) {
110+ if (use_zcat || use_bzcat || use_lzcat || use_xzcat) {
111 if (use_zcat) {
112 pipe_cmd = "zcat \"" filename "\"";
113 } else if (use_bzcat) {
114 pipe_cmd = "bzcat \"" filename "\"";
115- } else {
116+ } else if (use_lzcat) {
117 pipe_cmd = "lzcat \"" filename "\"";
118- }
119+ } else {
120+ pipe_cmd = "xzcat \"" filename "\"";
121+ }
122 # try to avoid suspicious stuff
123 if (filename ~ /[;&|`$(]/) {
124 print "ignored strange file name " filename " in " curdir > "/dev/stderr";
diff --git a/meta/recipes-extended/man/man_1.6g.bb b/meta/recipes-extended/man/man_1.6g.bb
index a2d6acefa6..a66e01cb9a 100644
--- a/meta/recipes-extended/man/man_1.6g.bb
+++ b/meta/recipes-extended/man/man_1.6g.bb
@@ -5,36 +5,39 @@ HOMEPAGE = "http://primates.ximian.com/~flucifredi/man"
5LICENSE = "GPLv2" 5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" 6LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
7 7
8PR = "r0" 8PR = "r1"
9 9
10DEPENDS = "groff less" 10DEPENDS = "groff less"
11 11
12SRC_URI = "http://primates.ximian.com/~flucifredi/${BPN}/${BPN}-${PV}.tar.gz \ 12SRC_URI = "http://primates.ximian.com/~flucifredi/${BPN}/${BPN}-${PV}.tar.gz \
13 file://man-1.5k-confpath.patch;striplevel=0 \ 13 file://man-1.5k-confpath.patch;striplevel=0 \
14 file://man-1.5h1-make.patch; \ 14 file://man-1.5h1-make.patch \
15 file://man-1.5k-nonascii.patch; \ 15 file://man-1.5k-nonascii.patch \
16 file://man-1.6e-security.patch; \ 16 file://man-1.6e-security.patch \
17 file://man-1.6e-mandirs.patch; \ 17 file://man-1.6e-mandirs.patch \
18 file://man-1.5m2-bug11621.patch; \ 18 file://man-1.5m2-bug11621.patch \
19 file://man-1.5k-sofix.patch; \ 19 file://man-1.5k-sofix.patch \
20 file://man-1.5m2-buildroot.patch; \ 20 file://man-1.5m2-buildroot.patch \
21 file://man-1.6e-ro_usr.patch; \ 21 file://man-1.6e-ro_usr.patch \
22 file://man-1.5i2-newline.patch;striplevel=0 \ 22 file://man-1.5i2-newline.patch;striplevel=0 \
23 file://man-1.5j-utf8.patch; \ 23 file://man-1.5j-utf8.patch \
24 file://man-1.5i2-overflow.patch; \ 24 file://man-1.5i2-overflow.patch \
25 file://man-1.5j-nocache.patch; \ 25 file://man-1.5j-nocache.patch \
26 file://man-1.5i2-initial.patch; \ 26 file://man-1.5i2-initial.patch \
27 file://man-1.5h1-gencat.patch;striplevel=0 \ 27 file://man-1.5h1-gencat.patch;striplevel=0 \
28 file://man-1.5g-nonrootbuild.patch; \ 28 file://man-1.5g-nonrootbuild.patch \
29 file://man-1.5m2-tv_fhs.patch;striplevel=0 \ 29 file://man-1.5m2-tv_fhs.patch;striplevel=0 \
30 file://man-1.5j-i18n.patch; \ 30 file://man-1.5j-i18n.patch \
31 file://man-1.6e-whatis2.patch; \ 31 file://man-1.6e-whatis2.patch \
32 file://man-1.6e-use_i18n_vars_in_a_std_way.patch; \ 32 file://man-1.6e-use_i18n_vars_in_a_std_way.patch \
33 file://man-1.5m2-no-color-for-printing.patch; \ 33 file://man-1.5m2-no-color-for-printing.patch \
34 file://man-1.5m2-sigpipe.patch; \ 34 file://man-1.5m2-sigpipe.patch \
35 file://man-1.6e-i18n_whatis.patch; \ 35 file://man-1.6e-i18n_whatis.patch \
36 file://man-1.6e-new_sections.patch; \ 36 file://man-1.6e-new_sections.patch \
37 file://man*" 37 file://man.1.gz;unpack=false \
38 file://man.7.gz;unpack=false \
39 file://man.conf \
40 file://manpath.5.gz;unpack=false"
38 41
39SRC_URI[md5sum] = "ba154d5796928b841c9c69f0ae376660" 42SRC_URI[md5sum] = "ba154d5796928b841c9c69f0ae376660"
40SRC_URI[sha256sum] = "ccdcb8c3f4e0080923d7e818f0e4a202db26c46415eaef361387c20995b8959f" 43SRC_URI[sha256sum] = "ccdcb8c3f4e0080923d7e818f0e4a202db26c46415eaef361387c20995b8959f"