diff options
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/yum/createrepo-native/pathfix.patch | 81 | ||||
-rw-r--r-- | meta/packages/yum/createrepo-native_0.9.bb | 13 | ||||
-rw-r--r-- | meta/packages/yum/yum-native_3.2.18.bb | 14 |
3 files changed, 108 insertions, 0 deletions
diff --git a/meta/packages/yum/createrepo-native/pathfix.patch b/meta/packages/yum/createrepo-native/pathfix.patch new file mode 100644 index 0000000000..a09a51ccc9 --- /dev/null +++ b/meta/packages/yum/createrepo-native/pathfix.patch | |||
@@ -0,0 +1,81 @@ | |||
1 | Index: createrepo-0.9/Makefile | ||
2 | =================================================================== | ||
3 | --- createrepo-0.9.orig/Makefile 2008-08-23 17:49:24.000000000 +0100 | ||
4 | +++ createrepo-0.9/Makefile 2008-08-23 17:52:01.000000000 +0100 | ||
5 | @@ -10,22 +10,6 @@ | ||
6 | SHELL = /bin/sh | ||
7 | top_srcdir = . | ||
8 | srcdir = . | ||
9 | -prefix = /usr | ||
10 | -exec_prefix = ${prefix} | ||
11 | - | ||
12 | -bindir = ${exec_prefix}/bin | ||
13 | -sbindir = ${exec_prefix}/sbin | ||
14 | -libexecdir = ${exec_prefix}/libexec | ||
15 | -datadir = ${prefix}/share | ||
16 | -sysconfdir = ${prefix}/etc | ||
17 | -sharedstatedir = ${prefix}/com | ||
18 | -localstatedir = ${prefix}/var | ||
19 | -libdir = ${exec_prefix}/lib | ||
20 | -infodir = ${prefix}/info | ||
21 | -docdir = | ||
22 | -includedir = ${prefix}/include | ||
23 | -oldincludedir = /usr/include | ||
24 | -mandir = ${prefix}/share/man | ||
25 | |||
26 | pkgdatadir = $(datadir)/$(PKGNAME) | ||
27 | pkglibdir = $(libdir)/$(PKGNAME) | ||
28 | Index: createrepo-0.9/bin/Makefile | ||
29 | =================================================================== | ||
30 | --- createrepo-0.9.orig/bin/Makefile 2008-08-23 17:50:13.000000000 +0100 | ||
31 | +++ createrepo-0.9/bin/Makefile 2008-08-23 17:50:23.000000000 +0100 | ||
32 | @@ -1,22 +1,6 @@ | ||
33 | SHELL = /bin/sh | ||
34 | top_srcdir = .. | ||
35 | srcdir = ../bin | ||
36 | -prefix = /usr | ||
37 | -exec_prefix = ${prefix} | ||
38 | - | ||
39 | -bindir = ${exec_prefix}/bin | ||
40 | -sbindir = ${exec_prefix}/sbin | ||
41 | -libexecdir = ${exec_prefix}/libexec | ||
42 | -datadir = ${prefix}/share | ||
43 | -sysconfdir = ${prefix}/etc | ||
44 | -sharedstatedir = ${prefix}/com | ||
45 | -localstatedir = ${prefix}/var | ||
46 | -libdir = ${exec_prefix}/lib | ||
47 | -infodir = ${prefix}/info | ||
48 | -docdir = | ||
49 | -includedir = ${prefix}/include | ||
50 | -oldincludedir = /usr/include | ||
51 | -mandir = ${prefix}/man | ||
52 | |||
53 | pkgdatadir = $(datadir)/$(PKGNAME) | ||
54 | pkglibdir = $(libdir)/$(PKGNAME) | ||
55 | Index: createrepo-0.9/docs/Makefile | ||
56 | =================================================================== | ||
57 | --- createrepo-0.9.orig/docs/Makefile 2008-08-23 17:52:42.000000000 +0100 | ||
58 | +++ createrepo-0.9/docs/Makefile 2008-08-23 17:52:50.000000000 +0100 | ||
59 | @@ -1,22 +1,6 @@ | ||
60 | SHELL = /bin/sh | ||
61 | top_srcdir = .. | ||
62 | srcdir = ../docs | ||
63 | -prefix = /usr | ||
64 | -exec_prefix = ${prefix} | ||
65 | - | ||
66 | -bindir = ${exec_prefix}/bin | ||
67 | -sbindir = ${exec_prefix}/sbin | ||
68 | -libexecdir = ${exec_prefix}/libexec | ||
69 | -datadir = ${prefix}/share | ||
70 | -sysconfdir = ${prefix}/etc | ||
71 | -sharedstatedir = ${prefix}/com | ||
72 | -localstatedir = ${prefix}/var | ||
73 | -libdir = ${exec_prefix}/lib | ||
74 | -infodir = ${prefix}/info | ||
75 | -docdir = | ||
76 | -includedir = ${prefix}/include | ||
77 | -oldincludedir = /usr/include | ||
78 | -mandir = ${datadir}/man | ||
79 | |||
80 | pkgdatadir = $(datadir)/$(PKGNAME) | ||
81 | pkglibdir = $(libdir)/$(PKGNAME) | ||
diff --git a/meta/packages/yum/createrepo-native_0.9.bb b/meta/packages/yum/createrepo-native_0.9.bb new file mode 100644 index 0000000000..e682667c51 --- /dev/null +++ b/meta/packages/yum/createrepo-native_0.9.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | SRC_URI = "http://linux.duke.edu/projects/metadata/generate/createrepo-${PV}.tar.gz \ | ||
2 | file://pathfix.patch;patch=1 " | ||
3 | |||
4 | inherit autotools native | ||
5 | |||
6 | S = "${WORKDIR}/createrepo-${PV}" | ||
7 | |||
8 | do_compile_append () { | ||
9 | sed -e 's#exec /usr/share#exec ${datadir}#' -i ${S}/bin/createrepo | ||
10 | sed -e 's#exec /usr/share#exec ${datadir}#' -i ${S}/bin/modifyrepo | ||
11 | sed -e 's#!/usr/bin/python#!${bindir}/python#' -i ${S}/genpkgmetadata.py | ||
12 | sed -e 's#!/usr/bin/python#!${bindir}/python#' -i ${S}/modifyrepo.py | ||
13 | } | ||
diff --git a/meta/packages/yum/yum-native_3.2.18.bb b/meta/packages/yum/yum-native_3.2.18.bb new file mode 100644 index 0000000000..6657c52d80 --- /dev/null +++ b/meta/packages/yum/yum-native_3.2.18.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | HOMEPAGE = "http://linux.duke.edu/projects/yum/" | ||
2 | |||
3 | SRC_URI = "http://linux.duke.edu/projects/yum/download/3.2/yum-${PV}.tar.gz" | ||
4 | |||
5 | DEPENDS = "rpm-native python-native python-iniparse-native python-urlgrabber-native yum-metadata-parser-native" | ||
6 | |||
7 | S = "${WORKDIR}/yum-${PV}" | ||
8 | |||
9 | inherit autotools native | ||
10 | |||
11 | do_compile_append () { | ||
12 | sed -e 's#!/usr/bin/python#!${bindir}/python#' -e 's#/usr/share#${datadir}#' -i ${S}/bin/yum.py | ||
13 | sed -e 's#!/usr/bin/python#!${bindir}/python#' -e 's#/usr/share#${datadir}#' -i ${S}/bin/yum-updatesd.py | ||
14 | } | ||