1 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. |
|
2 # |
|
3 # Permission is hereby granted, free of charge, to any person obtaining a |
|
4 # copy of this software and associated documentation files (the "Software"), |
|
5 # to deal in the Software without restriction, including without limitation |
|
6 # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
|
7 # and/or sell copies of the Software, and to permit persons to whom the |
|
8 # Software is furnished to do so, subject to the following conditions: |
|
9 # |
|
10 # The above copyright notice and this permission notice (including the next |
|
11 # paragraph) shall be included in all copies or substantial portions of the |
|
12 # Software. |
|
13 # |
|
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
15 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
16 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
|
17 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
18 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
19 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
|
20 # DEALINGS IN THE SOFTWARE. |
|
21 # |
|
22 set name=pkg.fmri value=pkg:/x11/xlock@$(OSPKGVERS) |
|
23 set name=pkg.description \ |
|
24 value="xlock locks the X server till the user enters their password at the keyboard. While xlock is running, all new server connections are refused, the screen is blanked and a changing pattern is put on the screen." |
|
25 set name=pkg.summary value="xlock - X display screen lock" |
|
26 dir path=usr |
|
27 dir path=usr/X11 |
|
28 dir path=usr/X11/bin |
|
29 dir path=usr/bin |
|
30 dir path=usr/share |
|
31 dir path=usr/share/X11 |
|
32 dir path=usr/share/X11/app-defaults |
|
33 dir path=usr/share/man |
|
34 dir path=usr/share/man/man1 |
|
35 # Must be setuid root to authenticate local users with passwds in /etc/shadow |
|
36 file path=usr/bin/xlock mode=4555 owner=root |
|
37 file path=usr/share/X11/app-defaults/XLock |
|
38 file path=usr/share/man/man1/xlock.1 |
|
39 link path=usr/X11/bin/xlock target=../../bin/xlock |
|
40 # XLock app-defaults specifies font: |
|
41 # -b&h-lucida-medium-r-normal-sans-24-*-*-*-*-*-iso8859-1 |
|
42 depend fmri=pkg:/system/font/xorg/iso8859-1 type=require |
|