~ubuntu-branches/ubuntu/quantal/hal/quantal

« back to all changes in this revision

Viewing changes to debian/patches/10-no-polkit-policy-file-validate-check.patch

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-09-23 17:05:21 UTC
  • Revision ID: james.westby@ubuntu.com-20090923170521-o51tesahn4spvo11
Tags: 0.5.13-1ubuntu5
* Drop support for the obsolete policykit 0.9, so that we don't need to
  carry two stacks:
  - debian/control: Drop libpolkit-dev build dependency and policykit
    dependency.
  - Drop 10-no-polkit-policy-file-validate-check.patch, not necessary any
    more.
  - debian/rules: Configure with --disable-policykit.
  - Add 01_at_console.patch: Allow access to hal functions to local console
    users, in particular the ones which were allowed unauthorized access in
    policykit. Do not allow access to mounting internal storage devices;
    Kubuntu does not use it, and GNOME does not use hal at all.
  - debian/hal.manpages: Drop PK specific manpages which aren't built any
    more.
  - debian/hal.install: Drop installation of PolicyKit files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: hal-0.5.13/configure.in
2
 
===================================================================
3
 
--- hal-0.5.13.orig/configure.in        2009-07-15 08:52:51.000000000 +0200
4
 
+++ hal-0.5.13/configure.in     2009-07-17 01:40:33.000000000 +0200
5
 
@@ -590,7 +590,7 @@
6
 
    AC_CHECK_PROG([POLKIT_POLICY_FILE_VALIDATE],
7
 
                 [polkit-policy-file-validate], [polkit-policy-file-validate])
8
 
    if test -z "$POLKIT_POLICY_FILE_VALIDATE"; then
9
 
-      AC_MSG_ERROR([polkit-policy-file-validate not found])
10
 
+      AC_MSG_WARN([polkit-policy-file-validate not found])
11
 
    fi
12
 
 fi
13
 
 
14
 
Index: hal-0.5.13/configure
15
 
===================================================================
16
 
--- hal-0.5.13.orig/configure   2009-07-15 09:03:05.000000000 +0200
17
 
+++ hal-0.5.13/configure        2009-07-17 01:40:33.000000000 +0200
18
 
@@ -19511,9 +19511,8 @@
19
 
 
20
 
 
21
 
    if test -z "$POLKIT_POLICY_FILE_VALIDATE"; then
22
 
-      { { $as_echo "$as_me:$LINENO: error: polkit-policy-file-validate not found" >&5
23
 
-$as_echo "$as_me: error: polkit-policy-file-validate not found" >&2;}
24
 
-   { (exit 1); exit 1; }; }
25
 
+      { $as_echo "$as_me:$LINENO: WARNING: polkit-policy-file-validate not found" >&5
26
 
+$as_echo "$as_me: WARNING: polkit-policy-file-validate not found" >&2;}
27
 
    fi
28
 
 fi
29