[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2020-09-13 Thread Jelle van der Waa via arch-commits
Date: Sunday, September 13, 2020 @ 12:09:30
  Author: jelle
Revision: 395985

Configure systemd environment file correctly

Add a configure argument to install the conf.d which fixes FS#48162

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-13 11:56:22 UTC (rev 395984)
+++ PKGBUILD2020-09-13 12:09:30 UTC (rev 395985)
@@ -5,7 +5,7 @@
 
 pkgname=smartmontools
 pkgver=7.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives"
 url="http://smartmontools.sourceforge.net;
 license=('GPL')
@@ -45,6 +45,7 @@
 --with-libcap-ng=yes \
 --with-libsystemd=yes \
 --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--with-systemdenvfile=/etc/conf.d/smartd \
 --with-smartdscriptdir=/usr/share/smartmontools \
 --with-smartdplugindir=/usr/share/smartmontools/smartd_warning.d
 


[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2020-09-03 Thread Christian Hesse via arch-commits
Date: Thursday, September 3, 2020 @ 15:58:16
  Author: eworm
Revision: 395388

upgpkg: smartmontools 7.1-3: remove obsolete option from service

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-03 14:02:29 UTC (rev 395387)
+++ PKGBUILD2020-09-03 15:58:16 UTC (rev 395388)
@@ -5,7 +5,7 @@
 
 pkgname=smartmontools
 pkgver=7.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives"
 url="http://smartmontools.sourceforge.net;
 license=('GPL')
@@ -27,6 +27,11 @@
 
   # make sure to use `uname -n` instead of `hostname`
   sed -i "/^os_hostname/c os_hostname=\"'uname -n'\"" configure.ac
+
+  # smartd.service.in: Remove obsolete 'StandardOutput=syslog'
+  # 
https://github.com/smartmontools/smartmontools/commit/f73303bc2d40adfc71e8bfaae043275e88cf9275
+  sed -i '/^StandardOutput=/d' smartd.service.in
+
   autoreconf -fi
 }
 


[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2020-08-28 Thread Christian Hesse via arch-commits
Date: Friday, August 28, 2020 @ 07:01:21
  Author: eworm
Revision: 394823

upgpkg: smartmontools 7.1-2: fix build, force using `uname -a`

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |   14 --
 1 file changed, 12 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-28 06:02:38 UTC (rev 394822)
+++ PKGBUILD2020-08-28 07:01:21 UTC (rev 394823)
@@ -5,12 +5,13 @@
 
 pkgname=smartmontools
 pkgver=7.1
-pkgrel=1
+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=('x86_64')
-depends=('gcc-libs' 'libcap-ng' 'bash')
+depends=('gcc-libs' 'libcap-ng' 'bash' 'systemd-libs')
+makedepends=('systemd')
 optdepends=('s-nail: to get mail alerts to work')
 backup=('etc/smartd.conf'
 'etc/conf.d/smartd')
@@ -21,6 +22,14 @@
 'SKIP'
 'c2c0f2f6b4a3f3d76da1c7706139297aef6e3f2a705eb7fdd800544812427c74')
 
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # make sure to use `uname -n` instead of `hostname`
+  sed -i "/^os_hostname/c os_hostname=\"'uname -n'\"" configure.ac
+  autoreconf -fi
+}
+
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
@@ -29,6 +38,7 @@
 --sysconfdir=/etc \
 --with-drivedbdir \
 --with-libcap-ng=yes \
+--with-libsystemd=yes \
 --with-systemdsystemunitdir=/usr/lib/systemd/system \
 --with-smartdscriptdir=/usr/share/smartmontools \
 --with-smartdplugindir=/usr/share/smartmontools/smartd_warning.d


