[arch-commits] Commit in smartmontools/repos (14 files)

Dave Reisner dreisner at archlinux.org
Fri Jun 22 12:59:46 UTC 2012


    Date: Friday, June 22, 2012 @ 08:59:46
  Author: dreisner
Revision: 162164

db-move: moved smartmontools from [testing] to [extra] ( i686,  x86_64)

Added:
  smartmontools/repos/extra-i686/PKGBUILD
    (from rev 162156, smartmontools/repos/testing-i686/PKGBUILD)
  smartmontools/repos/extra-i686/smartd.conf
    (from rev 162156, smartmontools/repos/testing-i686/smartd.conf)
  smartmontools/repos/extra-i686/smartd.rc
    (from rev 162156, smartmontools/repos/testing-i686/smartd.rc)
  smartmontools/repos/extra-x86_64/PKGBUILD
    (from rev 162156, smartmontools/repos/testing-x86_64/PKGBUILD)
  smartmontools/repos/extra-x86_64/smartd.conf
    (from rev 162156, smartmontools/repos/testing-x86_64/smartd.conf)
  smartmontools/repos/extra-x86_64/smartd.rc
    (from rev 162156, smartmontools/repos/testing-x86_64/smartd.rc)
Deleted:
  smartmontools/repos/extra-i686/PKGBUILD
  smartmontools/repos/extra-i686/smartd.conf
  smartmontools/repos/extra-i686/smartd.rc
  smartmontools/repos/extra-x86_64/PKGBUILD
  smartmontools/repos/extra-x86_64/smartd.conf
  smartmontools/repos/extra-x86_64/smartd.rc
  smartmontools/repos/testing-i686/
  smartmontools/repos/testing-x86_64/

--------------------------+
 extra-i686/PKGBUILD      |   88 +++++++++++++++++++++++----------------------
 extra-i686/smartd.conf   |    2 -
 extra-i686/smartd.rc     |   78 +++++++++++++++++++--------------------
 extra-x86_64/PKGBUILD    |   88 +++++++++++++++++++++++----------------------
 extra-x86_64/smartd.conf |    2 -
 extra-x86_64/smartd.rc   |   78 +++++++++++++++++++--------------------
 6 files changed, 172 insertions(+), 164 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-06-22 12:59:38 UTC (rev 162163)
+++ extra-i686/PKGBUILD	2012-06-22 12:59:46 UTC (rev 162164)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Jeff Mickey <jeff at archlinux.org>
-# Contributor: Jani Talikka <jani.talikka at gmail.com>
-# Contributor: Ralf Barth <archlinux.org at haggy.org>
-
-pkgname=smartmontools
-pkgver=5.42
-pkgrel=3
-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' 'libcap-ng')
-backup=('etc/smartd.conf'
-        'etc/conf.d/smartd')
-source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
-        'smartd.conf'
-        'smartd.rc')
-md5sums=('4460bf9a79a1252ff5c00ba52cf76b2a'
-         '28c1b80c41dac52d433961dcfb4f70e0'
-         'fb30e07f87f2c1d99532e018291ad3e8')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --prefix=/usr \
-              --sysconfdir=/etc \
-              --enable-drivedb \
-              --with-libcap-ng=yes
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make DESTDIR=${pkgdir}/ install
-
-  rm -rf ${pkgdir}/etc/rc.d
-  install -Dm755 ${srcdir}/smartd.rc ${pkgdir}/etc/rc.d/smartd
-  install -Dm644 ${srcdir}/smartd.conf ${pkgdir}/etc/conf.d/smartd
-}

