summaryrefslogtreecommitdiff
path: root/sysutils/smartmontools-devel
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/smartmontools-devel')
-rw-r--r--sysutils/smartmontools-devel/Makefile33
-rw-r--r--sysutils/smartmontools-devel/distinfo3
-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
-rw-r--r--sysutils/smartmontools-devel/pkg-descr7
-rw-r--r--sysutils/smartmontools-devel/pkg-plist22
8 files changed, 0 insertions, 164 deletions
diff --git a/sysutils/smartmontools-devel/Makefile b/sysutils/smartmontools-devel/Makefile
deleted file mode 100644
index fed31cf28b3f..000000000000
--- a/sysutils/smartmontools-devel/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-# New ports collection makefile for: smartmontools
-# Date created: 12 October 2003
-# Whom: Eduard Martinescu
-#
-# $FreeBSD$
-#
-
-PORTNAME= smartmontools
-PORTVERSION= 5.38
-CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
-
-MAINTAINER= pav@FreeBSD.org
-COMMENT= S.M.A.R.T. disk monitoring tools
-
-USE_GMAKE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --enable-sample
-
-SUB_FILES= pkg-message
-USE_RC_SUBR= smartd
-
-MAN5= smartd.conf.5
-MAN8= smartd.8 smartctl.8
-
-post-patch:
- @${REINPLACE_CMD} -e 's| install-initdDATA | |' ${WRKSRC}/Makefile.in
-
-post-install:
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
diff --git a/sysutils/smartmontools-devel/distinfo b/sysutils/smartmontools-devel/distinfo
deleted file mode 100644
index a604c0dabdad..000000000000
--- a/sysutils/smartmontools-devel/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (smartmontools-5.38.tar.gz) = a282846532ecbd6b4a28072373b3a70b
-SHA256 (smartmontools-5.38.tar.gz) = b2097320a1fca4851f1377a14f4cc14a46e27d2a44ca017c40a6cb618b2f31e8
-SIZE (smartmontools-5.38.tar.gz) = 617326
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"
diff --git a/sysutils/smartmontools-devel/pkg-descr b/sysutils/smartmontools-devel/pkg-descr
deleted file mode 100644
index c95debe3b9fa..000000000000
--- a/sysutils/smartmontools-devel/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-The smartmontools package contains two utility programs (smartctl and smartd)
-to control and monitor storage systems using the Self-Monitoring, Analysis
-and Reporting Technology System (S.M.A.R.T.) built into most modern ATA and
-SCSI hard disks. It is derived from the smartsuite package, and includes
-support for ATA/ATAPI-5 disks.
-
-WWW: http://smartmontools.sourceforge.net
diff --git a/sysutils/smartmontools-devel/pkg-plist b/sysutils/smartmontools-devel/pkg-plist
deleted file mode 100644
index 4e77c480f242..000000000000
--- a/sysutils/smartmontools-devel/pkg-plist
+++ /dev/null
@@ -1,22 +0,0 @@
-@comment $FreeBSD$
-@unexec /bin/echo "===>" Stopping smartd ...
-@unexec /usr/bin/killall smartd 2>/dev/null || true
-etc/smartd.conf.sample
-sbin/smartctl
-sbin/smartd
-%%DOCSDIR%%/AUTHORS
-%%DOCSDIR%%/CHANGELOG
-%%DOCSDIR%%/COPYING
-%%DOCSDIR%%/INSTALL
-%%DOCSDIR%%/NEWS
-%%DOCSDIR%%/README
-%%DOCSDIR%%/TODO
-%%DOCSDIR%%/WARNINGS
-%%DOCSDIR%%/examplescripts/Example1
-%%DOCSDIR%%/examplescripts/Example2
-%%DOCSDIR%%/examplescripts/Example3
-%%DOCSDIR%%/examplescripts/Example4
-%%DOCSDIR%%/examplescripts/README
-%%DOCSDIR%%/smartd.conf
-@dirrm %%DOCSDIR%%/examplescripts
-@dirrm %%DOCSDIR%%