[arch-commits] Commit in smartmontools/repos (6 files)
Christian Hesse
eworm at archlinux.org
Fri Oct 6 19:20:32 UTC 2017
Date: Friday, October 6, 2017 @ 19:20:31
Author: eworm
Revision: 307062
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
smartmontools/repos/testing-i686/
smartmontools/repos/testing-i686/PKGBUILD
(from rev 307061, smartmontools/trunk/PKGBUILD)
smartmontools/repos/testing-i686/smartd.conf
(from rev 307061, smartmontools/trunk/smartd.conf)
smartmontools/repos/testing-x86_64/
smartmontools/repos/testing-x86_64/PKGBUILD
(from rev 307061, smartmontools/trunk/PKGBUILD)
smartmontools/repos/testing-x86_64/smartd.conf
(from rev 307061, smartmontools/trunk/smartd.conf)
----------------------------+
testing-i686/PKGBUILD | 50 +++++++++++++++++++++++++++++++++++++++++++
testing-i686/smartd.conf | 1
testing-x86_64/PKGBUILD | 50 +++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/smartd.conf | 1
4 files changed, 102 insertions(+)
Copied: smartmontools/repos/testing-i686/PKGBUILD (from rev 307061, smartmontools/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-10-06 19:20:31 UTC (rev 307062)
@@ -0,0 +1,50 @@
+# $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.5
+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')
+validpgpkeys=('F41F01FC078449584FFCCF57DF0F1A49C4A4903A') # Smartmontools Signing Key (through 2016) <smartmontools-support at lists.sourceforge.net>
+source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
+ 'smartd.conf')
+sha256sums=('89e8bb080130bc6ce148573ba5bb91bfe30236b64b1b5bbca26515d4b5c945bc'
+ 'SKIP'
+ 'c2c0f2f6b4a3f3d76da1c7706139297aef6e3f2a705eb7fdd800544812427c74')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --with-drivedbdir \
+ --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/testing-i686/smartd.conf (from rev 307061, smartmontools/trunk/smartd.conf)
===================================================================
--- testing-i686/smartd.conf (rev 0)
+++ testing-i686/smartd.conf 2017-10-06 19:20:31 UTC (rev 307062)
@@ -0,0 +1 @@
+SMARTD_ARGS=""
Copied: smartmontools/repos/testing-x86_64/PKGBUILD (from rev 307061, smartmontools/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-10-06 19:20:31 UTC (rev 307062)
@@ -0,0 +1,50 @@
+# $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.5
+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')
+validpgpkeys=('F41F01FC078449584FFCCF57DF0F1A49C4A4903A') # Smartmontools Signing Key (through 2016) <smartmontools-support at lists.sourceforge.net>
+source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
+ 'smartd.conf')
+sha256sums=('89e8bb080130bc6ce148573ba5bb91bfe30236b64b1b5bbca26515d4b5c945bc'
+ 'SKIP'
+ 'c2c0f2f6b4a3f3d76da1c7706139297aef6e3f2a705eb7fdd800544812427c74')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --with-drivedbdir \
+ --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/testing-x86_64/smartd.conf (from rev 307061, smartmontools/trunk/smartd.conf)
===================================================================
--- testing-x86_64/smartd.conf (rev 0)
+++ testing-x86_64/smartd.conf 2017-10-06 19:20:31 UTC (rev 307062)
@@ -0,0 +1 @@
+SMARTD_ARGS=""
More information about the arch-commits
mailing list