Copied: smartmontools/repos/extra-i686/PKGBUILD (from rev 162156, smartmontools/repos/testing-i686/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-06-22 12:59:46 UTC (rev 162164)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Jeff Mickey <jeff at archlinux.org>
+# Contributor: Jani Talikka <jani.talikka at gmail.com>
+# Contributor: Ralf Barth <archlinux.org at haggy.org>
+
+pkgname=smartmontools
+pkgver=5.42
+pkgrel=4
+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' 'libcap-ng' 'bash')
+backup=('etc/smartd.conf'
+        'etc/conf.d/smartd')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'smartd.conf'
+        'smartd.rc')
+md5sums=('4460bf9a79a1252ff5c00ba52cf76b2a'
+         '28c1b80c41dac52d433961dcfb4f70e0'
+         'fb30e07f87f2c1d99532e018291ad3e8')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --enable-drivedb \
+              --with-libcap-ng=yes \
+              --with-systemdsystemunitdir=/usr/lib/systemd/system
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  sed -i -e "s:sysconfig/smartmontools:conf.d/smartd:g" smartd.service
+  sed -i -e "s:smartd_opts:SMARTD_ARGS:g" smartd.service
+
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf ${pkgdir}/etc/rc.d
+  install -Dm755 ${srcdir}/smartd.rc "${pkgdir}/etc/rc.d/smartd"
+  install -Dm644 ${srcdir}/smartd.conf "${pkgdir}/etc/conf.d/smartd"
+}

Deleted: extra-i686/smartd.conf
===================================================================
--- extra-i686/smartd.conf	2012-06-22 12:59:38 UTC (rev 162163)
+++ extra-i686/smartd.conf	2012-06-22 12:59:46 UTC (rev 162164)
@@ -1 +0,0 @@
-SMARTD_ARGS=""

Copied: smartmontools/repos/extra-i686/smartd.conf (from rev 162156, smartmontools/repos/testing-i686/smartd.conf)
===================================================================
--- extra-i686/smartd.conf	                        (rev 0)
+++ extra-i686/smartd.conf	2012-06-22 12:59:46 UTC (rev 162164)
@@ -0,0 +1 @@
+SMARTD_ARGS=""

Deleted: extra-i686/smartd.rc
===================================================================
--- extra-i686/smartd.rc	2012-06-22 12:59:38 UTC (rev 162163)
+++ extra-i686/smartd.rc	2012-06-22 12:59:46 UTC (rev 162164)
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-# source application-specific settings
-SMARTD_ARGS=
-[ -f /etc/conf.d/smartd ] && . /etc/conf.d/smartd
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
-
-   start)
-     stat_busy "Starting smartd"
-     /usr/sbin/smartd ${SMARTD_ARGS} &>/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

Copied: smartmontools/repos/extra-i686/smartd.rc (from rev 162156, smartmontools/repos/testing-i686/smartd.rc)
===================================================================
--- extra-i686/smartd.rc	                        (rev 0)
+++ extra-i686/smartd.rc	2012-06-22 12:59:46 UTC (rev 162164)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+# source application-specific settings
+SMARTD_ARGS=
+[ -f /etc/conf.d/smartd ] && . /etc/conf.d/smartd
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+case "$1" in
+
+   start)
+     stat_busy "Starting smartd"
+     /usr/sbin/smartd ${SMARTD_ARGS} &>/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

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-06-22 12:59:38 UTC (rev 162163)
+++ extra-x86_64/PKGBUILD	2012-06-22 12:59:46 UTC (rev 162164)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Jeff Mickey <jeff at archlinux.org>
-# Contributor: Jani Talikka <jani.talikka at gmail.com>
-# Contributor: Ralf Barth <archlinux.org at haggy.org>
-
-pkgname=smartmontools
-pkgver=5.42
-pkgrel=3
-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' 'libcap-ng')
-backup=('etc/smartd.conf'
-        'etc/conf.d/smartd')
-source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
-        'smartd.conf'
-        'smartd.rc')
-md5sums=('4460bf9a79a1252ff5c00ba52cf76b2a'
-         '28c1b80c41dac52d433961dcfb4f70e0'
-         'fb30e07f87f2c1d99532e018291ad3e8')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --prefix=/usr \
-              --sysconfdir=/etc \
-              --enable-drivedb \
-              --with-libcap-ng=yes
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make DESTDIR=${pkgdir}/ install
-
-  rm -rf ${pkgdir}/etc/rc.d
-  install -Dm755 ${srcdir}/smartd.rc ${pkgdir}/etc/rc.d/smartd
-  install -Dm644 ${srcdir}/smartd.conf ${pkgdir}/etc/conf.d/smartd
-}

