[lfs-fr] [BLFS-EN] r10147

Robot myou72 at orange.fr
Ven 11 Mai 05:30:57 PDT 2012


Révision 10147

fichiers ajoutés :
   general/sysutils/at.xml

fichiers modifiés :
   introduction/welcome/changelog.xml
   postlfs/config/users.xml
   general.ent
   general/sysutils/sysutils.xml

Log :
Add at-3.1.13 for LSB compatibility.

Le robot a traité 0 % du commit anglais.

Index: bootscripts/ChangeLog
===================================================================
--- bootscripts/ChangeLog	(revision 10146)
+++ bootscripts/ChangeLog	(revision 10147)
@@ -1,4 +1,5 @@
 2012-05-09 Bruce Dubbs {ken at linuxfromscratch.org}
+   * Add atd script.
    * Make service scripts compatible with older versions of 
      init-functions.
 

Index: bootscripts/Makefile
===================================================================
--- bootscripts/Makefile	(revision 10146)
+++ bootscripts/Makefile	(revision 10147)
@@ -56,6 +56,16 @@
 	install -m $(CONFMODE) blfs/sysconfig/autofs.conf $(EXTDIR)/sysconfig/
 	ln -sf  ../init.d/autofs $(EXTDIR)/rc.d/rcS.d/S52autofs
 
+install-atd: create-dirs
+	install -m ${MODE} blfs/init.d/atd       ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/atd ${EXTDIR}/rc.d/rc0.d/K29atd
+	ln -sf  ../init.d/atd ${EXTDIR}/rc.d/rc1.d/K29atd
+	ln -sf  ../init.d/atd ${EXTDIR}/rc.d/rc2.d/S68atd
+	ln -sf  ../init.d/atd ${EXTDIR}/rc.d/rc3.d/S68atd
+	ln -sf  ../init.d/atd ${EXTDIR}/rc.d/rc4.d/S68atd
+	ln -sf  ../init.d/atd ${EXTDIR}/rc.d/rc5.d/S68atd
+	ln -sf  ../init.d/atd ${EXTDIR}/rc.d/rc6.d/K29atd
+
 install-avahi: create-dirs
 	install -m ${MODE} blfs/init.d/avahi     ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/avahi ${EXTDIR}/rc.d/rc0.d/K28avahi
@@ -445,6 +455,16 @@
 	ln -sf ../init.d/vsftpd ${EXTDIR}/rc.d/rc5.d/S32vsftpd
 	ln -sf ../init.d/vsftpd ${EXTDIR}/rc.d/rc6.d/K28vsftpd
 
+uninstall-atd: 
+	rm -f ${EXTDIR}/rc.d/init.d/atd
+	rm -f ${EXTDIR}/rc.d/rc0.d/K29atd
+	rm -f ${EXTDIR}/rc.d/rc1.d/K29atd
+	rm -f ${EXTDIR}/rc.d/rc2.d/S68atd
+	rm -f ${EXTDIR}/rc.d/rc3.d/S68atd
+	rm -f ${EXTDIR}/rc.d/rc4.d/S68atd
+	rm -f ${EXTDIR}/rc.d/rc5.d/S68atd
+	rm -f ${EXTDIR}/rc.d/rc6.d/K29atd
+
 uninstall-alsa:
 	rm -f ${EXTDIR}/rc.d/init.d/alsa
 	rm -f ${EXTDIR}/rc.d/rc0.d/K35alsa
@@ -790,6 +810,7 @@
 	install-service-dhcpcd \
 	install-service-ipx \
 	install-service-pppoe \
+	install-atd \
 	install-alsa \
 	install-avahi \
 	install-httpd \
@@ -825,6 +846,7 @@
 	install-sysstat \
 	install-vsftpd \
 	install-virtuoso \
+	uninstall-atd \
 	uninstall-alsa \
 	uninstall-avahi \
 	uninstall-httpd \

