Author: bdubbs
Date: Fri Apr 15 19:39:22 2016
New Revision: 17259
Log:
Add Update to webkitgtk-2.12.1.
Add smartmontools-6.4.
Update to dconf-editor-3.20.1.
Update to gtkmm-3.20.1.
Update to Berkeley db-6.2.23.
Added:
trunk/BOOK/postlfs/filesystems/smartmontools.xml
- copied, changed from r17257, trunk/BOOK/postlfs/filesystems/gptfdisk.xml
trunk/bootscripts/blfs/init.d/smartd
Modified:
trunk/BOOK/general.ent
trunk/BOOK/gnome.ent
trunk/BOOK/gnome/platform/dconf.xml
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/packages.ent
trunk/BOOK/postlfs/filesystems/filesystems.xml
trunk/BOOK/server/databases/db.xml
trunk/BOOK/x/lib/gtkmm3.xml
trunk/BOOK/x/lib/webkitgtk.xml
trunk/bootscripts/ChangeLog
trunk/bootscripts/Makefile
Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent Fri Apr 15 15:14:41 2016 (r17258)
+++ trunk/BOOK/general.ent Fri Apr 15 19:39:22 2016 (r17259)
@@ -69,7 +69,7 @@
<!ENTITY lfs-vim-version "7.4">
<!-- End LFS versions -->
-<!ENTITY blfs-bootscripts-version "20150924">
+<!ENTITY blfs-bootscripts-version "20160415">
<!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
Modified: trunk/BOOK/gnome.ent
==============================================================================
--- trunk/BOOK/gnome.ent Fri Apr 15 15:14:41 2016 (r17258)
+++ trunk/BOOK/gnome.ent Fri Apr 15 19:39:22 2016 (r17259)
@@ -30,7 +30,7 @@
<!-- Runtime -->
<!ENTITY dconf-version "0.26.0">
-<!ENTITY dconf-editor-version "3.20.0">
+<!ENTITY dconf-editor-version "3.20.1">
<!ENTITY adwaita-icon-theme-version "3.20">
<!ENTITY gnome-icon-theme-version "3.12.0">
<!ENTITY gnome-icon-theme-extras-version "3.12.0">
Modified: trunk/BOOK/gnome/platform/dconf.xml
==============================================================================
--- trunk/BOOK/gnome/platform/dconf.xml Fri Apr 15 15:14:41 2016 (r17258)
+++ trunk/BOOK/gnome/platform/dconf.xml Fri Apr 15 19:39:22 2016 (r17259)
@@ -15,7 +15,7 @@
<!-- DConf-Editor -->
<!ENTITY dconf-editor-download-http
"&gnome-download-http;/dconf-editor/&gnome-minor-20;/dconf-editor-&dconf-editor-version;.tar.xz">
<!ENTITY dconf-editor-download-ftp
"&gnome-download-ftp;/dconf-editor/&gnome-minor-20;/dconf-editor-&dconf-editor-version;.tar.xz">
- <!ENTITY dconf-editor-md5sum "baa91b9ec5011e30c0dbd1d94648b39a">
+ <!ENTITY dconf-editor-md5sum "00e205f1ba87a1d1a99b7cdbc2bd518b">
<!ENTITY dconf-editor-size "332 KB">
<!ENTITY dconf-editor-buildsize "7.3 MB">
<!ENTITY dconf-editor-time "less than 0.1 SBU">
Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml Fri Apr 15 15:14:41
2016 (r17258)
+++ trunk/BOOK/introduction/welcome/changelog.xml Fri Apr 15 19:39:22
2016 (r17259)
@@ -48,6 +48,26 @@
<para>April 15th, 2016</para>
<itemizedlist>
<listitem>
+ <para>[bdubbs] - Add Update to webkitgtk-2.12.1. Fixes
+ <ulink url="&blfs-ticket-root;7730">#7730</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Add smartmontools-6.4. Fixes
+ <ulink url="&blfs-ticket-root;7441">#7441</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to dconf-editor-3.20.1. Fixes
+ <ulink url="&blfs-ticket-root;7729">#7729</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to gtkmm-3.20.1. Partially fixes
+ <ulink url="&blfs-ticket-root;7729">#7729</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to Berkeley db-6.2.23. Fixes
+ <ulink url="&blfs-ticket-root;7728">#7728</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[bdubbs] - Update to p7zip_15.14.1. Fixes
<ulink url="&blfs-ticket-root;7048">#7048</ulink>.</para>
</listitem>
Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent Fri Apr 15 15:14:41 2016 (r17258)
+++ trunk/BOOK/packages.ent Fri Apr 15 19:39:22 2016 (r17259)
@@ -51,6 +51,7 @@
<!ENTITY gptfdisk-version "1.0.1">
<!ENTITY parted-version "3.2">
<!ENTITY reiser-version "3.6.24">
+<!ENTITY smartmontools-version "6.4">
<!ENTITY sshfs-fuse-version "2.5">
<!ENTITY sshfs-fuse-download-version "2_5">
<!ENTITY xfsprogs-version "4.5.0">
@@ -431,7 +432,7 @@
<!ENTITY sendmail-version "8.15.2">
<!-- Chapter 22 -->
-<!ENTITY db-version "6.1.26">
+<!ENTITY db-version "6.2.23">
<!ENTITY lmdb-version "0.9.18">
<!ENTITY mariadb-version "10.1.13">
<!ENTITY postgresql-version "9.5.2">
@@ -490,7 +491,7 @@
<!ENTITY gtk3-version "3.20.3">
<!ENTITY gtk-engines-version "2.20.2">
<!ENTITY gtkmm2-version "2.24.4">
-<!ENTITY gtkmm3-version "3.20.0">
+<!ENTITY gtkmm3-version "3.20.1">
<!ENTITY gtksourceview-version "3.20.1">
<!ENTITY imlib2-version "1.4.8">
<!ENTITY keybinder2-version "0.3.0">
@@ -504,7 +505,7 @@
<!ENTITY shared-mime-info-version "1.6">
<!ENTITY startup-notification-version "0.12">
<!ENTITY webkitgtk2-version "2.4.10"> <!-- Even minors only -->
-<!ENTITY webkitgtk-version "2.12.0"> <!-- Even minors only -->
+<!ENTITY webkitgtk-version "2.12.1"> <!-- Even minors only -->
<!ENTITY gtk2-libdir "2.0/2.10.0">
<!ENTITY qt4-dir "$QT4DIR">
Modified: trunk/BOOK/postlfs/filesystems/filesystems.xml
==============================================================================
--- trunk/BOOK/postlfs/filesystems/filesystems.xml Fri Apr 15 15:14:41
2016 (r17258)
+++ trunk/BOOK/postlfs/filesystems/filesystems.xml Fri Apr 15 19:39:22
2016 (r17259)
@@ -33,6 +33,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gptfdisk.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="parted.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="reiser.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="smartmontools.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="sshfs-fuse.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xfsprogs.xml"/>
Copied and modified: trunk/BOOK/postlfs/filesystems/smartmontools.xml (from
r17257, trunk/BOOK/postlfs/filesystems/gptfdisk.xml)
==============================================================================
--- trunk/BOOK/postlfs/filesystems/gptfdisk.xml Thu Apr 14 06:25:46 2016
(r17257, copy source)
+++ trunk/BOOK/postlfs/filesystems/smartmontools.xml Fri Apr 15 19:39:22
2016 (r17259)
@@ -4,39 +4,37 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
- <!ENTITY gptfdisk-download-http
-
"&sourceforge-repo;/project/gptfdisk/gptfdisk/&gptfdisk-version;/gptfdisk-&gptfdisk-version;.tar.gz">
- <!ENTITY gptfdisk-download-ftp " ">
- <!ENTITY gptfdisk-md5sum "d7f3d306b083123bcc6f5941efade586">
- <!ENTITY gptfdisk-size "192 KB">
- <!ENTITY gptfdisk-buildsize "2.2 MB">
- <!ENTITY gptfdisk-time "less than 0.1 SBU">
+ <!ENTITY smartmontools-download-http
+
"&sourceforge-repo2;/projects/smartmontools/files/smartmontools/&smartmontools-version;/smartmontools-&smartmontools-version;.tar.gz">
+ <!ENTITY smartmontools-download-ftp " ">
+ <!ENTITY smartmontools-md5sum "56812c8312fd123ed40ef65afde1049e">
+ <!ENTITY smartmontools-size "804 KB">
+ <!ENTITY smartmontools-buildsize "18 MB">
+ <!ENTITY smartmontools-time "0.1 SBU">
]>
-<sect1 id="gptfdisk" xreflabel="gptfdisk-&gptfdisk-version;">
- <?dbhtml filename="gptfdisk.html"?>
+<sect1 id="smartmontools" xreflabel="smartmontools-&smartmontools-version;">
+ <?dbhtml filename="smartmontools.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
- <title>gptfdisk-&gptfdisk-version;</title>
+ <title>smartmontools-&smartmontools-version;</title>
- <indexterm zone="gptfdisk">
- <primary sortas="a-gptfdisk">gptfdisk</primary>
+ <indexterm zone="smartmontools">
+ <primary sortas="a-smartmontools">smartmontools</primary>
</indexterm>
<sect2 role="package">
- <title>Introduction to gptfdisk</title>
+ <title>Introduction to smartmontools</title>
<para>
- The <application>gptfdisk</application> package is a set of programs for
- creation and maintenance of GUID Partition Table (GPT) disk drives. A
- GPT partitioned disk is required for drives greater than 2 TB and is a
- modern replacement for legacy PC-BIOS partitioned disk drives that use a
- Master Boot Record (MBR). The main program, <command>gdisk</command>,
- has an inteface similar to the classic <command>fdisk</command> program.
+ The <application>smartmontools</application> package contains utility
+ programs (smartctl, smartd) to control/monitor storage systems using the
+ Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.)
+ built into most modern ATA and SCSI disks.
</para>
&lfs79_checked;
@@ -44,39 +42,32 @@
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
- <para>Download (HTTP): <ulink url="&gptfdisk-download-http;"/></para>
+ <para>Download (HTTP): <ulink
url="&smartmontools-download-http;"/></para>
</listitem>
<listitem>
- <para>Download (FTP): <ulink url="&gptfdisk-download-ftp;"/></para>
+ <para>Download (FTP): <ulink
url="&smartmontools-download-ftp;"/></para>
</listitem>
<listitem>
- <para>Download MD5 sum: &gptfdisk-md5sum;</para>
+ <para>Download MD5 sum: &smartmontools-md5sum;</para>
</listitem>
<listitem>
- <para>Download size: &gptfdisk-size;</para>
+ <para>Download size: &smartmontools-size;</para>
</listitem>
<listitem>
- <para>Estimated disk space required: &gptfdisk-buildsize;</para>
+ <para>Estimated disk space required: &smartmontools-buildsize;</para>
</listitem>
<listitem>
- <para>Estimated build time: &gptfdisk-time;</para>
+ <para>Estimated build time: &smartmontools-time;</para>
</listitem>
</itemizedlist>
- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
- <itemizedlist spacing='compact'>
- <listitem>
- <para>Recommended patch: <ulink
-
url="&patch-root;/gptfdisk-&gptfdisk-version;-convenience-1.patch"/></para>
- </listitem>
- </itemizedlist>
+ <bridgehead renderas="sect3">smartmontools Dependencies</bridgehead>
- <bridgehead renderas="sect3">gptfdisk Dependencies</bridgehead>
-
- <bridgehead renderas="sect4">Optional</bridgehead>
+ <bridgehead renderas="sect4">Optional (runtime)</bridgehead>
<para role="optional">
- <xref linkend="popt"/> (required to build sgdisk) and
- <xref linkend="icu"/> (for Unicode partition names)
+ <xref linkend="curl"/> or
+ <xref linkend="lynx"/> or
+ <xref linkend="wget"/> (download tools)
</para>
<para condition="html" role="usernotes">
@@ -85,17 +76,17 @@
</sect2>
<sect2 role="installation">
- <title>Installation of gptfdisk</title>
+ <title>Installation of smartmontools</title>
<para>
- The <application>gptfdisk</application> package comes with a
- rudimentary <filename>Makefile</filename>. First we update it
- to provide a simple build and install interface.
- Install <application>gptfdisk</application> by running the following
- commands:
+ Install <application>smartmontools</application> by running the
+ following commands:
</para>
-<screen><userinput>patch -Np1 -i
../gptfdisk-&gptfdisk-version;-convenience-1.patch &&
+<screen><userinput>./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-initscriptdir=no \
+ --docdir=/usr/share/doc/smartmontools-&smartmontools-version;
&&
make</userinput></screen>
<para>This package does not come with a test suite.</para>
@@ -105,21 +96,44 @@
</para>
<screen role="root"><userinput>make install</userinput></screen>
+
+ <sect3>
+ <title>Configuration Information</title>
+
+ <para>
+ See the embedded comments in <filename>/etc/smartd.conf</filename>
+ for detailed instructions on customizing the
+ <application>smartd</application> darmon.
+ </para>
+
+ </sect3>
+
+ <sect3 id="smartmontoools-init">
+ <title>Boot Script</title>
+
+ <para>
+ If you want the <application>smartd</application> daemon to
+ start automatically when the system is booted, install the
+ <filename>/etc/rc.d/init.d/smartd</filename> init script included
+ in the <xref linkend="bootscripts"/> package.
+ </para>
+
+ <indexterm zone="smartmontools smartmontoools-init">
+ <primary sortas="f-smartd">apache</primary>
+ </indexterm>
+
+<screen role="root"><userinput>make install-smartd</userinput></screen>
+
+ </sect3>
+
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
- <option>ICU=1</option>: Adding this option to the
<command>make</command>
- command allows use of Unicode characters in partition names.
- </para>
-
- <para>
- <option>POPT=1</option>: Adding this option to the
<command>make</command>
- command is required to build <command>sgdisk</command>. If used,
- this option needs to be on both the <command>make</command> and the
- <command>make install</command> line.
+ <option>--with-initscriptdir=no</option>: This option supresses the
+ default initialization script. See below for the BLFS script.
</para>
</sect2>
@@ -129,11 +143,23 @@
<segmentedlist>
<segtitle>Installed Programs</segtitle>
+ <segtitle>Installed Libraries</segtitle>
+ <segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
- cgdisk, gdisk, fixparts, and sgdisk
+ smartctl, smartd, and update-smart-drivedb
</seg>
+
+ <seg>
+ None
+ </seg>
+
+ <seg>
+ /usr/share/smartmontools, /usr/share/doc/smartmontools-6.4, and
+ etc/smartd_warning.d
+ </seg>
+
</seglistitem>
</segmentedlist>
@@ -142,45 +168,32 @@
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
- <varlistentry id="cgdisk">
- <term><command>cgdisk</command></term>
- <listitem>
- <para>is an is a curses-based text-mode tool for
- manipulating GPT partitions.</para>
- <indexterm zone="gptfdisk cgdisk">
- <primary sortas="b-cgdisk">cgdisk</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
- <varlistentry id="gdisk">
- <term><command>gdisk</command></term>
+ <varlistentry id="smartctl">
+ <term><command>smartctl</command></term>
<listitem>
- <para>is an interactive text-mode tool
- for manipulating GPT partitions.</para>
- <indexterm zone="gptfdisk gdisk">
- <primary sortas="b-gdisk">gdisk</primary>
+ <para>is the control and monitor utility for SMART Disks.</para>
+ <indexterm zone="smartmontools smartctl">
+ <primary sortas="b-smartctl">smartctl</primary>
</indexterm>
</listitem>
</varlistentry>
- <varlistentry id="fixparts">
- <term><command>fixparts</command></term>
+ <varlistentry id="smartd">
+ <term><command>smartd</command></term>
<listitem>
- <para>repairs mis-formatted MBR based disk partitions.</para>
- <indexterm zone="gptfdisk fixparts">
- <primary sortas="b-fixparts">fixparts</primary>
+ <para>is the SMART disk monitoring daemon.</para>
+ <indexterm zone="smartmontools smartd">
+ <primary sortas="b-smartd">smartd</primary>
</indexterm>
</listitem>
</varlistentry>
- <varlistentry id="sgdisk">
- <term><command>sgdisk</command></term>
+ <varlistentry id="update-smart-drivedb">
+ <term><command>update-smart-drivedb</command></term>
<listitem>
- <para>is a partition manipulation program for
- GPT partitions similar to <command>sfdisk</command>.</para>
- <indexterm zone="gptfdisk sgdisk">
- <primary sortas="b-sgdisk">sgdisk</primary>
+ <para>is th eupdate tool for the smartmontools drive database.</para>
+ <indexterm zone="smartmontools update-smart-drivedb">
+ <primary
sortas="b-update-smart-drivedb">update-smart-drivedb</primary>
</indexterm>
</listitem>
</varlistentry>
Modified: trunk/BOOK/server/databases/db.xml
==============================================================================
--- trunk/BOOK/server/databases/db.xml Fri Apr 15 15:14:41 2016 (r17258)
+++ trunk/BOOK/server/databases/db.xml Fri Apr 15 19:39:22 2016 (r17259)
@@ -7,10 +7,10 @@
<!ENTITY db-download-http
"http://download.oracle.com/berkeley-db/db-&db-version;.tar.gz">
<!ENTITY db-download-ftp " ">
- <!ENTITY db-md5sum "9525aa57a282d49e5d1bf5e48ffa8a56">
- <!ENTITY db-size "36 MB">
- <!ENTITY db-buildsize "296 MB">
- <!ENTITY db-time "0.8 SBU">
+ <!ENTITY db-md5sum "9da126afb937a48171ff1e569ce67cf1">
+ <!ENTITY db-size "42 MB">
+ <!ENTITY db-buildsize "334 MB">
+ <!ENTITY db-time "0.7 SBU">
]>
<sect1 id="db" xreflabel="Berkeley DB-&db-version;">
Modified: trunk/BOOK/x/lib/gtkmm3.xml
==============================================================================
--- trunk/BOOK/x/lib/gtkmm3.xml Fri Apr 15 15:14:41 2016 (r17258)
+++ trunk/BOOK/x/lib/gtkmm3.xml Fri Apr 15 19:39:22 2016 (r17259)
@@ -6,10 +6,10 @@
<!ENTITY gtkmm3-download-http
"&gnome-download-http;/gtkmm/3.20/gtkmm->kmm3-version;.tar.xz">
<!ENTITY gtkmm3-download-ftp
"&gnome-download-ftp;/gtkmm/3.20/gtkmm->kmm3-version;.tar.xz">
- <!ENTITY gtkmm3-md5sum "176b0611b42e97de49d7355cfb2fc914">
+ <!ENTITY gtkmm3-md5sum "c08b2548f4e900e7a0299b76d6c86a13">
<!ENTITY gtkmm3-size "11.6 MB">
<!ENTITY gtkmm3-buildsize "393 MB (with tests)">
- <!ENTITY gtkmm3-time "5.2 SBU (with tests)">
+ <!ENTITY gtkmm3-time "5.3 SBU (with tests)">
]>
<sect1 id="gtkmm3" xreflabel="Gtkmm->kmm3-version;">
Modified: trunk/BOOK/x/lib/webkitgtk.xml
==============================================================================
--- trunk/BOOK/x/lib/webkitgtk.xml Fri Apr 15 15:14:41 2016 (r17258)
+++ trunk/BOOK/x/lib/webkitgtk.xml Fri Apr 15 19:39:22 2016 (r17259)
@@ -7,10 +7,10 @@
<!-- This is the 2.8.x and later version of webkit -->
<!ENTITY webkitgtk-download-http
"http://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
<!ENTITY webkitgtk-download-ftp " ">
- <!ENTITY webkitgtk-md5sum "d233b5594c37a961308c230207d8b64f">
- <!ENTITY webkitgtk-size "11.1 MB">
+ <!ENTITY webkitgtk-md5sum "adcbee440d81acfb1ead9ada91bd5e79">
+ <!ENTITY webkitgtk-size "11.2ch MB">
<!ENTITY webkitgtk-buildsize "924 MB (109 MB installed)">
- <!ENTITY webkitgtk-time "42 SBU (using parallelism=4, estimated 90+
SBU using 1 core)">
+ <!ENTITY webkitgtk-time "38 SBU (using parallelism=4, estimated 90+
SBU using 1 core)">
]>
<sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
Modified: trunk/bootscripts/ChangeLog
==============================================================================
--- trunk/bootscripts/ChangeLog Fri Apr 15 15:14:41 2016 (r17258)
+++ trunk/bootscripts/ChangeLog Fri Apr 15 19:39:22 2016 (r17259)
@@ -1,3 +1,6 @@
+2016-04-15 Bruce Dubbs <[email protected]>
+ * Add smartd bootscript
+
2015-09-24 Fernando de Oliveira <famobr at yahoo.com.br>
* Fix again sddm bootscript.
Modified: trunk/bootscripts/Makefile
==============================================================================
--- trunk/bootscripts/Makefile Fri Apr 15 15:14:41 2016 (r17258)
+++ trunk/bootscripts/Makefile Fri Apr 15 19:39:22 2016 (r17259)
@@ -458,6 +458,16 @@
ln -sf ../init.d/sendmail ${EXTDIR}/rc.d/rc5.d/S35sendmail
ln -sf ../init.d/sendmail ${EXTDIR}/rc.d/rc6.d/K25sendmail
+install-smartd: create-dirs
+ install -m ${MODE} blfs/init.d/smartd ${EXTDIR}/rc.d/init.d/
+ ln -sf ../init.d/smartd ${EXTDIR}/rc.d/rc0.d/K70smartd
+ ln -sf ../init.d/smartd ${EXTDIR}/rc.d/rc1.d/K70smartd
+ ln -sf ../init.d/smartd ${EXTDIR}/rc.d/rc2.d/K70smartd
+ ln -sf ../init.d/smartd ${EXTDIR}/rc.d/rc3.d/S21smartd
+ ln -sf ../init.d/smartd ${EXTDIR}/rc.d/rc4.d/S21smartd
+ ln -sf ../init.d/smartd ${EXTDIR}/rc.d/rc5.d/S21smartd
+ ln -sf ../init.d/smartd ${EXTDIR}/rc.d/rc6.d/K70smartd
+
install-soprano: create-dirs
install -m ${MODE} blfs/init.d/soprano ${EXTDIR}/rc.d/init.d/
ln -sf ../init.d/soprano ${EXTDIR}/rc.d/rc0.d/K35soprano
@@ -872,6 +882,16 @@
rm -f ${EXTDIR}/rc.d/rc5.d/S25slapd
rm -f ${EXTDIR}/rc.d/rc6.d/K46slapd
+uinstall-smartd: c
+ rm -f ${EXTDIR}/rc.d/init.d/smartd
+ rm -f ${EXTDIR}/rc.d/rc0.d/K70smartd
+ rm -f ${EXTDIR}/rc.d/rc1.d/K70smartd
+ rm -f ${EXTDIR}/rc.d/rc2.d/K70smartd
+ rm -f ${EXTDIR}/rc.d/rc3.d/S21smartd
+ rm -f ${EXTDIR}/rc.d/rc4.d/S21smartd
+ rm -f ${EXTDIR}/rc.d/rc5.d/S21smartd
+ rm -f ${EXTDIR}/rc.d/rc6.d/K70smartd
+
uninstall-postfix:
rm -f ${EXTDIR}/rc.d/init.d/postfix
rm -f ${EXTDIR}/rc.d/rc0.d/K25postfix
Added: trunk/bootscripts/blfs/init.d/smartd
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/bootscripts/blfs/init.d/smartd Fri Apr 15 19:39:22 2016
(r17259)
@@ -0,0 +1,79 @@
+#! /bin/sh
+
+# smartmontools init file for smartd
+
+### BEGIN INIT INFO
+# Provides: smartd
+# Required-Start: $syslog $remote_fs
+# Should-Start: sendmail
+# Required-Stop: $syslog $remote_fs
+# Should-Stop: sendmail
+# Default-Start: 2 3 5
+# Default-Stop:
+# Short-Description: Monitors disk and tape health via S.M.A.R.T.
+# Description: Start S.M.A.R.T. disk and tape monitor.
+### END INIT INFO
+
+source /lib/lsb/init-functions
+
+# Source configuration file. This should define the shell variable smartd_opts
+[ -r /etc/sysconfig/smartmontools ] && . /etc/sysconfig/smartmontools
+
+SMARTD_BIN=/usr/sbin/smartd
+pidfile=/run/lock/smartd
+config=/etc/smartd.conf
+
+case "$1" in
+ start)
+ log_info_msg "Starting smartd... "
+
+ if [ ! -f $config ]; then
+ log_info_msg2 "configuration file $config missing"
+ failed=1
+
+ elif start_daemon $SMARTD_BIN $smartd_opts; then
+ touch $pidfile
+
+ else
+ failed=1
+ fi
+
+ (exit $failed)
+ evaluate_retval
+ ;;
+
+ stop)
+ log_info_msg "Stopping smartd... "
+ killproc $SMARTD_BIN
+ evaluate_retval
+ rm -f $pidfile
+ ;;
+
+ report)
+ log_info_msg "Checking SMART devices now... "
+ killproc $SMARTD_BIN -USR1
+ evaluate_retval
+ ;;
+
+ reload)
+ log_info_msg "Reloading smartd daemon configuration... "
+ killproc $SMARTD_BIN -HUP
+ evaluate_retval
+ ;;
+
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+
+ status)
+ statusproc $SMARTD_BIN
+ ;;
+
+ *)
+ echo "Usage: $0 {start|stop|report|reload|restart|status}"
+ exit 1
+ ;;
+esac
+
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page