summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/packagekit
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-12-02 14:30:31 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-12-02 14:30:31 +0000
commit70203a07239213d60165ba9b2d3e4386c99a510c (patch)
treec6fa19c1ce9f798a6370fb12dcecd510636269c1 /meta-moblin/packages/packagekit
parent11f0e58005839d5d3c211062b3bc2628fc80fa95 (diff)
downloadopenembedded-core-70203a07239213d60165ba9b2d3e4386c99a510c.tar.gz
openembedded-core-70203a07239213d60165ba9b2d3e4386c99a510c.tar.bz2
openembedded-core-70203a07239213d60165ba9b2d3e4386c99a510c.zip
Move pam, packagekit, monit and gnet to meta-moblin
Diffstat (limited to 'meta-moblin/packages/packagekit')
-rw-r--r--meta-moblin/packages/packagekit/files/no_validate.patch21
-rw-r--r--meta-moblin/packages/packagekit/packagekit_0.3.8.bb12
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-moblin/packages/packagekit/files/no_validate.patch b/meta-moblin/packages/packagekit/files/no_validate.patch
new file mode 100644
index 0000000000..f987b567df
--- /dev/null
+++ b/meta-moblin/packages/packagekit/files/no_validate.patch
@@ -0,0 +1,21 @@
+Index: PackageKit-0.3.8/configure.ac
+===================================================================
+--- PackageKit-0.3.8.orig/configure.ac 2008-11-04 21:37:17.000000000 +0000
++++ PackageKit-0.3.8/configure.ac 2008-11-04 21:37:57.000000000 +0000
+@@ -451,11 +451,11 @@
+ polkit-grant >= $POLKIT_GRANT_REQUIRED)
+ AC_SUBST(POLKIT_CFLAGS)
+ AC_SUBST(POLKIT_LIBS)
+- AC_CHECK_PROG([POLKIT_POLICY_FILE_VALIDATE],
+- [polkit-policy-file-validate], [polkit-policy-file-validate])
+- if test -z "$POLKIT_POLICY_FILE_VALIDATE"; then
+- AC_MSG_ERROR([polkit-policy-file-validate not found])
+- fi
++ #AC_CHECK_PROG([POLKIT_POLICY_FILE_VALIDATE],
++ # [polkit-policy-file-validate], [polkit-policy-file-validate])
++ #if test -z "$POLKIT_POLICY_FILE_VALIDATE"; then
++ # AC_MSG_ERROR([polkit-policy-file-validate not found])
++ #fi
+ AC_DEFINE(USE_SECURITY_POLKIT, 1, [if we should use PolicyKit])
+ elif test x$with_security_framework = xdummy; then
+ AC_DEFINE(USE_SECURITY_DUMMY, 1, [if we should use a dummy security framework])
diff --git a/meta-moblin/packages/packagekit/packagekit_0.3.8.bb b/meta-moblin/packages/packagekit/packagekit_0.3.8.bb
new file mode 100644
index 0000000000..a38f53685b
--- /dev/null
+++ b/meta-moblin/packages/packagekit/packagekit_0.3.8.bb
@@ -0,0 +1,12 @@
+HOMEPAGE = "http://www.packagekit.org/"
+PR = "r6"
+
+SRC_URI = "http://www.packagekit.org/releases/PackageKit-0.3.8.tar.gz \
+ file://no_validate.patch;patch=1 "
+
+DEPENDS = "python policykit pam"
+EXTRA_OECONF = "--disable-qt --disable-tests --enable-yum --with-default-backend=yum --disable-local --with-security-framework=polkit --disable-gstreamer-plugin"
+
+S = "${WORKDIR}/PackageKit-${PV}"
+
+inherit autotools pkgconfig