[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2020-01-01 Thread Christian Hesse via arch-commits
Date: Wednesday, January 1, 2020 @ 14:15:56
  Author: eworm
Revision: 372424

upgpkg: smartmontools 7.1-1

new upstream release

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-01 12:18:45 UTC (rev 372423)
+++ PKGBUILD2020-01-01 14:15:56 UTC (rev 372424)
@@ -4,7 +4,7 @@
 # Contributor: Ralf Barth 
 
 pkgname=smartmontools
-pkgver=7.0
+pkgver=7.1
 pkgrel=1
 pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives"
 url="http://smartmontools.sourceforge.net;
@@ -14,10 +14,10 @@
 optdepends=('s-nail: to get mail alerts to work')
 backup=('etc/smartd.conf'
 'etc/conf.d/smartd')
-validpgpkeys=('887B8C6321104CA84A8EF91B18ECDA46CBF6BAC6') # Smartmontools 
Signing Key (through 2018) 
+validpgpkeys=('847AF8F72DF4C7B492382C94BF0B339C64BCAA8B') # Smartmontools 
Signing Key (through 2020) 
 
source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
 'smartd.conf')
-sha256sums=('e5e1ac2786bc87fdbd6f92d0ee751b799fbb3e1a09c0a6a379f9eb64b3e8f61c'
+sha256sums=('3f734d2c99deb1e4af62b25d944c6252de70ca64d766c4c7294545a2e659b846'
 'SKIP'
 'c2c0f2f6b4a3f3d76da1c7706139297aef6e3f2a705eb7fdd800544812427c74')
 


[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2019-09-28 Thread Christian Hesse via arch-commits
Date: Saturday, September 28, 2019 @ 21:57:53
  Author: eworm
Revision: 363525

fix unquoted variables

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |   18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-28 21:57:34 UTC (rev 363524)
+++ PKGBUILD2019-09-28 21:57:53 UTC (rev 363525)
@@ -25,13 +25,13 @@
   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
+--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
 }
@@ -44,6 +44,6 @@
 
   make DESTDIR="${pkgdir}" install
 
-  rm -rf ${pkgdir}/etc/rc.d
-  install -Dm644 ${srcdir}/smartd.conf "${pkgdir}/etc/conf.d/smartd"
+  rm -rf "${pkgdir}"/etc/rc.d
+  install -Dm644 "${srcdir}"/smartd.conf "${pkgdir}/etc/conf.d/smartd"
 }


[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2019-01-01 Thread Christian Hesse via arch-commits
Date: Tuesday, January 1, 2019 @ 20:56:03
  Author: eworm
Revision: 342870

upgpkg: smartmontools 7.0-1

new upstream release

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-01 20:53:57 UTC (rev 342869)
+++ PKGBUILD2019-01-01 20:56:03 UTC (rev 342870)
@@ -4,8 +4,8 @@
 # Contributor: Ralf Barth 
 
 pkgname=smartmontools
-pkgver=6.6
-pkgrel=2
+pkgver=7.0
+pkgrel=1
 pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives"
 url="http://smartmontools.sourceforge.net;
 license=('GPL')
@@ -17,7 +17,7 @@
 validpgpkeys=('887B8C6321104CA84A8EF91B18ECDA46CBF6BAC6') # Smartmontools 
Signing Key (through 2018) 
 
source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
 'smartd.conf')
