diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/extra-testing/smartmontools | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/extra-testing/smartmontools')
-rw-r--r-- | abs/extra-testing/smartmontools/PKGBUILD | 27 | ||||
-rw-r--r-- | abs/extra-testing/smartmontools/smartd | 35 |
2 files changed, 0 insertions, 62 deletions
diff --git a/abs/extra-testing/smartmontools/PKGBUILD b/abs/extra-testing/smartmontools/PKGBUILD deleted file mode 100644 index dbee715..0000000 --- a/abs/extra-testing/smartmontools/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# $Id: PKGBUILD 6701 2008-07-27 13:29:59Z giovanni $ -# Maintainer: Giovanni Scafora <giovanni@archlinux.org> -# Contributor: Jeff Mickey <jeff@archlinux.org> -# Contributor: Jani Talikka <jani.talikka@gmail.com> - -pkgname=smartmontools -pkgver=5.38 -pkgrel=1 -pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives." -url="http://smartmontools.sourceforge.net" -license=('GPL') -arch=('i686' 'x86_64') -depends=('gcc-libs') -backup=('etc/smartd.conf') -source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz \ - smartd) - -build() -{ - cd ${startdir}/src/${pkgname}-${pkgver} - ./configure --prefix=/usr --sysconfdir=/etc - make || return 1 - make DESTDIR=${startdir}/pkg install - rm -rf ${startdir}/pkg/etc/rc.d - install -D -m 755 ../smartd ${startdir}/pkg/etc/rc.d/smartd -} -md5sums=('a282846532ecbd6b4a28072373b3a70b' '850f98b6792b7642ff193a49a2f1139d') diff --git a/abs/extra-testing/smartmontools/smartd b/abs/extra-testing/smartmontools/smartd deleted file mode 100644 index 5fcc414..0000000 --- a/abs/extra-testing/smartmontools/smartd +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - - . /etc/rc.conf - . /etc/rc.d/functions - - case "$1" in - - start) - stat_busy "Starting smartd" - /usr/sbin/smartd &>/dev/null - if [ $? -ne 0 ]; then - stat_fail - else - add_daemon smartd - stat_done - fi - ;; - - stop) - stat_busy "Stopping smartd" - kill -9 `pidof /usr/sbin/smartd` &>/dev/null - rm_daemon smartd - stat_done - ;; - - restart) - stat_busy "Restarting smartd ..." - $0 stop - $0 start - stat_done - ;; - - *) - echo "usage: $0 {start|stop|restart}" - esac |