Index: bootscripts/blfs/init.d/atd
===================================================================
--- bootscripts/blfs/init.d/atd	(revision 0)
+++ bootscripts/blfs/init.d/atd	(revision 10147)
@@ -0,0 +1,61 @@
+#!/bin/sh
+########################################################################
+# Begin atd
+#
+# Description : Start atd daemon
+#
+# Author      : Bruce Dubbs - bdubbs at linuxfromscratch.org
+#
+# Version     : LFS 7.2
+#
+########################################################################
+
+### BEGIN INIT INFO
+# Provides:            atd
+# Required-Start:      $time
+# Should-Start:        
+# Required-Stop:       
+# Should-Stop:         
+# Default-Start:       2 3 4 5
+# Default-Stop:        0 1 6
+# Short-Description:   atd daemon
+# Description:         Run jobs queued for later execution
+# X-LFS-Provided-By:   BLFS / LFS 7.2
+### END INIT INFO
+
+. /lib/lsb/init-functions
+
+#$LastChangedBy$
+#$Date$
+
+case "$1" in
+   start)
+      log_info_msg "Starting atd..."
+      start_daemon /usr/sbin/atd
+      evaluate_retval
+      ;;
+
+   stop)
+      log_info_msg "Stopping atd..."
+      killproc /usr/sbin/atd
+      evaluate_retval
+      ;;
+
+   restart)
+      $0 stop
+      sleep 1
+      $0 start
+      ;;
+
+   status)
+      statusproc /usr/sbin/atd
+      ;;
+
+   *)
+      echo "Usage: $0 {start|stop|restart|status}"
+      exit 1
+      ;;
+esac
+
+# End atd
+
Property changes on: bootscripts/blfs/init.d/atd
___________________________________________________________________
Added: svn:keywords
   + LastChangedBy Date

Index: general.ent
===================================================================
--- general.ent	(revision 10146)
+++ general.ent	(revision 10147)
@@ -313,6 +313,7 @@
 {!ENTITY apr-util-version             "1.4.1"}
 
 {!-- Chapter 12 --}
+{!ENTITY at-version                   "3.1.13"}
 {!ENTITY autofs-version               "5.0.6"}
 {!ENTITY gpm-version                  "1.20.6"}
 {!ENTITY fcron-version                "3.0.6"}

