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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Dec 5 16:31:27 UTC 2015


    Date: Saturday, December 5, 2015 @ 17:31:27
  Author: bpiotrowski
Revision: 252465

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  smartmontools/repos/staging-i686/
  smartmontools/repos/staging-i686/PKGBUILD
    (from rev 252464, smartmontools/trunk/PKGBUILD)
  smartmontools/repos/staging-i686/smartd.conf
    (from rev 252464, smartmontools/trunk/smartd.conf)
  smartmontools/repos/staging-x86_64/
  smartmontools/repos/staging-x86_64/PKGBUILD
    (from rev 252464, smartmontools/trunk/PKGBUILD)
  smartmontools/repos/staging-x86_64/smartd.conf
    (from rev 252464, smartmontools/trunk/smartd.conf)

----------------------------+
 staging-i686/PKGBUILD      |   48 +++++++++++++++++++++++++++++++++++++++++++
 staging-i686/smartd.conf   |    1 
 staging-x86_64/PKGBUILD    |   48 +++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/smartd.conf |    1 
 4 files changed, 98 insertions(+)

Copied: smartmontools/repos/staging-i686/PKGBUILD (from rev 252464, smartmontools/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-05 16:31:27 UTC (rev 252465)
@@ -0,0 +1,48 @@
+# $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=6.4
+pkgrel=2
+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')
+optdepends=('s-nail: to get mail alerts to work')
+backup=('etc/smartd.conf'
+        'etc/conf.d/smartd')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'smartd.conf')
+md5sums=('56812c8312fd123ed40ef65afde1049e'
+         '28c1b80c41dac52d433961dcfb4f70e0')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr \
+              --sbindir=/usr/bin \
+              --sysconfdir=/etc \
+              --enable-drivedb \
+              --with-libcap-ng=yes \
+              --with-systemdsystemunitdir=/usr/lib/systemd/system \
+              --with-smartdscriptdir=/usr/share/smartmontools \
+              --with-smartdplugindir=/usr/share/smartmontools/smartd_warning.d
+
+  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 -Dm644 ${srcdir}/smartd.conf "${pkgdir}/etc/conf.d/smartd"
+}

Copied: smartmontools/repos/staging-i686/smartd.conf (from rev 252464, smartmontools/trunk/smartd.conf)
===================================================================
--- staging-i686/smartd.conf	                        (rev 0)
+++ staging-i686/smartd.conf	2015-12-05 16:31:27 UTC (rev 252465)
@@ -0,0 +1 @@
+SMARTD_ARGS=""

Copied: smartmontools/repos/staging-x86_64/PKGBUILD (from rev 252464, smartmontools/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-05 16:31:27 UTC (rev 252465)
@@ -0,0 +1,48 @@
+# $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=6.4
+pkgrel=2
+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')
+optdepends=('s-nail: to get mail alerts to work')
+backup=('etc/smartd.conf'
+        'etc/conf.d/smartd')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'smartd.conf')
+md5sums=('56812c8312fd123ed40ef65afde1049e'
+         '28c1b80c41dac52d433961dcfb4f70e0')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr \
+              --sbindir=/usr/bin \
+              --sysconfdir=/etc \
+              --enable-drivedb \
+              --with-libcap-ng=yes \
+              --with-systemdsystemunitdir=/usr/lib/systemd/system \
+              --with-smartdscriptdir=/usr/share/smartmontools \
+              --with-smartdplugindir=/usr/share/smartmontools/smartd_warning.d
+
+  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 -Dm644 ${srcdir}/smartd.conf "${pkgdir}/etc/conf.d/smartd"
+}

Copied: smartmontools/repos/staging-x86_64/smartd.conf (from rev 252464, smartmontools/trunk/smartd.conf)
===================================================================
--- staging-x86_64/smartd.conf	                        (rev 0)
+++ staging-x86_64/smartd.conf	2015-12-05 16:31:27 UTC (rev 252465)
@@ -0,0 +1 @@
+SMARTD_ARGS=""



More information about the arch-commits mailing list