[arch-commits] Commit in man-db/repos (20 files)

Thomas Bächler thomas at nymeria.archlinux.org
Mon Apr 14 22:17:29 UTC 2014


    Date: Tuesday, April 15, 2014 @ 00:17:29
  Author: thomas
Revision: 210567

db-move: moved man-db from [testing] to [core] (i686, x86_64)

Added:
  man-db/repos/core-i686/PKGBUILD
    (from rev 210566, man-db/repos/testing-i686/PKGBUILD)
  man-db/repos/core-i686/convert-mans
    (from rev 210566, man-db/repos/testing-i686/convert-mans)
  man-db/repos/core-i686/man-db.install
    (from rev 210566, man-db/repos/testing-i686/man-db.install)
  man-db/repos/core-i686/man-db.service
    (from rev 210566, man-db/repos/testing-i686/man-db.service)
  man-db/repos/core-i686/man-db.timer
    (from rev 210566, man-db/repos/testing-i686/man-db.timer)
  man-db/repos/core-x86_64/PKGBUILD
    (from rev 210566, man-db/repos/testing-x86_64/PKGBUILD)
  man-db/repos/core-x86_64/convert-mans
    (from rev 210566, man-db/repos/testing-x86_64/convert-mans)
  man-db/repos/core-x86_64/man-db.install
    (from rev 210566, man-db/repos/testing-x86_64/man-db.install)
  man-db/repos/core-x86_64/man-db.service
    (from rev 210566, man-db/repos/testing-x86_64/man-db.service)
  man-db/repos/core-x86_64/man-db.timer
    (from rev 210566, man-db/repos/testing-x86_64/man-db.timer)
Deleted:
  man-db/repos/core-i686/PKGBUILD
  man-db/repos/core-i686/convert-mans
  man-db/repos/core-i686/man-db.cron.daily
  man-db/repos/core-i686/man-db.install
  man-db/repos/core-x86_64/PKGBUILD
  man-db/repos/core-x86_64/convert-mans
  man-db/repos/core-x86_64/man-db.cron.daily
  man-db/repos/core-x86_64/man-db.install
  man-db/repos/testing-i686/
  man-db/repos/testing-x86_64/

-------------------------------+
 /PKGBUILD                     |  126 ++++++++++++++++++++++++++++++++++++++++
 /convert-mans                 |   22 ++++++
 /man-db.install               |   44 +++++++++++++
 core-i686/PKGBUILD            |   60 -------------------
 core-i686/convert-mans        |   11 ---
 core-i686/man-db.cron.daily   |   39 ------------
 core-i686/man-db.install      |   22 ------
 core-i686/man-db.service      |   11 +++
 core-i686/man-db.timer        |    7 ++
 core-x86_64/PKGBUILD          |   60 -------------------
 core-x86_64/convert-mans      |   11 ---
 core-x86_64/man-db.cron.daily |   39 ------------
 core-x86_64/man-db.install    |   22 ------
 core-x86_64/man-db.service    |   11 +++
 core-x86_64/man-db.timer      |    7 ++
 15 files changed, 228 insertions(+), 264 deletions(-)