Index: general/sysutils/at.xml
===================================================================
--- general/sysutils/at.xml	(revision 0)
+++ general/sysutils/at.xml	(revision 10147)
@@ -0,0 +1,200 @@
+{?xml version="1.0" encoding="ISO-8859-1"?}
+{!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  {!ENTITY % general-entities SYSTEM "../../general.ent"}
+  %general-entities;
+
+  {!ENTITY at-download-http "http://ftp.de.debian.org/debian/pool/main/a/at/at_&at-version;.orig.tar.gz"}
+  {!ENTITY at-download-ftp "ftp://ftp.de.debian.org/debian/pool/main/a/at/at_&at-version;.orig.tar.gz"}
+  {!ENTITY at-md5sum "1da61af6c29e323abaaf13ee1a8dad79"}
+  {!ENTITY at-size "120 KB"}
+  {!ENTITY at-buildsize "1.4 MB"}
+  {!ENTITY at-time "less than 0.1 SBU"}
+]}
+
+{sect1 id="at" xreflabel="Fcron-&at-version;"}
+  {?dbhtml filename="at.html"?}
+
+  {sect1info}
+    {othername}$LastChangedBy${/othername}
+    {date}$Date${/date}
+  {/sect1info}
+
+  {title}at-&at-version;{/title}
+
+  {indexterm zone="at"}
+    {primary sortas="a-at"}at{/primary}
+  {/indexterm}
+
+  {sect2 role="package"}
+    {title}Introduction to at{/title}
+
+    {para}The {application}at{/application} package provide delayed job execution 
+    and batch processing. It is required for Linux Standards Base (LSB)
+    conformance.{/para}
+
+    &lfs70_checked;
+
+    {bridgehead renderas="sect3"}Package Information{/bridgehead}
+    {itemizedlist spacing="compact"}
+      {listitem}
+        {para}Download (HTTP): {ulink url="&at-download-http;"/}{/para}
+      {/listitem}
+      {listitem}
+        {para}Download (FTP): {ulink url="&at-download-ftp;"/}{/para}
+      {/listitem}
+      {listitem}
+        {para}Download MD5 sum: &at-md5sum;{/para}
+      {/listitem}
+      {listitem}
+        {para}Download size: &at-size;{/para}
+      {/listitem}
+      {listitem}
+        {para}Estimated disk space required: &at-buildsize;{/para}
+      {/listitem}
+      {listitem}
+        {para}Estimated build time: &at-time;{/para}
+      {/listitem}
+    {/itemizedlist}
+
+    {bridgehead renderas="sect3"}at Dependencies{/bridgehead}
+
+    {bridgehead renderas="sect4"}Optional{/bridgehead}
+    {para role="optional"}
+      {xref linkend="linux-pam"/}
+    {/para}
+
+    {para condition="html" role="usernotes"}User Notes:
+    {ulink url="&blfs-wiki;/at"/}{/para}
+
+  {/sect2}
+
+  {sect2 role="installation"}
+    {title}Installation of at{/title}
+
+    {para}Before building {application}at{/application}, as the
+    {systemitem class="username"}root{/systemitem} user you should create
+    the group and user {systemitem class="username"}atd{/systemitem} which
+    will run the {command}atd{/command} daemon:{/para}
+
+{screen role="root"}{userinput}groupadd -g 17 atd &&
+useradd -d /dev/null -c "atd daemon" -g atd -s /bin/false -u 17 atd{/userinput}{/screen}
+
+    {para}Install {application}at{/application} with the following
+    commands:{/para}
+
+    {screen}{userinput}./configure SPOOLDIR=/var/spool   \
+      --with-daemon_username=atd  \
+      --with-daemon_groupname=atd &&
+make{/userinput}{/screen}
+
+    {para}This package does not come with a test suite.{/para}
+
+    {para}Now, as the {systemitem class="username"}root{/systemitem} user:{/para}
+
+{screen role="root"}{userinput}make install{/userinput}{/screen}
+
+  {/sect2}
+
+  {sect2 role="configuration"}
+    {title}Configuring at{/title}
+
+    {sect3 id="at-config"}
+      {title}Config Files{/title}
+
+      {para} {filename}/etc/at.allow{/filename} and
+      {filename}/etc/at.deny{/filename} determines who can submit jobs via at
+      or batch.{/para}
+
+      {indexterm zone="at at-config"}
+        {primary sortas="e-etc-at.allow"}/etc/at.allow{/primary}
+      {/indexterm}
+
+      {indexterm zone="at at-config"}
+        {primary sortas="e-etc-at.deny"}/etc/at.deny{/primary}
+      {/indexterm}
+
+    {/sect3}
+
+    {sect3  id="at-init"}
+      {title}Boot Script{/title}
+
+      {para}Install the {filename}/etc/init.d/atd{/filename} init script from
+      the {xref linkend="bootscripts"/} package.{/para}
+
+      {indexterm zone="at at-init"}
+        {primary sortas="f-at"}at{/primary}
+      {/indexterm}
+
+{screen role="root"}{userinput}make install-atd{/userinput}{/screen}
+
+    {/sect3}
+
+  {/sect2}
+
+  {sect2 role="content"}
+    {title}Contents{/title}
+
+    {segmentedlist}
+      {segtitle}Installed Programs{/segtitle}
+      {segtitle}Installed Libraries{/segtitle}
+      {segtitle}Installed Directories{/segtitle}
+
+      {seglistitem}
+        {seg}at, atd, atrun, and batch{/seg}
+        {seg}None{/seg}
+        {seg}/var/spool/{atjobs,atspool}{/seg}
+      {/seglistitem}
+    {/segmentedlist}
+
+    {variablelist}
+      {bridgehead renderas="sect3"}Short Descriptions{/bridgehead}
+      {?dbfo list-presentation="list"?}
+      {?dbhtml list-presentation="table"?}
+
+      {varlistentry id="at-prog"}
+        {term}{command}at{/command}{/term}
+        {listitem}
+          {para}queues, examines or deletes jobs for later execution.{/para}
+          {indexterm zone="at at-prog"}
+            {primary sortas="b-at"}at{/primary}
+          {/indexterm}
+        {/listitem}
+      {/varlistentry}
+
+      {varlistentry id="atd"}
+        {term}{command}atd{/command}{/term}
+        {listitem}
+          {para}is the daemon that runs jobs queued for later execution.{/para}
+          {indexterm zone="at atd"}
+            {primary sortas="b-atd"}atd{/primary}
+          {/indexterm}
+        {/listitem}
+      {/varlistentry}
+
+      {varlistentry id="atrun"}
+        {term}{command}atrun{/command}{/term}
+        {listitem}
+          {para}runs jobs queued for later execution.{/para}
+          {indexterm zone="at atrun"}
+            {primary sortas="b-atrun"}atrun{/primary}
+          {/indexterm}
+        {/listitem}
+      {/varlistentry}
+
+      {varlistentry id="batch"}
+        {term}{command}batch{/command}{/term}
+        {listitem}
+          {para}is a script that executes commands when system load levels permit.
+          {/para}
+          {indexterm zone="at batch"}
+            {primary sortas="b-batch"}batch{/primary}
+          {/indexterm}
+        {/listitem}
+      {/varlistentry}
+
+    {/variablelist}
+
+  {/sect2}
+
+{/sect1}
Property changes on: general/sysutils/at.xml
___________________________________________________________________
Added: svn:keywords
   + Date LastChangedBy