-sha256sums=('51f43d0fb064fccaf823bbe68cf0d317d0895ff895aa353b3339a3b316a53054'
+sha256sums=('e5e1ac2786bc87fdbd6f92d0ee751b799fbb3e1a09c0a6a379f9eb64b3e8f61c'
 'SKIP'
 'c2c0f2f6b4a3f3d76da1c7706139297aef6e3f2a705eb7fdd800544812427c74')
 


[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2018-11-09 Thread Christian Hesse via arch-commits
Date: Friday, November 9, 2018 @ 10:30:58
  Author: eworm
Revision: 338440

upgpkg: smartmontools 6.6-2

rebuild old package

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-09 07:57:16 UTC (rev 338439)
+++ PKGBUILD2018-11-09 10:30:58 UTC (rev 338440)
@@ -5,7 +5,7 @@
 
 pkgname=smartmontools
 pkgver=6.6
-pkgrel=1
+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-commits] Commit in smartmontools/trunk (PKGBUILD)

2017-11-05 Thread Christian Hesse
Date: Monday, November 6, 2017 @ 07:51:42
  Author: eworm
Revision: 308945

upgpkg: smartmontools 6.6-1

new upstream release

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-06 07:25:23 UTC (rev 308944)
+++ PKGBUILD2017-11-06 07:51:42 UTC (rev 308945)
@@ -5,8 +5,8 @@
 # Contributor: Ralf Barth 
 
 pkgname=smartmontools
-pkgver=6.5
-pkgrel=2
+pkgver=6.6
+pkgrel=1
 pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives"
 url="http://smartmontools.sourceforge.net;
 license=('GPL')
@@ -15,10 +15,10 @@
 optdepends=('s-nail: to get mail alerts to work')
 backup=('etc/smartd.conf'
 'etc/conf.d/smartd')
-validpgpkeys=('F41F01FC078449584FFCCF57DF0F1A49C4A4903A') # Smartmontools 
Signing Key (through 2016) 
+validpgpkeys=('887B8C6321104CA84A8EF91B18ECDA46CBF6BAC6') # Smartmontools 
Signing Key (through 2018) 
 
source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
 'smartd.conf')
-sha256sums=('89e8bb080130bc6ce148573ba5bb91bfe30236b64b1b5bbca26515d4b5c945bc'
+sha256sums=('51f43d0fb064fccaf823bbe68cf0d317d0895ff895aa353b3339a3b316a53054'
 'SKIP'
 'c2c0f2f6b4a3f3d76da1c7706139297aef6e3f2a705eb7fdd800544812427c74')
 


[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2017-10-06 Thread Christian Hesse
Date: Friday, October 6, 2017 @ 19:20:25
  Author: eworm
Revision: 307061

upgpkg: smartmontools 6.5-2

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |   10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-10-06 19:12:30 UTC (rev 307060)
+++ PKGBUILD2017-10-06 19:20:25 UTC (rev 307061)
@@ -6,7 +6,7 @@
 
 pkgname=smartmontools
 pkgver=6.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives"
 url="http://smartmontools.sourceforge.net;
 license=('GPL')
@@ -15,10 +15,12 @@
 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;
+validpgpkeys=('F41F01FC078449584FFCCF57DF0F1A49C4A4903A') # Smartmontools 
Signing Key (through 2016) 
+source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
 'smartd.conf')
-md5sums=('093aeec3f8f39fa9a37593c4012d3156'
- '28c1b80c41dac52d433961dcfb4f70e0')
+sha256sums=('89e8bb080130bc6ce148573ba5bb91bfe30236b64b1b5bbca26515d4b5c945bc'
+'SKIP'
+'c2c0f2f6b4a3f3d76da1c7706139297aef6e3f2a705eb7fdd800544812427c74')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"


[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2016-05-18 Thread Antonio Rojas
Date: Wednesday, May 18, 2016 @ 09:05:46
  Author: arojas
Revision: 268277

Update to 6.5

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-18 06:52:55 UTC (rev 268276)
+++ PKGBUILD2016-05-18 07:05:46 UTC (rev 268277)
@@ -5,8 +5,8 @@
 # Contributor: Ralf Barth 
 
 pkgname=smartmontools
-pkgver=6.4
-pkgrel=2
+pkgver=6.5
+pkgrel=1
 pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives"
 url="http://smartmontools.sourceforge.net;
 license=('GPL')
@@ -17,7 +17,7 @@
 'etc/conf.d/smartd')
 
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz;
 'smartd.conf')
