summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild7
-rw-r--r--smartctl.pkg/control12
-rw-r--r--smartctl.pkg/docs2
-rw-r--r--smartctl.pkg/files1
-rw-r--r--smartd.pkg/control11
-rw-r--r--smartd.pkg/files4
-rw-r--r--smartmontools-doc.pkg/control11
-rw-r--r--smartmontools-doc.pkg/files3
8 files changed, 51 insertions, 0 deletions
diff --git a/build b/build
index 0b04e24..df67e3e 100755
--- a/build
+++ b/build
@@ -16,6 +16,13 @@ build:
install: build
oh-autoinstall
+ rm dest/usr/share/doc/smartmontools/AUTHORS
+ rm dest/usr/share/doc/smartmontools/COPYING
+ rm dest/usr/share/doc/smartmontools/ChangeLog*
+ rm dest/usr/share/doc/smartmontools/INSTALL
+ rm dest/usr/share/doc/smartmontools/NEWS
+ rm dest/usr/share/doc/smartmontools/README
+ rm dest/usr/share/doc/smartmontools/TODO
oh-fixperms
oh-strip
oh-installfiles
diff --git a/smartctl.pkg/control b/smartctl.pkg/control
new file mode 100644
index 0000000..f3d73b4
--- /dev/null
+++ b/smartctl.pkg/control
@@ -0,0 +1,12 @@
+Architecture: any
+Platform: all
+Section: util
+Depends: ${Shlib-Depends}
+Description: Control and monitor utility for SMART disks
+ smartctl controls the Self-Monitoring, Analysis and Reporting Technology
+ (SMART) system built into most ATA/SATA and SCSI/SAS hard drives and
+ solid-state drives. The purpose of SMART is to monitor the reliability of the
+ hard drive and predict drive failures, and to carry out different types of
+ drive self-tests. smartctl also supports some features not related to SMART.
+ This version of smartctl is compatible with ACS-3, ACS-2, ATA8-ACS, ATA/ATAPI-7
+ and earlier standards.
diff --git a/smartctl.pkg/docs b/smartctl.pkg/docs
new file mode 100644
index 0000000..4155993
--- /dev/null
+++ b/smartctl.pkg/docs
@@ -0,0 +1,2 @@
+src/AUTHORS
+src/NEWS
diff --git a/smartctl.pkg/files b/smartctl.pkg/files
new file mode 100644
index 0000000..065d1d4
--- /dev/null
+++ b/smartctl.pkg/files
@@ -0,0 +1 @@
+/usr/sbin/smartctl
diff --git a/smartd.pkg/control b/smartd.pkg/control
new file mode 100644
index 0000000..02e5e35
--- /dev/null
+++ b/smartd.pkg/control
@@ -0,0 +1,11 @@
+Architecture: any
+Platform: all
+Section: util
+Depends: smartctl (>= ${Source-Version}), ${Shlib-Depends}
+Description: SMART disk monitoring daemon
+ smartd is a daemon that monitors the Self-Monitoring, Analysis and Reporting
+ Technology (SMART) system built into most ATA/SATA and SCSI/SAS hard drives and
+ solid-state drives. The purpose of SMART is to monitor the reliability of the
+ hard drive and predict drive failures, and to carry out different types of
+ drive self-tests. This version of smartd is compatible with ACS-3, ACS-2,
+ ATA8-ACS, ATA/ATAPI-7 and earlier standards.
diff --git a/smartd.pkg/files b/smartd.pkg/files
new file mode 100644
index 0000000..b02ec59
--- /dev/null
+++ b/smartd.pkg/files
@@ -0,0 +1,4 @@
+/etc/smartd.conf
+/etc/smartd_warning.d/
+/etc/smartd_warning.sh
+/usr/sbin/smartd
diff --git a/smartmontools-doc.pkg/control b/smartmontools-doc.pkg/control
new file mode 100644
index 0000000..9adde0a
--- /dev/null
+++ b/smartmontools-doc.pkg/control
@@ -0,0 +1,11 @@
+Architecture: all
+Platform: all
+Section: doc
+Depends: smartctl (>= ${Source-Version})
+Description: SMART utility toolset - documentation
+ smartmontools contains utilities that control and monitor storage devices using
+ the Self-Monitoring, Analysis and Reporting Technology (SMART) system built
+ into ATA/SATA and SCSI/SAS hard drives and solid-state drives. This is used to
+ check the reliability of the drive and to predict drive failures.
+ .
+ This package provides documentation for the SMART utility toolset.
diff --git a/smartmontools-doc.pkg/files b/smartmontools-doc.pkg/files
new file mode 100644
index 0000000..1e1c399
--- /dev/null
+++ b/smartmontools-doc.pkg/files
@@ -0,0 +1,3 @@
+/usr/share/doc/smartmontools/examplescripts/
+/usr/share/doc/smartmontools/smartd.conf
+/usr/share/man/