diff options
Diffstat (limited to 'meta/packages/packkagekit')
-rw-r--r-- | meta/packages/packkagekit/files/no_validate.patch | 21 | ||||
-rw-r--r-- | meta/packages/packkagekit/packagekit_0.3.8.bb | 9 |
2 files changed, 26 insertions, 4 deletions
diff --git a/meta/packages/packkagekit/files/no_validate.patch b/meta/packages/packkagekit/files/no_validate.patch new file mode 100644 index 0000000000..f987b567df --- /dev/null +++ b/meta/packages/packkagekit/files/no_validate.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | Index: PackageKit-0.3.8/configure.ac | ||
2 | =================================================================== | ||
3 | --- PackageKit-0.3.8.orig/configure.ac 2008-11-04 21:37:17.000000000 +0000 | ||
4 | +++ PackageKit-0.3.8/configure.ac 2008-11-04 21:37:57.000000000 +0000 | ||
5 | @@ -451,11 +451,11 @@ | ||
6 | polkit-grant >= $POLKIT_GRANT_REQUIRED) | ||
7 | AC_SUBST(POLKIT_CFLAGS) | ||
8 | AC_SUBST(POLKIT_LIBS) | ||
9 | - AC_CHECK_PROG([POLKIT_POLICY_FILE_VALIDATE], | ||
10 | - [polkit-policy-file-validate], [polkit-policy-file-validate]) | ||
11 | - if test -z "$POLKIT_POLICY_FILE_VALIDATE"; then | ||
12 | - AC_MSG_ERROR([polkit-policy-file-validate not found]) | ||
13 | - fi | ||
14 | + #AC_CHECK_PROG([POLKIT_POLICY_FILE_VALIDATE], | ||
15 | + # [polkit-policy-file-validate], [polkit-policy-file-validate]) | ||
16 | + #if test -z "$POLKIT_POLICY_FILE_VALIDATE"; then | ||
17 | + # AC_MSG_ERROR([polkit-policy-file-validate not found]) | ||
18 | + #fi | ||
19 | AC_DEFINE(USE_SECURITY_POLKIT, 1, [if we should use PolicyKit]) | ||
20 | elif test x$with_security_framework = xdummy; then | ||
21 | AC_DEFINE(USE_SECURITY_DUMMY, 1, [if we should use a dummy security framework]) | ||
diff --git a/meta/packages/packkagekit/packagekit_0.3.8.bb b/meta/packages/packkagekit/packagekit_0.3.8.bb index ccac51c01f..7d25d9db10 100644 --- a/meta/packages/packkagekit/packagekit_0.3.8.bb +++ b/meta/packages/packkagekit/packagekit_0.3.8.bb | |||
@@ -1,10 +1,11 @@ | |||
1 | HOMEPAGE = "http://www.packagekit.org/" | 1 | HOMEPAGE = "http://www.packagekit.org/" |
2 | PR = "r4" | 2 | PR = "r5" |
3 | 3 | ||
4 | SRC_URI = "http://www.packagekit.org/releases/PackageKit-0.3.8.tar.gz" | 4 | SRC_URI = "http://www.packagekit.org/releases/PackageKit-0.3.8.tar.gz \ |
5 | file://no_validate.patch;patch=1 " | ||
5 | 6 | ||
6 | DEPENDS = "python polkit pam opkg-sdk" | 7 | DEPENDS = "python polkit pam" |
7 | EXTRA_OECONF = "--disable-qt --disable-tests --enable-yum --with-default-backend=yum --disable-local" | 8 | EXTRA_OECONF = "--disable-qt --disable-tests --enable-yum --with-default-backend=yum --disable-local --with-security-framework=polkit" |
8 | 9 | ||
9 | S = "${WORKDIR}/PackageKit-${PV}" | 10 | S = "${WORKDIR}/PackageKit-${PV}" |
10 | 11 | ||