summaryrefslogtreecommitdiff
path: root/sysutils/smartmontools-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/smartmontools-devel/files')
-rw-r--r--sysutils/smartmontools-devel/files/patch-knowndrives.cpp11
-rw-r--r--sysutils/smartmontools-devel/files/patch-os__freebsd.cpp30
-rw-r--r--sysutils/smartmontools-devel/files/pkg-message.in14
-rw-r--r--sysutils/smartmontools-devel/files/smartd.in44
4 files changed, 0 insertions, 99 deletions
diff --git a/sysutils/smartmontools-devel/files/patch-knowndrives.cpp b/sysutils/smartmontools-devel/files/patch-knowndrives.cpp
deleted file mode 100644
index 70071494c1a0..000000000000
--- a/sysutils/smartmontools-devel/files/patch-knowndrives.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- knowndrives.cpp.orig 2008-02-02 19:10:48.000000000 +0100
-+++ knowndrives.cpp 2008-03-14 13:35:59.000000000 +0100
-@@ -1155,7 +1155,7 @@
- NULL, NULL, NULL, NULL
- },
- { "Western Digital Caviar SE Serial ATA family",
-- "^WDC WD((4|8|12|16|20|25|32|40)00(JD|KD))-.*$",
-+ "^WDC WD((4|8|12|16|20|25|32|40)00(JD|KD|PD))-.*$",
- ".*",
- NULL, NULL, NULL, NULL
- },
diff --git a/sysutils/smartmontools-devel/files/patch-os__freebsd.cpp b/sysutils/smartmontools-devel/files/patch-os__freebsd.cpp
deleted file mode 100644
index 288eb2cc07bf..000000000000
--- a/sysutils/smartmontools-devel/files/patch-os__freebsd.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
---- os_freebsd.cpp.orig 2008-03-04 23:09:47.000000000 +0100
-+++ os_freebsd.cpp 2008-03-14 13:52:37.000000000 +0100
-@@ -272,7 +272,6 @@
- }
-
- int highpoint_command_interface(__unused int fd, __unused smart_command_set command, __unused int select, __unused char *data) {
--{
- return -1;
- }
-
-@@ -924,6 +923,7 @@
- static const char * fbsd_dev_prefix = "/dev/";
- static const char * fbsd_dev_ata_disk_prefix = "ad";
- static const char * fbsd_dev_scsi_disk_plus = "da";
-+static const char * fbsd_dev_scsi_pass = "pass";
- static const char * fbsd_dev_scsi_tape1 = "sa";
- static const char * fbsd_dev_scsi_tape2 = "nsa";
- static const char * fbsd_dev_scsi_tape3 = "esa";
-@@ -960,6 +960,11 @@
- return CONTROLLER_ATA;
- }
-
-+ // form /dev/pass* or pass*
-+ if (!strncmp(fbsd_dev_scsi_pass, dev_name,
-+ strlen(fbsd_dev_scsi_pass)))
-+ goto handlescsi;
-+
- // form /dev/da* or da*
- if (!strncmp(fbsd_dev_scsi_disk_plus, dev_name,
- strlen(fbsd_dev_scsi_disk_plus)))
diff --git a/sysutils/smartmontools-devel/files/pkg-message.in b/sysutils/smartmontools-devel/files/pkg-message.in
deleted file mode 100644
index ee9f662c7703..000000000000
--- a/sysutils/smartmontools-devel/files/pkg-message.in
+++ /dev/null
@@ -1,14 +0,0 @@
-smartmontools has been installed
-
-To check the status of drives, use the following:
-
- %%PREFIX%%/sbin/smartctl -a /dev/ad0 for first ATA drive
- %%PREFIX%%/sbin/smartctl -a /dev/da0 for first SCSI drive
-
-To enable monitor of drives, you can use %%PREFIX%%/sbin/smartd
-A sample configuration file has been installed as
-%%PREFIX%%/etc/smartd.conf.sample
-Copy this file to %%PREFIX%%/etc/smartd.conf and edit appropriately
-
-To have smartd start at boot
- echo 'smartd_enable="YES"' >> /etc/rc.conf
diff --git a/sysutils/smartmontools-devel/files/smartd.in b/sysutils/smartmontools-devel/files/smartd.in
deleted file mode 100644
index 600a0bf2a472..000000000000
--- a/sysutils/smartmontools-devel/files/smartd.in
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-
-# PROVIDE: smartd
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
-# KEYWORD: shutdown
-
-# Define these smartd_* variables in one of these files:
-# /etc/rc.conf
-# /etc/rc.conf.local
-# /etc/rc.conf.d/smartd
-#
-# DO NOT CHANGE THESE DEFAULT VALUES HERE
-#
-smartd_enable="${smartd_enable-NO}"
-smartd_pidfile="/var/run/smartd.pid"
-
-. %%RC_SUBR%%
-
-name="smartd"
-rcvar=`set_rcvar`
-command="%%PREFIX%%/sbin/smartd"
-
-load_rc_config $name
-
-: ${smartd_config="%%PREFIX%%/etc/smartd.conf"}
-: ${smartd_flags="-c ${smartd_config}"}
-
-pidfile="${smartd_pidfile}"
-required_files="${smartd_config}"
-
-case "${smartd_flags}" in
-*-p\ *)
- echo "ERROR: \$smartd_flags includes -p option." \
- "Please use \$smartd_pidfile instead."
- exit 1
- ;;
-*)
- smartd_flags="-p ${pidfile} ${smartd_flags}"
- ;;
-esac
-
-run_rc_command "$1"