Deleted: core-i686/PKGBUILD
===================================================================
--- core-i686/PKGBUILD	2014-04-14 22:17:18 UTC (rev 210566)
+++ core-i686/PKGBUILD	2014-04-14 22:17:29 UTC (rev 210567)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: Sergej Pupykin <sergej at aur.archlinux.org>
-
-pkgname=man-db
-pkgver=2.6.6
-pkgrel=1
-pkgdesc="A utility for reading man pages"
-arch=('i686' 'x86_64')
-url="http://www.nongnu.org/man-db/"
-license=('GPL' 'LGPL')
-groups=('base')
-depends=( 'bash' 'gdbm' 'zlib' 'groff' 'libpipeline' 'less')
-optdepends=('gzip')
-backup=('etc/man_db.conf'
-	    'etc/cron.daily/man-db')
-conflicts=('man')
-provides=('man')
-replaces=('man')
-install=${pkgname}.install
-source=(http://savannah.nongnu.org/download/man-db/$pkgname-$pkgver.tar.xz{,.sig}
-        convert-mans man-db.cron.daily)
-md5sums=('5d65d66191080c144437a6c854e17868'
-         'SKIP'
-         '2b7662a7d5b33fe91f9f3e034361a2f6'
-         '934fd047fecb915038bf4bf844ea609c')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr \
-    --sbindir=/usr/bin \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib \
-	--with-db=gdbm \
-	--disable-setuid \
-	--enable-mandirs=GNU \
-	--with-sections="1 n l 8 3 0 2 5 4 9 6 7"
-  make
-}
-
-check() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make check
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
-
-  # part of groff pkg
-  rm -f ${pkgdir}/usr/bin/zsoelim
-
-  # script from LFS to convert manpages, see
-  # http://www.linuxfromscratch.org/lfs/view/6.4/chapter06/man-db.html
-  install -D -m755 ${srcdir}/convert-mans  ${pkgdir}/usr/bin/convert-mans 
-
-  #install whatis cron script
-  install -D -m744 ${srcdir}/man-db.cron.daily ${pkgdir}/etc/cron.daily/man-db
-}
-

Copied: man-db/repos/core-i686/PKGBUILD (from rev 210566, man-db/repos/testing-i686/PKGBUILD)
===================================================================
--- core-i686/PKGBUILD	                        (rev 0)
+++ core-i686/PKGBUILD	2014-04-14 22:17:29 UTC (rev 210567)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Sergej Pupykin <sergej at aur.archlinux.org>
+
+pkgname=man-db
+pkgver=2.6.7.1
+pkgrel=1
+pkgdesc="A utility for reading man pages"
+arch=('i686' 'x86_64')
+url="http://www.nongnu.org/man-db/"
+license=('GPL' 'LGPL')
+groups=('base')
+depends=( 'bash' 'gdbm' 'zlib' 'groff' 'libpipeline' 'less')
+optdepends=('gzip')
+backup=('etc/man_db.conf')
+conflicts=('man')
+provides=('man')
+replaces=('man')
+install=${pkgname}.install
+source=(http://download-mirror.savannah.gnu.org/releases/man-db/$pkgname-$pkgver.tar.xz{,.sig}
+        convert-mans
+        man-db.{timer,service})
+md5sums=('ce7b697f8e8016a085d9f5975ae6c4fb'
+         'SKIP'
+         '2b7662a7d5b33fe91f9f3e034361a2f6'
+         'df6d4f432e3e16c255c785fca1447346'
+         '36fb3f616e42a0e23cf7a4d284e640cd')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+	--with-db=gdbm \
+	--disable-setuid \
+	--enable-mandirs=GNU \
+	--with-sections="1 n l 8 3 0 2 5 4 9 6 7"
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # part of groff pkg
+  rm -f ${pkgdir}/usr/bin/zsoelim
+
+  # script from LFS to convert manpages, see
+  # http://www.linuxfromscratch.org/lfs/view/6.4/chapter06/man-db.html
+  install -D -m755 ${srcdir}/convert-mans  ${pkgdir}/usr/bin/convert-mans 
+
+  # install man-db update timer
+  install -D -m644 ${srcdir}/man-db.timer ${pkgdir}/usr/lib/systemd/system/man-db.timer
+  install -D -m644 ${srcdir}/man-db.service ${pkgdir}/usr/lib/systemd/system/man-db.service
+  install -d -m755 ${pkgdir}/usr/lib/systemd/system/multi-user.target.wants
+  ln -s ../man-db.timer ${pkgdir}//usr/lib/systemd/system/multi-user.target.wants/man-db.timer
+}

