This file is indexed.

/usr/bin/click-show-files is in click-reviewers-tools 0.5build1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/python3
'''check-skeleton: perform click skeleton checks'''
#
# Copyright (C) 2013 Canonical Ltd.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

from __future__ import print_function
import os
import sys

from clickreviews import cr_common
from clickreviews import cr_desktop
from clickreviews import cr_lint
from clickreviews import cr_security

# This script just dumps important files to stdout

if __name__ == "__main__":
    if len(sys.argv) < 2:
        cr_common.error("Must give path to click package")

    review = cr_lint.ClickReviewLint(sys.argv[1])

    for i in sorted(review.control_files):
        fh = cr_common.open_file_read(review.control_files[i])
        print("= %s =" % os.path.basename(i))
        for line in fh.readlines():
            print(line, end="")
        fh.close()
        print("")
    cr_common.cleanup_unpack()

    print("= hooks =")
    review_apparmor = cr_security.ClickReviewSecurity(sys.argv[1])
    for f in sorted(review_apparmor.security_manifests):
        fh = cr_common.open_file_read(os.path.join(review_apparmor.unpack_dir,
                                                   f))
        print("== security: %s ==" % os.path.basename(f))
        for line in fh.readlines():
            print(line, end="")
        fh.close()
        print("")
    cr_common.cleanup_unpack()

    review_desktop = cr_desktop.ClickReviewDesktop(sys.argv[1])
    for app in sorted(review_desktop.desktop_files):
        f = review_desktop.desktop_files[app]
        fh = cr_common.open_file_read(os.path.join(review_desktop.unpack_dir,
                                                   f))
        print("== desktop: %s ==" % os.path.basename(f))
        for line in fh.readlines():
            print(line, end="")
        fh.close()
        print("")
    cr_common.cleanup_unpack()