~apparmor-dev/apparmor/apparmor-ubuntu-citrain-trusty

« back to all changes in this revision

Viewing changes to debian/patches/0007-aa-utils_are_bilingual.patch

  • Committer: Seth Arnold
  • Date: 2014-03-12 02:05:16 UTC
  • mto: This revision was merged to the branch mainline in revision 1496.
  • Revision ID: seth.arnold@canonical.com-20140312020516-zjike3pmw6hi861h
[ Jamie Strandboge ]
 * debian/debhelper/dh_apparmor: exit with error if aa-easyprof does not
   exist
 * debian/control: drop Depends on apparmor-easyprof to Suggests for
   dh-apparmor
[ Seth Arnold, Jamie Strandboge, Steve Beattie, John Johansen, Tyler Hicks ]
* New upstream snapshot (LP: #1278702, #1061693, #1285653) dropping very
  large Ubuntu delta and fixing the following bugs:
  - Adjust fonts abstraction for libthai (LP: #1278702)
  - Support translated XDG user directories (LP: #1061693)
  - Adjust abstractions/web-data to include /var/www/html (LP: #1285653)
    Refresh 0002-add-debian-integration-to-lighttpd.patch to include
    /etc/lighttpd/conf-available/*.conf
  - Adjust debian/libapparmor1.symbols to reflect new upstream versioning
    for the aa_query_label() function
  - Raise exceptions in Python bindings when something fails
* ship new Python replacements for previous Perl-based tools
  - debian/apparmor-utils.install: remove usr/share/perl5/Immunix/*.pm and add
    usr/sbin/aa-autodep, usr/sbin/aa-cleanprof and usr/sbin/aa-mergeprof
  - debian/control:
    + remove various Perl dependencies
    + add python-apparmor and python3-apparmor
    + python3-apparmor Breaks: apparmor-easyprof to move the file since it
      ships dist-packages/apparmor/__init__.py now
  - debian/apparmor-utils.manpages: ship new manpages for aa-cleanprof and
    aa-mergeprof
  - debian/rules: build and install Python tools
* debian/apparmor.install:
  - install apparmorfs, dovecot, kernelvars, securityfs, sys,
    and xdg-user-dirs tunables and xdg-user-dirs.d directory
* debian/apparmor.dirs:
  - install /etc/apparmor.d/tunables/xdg-user-dirs.d
* debian/apparmor.postinst: create xdg-user-dirs.d
* debian/apparmor.postrm: remove xdg-user-dirs.d
* Remaining patches:
  - 0001-add-chromium-browser.patch
  - 0002-add-debian-integration-to-lighttpd.patch
  - 0003-ubuntu-manpage-updates.patch
  - 0004-libapparmor-layout-deb.patch (renamed from 0008)
  - 0005-libapparmor-mention-dbus-method-in-getcon-man.patch (renamed from
    0068)
  - 0006-etc-writable.patch (renamed from 0070)
  - 0007-aa-utils_are_bilingual.patch (renamed from 0077)
  - 0008-remove-ptrace.patch
  - 0009-convert-to-rules.patch
  - 0010-list-fns.patch
  - 0011-parse-mode.patch
  - 0012-add-decimal-interp.patch
  - 0013-policy_mediates.patch
  - 0014-fix-failpath.patch
  - 0015-feature_file.patch
  - 0016-fix-network.patch
  - 0017-aare-to-class.patch
  - 0018-add-mediation-unix.patch
  - 0019-parser_version.patch
  - 0020-caching.patch
  - 0021-label-class.patch
  - 0022-signal.patch
  - 0023-fix-lexer-debug.patch
  - 0024-ptrace.patch
  - 0025-use-diff-encode.patch
  - 0026-fix-serialize.patch
  - 0027-fix-af.patch
  - 0028-opt_arg.patch
  - 0029-tests-cond-dbus.patch
  - 0030-tests.diff
* Move manpages from libapparmor1 to libapparmor-dev
  - debian/libapparmor-dev.manpages: install aa_change_hat.2,
    aa_change_profile.2, aa_find_mountpoint.2, aa_getcon.2
  - debian/control: libapparmor-dev Replaces: and Breaks: libapparmor1
* Move /usr/lib/python3/dist-packages/apparmor/__init__.py from
  apparmor-easyprof to python3-apparmor
  - debian/control: python3-apparmor Breaks: apparmor-easyprof
  - debian/apparmor-easyprof.install: remove
    usr/lib/python*.*/site-packages/apparmor*
* New profiles and abstractions:
  - debian/apparmor.install: tunables/dovecot, tunables/kernelvars,
    tunables/xdg-user-dirs, tunables/xdg-user-dirs.d
* Test merge from upstream new pyutils branch (rev 2385)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: Jamie Strandboge <jamie@canonical.com>
 
2
Description: aa-status was written to work with python 2 or 3. Upstream is
 
3
 still using 2, so adjust ours to use /usr/bin/python3 to avoid pulling
 
4
 python 2 back to the desktop images
 
5
Forwarded: no
 
6
---
 
7
 utils/aa-audit      |    2 +-
 
8
 utils/aa-autodep    |    2 +-
 
9
 utils/aa-cleanprof  |    2 +-
 
10
 utils/aa-complain   |    2 +-
 
11
 utils/aa-disable    |    2 +-
 
12
 utils/aa-enforce    |    2 +-
 
13
 utils/aa-genprof    |    2 +-
 
14
 utils/aa-logprof    |    2 +-
 
15
 utils/aa-mergeprof  |    2 +-
 
16
 utils/aa-status     |    2 +-
 
17
 utils/aa-unconfined |    2 +-
 
18
 11 files changed, 11 insertions(+), 11 deletions(-)
 
19
 
 
20
Index: b/utils/aa-status
 
21
===================================================================
 
22
--- a/utils/aa-status
 
23
+++ b/utils/aa-status
 
24
@@ -1,4 +1,4 @@
 
25
-#! /usr/bin/env python
 
26
+#!/usr/bin/python3
 
27
 # ------------------------------------------------------------------
 
28
 #
 
29
 #    Copyright (C) 2005-2006 Novell/SUSE
 
30
Index: b/utils/aa-audit
 
31
===================================================================
 
32
--- a/utils/aa-audit
 
33
+++ b/utils/aa-audit
 
34
@@ -1,4 +1,4 @@
 
35
-#! /usr/bin/env python
 
36
+#!/usr/bin/python3
 
37
 # ----------------------------------------------------------------------
 
38
 #    Copyright (C) 2013 Kshitij Gupta <kgupta8592@gmail.com>
 
39
 #
 
40
Index: b/utils/aa-autodep
 
41
===================================================================
 
42
--- a/utils/aa-autodep
 
43
+++ b/utils/aa-autodep
 
44
@@ -1,4 +1,4 @@
 
45
-#! /usr/bin/env python
 
46
+#!/usr/bin/python3
 
47
 # ----------------------------------------------------------------------
 
48
 #    Copyright (C) 2013 Kshitij Gupta <kgupta8592@gmail.com>
 
49
 #
 
50
Index: b/utils/aa-cleanprof
 
51
===================================================================
 
52
--- a/utils/aa-cleanprof
 
53
+++ b/utils/aa-cleanprof
 
54
@@ -1,4 +1,4 @@
 
55
-#! /usr/bin/env python
 
56
+#!/usr/bin/python3
 
57
 # ----------------------------------------------------------------------
 
58
 #    Copyright (C) 2013 Kshitij Gupta <kgupta8592@gmail.com>
 
59
 #
 
60
Index: b/utils/aa-complain
 
61
===================================================================
 
62
--- a/utils/aa-complain
 
63
+++ b/utils/aa-complain
 
64
@@ -1,4 +1,4 @@
 
65
-#! /usr/bin/env python
 
66
+#!/usr/bin/python3
 
67
 # ----------------------------------------------------------------------
 
68
 #    Copyright (C) 2013 Kshitij Gupta <kgupta8592@gmail.com>
 
69
 #
 
70
Index: b/utils/aa-disable
 
71
===================================================================
 
72
--- a/utils/aa-disable
 
73
+++ b/utils/aa-disable
 
74
@@ -1,4 +1,4 @@
 
75
-#! /usr/bin/env python
 
76
+#!/usr/bin/python3
 
77
 # ----------------------------------------------------------------------
 
78
 #    Copyright (C) 2013 Kshitij Gupta <kgupta8592@gmail.com>
 
79
 #
 
80
Index: b/utils/aa-enforce
 
81
===================================================================
 
82
--- a/utils/aa-enforce
 
83
+++ b/utils/aa-enforce
 
84
@@ -1,4 +1,4 @@
 
85
-#! /usr/bin/env python
 
86
+#!/usr/bin/python3
 
87
 # ----------------------------------------------------------------------
 
88
 #    Copyright (C) 2013 Kshitij Gupta <kgupta8592@gmail.com>
 
89
 #
 
90
Index: b/utils/aa-genprof
 
91
===================================================================
 
92
--- a/utils/aa-genprof
 
93
+++ b/utils/aa-genprof
 
94
@@ -1,4 +1,4 @@
 
95
-#! /usr/bin/env python
 
96
+#!/usr/bin/python3
 
97
 # ----------------------------------------------------------------------
 
98
 #    Copyright (C) 2013 Kshitij Gupta <kgupta8592@gmail.com>
 
99
 #
 
100
Index: b/utils/aa-logprof
 
101
===================================================================
 
102
--- a/utils/aa-logprof
 
103
+++ b/utils/aa-logprof
 
104
@@ -1,4 +1,4 @@
 
105
-#! /usr/bin/env python
 
106
+#!/usr/bin/python3
 
107
 # ----------------------------------------------------------------------
 
108
 #    Copyright (C) 2013 Kshitij Gupta <kgupta8592@gmail.com>
 
109
 #
 
110
Index: b/utils/aa-mergeprof
 
111
===================================================================
 
112
--- a/utils/aa-mergeprof
 
113
+++ b/utils/aa-mergeprof
 
114
@@ -1,4 +1,4 @@
 
115
-#! /usr/bin/env python
 
116
+#!/usr/bin/python3
 
117
 # ----------------------------------------------------------------------
 
118
 #    Copyright (C) 2013 Kshitij Gupta <kgupta8592@gmail.com>
 
119
 #
 
120
Index: b/utils/aa-unconfined
 
121
===================================================================
 
122
--- a/utils/aa-unconfined
 
123
+++ b/utils/aa-unconfined
 
124
@@ -1,4 +1,4 @@
 
125
-#! /usr/bin/env python
 
126
+#!/usr/bin/python3
 
127
 # ----------------------------------------------------------------------
 
128
 #    Copyright (C) 2013 Kshitij Gupta <kgupta8592@gmail.com>
 
129
 #