Deleted: core-i686/convert-mans
===================================================================
--- core-i686/convert-mans	2014-04-14 22:17:18 UTC (rev 210566)
+++ core-i686/convert-mans	2014-04-14 22:17:29 UTC (rev 210567)
@@ -1,11 +0,0 @@
-#!/bin/sh -e
-FROM="$1"
-TO="$2"
-shift ; shift
-while [ $# -gt 0 ]
-do
-        FILE="$1"
-        shift
-        iconv -f "$FROM" -t "$TO" "$FILE" >.tmp.iconv
-        mv .tmp.iconv "$FILE"
-done

Copied: man-db/repos/core-i686/convert-mans (from rev 210566, man-db/repos/testing-i686/convert-mans)
===================================================================
--- core-i686/convert-mans	                        (rev 0)
+++ core-i686/convert-mans	2014-04-14 22:17:29 UTC (rev 210567)
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+FROM="$1"
+TO="$2"
+shift ; shift
+while [ $# -gt 0 ]
+do
+        FILE="$1"
+        shift
+        iconv -f "$FROM" -t "$TO" "$FILE" >.tmp.iconv
+        mv .tmp.iconv "$FILE"
+done

Deleted: core-i686/man-db.cron.daily
===================================================================
--- core-i686/man-db.cron.daily	2014-04-14 22:17:18 UTC (rev 210566)
+++ core-i686/man-db.cron.daily	2014-04-14 22:17:29 UTC (rev 210567)
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-# nicenesses range from -20 (most favorable scheduling) to 19 (least favorable)
-NICE=19
-
-# 0 for none, 1 for real time, 2 for best-effort, 3 for idle
-IONICE_CLASS=2
-
-# 0-7 (for IONICE_CLASS 1 and 2 only), 0=highest, 7=lowest
-IONICE_PRIORITY=7
-
-UPDATEMANDB="/usr/bin/mandb --quiet"
-
-# Update the "whatis" database
-#/usr/bin/makewhatis -u -w
-
-# taken from Debian
-# man-db cron daily
-set -e
-
-if ! [ -d /var/cache/man ]; then
-    # Recover from deletion, per FHS.
-    mkdir -p /var/cache/man
-    chmod 755 /var/cache/man
-fi
-
-# regenerate man database
-
-if [ -x /usr/bin/nice ]; then
-  UPDATEMANDB="/usr/bin/nice -n ${NICE:-19} ${UPDATEMANDB}"
-fi
-
-if [ -x /usr/bin/ionice ]; then
-  UPDATEMANDB="/usr/bin/ionice -c ${IONICE_CLASS:-2} -n ${IONICE_PRIORITY:-7} ${UPDATEMANDB}"
-fi
-
-${UPDATEMANDB}
-
-exit 0

Deleted: core-i686/man-db.install
===================================================================
--- core-i686/man-db.install	2014-04-14 22:17:18 UTC (rev 210566)
+++ core-i686/man-db.install	2014-04-14 22:17:29 UTC (rev 210567)
@@ -1,22 +0,0 @@
-post_install() {
-  echo "it's recommended to create an initial"
-  echo "database running as root:"
-  echo "\"/usr/bin/mandb --quiet\""
-}
-
-post_upgrade() {
-  if [ "`vercmp $2 2.5.3-2`" -lt 0 ]; then
-     echo "systemuser \"man\" is no more required"
-     echo "run \"userdel man\". please also"
-     echo "chown root:root /var/cache/man"
-  fi
-  # force database rebuild to get rid off badly imported pages
-  if [ "`vercmp $2 2.6.0.2`" -lt 0 ]; then
-     echo "(re)building database..."
-     mandb -c --quiet
-  fi
-}
-
-post_remove() {
-  rm -rf /var/cache/man
-}

Copied: man-db/repos/core-i686/man-db.install (from rev 210566, man-db/repos/testing-i686/man-db.install)
===================================================================
--- core-i686/man-db.install	                        (rev 0)
+++ core-i686/man-db.install	2014-04-14 22:17:29 UTC (rev 210567)
@@ -0,0 +1,22 @@
+post_install() {
+  echo "it's recommended to create an initial"
+  echo "database running as root:"
+  echo "\"/usr/bin/mandb --quiet\""
+}
+
+post_upgrade() {
+  if [ "`vercmp $2 2.5.3-2`" -lt 0 ]; then
+     echo "systemuser \"man\" is no more required"
+     echo "run \"userdel man\". please also"
+     echo "chown root:root /var/cache/man"
+  fi
+  # force database rebuild to get rid off badly imported pages
+  if [ "`vercmp $2 2.6.0.2`" -lt 0 ]; then
+     echo "(re)building database..."
+     mandb -c --quiet
+  fi
+}
+
+post_remove() {
+  rm -rf /var/cache/man
+}

Copied: man-db/repos/core-i686/man-db.service (from rev 210566, man-db/repos/testing-i686/man-db.service)
===================================================================
--- core-i686/man-db.service	                        (rev 0)
+++ core-i686/man-db.service	2014-04-14 22:17:29 UTC (rev 210567)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Update man-db cache
+RequiresMountsFor=/var/cache/man
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/mkdir -m 0755 -p /var/cache/man
+ExecStart=/usr/bin/mandb --quiet
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7

Copied: man-db/repos/core-i686/man-db.timer (from rev 210566, man-db/repos/testing-i686/man-db.timer)
===================================================================
--- core-i686/man-db.timer	                        (rev 0)
+++ core-i686/man-db.timer	2014-04-14 22:17:29 UTC (rev 210567)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Daily man-db cache update
+
+[Timer]
+OnCalendar=daily
+AccuracySec=12h
+Persistent=true

Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD	2014-04-14 22:17:18 UTC (rev 210566)
+++ core-x86_64/PKGBUILD	2014-04-14 22:17:29 UTC (rev 210567)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: Sergej Pupykin <sergej at aur.archlinux.org>
-
-pkgname=man-db
-pkgver=2.6.6
-pkgrel=1
-pkgdesc="A utility for reading man pages"
-arch=('i686' 'x86_64')
-url="http://www.nongnu.org/man-db/"
-license=('GPL' 'LGPL')
-groups=('base')
-depends=( 'bash' 'gdbm' 'zlib' 'groff' 'libpipeline' 'less')
-optdepends=('gzip')
-backup=('etc/man_db.conf'
-	    'etc/cron.daily/man-db')
-conflicts=('man')
-provides=('man')
-replaces=('man')
-install=${pkgname}.install
-source=(http://savannah.nongnu.org/download/man-db/$pkgname-$pkgver.tar.xz{,.sig}
-        convert-mans man-db.cron.daily)
-md5sums=('5d65d66191080c144437a6c854e17868'
-         'SKIP'
-         '2b7662a7d5b33fe91f9f3e034361a2f6'
-         '934fd047fecb915038bf4bf844ea609c')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr \
-    --sbindir=/usr/bin \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib \
-	--with-db=gdbm \
-	--disable-setuid \
-	--enable-mandirs=GNU \
-	--with-sections="1 n l 8 3 0 2 5 4 9 6 7"
-  make
-}
-
-check() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make check
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
-
-  # part of groff pkg
-  rm -f ${pkgdir}/usr/bin/zsoelim
-
-  # script from LFS to convert manpages, see
-  # http://www.linuxfromscratch.org/lfs/view/6.4/chapter06/man-db.html
-  install -D -m755 ${srcdir}/convert-mans  ${pkgdir}/usr/bin/convert-mans 
-
-  #install whatis cron script
-  install -D -m744 ${srcdir}/man-db.cron.daily ${pkgdir}/etc/cron.daily/man-db
-}
-

