diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/pseudo/pseudo.inc | 12 | ||||
-rw-r--r-- | meta/recipes-devtools/pseudo/pseudo_1.3.1.bb | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/pseudo/pseudo_1.4.bb | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/pseudo/pseudo_git.bb | 8 |
4 files changed, 21 insertions, 15 deletions
diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc index 8798018a4b..ac898d2dd7 100644 --- a/meta/recipes-devtools/pseudo/pseudo.inc +++ b/meta/recipes-devtools/pseudo/pseudo.inc | |||
@@ -3,7 +3,7 @@ | |||
3 | # BBFETCH2=True PSEUDO_BUILD=1 ../bitbake/bin/bitbake pseudo-native [-c CMD] | 3 | # BBFETCH2=True PSEUDO_BUILD=1 ../bitbake/bin/bitbake pseudo-native [-c CMD] |
4 | 4 | ||
5 | DESCRIPTION = "Pseudo gives fake root capabilities to a normal user" | 5 | DESCRIPTION = "Pseudo gives fake root capabilities to a normal user" |
6 | HOMEPAGE = "http://wiki.github.com/wrpseudo/pseudo/" | 6 | HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/pseudo" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad" |
8 | SECTION = "base" | 8 | SECTION = "base" |
9 | LICENSE = "LGPL2.1" | 9 | LICENSE = "LGPL2.1" |
@@ -11,6 +11,8 @@ DEPENDS = "sqlite3" | |||
11 | 11 | ||
12 | SRC_URI_append_virtclass-nativesdk = " file://symver.patch" | 12 | SRC_URI_append_virtclass-nativesdk = " file://symver.patch" |
13 | 13 | ||
14 | SRC_URI_append_virtclass-native = " file://symver.patch" | ||
15 | |||
14 | FILES_${PN} = "${libdir}/pseudo/lib*/libpseudo.so ${bindir}/* ${localstatedir}/pseudo ${prefix}/var/pseudo" | 16 | FILES_${PN} = "${libdir}/pseudo/lib*/libpseudo.so ${bindir}/* ${localstatedir}/pseudo ${prefix}/var/pseudo" |
15 | FILES_${PN}-dbg += "${libdir}/pseudo/lib*/.debug" | 17 | FILES_${PN}-dbg += "${libdir}/pseudo/lib*/.debug" |
16 | PROVIDES += "virtual/fakeroot" | 18 | PROVIDES += "virtual/fakeroot" |
@@ -28,9 +30,9 @@ NO32LIBS ??= "1" | |||
28 | # Compile for the local machine arch... | 30 | # Compile for the local machine arch... |
29 | do_compile () { | 31 | do_compile () { |
30 | if [ "${SITEINFO_BITS}" = "64" ]; then | 32 | if [ "${SITEINFO_BITS}" = "64" ]; then |
31 | ${S}/configure --prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib${SITEINFO_BITS} --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=${SITEINFO_BITS} --enable-static-sqlite --without-rpath | 33 | ${S}/configure --prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib${SITEINFO_BITS} --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --cflags="${CFLAGS}" --bits=${SITEINFO_BITS} --enable-static-sqlite --without-rpath |
32 | else | 34 | else |
33 | ${S}/configure --prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=${SITEINFO_BITS} --enable-static-sqlite --without-rpath | 35 | ${S}/configure --prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --cflags="${CFLAGS}" --bits=${SITEINFO_BITS} --enable-static-sqlite --without-rpath |
34 | fi | 36 | fi |
35 | oe_runmake ${MAKEOPTS} | 37 | oe_runmake ${MAKEOPTS} |
36 | } | 38 | } |
@@ -41,6 +43,8 @@ do_compile () { | |||
41 | do_compile_prepend_virtclass-native () { | 43 | do_compile_prepend_virtclass-native () { |
42 | if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then | 44 | if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then |
43 | # We need the 32-bit libpseudo on a 64-bit machine... | 45 | # We need the 32-bit libpseudo on a 64-bit machine... |
46 | # ... and we really, really, hope that the native host is | ||
47 | # x86, or else --bits may not work. | ||
44 | ./configure --prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=32 --without-rpath | 48 | ./configure --prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=32 --without-rpath |
45 | oe_runmake ${MAKEOPTS} libpseudo | 49 | oe_runmake ${MAKEOPTS} libpseudo |
46 | # prevent it from removing the lib, but remove everything else | 50 | # prevent it from removing the lib, but remove everything else |
@@ -51,6 +55,8 @@ do_compile_prepend_virtclass-native () { | |||
51 | do_compile_prepend_virtclass-nativesdk () { | 55 | do_compile_prepend_virtclass-nativesdk () { |
52 | if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then | 56 | if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then |
53 | # We need the 32-bit libpseudo on a 64-bit machine... | 57 | # We need the 32-bit libpseudo on a 64-bit machine... |
58 | # ... and we really, really, hope that the native host is | ||
59 | # x86, or else --bits may not work. | ||
54 | ./configure --prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=32 --without-rpath | 60 | ./configure --prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=32 --without-rpath |
55 | oe_runmake ${MAKEOPTS} libpseudo | 61 | oe_runmake ${MAKEOPTS} libpseudo |
56 | # prevent it from removing the lib, but remove everything else | 62 | # prevent it from removing the lib, but remove everything else |
diff --git a/meta/recipes-devtools/pseudo/pseudo_1.3.1.bb b/meta/recipes-devtools/pseudo/pseudo_1.3.1.bb deleted file mode 100644 index d64e0e5b04..0000000000 --- a/meta/recipes-devtools/pseudo/pseudo_1.3.1.bb +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | require pseudo.inc | ||
2 | |||
3 | PR = "r11" | ||
4 | |||
5 | SRC_URI = "http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2" | ||
6 | |||
7 | SRC_URI[md5sum] = "aa7dbe925d065187833e1171746e9a94" | ||
8 | SRC_URI[sha256sum] = "dc896c06b0f5bc253faaeb21ed78157db7ef7553e3ecae15a1eb6faf64942110" | ||
diff --git a/meta/recipes-devtools/pseudo/pseudo_1.4.bb b/meta/recipes-devtools/pseudo/pseudo_1.4.bb new file mode 100644 index 0000000000..e1e1f6f520 --- /dev/null +++ b/meta/recipes-devtools/pseudo/pseudo_1.4.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require pseudo.inc | ||
2 | |||
3 | PR = "r12" | ||
4 | |||
5 | SRC_URI = "http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2" | ||
6 | |||
7 | SRC_URI[md5sum] = "bc04c6c9d13cfdb789ffc2f3cca9ab08" | ||
8 | SRC_URI[sha256sum] = "147fa7b177061a145d330b9e159529a185be94550f123c6acb0d3b75d480c5b4" | ||
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index 2f58072f36..27ae4b2e27 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb | |||
@@ -1,12 +1,12 @@ | |||
1 | require pseudo.inc | 1 | require pseudo.inc |
2 | 2 | ||
3 | SRCREV = "2e0189ba5368b1e88d509d0ab82bccb15cfb3653" | 3 | SRCREV = "9b792e4cb91bc22374f47d0b0902dbc4ecd7d6dd" |
4 | PV = "1.3.1+git${SRCPV}" | 4 | PV = "1.4+git${SRCPV}" |
5 | PR = "r26" | 5 | PR = "r27" |
6 | 6 | ||
7 | DEFAULT_PREFERENCE = "-1" | 7 | DEFAULT_PREFERENCE = "-1" |
8 | 8 | ||
9 | SRC_URI = "git://github.com/wrpseudo/pseudo.git;protocol=git" | 9 | SRC_URI = "git://git.yoctoproject.org/pseudo;protocol=git" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||