[arch-commits] Commit in smartmontools/repos/extra-x86_64 (4 files)

Jelle van der Waa jelle at archlinux.org
Sun Sep 13 12:09:41 UTC 2020


    Date: Sunday, September 13, 2020 @ 12:09:40
  Author: jelle
Revision: 395986

archrelease: copy trunk to extra-x86_64

Added:
  smartmontools/repos/extra-x86_64/PKGBUILD
    (from rev 395985, smartmontools/trunk/PKGBUILD)
  smartmontools/repos/extra-x86_64/smartd.conf
    (from rev 395985, smartmontools/trunk/smartd.conf)
Deleted:
  smartmontools/repos/extra-x86_64/PKGBUILD
  smartmontools/repos/extra-x86_64/smartd.conf

-------------+
 PKGBUILD    |  129 +++++++++++++++++++++++++++++-----------------------------
 smartd.conf |    2 
 2 files changed, 66 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-13 12:09:30 UTC (rev 395985)
+++ PKGBUILD	2020-09-13 12:09:40 UTC (rev 395986)
@@ -1,64 +0,0 @@
-# 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=7.1
-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=('x86_64')
-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')
-validpgpkeys=('847AF8F72DF4C7B492382C94BF0B339C64BCAA8B') # Smartmontools Signing Key (through 2020) <smartmontools-support at listi.jpberlin.de>
-source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
-        'smartd.conf')
-sha256sums=('3f734d2c99deb1e4af62b25d944c6252de70ca64d766c4c7294545a2e659b846'
-            '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
-
-  # smartd.service.in: Remove obsolete 'StandardOutput=syslog'
-  # https://github.com/smartmontools/smartmontools/commit/f73303bc2d40adfc71e8bfaae043275e88cf9275
-  sed -i '/^StandardOutput=/d' smartd.service.in
-
-  autoreconf -fi
-}
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --prefix=/usr \
-    --sbindir=/usr/bin \
-    --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
-
-  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/extra-x86_64/PKGBUILD (from rev 395985, smartmontools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-13 12:09:40 UTC (rev 395986)
@@ -0,0 +1,65 @@
+# 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=7.1
+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=('x86_64')
+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')
+validpgpkeys=('847AF8F72DF4C7B492382C94BF0B339C64BCAA8B') # Smartmontools Signing Key (through 2020) <smartmontools-support at listi.jpberlin.de>
+source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
+        'smartd.conf')
+sha256sums=('3f734d2c99deb1e4af62b25d944c6252de70ca64d766c4c7294545a2e659b846'
+            '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
+
+  # smartd.service.in: Remove obsolete 'StandardOutput=syslog'
+  # https://github.com/smartmontools/smartmontools/commit/f73303bc2d40adfc71e8bfaae043275e88cf9275
+  sed -i '/^StandardOutput=/d' smartd.service.in
+
+  autoreconf -fi
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --with-drivedbdir \
+    --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
+
+  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"
+}

Deleted: smartd.conf
===================================================================
--- smartd.conf	2020-09-13 12:09:30 UTC (rev 395985)
+++ smartd.conf	2020-09-13 12:09:40 UTC (rev 395986)
@@ -1 +0,0 @@
-SMARTD_ARGS=""

Copied: smartmontools/repos/extra-x86_64/smartd.conf (from rev 395985, smartmontools/trunk/smartd.conf)
===================================================================
--- smartd.conf	                        (rev 0)
+++ smartd.conf	2020-09-13 12:09:40 UTC (rev 395986)
@@ -0,0 +1 @@
+SMARTD_ARGS=""


More information about the arch-commits mailing list