Copied: man-db/repos/core-x86_64/PKGBUILD (from rev 210566, man-db/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD	                        (rev 0)
+++ core-x86_64/PKGBUILD	2014-04-14 22:17:29 UTC (rev 210567)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Sergej Pupykin <sergej at aur.archlinux.org>
+
+pkgname=man-db
+pkgver=2.6.7.1
+pkgrel=1
+pkgdesc="A utility for reading man pages"
+arch=('i686' 'x86_64')
+url="http://www.nongnu.org/man-db/"
+license=('GPL' 'LGPL')
+groups=('base')
+depends=( 'bash' 'gdbm' 'zlib' 'groff' 'libpipeline' 'less')
+optdepends=('gzip')
+backup=('etc/man_db.conf')
+conflicts=('man')
+provides=('man')
+replaces=('man')
+install=${pkgname}.install
+source=(http://download-mirror.savannah.gnu.org/releases/man-db/$pkgname-$pkgver.tar.xz{,.sig}
+        convert-mans
+        man-db.{timer,service})
+md5sums=('ce7b697f8e8016a085d9f5975ae6c4fb'
+         'SKIP'
+         '2b7662a7d5b33fe91f9f3e034361a2f6'
+         'df6d4f432e3e16c255c785fca1447346'
+         '36fb3f616e42a0e23cf7a4d284e640cd')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+	--with-db=gdbm \
+	--disable-setuid \
+	--enable-mandirs=GNU \
+	--with-sections="1 n l 8 3 0 2 5 4 9 6 7"
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # part of groff pkg
+  rm -f ${pkgdir}/usr/bin/zsoelim
+
+  # script from LFS to convert manpages, see
+  # http://www.linuxfromscratch.org/lfs/view/6.4/chapter06/man-db.html
+  install -D -m755 ${srcdir}/convert-mans  ${pkgdir}/usr/bin/convert-mans 
+
+  # install man-db update timer
+  install -D -m644 ${srcdir}/man-db.timer ${pkgdir}/usr/lib/systemd/system/man-db.timer
+  install -D -m644 ${srcdir}/man-db.service ${pkgdir}/usr/lib/systemd/system/man-db.service
+  install -d -m755 ${pkgdir}/usr/lib/systemd/system/multi-user.target.wants
+  ln -s ../man-db.timer ${pkgdir}//usr/lib/systemd/system/multi-user.target.wants/man-db.timer
+}

