Skip to content
Snippets Groups Projects
Commit a477d384 authored by ballen4705's avatar ballen4705
Browse files

release 38

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@243 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 241749ca
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
#
# Home page: http://smartmontools.sourceforge.net
#
# $Id: Makefile,v 1.36 2002/11/07 21:51:34 ballen4705 Exp $
# $Id: Makefile,v 1.37 2002/11/11 12:43:53 ballen4705 Exp $
#
# Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
#
......@@ -72,6 +72,18 @@ scsicmds.o: scsicmds.c scsicmds.h Makefile
scsiprint.o: scsiprint.c extern.h scsicmds.h scsiprint.h smartctl.h Makefile
$(CC) $(CFLAGS) -c scsiprint.c
# This extracts the configuration file directives from smartd.8 and
# inserts them into smartd.conf.5
smartd.conf.5: smartd.8
sed '1,/STARTINCLUDE/ D;/ENDINCLUDE/,$$D' < smartd.8 > tmp.directives
sed '/STARTINCLUDE/,$$D' < smartd.conf.5 > tmp.head
sed '1,/ENDINCLUDE/D' < smartd.conf.5 > tmp.tail
cat tmp.head > smartd.conf.5
echo "\# STARTINCLUDE" >> smartd.conf.5
cat tmp.directives >> smartd.conf.5
echo "\# ENDINCLUDE" >> smartd.conf.5
cat tmp.tail >> smartd.conf.5
rm -f tmp.head tmp.tail tmp.directives
clean:
rm -f *.o smartctl smartd *~ \#*\# smartmontools*.tar.gz smartmontools*.rpm temp.* smart*.8.gz smart*.5.gz
......@@ -101,7 +113,6 @@ install:
@echo -e "\n\nSmartd can now use a configuration file /etc/smartd.conf. Do:\nman 8 smartd\n."
@echo -e "A sample configuration file may be found in /usr/share/doc/smartmontools-5.0 and /etc/smartd.conf.example/\n\n"
# perhaps for consistency I should also have $(DESTDIR) for the uninstall...
uninstall:
rm -f /usr/share/man/man8/smartctl.8 /usr/share/man/man8/smartd.8 /usr/sbin/smartctl \
......@@ -117,7 +128,7 @@ uninstall:
# All this mess is to automatically increment the release numbers.
# The number of the next release is kept in the file "VERSION"
release:
release: smartd.conf.5
cat smartmontools.spec | sed '/Release:/d' > temp.spec
echo "Release: " $(counter) > temp.version
cat temp.version temp.spec > smartmontools.spec
......
37
38
\# Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
\#
\# $Id: smartd.8,v 1.24 2002/11/10 21:54:19 ballen4705 Exp $
\# $Id: smartd.8,v 1.25 2002/11/11 12:43:53 ballen4705 Exp $
\#
\# 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
......@@ -16,7 +16,7 @@
\# Research Center), Jack Baskin School of Engineering, University of
\# California, Santa Cruz. http://ssrc.soe.ucsc.edu/
\#
.TH SMARTD 8 "$Date: 2002/11/10 21:54:19 $" "smartmontools-5.0"
.TH SMARTD 8 "$Date: 2002/11/11 12:43:53 $" "smartmontools-5.0"
.SH NAME
smartd \- S.M.A.R.T. Daemon
.SH SYNOPSIS
......@@ -143,6 +143,8 @@ and disabled using the command:
.nf
.B /sbin/chkconfig --del smartd
\# STARTINCLUDE
.SH CONFIGURATION FILE /etc/smartd.conf
In the absence of a configuration file,
.B smartd
......@@ -405,6 +407,8 @@ configuration file Directives might be
If you want more frequent information, use
.B -a.
\# ENDINCLUDE
.SH NOTES
.B smartd
will make log entries at loglevel
......@@ -514,4 +518,4 @@ Please let us know if there is an on\-line source for this document.
.SH
CVS ID OF THIS PAGE:
$Id: smartd.8,v 1.24 2002/11/10 21:54:19 ballen4705 Exp $
$Id: smartd.8,v 1.25 2002/11/11 12:43:53 ballen4705 Exp $
\# Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
\#
\# $Id: smartd.conf.5,v 1.2 2002/11/10 21:54:19 ballen4705 Exp $
\# $Id: smartd.conf.5,v 1.3 2002/11/11 12:43:53 ballen4705 Exp $
\#
\# 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
......@@ -16,7 +16,7 @@
\# Research Center), Jack Baskin School of Engineering, University of
\# California, Santa Cruz. http://ssrc.soe.ucsc.edu/
\#
.TH SMARTD.CONF 5 "$Date: 2002/11/10 21:54:19 $" "smartmontools-5.0"
.TH SMARTD.CONF 5 "$Date: 2002/11/11 12:43:53 $" "smartmontools-5.0"
.SH NAME
/etc/smartd.conf \- S.M.A.R.T. Monitoring Daemon Configuration File
......@@ -40,6 +40,8 @@ that it has
.I not
re-read the configuration file.
\# STARTINCLUDE
.SH CONFIGURATION FILE /etc/smartd.conf
In the absence of a configuration file,
.B smartd
......@@ -302,6 +304,8 @@ configuration file Directives might be
If you want more frequent information, use
.B -a.
\# ENDINCLUDE
.PP
.SH AUTHOR
Bruce Allen
......@@ -341,4 +345,4 @@ SEE ALSO:
.SH
CVS ID OF THIS PAGE:
$Id: smartd.conf.5,v 1.2 2002/11/10 21:54:19 ballen4705 Exp $
$Id: smartd.conf.5,v 1.3 2002/11/11 12:43:53 ballen4705 Exp $
Release: 37
Release: 38
Summary: SMARTmontools - for monitoring S.M.A.R.T. disks and devices
Summary(de): SMARTmontools - zur berwachung von S.M.A.R.T.-Platten und-Gerten
Summary(es): SMARTmontools - para el seguimiento de discos y dispositivos S.M.A.R.T.
......@@ -29,7 +29,7 @@ Packager: Bruce Allen <smartmontools-support@lists.sourceforge.net>
# http://ftp1.sourceforge.net/smartmontools/smartmontools-%{version}-%{release}.tar.gz
# CVS ID of this file is:
# $Id: smartmontools.spec,v 1.56 2002/11/11 10:56:35 ballen4705 Exp $
# $Id: smartmontools.spec,v 1.57 2002/11/11 12:43:53 ballen4705 Exp $
# Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
# Home page: http://smartmontools.sourceforge.net/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment