From 58891ea62c32c137ebb197422c0981889eda3cac Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Wed, 31 Jan 2007 17:53:17 +0000 Subject: [PATCH] Stefan Fiedler: add hal-info, policykit for hal 0.5.8.1 NOTE: the download locations are missing... Documentation/Developers/REGISTER: add policykit user and group [2006123116310766540] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8187 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- Documentation/Developers/REGISTER | 5 ++- package/base/hal-info/10-pamconsole.fdi | 13 +++++++ package/base/hal-info/20-users.fdi | 9 +++++ package/base/hal-info/hal-info.conf | 26 ++++++++++++++ package/base/hal-info/hal-info.desc | 45 +++++++++++++++++++++++++ package/base/policykit/policykit.conf | 4 +++ package/base/policykit/policykit.desc | 42 +++++++++++++++++++++++ package/base/policykit/postsysfiles.in | 2 ++ 8 files changed, 145 insertions(+), 1 deletion(-) create mode 100644 package/base/hal-info/10-pamconsole.fdi create mode 100644 package/base/hal-info/20-users.fdi create mode 100644 package/base/hal-info/hal-info.conf create mode 100644 package/base/hal-info/hal-info.desc create mode 100644 package/base/policykit/policykit.conf create mode 100644 package/base/policykit/policykit.desc create mode 100644 package/base/policykit/postsysfiles.in diff --git a/Documentation/Developers/REGISTER b/Documentation/Developers/REGISTER index bb11b5cba..b9c0a7d67 100644 --- a/Documentation/Developers/REGISTER +++ b/Documentation/Developers/REGISTER @@ -70,6 +70,9 @@ Reserved User and Group IDs: postdrop 43 postfix 44 postfix 44 + - policykit users: - policykit groups: + polkit 45 polkit 45 + - hal/dbus/plugdev users / groups: messagebus 50 messagebus 50 haldaemon 51 haldaemon 51 @@ -105,7 +108,7 @@ Reserved User and Group IDs: - avahi user: - netdev group: avahi 81 netdev 81 - Free IDs: 31-37,45-50,55,57-65,67-69,72-77, from 82 onwards + Free IDs: 31-37,46-50,55,57-65,67-69,72-77, from 82 onwards Filedescriptor Numbers diff --git a/package/base/hal-info/10-pamconsole.fdi b/package/base/hal-info/10-pamconsole.fdi new file mode 100644 index 000000000..d686591bb --- /dev/null +++ b/package/base/hal-info/10-pamconsole.fdi @@ -0,0 +1,13 @@ + + + + + + + + user + false + + + + diff --git a/package/base/hal-info/20-users.fdi b/package/base/hal-info/20-users.fdi new file mode 100644 index 000000000..51b701c3a --- /dev/null +++ b/package/base/hal-info/20-users.fdi @@ -0,0 +1,9 @@ + + + + + + true + + + diff --git a/package/base/hal-info/hal-info.conf b/package/base/hal-info/hal-info.conf new file mode 100644 index 000000000..105724ab4 --- /dev/null +++ b/package/base/hal-info/hal-info.conf @@ -0,0 +1,26 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/avm/hal/hal.conf +# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf +# +# 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; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +hook_add preconf 3 "[ -x autogen.sh ] && ./autogen.sh || true" + +# are these still needed without fstab sync? +# hook_add postmake 3 "install -v $confdir/*.fdi /usr/share/hal/fdi/policy/10osvendor/" diff --git a/package/base/hal-info/hal-info.desc b/package/base/hal-info/hal-info.desc new file mode 100644 index 000000000..e3949fab1 --- /dev/null +++ b/package/base/hal-info/hal-info.desc @@ -0,0 +1,45 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/avm/hal/hal.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] Hardware Data for HAL + +[T] hal-info is a small hal sub-package that provides the hardware data and +[T] quirks. These quirks are currently things like what mice support +[T] reporting battery status, what music players are supported and what +[T] cameras are detected. + +[U] http://freedesktop.org/wiki/Software_2fhal + +[A] David Zeuthen +[M] The ROCK Linux Project + +[C] extra/configuration +[F] CORE + +[L] GPL +[S] Beta +[V] 20061230 +[P] X -----5---9 141.000 + +# git clone git://anongit.freedesktop.org/git/hal-info +[D] 3365657453 hal-info-20061230.tar.bz2 www.no.net diff --git a/package/base/policykit/policykit.conf b/package/base/policykit/policykit.conf new file mode 100644 index 000000000..aa873e5ea --- /dev/null +++ b/package/base/policykit/policykit.conf @@ -0,0 +1,4 @@ +autogen=1 +pkginstalled xmlto || var_append extraconfopt " " "--disable-docbook-docs" + +hook_add postmake 3 "install_init policykit $confdir/policykit.init" diff --git a/package/base/policykit/policykit.desc b/package/base/policykit/policykit.desc new file mode 100644 index 000000000..1faa43de9 --- /dev/null +++ b/package/base/policykit/policykit.desc @@ -0,0 +1,42 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/base/policykit/policykit.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] Policy framework for HAL + +[T] PolicyKit is a framework for defining policy for system-wide components +[T] and for desktop pieces to configure it. It is used by HAL. + +[A] David Zeuthen +[M] The ROCK Linux Project + +[C] extra/configuration +[F] CORE + +[L] GPL +[S] Beta +[V] 20061230 +[P] X -----5---9 140.000 + +# git clone git://anongit.freedesktop.org/git/PolicyKit +[D] 2888747839 PolicyKit-20061230.tar.bz2 www.no.net + diff --git a/package/base/policykit/postsysfiles.in b/package/base/policykit/postsysfiles.in new file mode 100644 index 000000000..e57113348 --- /dev/null +++ b/package/base/policykit/postsysfiles.in @@ -0,0 +1,2 @@ +safe_groupadd polkit 45 +safe_useradd polkit 45 45 "PolicyKit User" / /bin/false "*"