Deleted: core-x86_64/convert-mans
===================================================================
--- core-x86_64/convert-mans	2014-04-14 22:17:18 UTC (rev 210566)
+++ core-x86_64/convert-mans	2014-04-14 22:17:29 UTC (rev 210567)
@@ -1,11 +0,0 @@
-#!/bin/sh -e
-FROM="$1"
-TO="$2"
-shift ; shift
-while [ $# -gt 0 ]
-do
-        FILE="$1"
-        shift
-        iconv -f "$FROM" -t "$TO" "$FILE" >.tmp.iconv
-        mv .tmp.iconv "$FILE"
-done

Copied: man-db/repos/core-x86_64/convert-mans (from rev 210566, man-db/repos/testing-x86_64/convert-mans)
===================================================================
--- core-x86_64/convert-mans	                        (rev 0)
+++ core-x86_64/convert-mans	2014-04-14 22:17:29 UTC (rev 210567)
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+FROM="$1"
+TO="$2"
+shift ; shift
+while [ $# -gt 0 ]
+do
+        FILE="$1"
+        shift
+        iconv -f "$FROM" -t "$TO" "$FILE" >.tmp.iconv
+        mv .tmp.iconv "$FILE"
+done

Deleted: core-x86_64/man-db.cron.daily
===================================================================
--- core-x86_64/man-db.cron.daily	2014-04-14 22:17:18 UTC (rev 210566)
+++ core-x86_64/man-db.cron.daily	2014-04-14 22:17:29 UTC (rev 210567)
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-# nicenesses range from -20 (most favorable scheduling) to 19 (least favorable)
-NICE=19
-
-# 0 for none, 1 for real time, 2 for best-effort, 3 for idle
-IONICE_CLASS=2
-
-# 0-7 (for IONICE_CLASS 1 and 2 only), 0=highest, 7=lowest
-IONICE_PRIORITY=7
-
-UPDATEMANDB="/usr/bin/mandb --quiet"
-
-# Update the "whatis" database
-#/usr/bin/makewhatis -u -w
-
-# taken from Debian
-# man-db cron daily
-set -e
-
-if ! [ -d /var/cache/man ]; then
-    # Recover from deletion, per FHS.
-    mkdir -p /var/cache/man
-    chmod 755 /var/cache/man
-fi
-
-# regenerate man database
-
-if [ -x /usr/bin/nice ]; then
-  UPDATEMANDB="/usr/bin/nice -n ${NICE:-19} ${UPDATEMANDB}"
-fi
-
-if [ -x /usr/bin/ionice ]; then
-  UPDATEMANDB="/usr/bin/ionice -c ${IONICE_CLASS:-2} -n ${IONICE_PRIORITY:-7} ${UPDATEMANDB}"
-fi
-
-${UPDATEMANDB}
-
-exit 0

Deleted: core-x86_64/man-db.install
===================================================================
--- core-x86_64/man-db.install	2014-04-14 22:17:18 UTC (rev 210566)
+++ core-x86_64/man-db.install	2014-04-14 22:17:29 UTC (rev 210567)
@@ -1,22 +0,0 @@
-post_install() {
-  echo "it's recommended to create an initial"
-  echo "database running as root:"
-  echo "\"/usr/bin/mandb --quiet\""
-}
-
-post_upgrade() {
-  if [ "`vercmp $2 2.5.3-2`" -lt 0 ]; then
-     echo "systemuser \"man\" is no more required"
-     echo "run \"userdel man\". please also"
-     echo "chown root:root /var/cache/man"
-  fi
-  # force database rebuild to get rid off badly imported pages
-  if [ "`vercmp $2 2.6.0.2`" -lt 0 ]; then
-     echo "(re)building database..."
-     mandb -c --quiet
-  fi
-}
-
-post_remove() {
-  rm -rf /var/cache/man
-}

Copied: man-db/repos/core-x86_64/man-db.install (from rev 210566, man-db/repos/testing-x86_64/man-db.install)
===================================================================
--- core-x86_64/man-db.install	                        (rev 0)
+++ core-x86_64/man-db.install	2014-04-14 22:17:29 UTC (rev 210567)
@@ -0,0 +1,22 @@
+post_install() {
+  echo "it's recommended to create an initial"
+  echo "database running as root:"
+  echo "\"/usr/bin/mandb --quiet\""
+}
+
+post_upgrade() {
+  if [ "`vercmp $2 2.5.3-2`" -lt 0 ]; then
+     echo "systemuser \"man\" is no more required"
+     echo "run \"userdel man\". please also"
+     echo "chown root:root /var/cache/man"
+  fi
+  # force database rebuild to get rid off badly imported pages
+  if [ "`vercmp $2 2.6.0.2`" -lt 0 ]; then
+     echo "(re)building database..."
+     mandb -c --quiet
+  fi
+}
+
+post_remove() {
+  rm -rf /var/cache/man
+}

Copied: man-db/repos/core-x86_64/man-db.service (from rev 210566, man-db/repos/testing-x86_64/man-db.service)
===================================================================
--- core-x86_64/man-db.service	                        (rev 0)
+++ core-x86_64/man-db.service	2014-04-14 22:17:29 UTC (rev 210567)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Update man-db cache
+RequiresMountsFor=/var/cache/man
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/mkdir -m 0755 -p /var/cache/man
+ExecStart=/usr/bin/mandb --quiet
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7

Copied: man-db/repos/core-x86_64/man-db.timer (from rev 210566, man-db/repos/testing-x86_64/man-db.timer)
===================================================================
--- core-x86_64/man-db.timer	                        (rev 0)
+++ core-x86_64/man-db.timer	2014-04-14 22:17:29 UTC (rev 210567)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Daily man-db cache update
+
+[Timer]
+OnCalendar=daily
+AccuracySec=12h
+Persistent=true




More information about the arch-commits mailing list