Copied: smartmontools/repos/extra-x86_64/PKGBUILD (from rev 162156, smartmontools/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-06-22 12:59:46 UTC (rev 162164)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Jeff Mickey <jeff at archlinux.org>
+# Contributor: Jani Talikka <jani.talikka at gmail.com>
+# Contributor: Ralf Barth <archlinux.org at haggy.org>
+
+pkgname=smartmontools
+pkgver=5.42
+pkgrel=4
+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' 'libcap-ng' 'bash')
+backup=('etc/smartd.conf'
+        'etc/conf.d/smartd')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'smartd.conf'
+        'smartd.rc')
+md5sums=('4460bf9a79a1252ff5c00ba52cf76b2a'
+         '28c1b80c41dac52d433961dcfb4f70e0'
+         'fb30e07f87f2c1d99532e018291ad3e8')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --enable-drivedb \
+              --with-libcap-ng=yes \
+              --with-systemdsystemunitdir=/usr/lib/systemd/system
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  sed -i -e "s:sysconfig/smartmontools:conf.d/smartd:g" smartd.service
+  sed -i -e "s:smartd_opts:SMARTD_ARGS:g" smartd.service
+
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf ${pkgdir}/etc/rc.d
+  install -Dm755 ${srcdir}/smartd.rc "${pkgdir}/etc/rc.d/smartd"
+  install -Dm644 ${srcdir}/smartd.conf "${pkgdir}/etc/conf.d/smartd"
+}

Deleted: extra-x86_64/smartd.conf
===================================================================
--- extra-x86_64/smartd.conf	2012-06-22 12:59:38 UTC (rev 162163)
+++ extra-x86_64/smartd.conf	2012-06-22 12:59:46 UTC (rev 162164)
@@ -1 +0,0 @@
-SMARTD_ARGS=""

Copied: smartmontools/repos/extra-x86_64/smartd.conf (from rev 162156, smartmontools/repos/testing-x86_64/smartd.conf)
===================================================================
--- extra-x86_64/smartd.conf	                        (rev 0)
+++ extra-x86_64/smartd.conf	2012-06-22 12:59:46 UTC (rev 162164)
@@ -0,0 +1 @@
+SMARTD_ARGS=""

Deleted: extra-x86_64/smartd.rc
===================================================================
--- extra-x86_64/smartd.rc	2012-06-22 12:59:38 UTC (rev 162163)
+++ extra-x86_64/smartd.rc	2012-06-22 12:59:46 UTC (rev 162164)
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-# source application-specific settings
-SMARTD_ARGS=
-[ -f /etc/conf.d/smartd ] && . /etc/conf.d/smartd
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
-
-   start)
-     stat_busy "Starting smartd"
-     /usr/sbin/smartd ${SMARTD_ARGS} &>/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

Copied: smartmontools/repos/extra-x86_64/smartd.rc (from rev 162156, smartmontools/repos/testing-x86_64/smartd.rc)
===================================================================
--- extra-x86_64/smartd.rc	                        (rev 0)
+++ extra-x86_64/smartd.rc	2012-06-22 12:59:46 UTC (rev 162164)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+# source application-specific settings
+SMARTD_ARGS=
+[ -f /etc/conf.d/smartd ] && . /etc/conf.d/smartd
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+case "$1" in
+
+   start)
+     stat_busy "Starting smartd"
+     /usr/sbin/smartd ${SMARTD_ARGS} &>/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




More information about the arch-commits mailing list