-md5sums=('56812c8312fd123ed40ef65afde1049e'
+md5sums=('093aeec3f8f39fa9a37593c4012d3156'
  '28c1b80c41dac52d433961dcfb4f70e0')
 
 build() {
@@ -26,7 +26,7 @@
   ./configure --prefix=/usr \
   --sbindir=/usr/bin \
   --sysconfdir=/etc \
-  --enable-drivedb \
+  --with-drivedbdir \
   --with-libcap-ng=yes \
   --with-systemdsystemunitdir=/usr/lib/systemd/system \
   --with-smartdscriptdir=/usr/share/smartmontools \


[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2015-12-05 Thread Bartłomiej Piotrowski
Date: Saturday, December 5, 2015 @ 17:31:20
  Author: bpiotrowski
Revision: 252464

C++11 ABI rebuild

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-05 16:17:16 UTC (rev 252463)
+++ PKGBUILD2015-12-05 16:31:20 UTC (rev 252464)
@@ -6,7 +6,7 @@
 
 pkgname=smartmontools
 pkgver=6.4
-pkgrel=1
+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-commits] Commit in smartmontools/trunk (PKGBUILD)

2015-06-07 Thread Giovanni Scafora
Date: Sunday, June 7, 2015 @ 08:11:04
  Author: giovanni
Revision: 240390

upgpkg: smartmontools 6.4-1

upstream release

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-06-07 06:05:39 UTC (rev 240389)
+++ PKGBUILD2015-06-07 06:11:04 UTC (rev 240390)
@@ -5,8 +5,8 @@
 # Contributor: Ralf Barth archlinux@haggy.org
 
 pkgname=smartmontools
-pkgver=6.3
-pkgrel=2
+pkgver=6.4
+pkgrel=1
 pkgdesc=Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives
 url=http://smartmontools.sourceforge.net;
 license=('GPL')
@@ -17,7 +17,7 @@
 'etc/conf.d/smartd')
 
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz;
 'smartd.conf')