Index: general/sysutils/sysutils.xml
===================================================================
--- general/sysutils/sysutils.xml	(revision 10146)
+++ general/sysutils/sysutils.xml	(revision 10147)
@@ -19,6 +19,7 @@
   some applications used by other applications in the book for
   installation or configuration purposes.{/para}
 
+  {xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="at.xml"/}
   {xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="autofs.xml"/}
   {xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gpm.xml"/}
   {xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fcron.xml"/}

Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml	(revision 10146)
+++ introduction/welcome/changelog.xml	(revision 10147)
@@ -45,6 +45,9 @@
       {para}May 9th, 2012{/para}
       {itemizedlist}
         {listitem}
+          {para}[bdubbs] - Added at-3.1.13.{/para}
+        {/listitem}
+        {listitem}
           {para}[krejzi] - DConf 0.12.1.{/para}
         {/listitem}
         {listitem}

Index: postlfs/config/users.xml
===================================================================
--- postlfs/config/users.xml	(revision 10146)
+++ postlfs/config/users.xml	(revision 10147)
@@ -70,8 +70,9 @@
         {row}{entry}bin     {/entry}{entry} 1{/entry}{entry}  {/entry}{/row}
         {row}{entry}lp      {/entry}{entry} 9{/entry}{entry}  {/entry}{/row}
         {!--{row}{entry}usb     {/entry}{entry}  {/entry}{entry}14{/entry}{/row} --}
+        {row}{entry}atd     {/entry}{entry}17{/entry}{entry}17{/entry}{/row}
         {row}{entry}messagebus{/entry}{entry}18{/entry}{entry}18{/entry}{/row}
-        {row}{entry}haldaemon{/entry}{entry}19{/entry}{entry}19{/entry}{/row}
+        {!--{row}{entry}haldaemon{/entry}{entry}19{/entry}{entry}19{/entry}{/row} --}
         {row}{entry}named   {/entry}{entry}20{/entry}{entry}20{/entry}{/row}
         {row}{entry}gdm     {/entry}{entry}21{/entry}{entry}21{/entry}{/row}
         {row}{entry}fcron   {/entry}{entry}22{/entry}{entry}22{/entry}{/row}




More information about the lfs-traducfr mailing list