Ignore:
Timestamp:
08/04/2020 03:38:32 PM (4 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
1584c8a
Parents:
0cf60e8b
Message:

at_3.2.1

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/at.xml

    r0cf60e8b rcb72478  
    55  %general-entities;
    66
    7   <!ENTITY at-download-http "http://ftp.debian.org/debian/pool/main/a/at/at_&at-version;.orig.tar.gz">
     7  <!ENTITY at-download-http "http://software.calhariz.com/at/at_&at-version;.orig.tar.gz">
    88  <!ENTITY at-download-ftp  " ">
    9   <!ENTITY at-md5sum        "1cec945506b5ddf1d776c92c315fc581">
    10   <!ENTITY at-size          "272 KB">
    11   <!ENTITY at-buildsize     "1.6 MB">
     9  <!ENTITY at-md5sum        "518a1c1782c8434869bb0824f1d84520">
     10  <!ENTITY at-md5sum        "">
     11  <!ENTITY at-size          "125 KB">
     12  <!ENTITY at-buildsize     "1.8 MB including tests">
    1213  <!ENTITY at-time          "less than 0.1 SBU">
    1314]>
    1415
    15 <sect1 id="at" xreflabel="Fcron-&at-version;">
     16<sect1 id="at" xreflabel="At-&at-version;">
    1617  <?dbhtml filename="at.html"?>
    1718
     
    9697      <systemitem class="username">root</systemitem> user you should create
    9798      the group and user <systemitem class="username">atd</systemitem> which
    98       will run the <command>atd</command> daemon.  Also ensure the working
    99       directory for the daemon exists:
     99      will run the <command>atd</command> daemon:
    100100    </para>
    101101
    102102<screen role="root"><userinput>groupadd -g 17 atd                                                  &amp;&amp;
    103 useradd -d /dev/null -c "atd daemon" -g atd -s /bin/false -u 17 atd &amp;&amp;
    104 mkdir -p /var/spool/cron</userinput></screen>
    105 
    106     <para>
    107       Fix <filename>Makefile.in</filename> so that the documentation directory
    108       is installed in the specified docdir:
    109     </para>
    110 
    111 <screen><userinput>sed -i '/docdir/s/=.*/= @docdir@/' Makefile.in</userinput></screen>
    112 
    113     <para>
    114       Regenerate the build files to be consistent with this package version:
    115     </para>
    116 
    117 <screen><userinput>autoreconf</userinput></screen>
     103useradd -d /dev/null -c "atd daemon" -g atd -s /bin/false -u 17 atd</userinput></screen>
    118104
    119105    <para>
     
    124110    <screen revision="sysv"><userinput>./configure --with-daemon_username=atd        \
    125111            --with-daemon_groupname=atd       \
     112            --with-jobdir=/var/spool/atjobs   \
     113            --with-atspool=/var/spool/atspool \
    126114            SENDMAIL=/usr/sbin/sendmail       &amp;&amp;
    127 
    128115make -j1</userinput></screen>
    129116
     
    131118            --with-daemon_groupname=atd       \
    132119            SENDMAIL=/usr/sbin/sendmail       \
     120            --with-jobdir=/var/spool/atjobs   \
     121            --with-atspool=/var/spool/atspool \
    133122            --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
    134123make -j1</userinput></screen>
    135124
    136125    <para>
    137       This package does not come with a test suite.
    138     </para>
     126      To test the results, issue: <command>make test</command>.
     127    </para>
     128
    139129
    140130    <para>
     
    166156        <primary sortas="e-etc-at.deny">/etc/at.deny</primary>
    167157      </indexterm>
     158
     159    </sect3>
     160
     161    <sect3>
     162      <title>Linux PAM Configuration</title>
     163
     164      <para>
     165        If <application>At</application> has been built with
     166        <application>Linux PAM</application> support, you need to create a
     167        <application>PAM</application> configuration file, to get it working
     168        correctly with BLFS.
     169      </para>
     170
     171      <para>
     172        Issue the following commands as the <systemitem
     173        class="username">root</systemitem> user to create the configuration
     174        file for <application>Linux PAM</application>:
     175      </para>
     176
     177<screen role="root"><userinput>cat &gt; /etc/pam.d/atd &lt;&lt; "EOF"
     178<literal># Begin /etc/pam.d/atd
     179
     180auth required pam_unix.so
     181account required pam_unix.so
     182password required pam_unix.so
     183session required pam_unix.so
     184
     185# End /etc/pam.d/atd</literal>
     186EOF</userinput></screen>
    168187
    169188    </sect3>
     
    213232        </seg>
    214233        <seg>
    215           /var/spool/cron/at{jobs,spool} and
    216234          /usr/share/doc/at-&at-version;
    217235        </seg>
Note: See TracChangeset for help on using the changeset viewer.