-md5sums=('2ea0c62206e110192a97b59291b17f54'
+md5sums=('56812c8312fd123ed40ef65afde1049e'
  '28c1b80c41dac52d433961dcfb4f70e0')
 
 build() {


[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2015-03-29 Thread Giovanni Scafora
Date: Sunday, March 29, 2015 @ 10:37:36
  Author: giovanni
Revision: 235252

upgpkg: smartmontools 6.3-2

Fixed FS44318

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-03-29 08:02:55 UTC (rev 235251)
+++ PKGBUILD2015-03-29 08:37:36 UTC (rev 235252)
@@ -6,13 +6,13 @@
 
 pkgname=smartmontools
 pkgver=6.3
-pkgrel=1
+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=('heirloom-mailx: to get mail alerts to work')
+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;
@@ -28,7 +28,10 @@
   --sysconfdir=/etc \
   --enable-drivedb \
   --with-libcap-ng=yes \
-  --with-systemdsystemunitdir=/usr/lib/systemd/system
+  --with-systemdsystemunitdir=/usr/lib/systemd/system \
+  --with-smartdscriptdir=/usr/share/smartmontools \
+  --with-smartdplugindir=/usr/share/smartmontools/smartd_warning.d
+
   make
 }
 


[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2014-08-05 Thread Giovanni Scafora
Date: Tuesday, August 5, 2014 @ 19:28:26
  Author: giovanni
Revision: 219338

upgpkg: smartmontools 6.3-1

upstream release

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-08-05 17:21:51 UTC (rev 219337)
+++ PKGBUILD2014-08-05 17:28:26 UTC (rev 219338)
@@ -5,7 +5,7 @@
 # Contributor: Ralf Barth archlinux@haggy.org
 
 pkgname=smartmontools
-pkgver=6.2
+pkgver=6.3
 pkgrel=1
 pkgdesc=Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives
 url=http://smartmontools.sourceforge.net;
@@ -17,7 +17,7 @@
 'etc/conf.d/smartd')
 
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz;
 'smartd.conf')
-md5sums=('d44f84081a12cef79cd17f78044351fc'
+md5sums=('2ea0c62206e110192a97b59291b17f54'
  '28c1b80c41dac52d433961dcfb4f70e0')
 
 build() {



[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2013-08-11 Thread Giovanni Scafora
Date: Sunday, August 11, 2013 @ 18:45:20
  Author: giovanni
Revision: 192430

upgpkg: smartmontools 6.2-1

upstream release

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-08-11 16:40:16 UTC (rev 192429)
+++ PKGBUILD2013-08-11 16:45:20 UTC (rev 192430)
@@ -5,8 +5,8 @@
 # Contributor: Ralf Barth archlinux@haggy.org
 
 pkgname=smartmontools
-pkgver=6.1
-pkgrel=3
+pkgver=6.2
+pkgrel=1
 pkgdesc=Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives
 url=http://smartmontools.sourceforge.net;
 license=('GPL')
@@ -17,7 +17,7 @@
 'etc/conf.d/smartd')
 
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz;
 'smartd.conf')
-md5sums=('83a3a681f8183ed858392d550ae1cca6'
+md5sums=('d44f84081a12cef79cd17f78044351fc'
  '28c1b80c41dac52d433961dcfb4f70e0')
 
 build() {



[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2013-05-19 Thread Giovanni Scafora
Date: Sunday, May 19, 2013 @ 15:28:59
  Author: giovanni
Revision: 185825

upgpkg: smartmontools 6.1-3

remove /usr/sbin

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-19 13:06:56 UTC (rev 185824)
+++ PKGBUILD2013-05-19 13:28:59 UTC (rev 185825)
@@ -6,7 +6,7 @@
 
 pkgname=smartmontools
 pkgver=6.1
-pkgrel=2
+pkgrel=3
 pkgdesc=Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives
 url=http://smartmontools.sourceforge.net;
 license=('GPL')
@@ -24,6 +24,7 @@
   cd ${srcdir}/${pkgname}-${pkgver}
 
   ./configure --prefix=/usr \
+  --sbindir=/usr/bin \
   --sysconfdir=/etc \
   --enable-drivedb \
   --with-libcap-ng=yes \



[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2013-04-21 Thread Giovanni Scafora
Date: Sunday, April 21, 2013 @ 12:49:24
  Author: giovanni
Revision: 183305

upgpkg: smartmontools 6.1-2

Added heirloom-mailx as optional dep

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-04-21 09:43:31 UTC (rev 183304)
+++ PKGBUILD2013-04-21 10:49:24 UTC (rev 183305)
@@ -6,12 +6,13 @@
 
 pkgname=smartmontools
 pkgver=6.1
-pkgrel=1
+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=('heirloom-mailx: 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;



[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2013-03-25 Thread Giovanni Scafora
Date: Monday, March 25, 2013 @ 20:46:52
  Author: giovanni
Revision: 180691

upgpkg: smartmontools 6.1-1

upstream release

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-25 19:15:43 UTC (rev 180690)
+++ PKGBUILD2013-03-25 19:46:52 UTC (rev 180691)
@@ -5,8 +5,8 @@
 # Contributor: Ralf Barth archlinux@haggy.org
 
 pkgname=smartmontools
-pkgver=6.0
-pkgrel=2
+pkgver=6.1
+pkgrel=1
 pkgdesc=Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives
 url=http://smartmontools.sourceforge.net;
 license=('GPL')
@@ -16,7 +16,7 @@
 'etc/conf.d/smartd')
 
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz;
 'smartd.conf')
-md5sums=('5646a07f5f4bee8e2e649de8c6b7ae87'
+md5sums=('83a3a681f8183ed858392d550ae1cca6'
  '28c1b80c41dac52d433961dcfb4f70e0')
 
 build() {



[arch-commits] Commit in smartmontools/trunk (PKGBUILD smartd.rc)

2013-02-03 Thread Giovanni Scafora
Date: Sunday, February 3, 2013 @ 17:40:48
  Author: giovanni
Revision: 176999

upgpkg: smartmontools 6.0-2

drop support for initscripts

Modified:
  smartmontools/trunk/PKGBUILD
Deleted:
  smartmontools/trunk/smartd.rc

---+
 PKGBUILD  |9 +++--
 smartd.rc |   39 ---
 2 files changed, 3 insertions(+), 45 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-02-03 16:13:46 UTC (rev 176998)
+++ PKGBUILD2013-02-03 16:40:48 UTC (rev 176999)
@@ -6,7 +6,7 @@
 
 pkgname=smartmontools
 pkgver=6.0
-pkgrel=1
+pkgrel=2
 pkgdesc=Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives
 url=http://smartmontools.sourceforge.net;
 license=('GPL')
@@ -15,11 +15,9 @@
 backup=('etc/smartd.conf'
 'etc/conf.d/smartd')
 
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz;
-'smartd.conf'
-'smartd.rc')
+'smartd.conf')
 md5sums=('5646a07f5f4bee8e2e649de8c6b7ae87'
- '28c1b80c41dac52d433961dcfb4f70e0'
- 'fb30e07f87f2c1d99532e018291ad3e8')
+ '28c1b80c41dac52d433961dcfb4f70e0')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
@@ -41,6 +39,5 @@
   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: smartd.rc
===
--- smartd.rc   2013-02-03 16:13:46 UTC (rev 176998)
+++ smartd.rc   2013-02-03 16:40:48 UTC (rev 176999)
@@ -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



[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2012-10-17 Thread Giovanni Scafora
Date: Wednesday, October 17, 2012 @ 15:11:15
  Author: giovanni
Revision: 169083

upgpkg: smartmontools 6.0-1

upstream update

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-10-17 18:53:40 UTC (rev 169082)
+++ PKGBUILD2012-10-17 19:11:15 UTC (rev 169083)
@@ -5,7 +5,7 @@
 # Contributor: Ralf Barth archlinux@haggy.org
 
 pkgname=smartmontools
-pkgver=5.43
+pkgver=6.0
 pkgrel=1
 pkgdesc=Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives
 url=http://smartmontools.sourceforge.net;
@@ -17,7 +17,7 @@
 
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz;
 'smartd.conf'
 'smartd.rc')
-md5sums=('a1cb2c3d8cc2de377037fe9e7cef40a9'
+md5sums=('5646a07f5f4bee8e2e649de8c6b7ae87'
  '28c1b80c41dac52d433961dcfb4f70e0'
  'fb30e07f87f2c1d99532e018291ad3e8')
 



[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2012-07-14 Thread Giovanni Scafora
Date: Sunday, July 15, 2012 @ 01:04:04
  Author: giovanni
Revision: 163538

upgpkg: smartmontools 5.43-1

upstream release

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-07-15 01:13:11 UTC (rev 163537)
+++ PKGBUILD2012-07-15 05:04:04 UTC (rev 163538)
@@ -5,8 +5,8 @@
 # Contributor: Ralf Barth archlinux@haggy.org
 
 pkgname=smartmontools
-pkgver=5.42
-pkgrel=4
+pkgver=5.43
+pkgrel=1
 pkgdesc=Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives
 url=http://smartmontools.sourceforge.net;
 license=('GPL')
@@ -17,7 +17,7 @@
 
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz;
 'smartd.conf'
 'smartd.rc')
-md5sums=('4460bf9a79a1252ff5c00ba52cf76b2a'
+md5sums=('a1cb2c3d8cc2de377037fe9e7cef40a9'
  '28c1b80c41dac52d433961dcfb4f70e0'
  'fb30e07f87f2c1d99532e018291ad3e8')
 



[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2012-06-10 Thread Giovanni Scafora
Date: Sunday, June 10, 2012 @ 03:33:19
  Author: giovanni
Revision: 161353

upgpkg: smartmontools 5.42-4

systemd-arch-units dissolution

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |   16 ++--
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-06-10 06:11:24 UTC (rev 161352)
+++ PKGBUILD2012-06-10 07:33:19 UTC (rev 161353)
@@ -6,12 +6,12 @@
 
 pkgname=smartmontools
 pkgver=5.42
-pkgrel=3
+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')
+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;
@@ -27,16 +27,20 @@
   ./configure --prefix=/usr \
   --sysconfdir=/etc \
   --enable-drivedb \
-  --with-libcap-ng=yes
+  --with-libcap-ng=yes \
+  --with-systemdsystemunitdir=/usr/lib/systemd/system
   make
 }
 
 package() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
-  make DESTDIR=${pkgdir}/ install
+  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
+  install -Dm755 ${srcdir}/smartd.rc ${pkgdir}/etc/rc.d/smartd
+  install -Dm644 ${srcdir}/smartd.conf ${pkgdir}/etc/conf.d/smartd
 }



[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2011-12-19 Thread Giovanni Scafora
Date: Monday, December 19, 2011 @ 07:38:18
  Author: giovanni
Revision: 145191

upgpkg: smartmontools 5.42-3

Added libcap-ng support

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-12-19 12:35:11 UTC (rev 145190)
+++ PKGBUILD2011-12-19 12:38:18 UTC (rev 145191)
@@ -6,12 +6,12 @@
 
 pkgname=smartmontools
 pkgver=5.42
-pkgrel=2
+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')
+depends=('gcc-libs' 'libcap-ng')
 backup=('etc/smartd.conf'
 'etc/conf.d/smartd')
 
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz;
@@ -26,7 +26,8 @@
 
   ./configure --prefix=/usr \
   --sysconfdir=/etc \
-  --enable-drivedb
+  --enable-drivedb \
+  --with-libcap-ng=yes
   make
 }
 



[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2011-11-30 Thread Giovanni Scafora
Date: Wednesday, November 30, 2011 @ 18:00:05
  Author: giovanni
Revision: 143964

upgpkg: smartmontools 5.42-2

rebuild

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |   11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-11-30 22:40:01 UTC (rev 143963)
+++ PKGBUILD2011-11-30 23:00:05 UTC (rev 143964)
@@ -6,17 +6,17 @@
 
 pkgname=smartmontools
 pkgver=5.42
-pkgrel=1
-pkgdesc=Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives.
+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')
 backup=('etc/smartd.conf'
 'etc/conf.d/smartd')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
 \
-smartd.conf
-smartd.rc)
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz;
+'smartd.conf'
+'smartd.rc')
 md5sums=('4460bf9a79a1252ff5c00ba52cf76b2a'
  '28c1b80c41dac52d433961dcfb4f70e0'
  'fb30e07f87f2c1d99532e018291ad3e8')
@@ -34,6 +34,7 @@
   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



[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2011-10-22 Thread Giovanni Scafora
Date: Saturday, October 22, 2011 @ 10:29:49
  Author: giovanni
Revision: 141048

upgpkg: smartmontools 5.42-1

upstream release

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-10-22 13:38:23 UTC (rev 141047)
+++ PKGBUILD2011-10-22 14:29:49 UTC (rev 141048)
@@ -5,7 +5,7 @@
 # Contributor: Ralf Barth archlinux@haggy.org
 
 pkgname=smartmontools
-pkgver=5.41
+pkgver=5.42
 pkgrel=1
 pkgdesc=Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives.
 url=http://smartmontools.sourceforge.net;
@@ -17,7 +17,7 @@
 
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
 \
 smartd.conf
 smartd.rc)
-md5sums=('4577886bea79d4ff12bd9a7d323ce692'
+md5sums=('4460bf9a79a1252ff5c00ba52cf76b2a'
  '28c1b80c41dac52d433961dcfb4f70e0'
  'fb30e07f87f2c1d99532e018291ad3e8')
 



[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2011-06-13 Thread Giovanni Scafora
Date: Monday, June 13, 2011 @ 20:06:39
  Author: giovanni
Revision: 127374

upgpkg: smartmontools 5.41-1
upstream release

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |   14 ++
 1 file changed, 6 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-06-13 20:27:03 UTC (rev 127373)
+++ PKGBUILD2011-06-14 00:06:39 UTC (rev 127374)
@@ -5,7 +5,7 @@
 # Contributor: Ralf Barth archlinux@haggy.org
 
 pkgname=smartmontools
-pkgver=5.40
+pkgver=5.41
 pkgrel=1
 pkgdesc=Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives.
 url=http://smartmontools.sourceforge.net;
@@ -17,25 +17,23 @@
 
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
 \
 smartd.conf
 smartd.rc)
-md5sums=('0f0be0239914ad87830a4fff594bda5b'
+md5sums=('4577886bea79d4ff12bd9a7d323ce692'
  '28c1b80c41dac52d433961dcfb4f70e0'
  'fb30e07f87f2c1d99532e018291ad3e8')
 
-build()
-{
+build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
   ./configure --prefix=/usr \
   --sysconfdir=/etc \
   --enable-drivedb
-  make || return 1
+  make
 }
 
-package()
-{
+package() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
-  make DESTDIR=${pkgdir}/ install || return 1
+  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



[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2010-10-19 Thread Giovanni Scafora
Date: Tuesday, October 19, 2010 @ 08:09:31
  Author: giovanni
Revision: 96222

upgpkg: smartmontools 5.40-1
upstream release

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |   10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-10-19 12:02:24 UTC (rev 96221)
+++ PKGBUILD2010-10-19 12:09:31 UTC (rev 96222)
@@ -5,7 +5,7 @@
 # Contributor: Ralf Barth archlinux@haggy.org
 
 pkgname=smartmontools
-pkgver=5.39.1
+pkgver=5.40
 pkgrel=1
 pkgdesc=Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives.
 url=http://smartmontools.sourceforge.net;
@@ -17,7 +17,7 @@
 
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
 \
 smartd.conf
 smartd.rc)
-md5sums=('f6f7380ae45587161c0adae8862110e9'
+md5sums=('0f0be0239914ad87830a4fff594bda5b'
  '28c1b80c41dac52d433961dcfb4f70e0'
  'fb30e07f87f2c1d99532e018291ad3e8')
 
@@ -29,6 +29,12 @@
   --sysconfdir=/etc \
   --enable-drivedb
   make || return 1
+}
+
+package()
+{
+  cd ${srcdir}/${pkgname}-${pkgver}
+
   make DESTDIR=${pkgdir}/ install || return 1
   rm -rf ${pkgdir}/etc/rc.d
   install -Dm755 ${srcdir}/smartd.rc ${pkgdir}/etc/rc.d/smartd



[arch-commits] Commit in smartmontools/trunk (PKGBUILD)

2010-01-19 Thread Giovanni Scafora
Date: Tuesday, January 19, 2010 @ 14:27:30
  Author: giovanni
Revision: 64307

upgpkg: smartmontools 5.39-1
upstream release

Modified:
  smartmontools/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-01-19 19:21:48 UTC (rev 64306)
+++ PKGBUILD2010-01-19 19:27:30 UTC (rev 64307)
@@ -5,8 +5,8 @@
 # Contributor: Ralf Barth archlinux@haggy.org
 
 pkgname=smartmontools
-pkgver=5.38
-pkgrel=2
+pkgver=5.39
+pkgrel=1
 pkgdesc=Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives.
 url=http://smartmontools.sourceforge.net;
 license=('GPL')
@@ -17,13 +17,14 @@
 
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
 \
 smartd.conf
 smartd.rc)
-md5sums=('a282846532ecbd6b4a28072373b3a70b'
+md5sums=('63c1b5373a9ef91e9c9becb16e147571'
  '28c1b80c41dac52d433961dcfb4f70e0'
  'fb30e07f87f2c1d99532e018291ad3e8')
 
 build()
 {
   cd ${srcdir}/${pkgname}-${pkgver}
+
   ./configure --prefix=/usr \
   --sysconfdir=/etc
   make || return 1