Changeset b84342d6 for postlfs


Ignore:
Timestamp:
05/07/2012 10:05:37 PM (12 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
7ecc1c4b
Parents:
ff53809
Message:

accountsservice 0.6.20, anjuta 3.4.1, glib 2.32.2, gtk+ 3.4.2, polkit 0.105, polkit-gnome 0.105, udisks 1.96.0, upower 0.9.16

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10112 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
postlfs/security
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/accountsservice.xml

    rff53809 rb84342d6  
    55  %general-entities;
    66
    7   <!ENTITY accountsservice-download-http "http://www.freedesktop.org/software/accountsservice/accountsservice-&accountsservice-version;.tar.xz">
     7  <!ENTITY accountsservice-download-http
     8           "http://www.freedesktop.org/software/accountsservice/accountsservice-&accountsservice-version;.tar.xz">
    89  <!ENTITY accountsservice-download-ftp  " ">
    9   <!ENTITY accountsservice-md5sum        "47b5af77b544528c02d82761bd574c09">
    10   <!ENTITY accountsservice-size          "280 KB">
    11   <!ENTITY accountsservice-buildsize     "6.0 MB">
    12   <!ENTITY accountsservice-time          "0.1 SBU">
     10  <!ENTITY accountsservice-md5sum        "e48d6ec8aec941d63753c1904dbf75a8">
     11  <!ENTITY accountsservice-size          "324 KB">
     12  <!ENTITY accountsservice-buildsize     "12 MB">
     13  <!ENTITY accountsservice-time          "0.3 SBU">
    1314]>
    1415
     
    3031    <title>Introduction to AccountsService</title>
    3132
    32     <para>The <application>AccountsService</application> package provides, a set
    33     of <application>D-Bus</application> interfaces for querying and manipulating
    34     user account information, and an implementation of these interfaces based on
    35     the usermod(8), useradd(8) and userdel(8) commands.</para>
     33    <para>
     34      The <application>AccountsService</application> package provides a set
     35      of <application>D-Bus</application> interfaces for querying and manipulating
     36      user account information and an implementation of these interfaces based on
     37      the usermod(8), useradd(8) and userdel(8) commands.
     38    </para>
    3639
    37     &lfs70_built;
     40    &lfs70_checked;
    3841
    3942    <bridgehead renderas="sect3">Package Information</bridgehead>
    4043    <itemizedlist spacing="compact">
    4144      <listitem>
    42         <para>Download (HTTP): <ulink url="&accountsservice-download-http;"/></para>
     45        <para>
     46          Download (HTTP): <ulink url="&accountsservice-download-http;"/>
     47        </para>
    4348      </listitem>
    4449      <listitem>
    45         <para>Download (FTP): <ulink url="&accountsservice-download-ftp;"/></para>
     50        <para>
     51          Download (FTP): <ulink url="&accountsservice-download-ftp;"/>
     52        </para>
    4653      </listitem>
    4754      <listitem>
    48         <para>Download MD5 sum: &accountsservice-md5sum;</para>
     55        <para>
     56          Download MD5 sum: &accountsservice-md5sum;
     57        </para>
    4958      </listitem>
    5059      <listitem>
    51         <para>Download size: &accountsservice-size;</para>
     60        <para>
     61          Download size: &accountsservice-size;
     62        </para>
    5263      </listitem>
    5364      <listitem>
    54         <para>Estimated disk space required: &accountsservice-buildsize;</para>
     65        <para>
     66          Estimated disk space required: &accountsservice-buildsize;
     67        </para>
    5568      </listitem>
    5669      <listitem>
    57         <para>Estimated build time: &accountsservice-time;</para>
     70        <para>
     71          Estimated build time: &accountsservice-time;
     72        </para>
    5873      </listitem>
    5974    </itemizedlist>
     
    6378    <bridgehead renderas="sect4">Required</bridgehead>
    6479    <para role="required">
    65       <xref linkend="dbus-glib"/> and
     80      <xref linkend="libxslt"/> and
    6681      <xref linkend="polkit"/>
    6782    </para>
     
    85100    <title>Installation of AccountsService</title>
    86101
    87     <para>Install <application>AccountsService</application> by running the following
    88     commands:</para>
     102    <para>
     103      Install <application>AccountsService</application> by running the following
     104      commands:
     105    </para>
    89106
    90107<screen><userinput>./configure --prefix=/usr \
    91108            --sysconfdir=/etc \
     109            --localstatedir=/var \
    92110            --libexecdir=/usr/lib/accountsservice \
    93             --localstatedir=/var &amp;&amp;
     111            --disable-static &amp;&amp;
    94112make</userinput></screen>
    95113
    96     <!-- actually, it's for the maintainer to check xml translations -->
    97     <para>This package does not come with a test suite.</para>
     114    <para>
     115      This package does not come with a test suite.
     116    </para>
    98117
    99     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     118    <para>
     119      Now, as the <systemitem class="username">root</systemitem> user:
     120    </para>
    100121
    101122<screen role="root"><userinput>make install</userinput></screen>
     
    106127    <title>Command Explanations</title>
    107128
    108     <para><parameter>--sysconfdir=/etc</parameter>: This parameter installs the
    109     configuration files into <filename class="directory">/etc</filename> instead
    110     of <filename class="directory">/usr/etc</filename>.</para>
     129    <para>
     130      <parameter>--libexecdir=/usr/lib/accountsservice</parameter>: This
     131      parameter causes the libexec files to be installed in the preferred location
     132      of <filename class="directory">/usr/lib/accountsservice</filename> instead
     133      of <filename class="directory">/usr/libexec</filename>.
     134    </para>
    111135
    112     <para><parameter>--libexecdir=/usr/lib/accountsservice</parameter>: This
    113     parameter causes the libexec files to be installed in the preferred location
    114     of <filename class="directory">/usr/lib/accountsservice</filename> instead
    115     of <filename class="directory">/usr/libexec</filename>.</para>
    116 
    117     <para><option>--enable-static=no</option>: This switch prevents the static
    118     libraries being installed.</para>
     136    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     137      href="../../xincludes/static-libraries.xml"/>
    119138
    120139  </sect2>
     
    129148
    130149      <seglistitem>
    131         <seg>accounts-daemon</seg>
    132         <seg>libaccountsservice.{so,a}</seg>
    133         <seg>/usr/{include/accountsservice-1.0/act,lib/accountsservice,
    134         share/locale/{bg_BG/LC_MESSAGES,fa_IR/LC_MESSAGES}},
    135         /var/lib/AccountsService/{icons,users}</seg>
     150        <seg>
     151          accounts-daemon
     152        </seg>
     153        <seg>
     154          libaccountsservice.so
     155        </seg>
     156        <seg>
     157          /usr/include/accountsservice-1.0,
     158          /usr/lib/accountsservice and
     159          /var/lib/AccountsService
     160        </seg>
    136161      </seglistitem>
    137162    </segmentedlist>
     
    145170        <term><command>accounts-daemon</command></term>
    146171        <listitem>
    147           <para>is the <application>AccountsService</application> daemon.</para>
     172          <para>
     173            is the <application>AccountsService</application> daemon.
     174          </para>
    148175          <indexterm zone="accountsservice accounts-daemon">
    149176            <primary sortas="b-accounts-daemon">accounts-daemon</primary>
     
    153180
    154181      <varlistentry id="libaccountsservice">
    155         <term><filename class='libraryfile'>libaccountsservice.{so,a}</filename></term>
     182        <term><filename class='libraryfile'>libaccountsservice.so</filename></term>
    156183        <listitem>
    157           <para>contains the <application>AccountsService</application> API
    158           functions.</para>
     184          <para>
     185            contains the <application>AccountsService</application> API functions.
     186          </para>
    159187          <indexterm zone="accountsservice libaccountsservice">
    160             <primary sortas="c-libaccountsservice">libaccountsservice.{so,a}</primary>
     188            <primary sortas="c-libaccountsservice">libaccountsservice.so</primary>
    161189          </indexterm>
    162190        </listitem>
  • postlfs/security/polkit.xml

    rff53809 rb84342d6  
    55  %general-entities;
    66
    7   <!ENTITY polkit-download-http "http://hal.freedesktop.org/releases/polkit-&polkit-version;.tar.gz">
     7  <!ENTITY polkit-download-http
     8           "http://www.freedesktop.org/software/polkit/releases/polkit-&polkit-version;.tar.gz">
    89  <!ENTITY polkit-download-ftp  " ">
    9   <!ENTITY polkit-md5sum        "e380b4c6fb1e7bccf854e92edc0a8ce1">
     10  <!ENTITY polkit-md5sum        "9c29e1b6c214f0bd6f1d4ee303dfaed9">
    1011  <!ENTITY polkit-size          "1.4 MB">
    11   <!ENTITY polkit-buildsize     "9 MB">
    12   <!ENTITY polkit-time          "0.3 SBU">
     12  <!ENTITY polkit-buildsize     "20 MB">
     13  <!ENTITY polkit-time          "0.5 SBU">
    1314]>
    1415
     
    3031    <title>Introduction to polkit</title>
    3132
    32     <para>The <application>polkit</application> package is an
    33     application-level toolkit for defining and handling the policy that allows
    34     unprivileged processes to speak to privileged processes.</para>
     33    <para>
     34      The <application>polkit</application> package is an application-level
     35      toolkit for defining and handling the policy that allows unprivileged
     36      users to speak to privileged processes.
     37    </para>
    3538
    3639    &lfs70_checked;
     
    3942    <itemizedlist spacing="compact">
    4043      <listitem>
    41         <para>Download (HTTP): <ulink url="&polkit-download-http;"/></para>
    42       </listitem>
    43       <listitem>
    44         <para>Download (FTP): <ulink url="&polkit-download-ftp;"/></para>
    45       </listitem>
    46       <listitem>
    47         <para>Download MD5 sum: &polkit-md5sum;</para>
    48       </listitem>
    49       <listitem>
    50         <para>Download size: &polkit-size;</para>
    51       </listitem>
    52       <listitem>
    53         <para>Estimated disk space required: &polkit-buildsize;</para>
    54       </listitem>
    55       <listitem>
    56         <para>Estimated build time: &polkit-time;</para>
     44        <para>
     45          Download (HTTP): <ulink url="&polkit-download-http;"/>
     46        </para>
     47      </listitem>
     48      <listitem>
     49        <para>
     50          Download (FTP): <ulink url="&polkit-download-ftp;"/>
     51        </para>
     52      </listitem>
     53      <listitem>
     54        <para>
     55          Download MD5 sum: &polkit-md5sum;
     56        </para>
     57      </listitem>
     58      <listitem>
     59        <para>
     60          Download size: &polkit-size;
     61        </para>
     62      </listitem>
     63      <listitem>
     64        <para>
     65          Estimated disk space required: &polkit-buildsize;
     66        </para>
     67      </listitem>
     68      <listitem>
     69        <para>
     70          Estimated build time: &polkit-time;
     71        </para>
    5772      </listitem>
    5873    </itemizedlist>
     
    8196
    8297    <note>
    83       <para>If <xref linkend="libxslt"/> is installed then <xref
    84       linkend="DocBook"/> and <xref linkend="docbook-xsl"/> are required.</para>
     98      <para>
     99        If <xref linkend="libxslt"/> is installed then <xref linkend="DocBook"/>
     100        and <xref linkend="docbook-xsl"/> are required.
     101      </para>
    85102    </note>
    86103
     
    93110    <title>Installation of polkit</title>
    94111
    95     <para>Install <application>polkit</application> by running the following
    96     commands as an unprivileged user:</para>
    97 
    98 <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
    99             --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
    100             --with-authfw=shadow &amp;&amp;
     112    <para>
     113      Install <application>polkit</application> by running the following
     114      commands as an unprivileged user:
     115    </para>
     116
     117<screen><userinput>./configure --prefix=/usr \
     118            --sysconfdir=/etc \
     119            --localstatedir=/var \
     120            --libexecdir=/usr/lib/polkit-1 \
     121            --with-authfw=shadow \
     122            --disable-static &amp;&amp;
    101123make</userinput></screen>
    102124
    103     <para>This package does not come with a test suite.</para>
    104 
    105     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     125    <para>
     126      This package does not come with a test suite.
     127    </para>
     128
     129    <para>
     130      Now, as the <systemitem class="username">root</systemitem> user:
     131    </para>
    106132
    107133<screen role="root"><userinput>make install</userinput></screen>
     
    112138    <title>Command Explanations</title>
    113139
    114     <para><parameter>--with-authfw=shadow</parameter>: This parameter will use
    115     the <application>Shadow</application> rather than the
    116     <application>Linux-PAM</application> Authentication framework. Remove it if
    117     you would like to use <application>Linux-PAM</application>.</para>
    118     <para><parameter>--disable-static</parameter>: This will prevent the static
    119     libraries from being built.</para>
     140    <para>
     141      <parameter>--with-authfw=shadow</parameter>: This parameter will use
     142      the <application>Shadow</application> rather than the
     143      <application>Linux-PAM</application> Authentication framework. Remove it if
     144      you would like to use <application>Linux-PAM</application>.
     145    </para>
    120146
    121147    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    122     href="../../xincludes/gtk-doc-rebuild.xml"/>
     148      href="../../xincludes/static-libraries.xml"/>
     149
     150    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     151      href="../../xincludes/gtk-doc-rebuild.xml"/>
    123152
    124153  </sect2>
     
    137166
    138167      <note>
    139         <para>If you did not build <application>polkit</application> with
    140         <application>Linux PAM</application> support, you can skip this section.
     168        <para>
     169          If you did not build <application>polkit</application> with
     170          <application>Linux PAM</application> support, you can skip this section.
    141171        </para>
    142172      </note>
    143173
    144       <para>If you built <application>polkit</application> with
    145       <application>Linux PAM</application> support, you will need to modify
    146       the pam configuration file which was installed by default to get
    147       <application>polkit</application> to work correctly with BLFS.</para>
    148 
    149       <para>Issue the following commands as the <systemitem class="username">root</systemitem>
    150       user to create the configuration file for <application>Linux PAM</application>:
     174      <para>
     175        If you have built <application>polkit</application> with
     176        <application>Linux PAM</application> support, you need to modify
     177        default PAM configuration file which was installed by default to get
     178        <application>polkit</application> to work correctly with BLFS.
     179      </para>
     180
     181      <para>
     182        Issue the following commands as the <systemitem class="username">root</systemitem>
     183        user to create the configuration file for <application>Linux PAM</application>:
    151184      </para>
    152185
     
    175208
    176209      <seglistitem>
    177         <seg>pk-example-frobnicate, pkaction, pkcheck, pkexec,
    178         polkit-agent-helper-1, and polkitd</seg>
    179         <seg>libnullbackend.{so,a}, libpolkit-agent-1.{so,a},
    180         libpolkit-backend-1.{so,a} and libpolkit-gobject-1.{so,a}</seg>
    181         <seg>/etc/polkit-1, /usr/include/polkit-1, /usr/lib/polkit-1,
    182         /usr/share/polkit-1 and /var/lib/polkit-1</seg>
     210        <seg>
     211          pk-example-frobnicate, pkaction, pkcheck, pkexec,
     212          pkttyagent and polkitd
     213        </seg>
     214        <seg>
     215          libpolkit-agent-1.so, libpolkit-backend-1.so and
     216          libpolkit-gobject-1.so
     217        </seg>
     218        <seg>
     219          /etc/polkit-1, /usr/include/polkit-1, /usr/lib/polkit-1,
     220          /usr/share/polkit-1 and /var/lib/polkit-1
     221        </seg>
    183222      </seglistitem>
    184223    </segmentedlist>
     
    192231        <term><command>pk-example-frobnicate</command></term>
    193232        <listitem>
    194           <para>does this .....</para>
     233          <para>
     234            does this .....
     235          </para>
    195236          <indexterm zone="polkit pk-example-frobnicate">
    196237            <primary sortas="b-pk-example-frobnicate">pk-example-frobnicate</primary>
     
    202243        <term><command>pkaction</command></term>
    203244        <listitem>
    204           <para>is used to obtain information about registered PolicyKit actions.</para>
     245          <para>
     246            is used to obtain information about registered PolicyKit actions.
     247          </para>
    205248          <indexterm zone="polkit pkaction">
    206249            <primary sortas="b-pkaction">pkaction</primary>
     
    212255        <term><command>pkcheck</command></term>
    213256        <listitem>
    214           <para>is used to check whether a process is authorized for action.</para>
     257          <para>
     258            is used to check whether a process is authorized for action.
     259          </para>
    215260          <indexterm zone="polkit pkcheck">
    216261            <primary sortas="b-pkcheck">pkcheck</primary>
     
    222267        <term><command>pkexec</command></term>
    223268        <listitem>
    224           <para>allows an authorized user to execute a command as another user.</para>
     269          <para>
     270            allows an authorized user to execute a command as another user.
     271          </para>
    225272          <indexterm zone="polkit pkexec">
    226273            <primary sortas="b-pkexec">pkexec</primary>
     
    229276      </varlistentry>
    230277
    231 <!--  <varlistentry id="polkit-agent-helper-1">
    232         <term><command>polkit-agent-helper-1</command></term>
    233         <listitem>
    234           <para>does this .....</para>
    235           <indexterm zone="polkit polkit-agent-helper-1">
    236             <primary sortas="b-polkit-agent-helper-1">polkit-agent-helper-1</primary>
    237           </indexterm>
    238         </listitem>
    239       </varlistentry>-->
     278      <varlistentry id="pkttyagent">
     279        <term><command>pkttyagent</command></term>
     280        <listitem>
     281          <para>
     282            is used to start a textual authentication agent for the subject.
     283          </para>
     284          <indexterm zone="polkit pkttyagent">
     285            <primary sortas="b-pkttyagent">pkttyagent</primary>
     286          </indexterm>
     287        </listitem>
     288      </varlistentry>
    240289
    241290      <varlistentry id="polkitd">
    242291        <term><command>polkitd</command></term>
    243292        <listitem>
    244           <para>provides the org.freedesktop.PolicyKit1
    245           <application>D-Bus</application> service on the system message bus.</para>
     293          <para>
     294            provides the org.freedesktop.PolicyKit1 <application>D-Bus</application>
     295            service on the system message bus.
     296          </para>
    246297          <indexterm zone="polkit polkitd">
    247298            <primary sortas="b-polkitd">polkitd</primary>
     
    250301      </varlistentry>
    251302
    252       <varlistentry id="libnullbackend">
    253         <term><filename class='libraryfile'>libnullbackend.{so,a}</filename></term>
    254         <listitem>
    255           <para>PolicyKit null backend</para>
    256           <indexterm zone="polkit libnullbackend">
    257             <primary sortas="c-libnullbackend">libnullbackend.{so,a}</primary>
    258           </indexterm>
    259         </listitem>
    260       </varlistentry>
    261 
    262303      <varlistentry id="libpolkit-agent-1">
    263         <term><filename class='libraryfile'>libpolkit-agent-1.{so,a}</filename></term>
    264         <listitem>
    265           <para>contains the <application>polkit</application> authentication
    266           agent API functions.</para>
     304        <term><filename class='libraryfile'>libpolkit-agent-1.so</filename></term>
     305        <listitem>
     306          <para>
     307            contains the <application>polkit</application> authentication
     308            agent API functions.
     309          </para>
    267310          <indexterm zone="polkit libpolkit-agent-1">
    268             <primary sortas="c-libpolkit-agent-1">libpolkit-agent-1.{so,a}</primary>
     311            <primary sortas="c-libpolkit-agent-1">libpolkit-agent-1.so</primary>
    269312          </indexterm>
    270313        </listitem>
     
    272315
    273316      <varlistentry id="libpolkit-backend-1">
    274         <term><filename class='libraryfile'>libpolkit-backend-1.{so,a}</filename></term>
    275         <listitem>
    276           <para>contains the <application>polkit</application> backend API
    277           functions.</para>
     317        <term><filename class='libraryfile'>libpolkit-backend-1.so</filename></term>
     318        <listitem>
     319          <para>
     320            contains the <application>polkit</application> backend API functions.
     321          </para>
    278322          <indexterm zone="polkit libpolkit-backend-1">
    279             <primary sortas="c-libpolkit-backend-1">libpolkit-backend-1.{so,a}</primary>
     323            <primary sortas="c-libpolkit-backend-1">libpolkit-backend-1.so</primary>
    280324          </indexterm>
    281325        </listitem>
     
    283327
    284328      <varlistentry id="libpolkit-gobject-1">
    285         <term><filename class='libraryfile'>libpolkit-gobject-1.{so,a}</filename></term>
    286         <listitem>
    287           <para>contains the <application>polkit</application> authorization API
    288           functions.</para>
     329        <term><filename class='libraryfile'>libpolkit-gobject-1.so</filename></term>
     330        <listitem>
     331          <para>
     332            contains the <application>polkit</application> authorization API functions.
     333          </para>
    289334          <indexterm zone="polkit libpolkit-gobject-1">
    290             <primary sortas="c-libpolkit-gobject-1">libpolkit-gobject-1.{so,a}</primary>
     335            <primary sortas="c-libpolkit-gobject-1">libpolkit-gobject-1.so</primary>
    291336          </indexterm>
    292337        </listitem>
Note: See TracChangeset for help on using the changeset viewer.