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

2016-12-13 Thread Andreas Radke
Date: Tuesday, December 13, 2016 @ 21:22:06
  Author: andyrtr
Revision: 283123

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

Added:
  man-db/repos/testing-i686/
  man-db/repos/testing-i686/PKGBUILD
(from rev 283122, man-db/trunk/PKGBUILD)
  man-db/repos/testing-i686/convert-mans
(from rev 283122, man-db/trunk/convert-mans)
  man-db/repos/testing-i686/man-db.install
(from rev 283122, man-db/trunk/man-db.install)
  man-db/repos/testing-i686/man-db.service
(from rev 283122, man-db/trunk/man-db.service)
  man-db/repos/testing-i686/man-db.timer
(from rev 283122, man-db/trunk/man-db.timer)
  man-db/repos/testing-x86_64/
  man-db/repos/testing-x86_64/PKGBUILD
(from rev 283122, man-db/trunk/PKGBUILD)
  man-db/repos/testing-x86_64/convert-mans
(from rev 283122, man-db/trunk/convert-mans)
  man-db/repos/testing-x86_64/man-db.install
(from rev 283122, man-db/trunk/man-db.install)
  man-db/repos/testing-x86_64/man-db.service
(from rev 283122, man-db/trunk/man-db.service)
  man-db/repos/testing-x86_64/man-db.timer
(from rev 283122, man-db/trunk/man-db.timer)

---+
 testing-i686/PKGBUILD |   72 
 testing-i686/convert-mans |   11 ++
 testing-i686/man-db.install   |   11 ++
 testing-i686/man-db.service   |   12 ++
 testing-i686/man-db.timer |7 +++
 testing-x86_64/PKGBUILD   |   72 
 testing-x86_64/convert-mans   |   11 ++
 testing-x86_64/man-db.install |   11 ++
 testing-x86_64/man-db.service |   12 ++
 testing-x86_64/man-db.timer   |7 +++
 10 files changed, 226 insertions(+)

Copied: man-db/repos/testing-i686/PKGBUILD (from rev 283122, 
man-db/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-12-13 21:22:06 UTC (rev 283123)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Andreas Radke 
+# Contributor: Sergej Pupykin 
+
+pkgname=man-db
+pkgver=2.7.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')
+conflicts=('man')
+provides=('man')
+replaces=('man')
+install=${pkgname}.install
+source=(https://download-mirror.savannah.gnu.org/releases/man-db/$pkgname-$pkgver.tar.xz{,.sig}
+convert-mans
+man-db.{timer,service})
+sha256sums=('c68cffa6b93f6362beb1d1259f9ad5b65af2aee9a7d9910086082ea4b75f5da2'
+'SKIP'
+'affab3adc4b83d011ed83060d8ac579211c932e6c0900b92e12779c092ad5df3'
+'25ffaae49ecd8403df7787f988463f39821aacd35690775f1c8a2f2bf4d2bee3'
+'8cbae3f06e9847614926962b44bf68f2997365d2c5afdfbd03ad0063424f548e')
+validpgpkeys=('AC0A4FF12611B6FCCF01C111393587D97D86500B') # Colin Watson 

+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  # fix group in systemd tempfile
+  sed -i 's/man\ root/root\ root/' init/systemd/man-db.conf
+}
+
+build() {
+  cd ${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 ${pkgname}-${pkgver}
+  # test suite fails due to recent setgid/uid changes, upstream has been 
informed
+  make -k check || /bin/true
+}
+
+package() {
+  cd ${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
+}

Copied: man-db/repos/testing-i686/convert-mans (from rev 283122, 
man-db/trunk/convert-mans)
===
--- testing-i686/convert-mans   (rev 0)
+++ testing-i686/convert-mans   2016-12-13 21:22:06 UTC (rev 283123)
@@ -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

Copied: man-db/repos/testing-i686/man-db.install (from rev 283122, 

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

2016-08-26 Thread Jan Steffens
Date: Friday, August 26, 2016 @ 14:04:15
  Author: heftig
Revision: 274652

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

Added:
  man-db/repos/testing-i686/
  man-db/repos/testing-i686/PKGBUILD
(from rev 274651, man-db/trunk/PKGBUILD)
  man-db/repos/testing-i686/convert-mans
(from rev 274651, man-db/trunk/convert-mans)
  man-db/repos/testing-i686/man-db.install
(from rev 274651, man-db/trunk/man-db.install)
  man-db/repos/testing-i686/man-db.service
(from rev 274651, man-db/trunk/man-db.service)
  man-db/repos/testing-i686/man-db.timer
(from rev 274651, man-db/trunk/man-db.timer)
  man-db/repos/testing-x86_64/
  man-db/repos/testing-x86_64/PKGBUILD
(from rev 274651, man-db/trunk/PKGBUILD)
  man-db/repos/testing-x86_64/convert-mans
(from rev 274651, man-db/trunk/convert-mans)
  man-db/repos/testing-x86_64/man-db.install
(from rev 274651, man-db/trunk/man-db.install)
  man-db/repos/testing-x86_64/man-db.service
(from rev 274651, man-db/trunk/man-db.service)
  man-db/repos/testing-x86_64/man-db.timer
(from rev 274651, man-db/trunk/man-db.timer)

---+
 testing-i686/PKGBUILD |   71 
 testing-i686/convert-mans |   11 ++
 testing-i686/man-db.install   |   11 ++
 testing-i686/man-db.service   |   12 ++
 testing-i686/man-db.timer |7 +++
 testing-x86_64/PKGBUILD   |   71 
 testing-x86_64/convert-mans   |   11 ++
 testing-x86_64/man-db.install |   11 ++
 testing-x86_64/man-db.service |   12 ++
 testing-x86_64/man-db.timer   |7 +++
 10 files changed, 224 insertions(+)

Copied: man-db/repos/testing-i686/PKGBUILD (from rev 274651, 
man-db/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-08-26 14:04:15 UTC (rev 274652)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Andreas Radke 
+# Contributor: Sergej Pupykin 
+
+pkgname=man-db
+pkgver=2.7.5
+pkgrel=4
+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=('37da0bb0400cc7b640f33c26f6052202'
+ 'SKIP'
+ '2b7662a7d5b33fe91f9f3e034361a2f6'
+ '8aaf7b49ae5d157d47d66489656d8b3a'
+ '4f9bc83456a9ba46b4c73ca683062d77')
+validpgpkeys=('AC0A4FF12611B6FCCF01C111393587D97D86500B') # Colin Watson 

+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  # fix group in systemd tempfile
+  sed -i 's/man\ root/root\ root/' init/systemd/man-db.conf
+}
+
+build() {
+  cd ${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 ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${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
+}

Copied: man-db/repos/testing-i686/convert-mans (from rev 274651, 
man-db/trunk/convert-mans)
===
--- testing-i686/convert-mans   (rev 0)
+++ testing-i686/convert-mans   2016-08-26 14:04:15 UTC (rev 274652)
@@ -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

Copied: man-db/repos/testing-i686/man-db.install (from rev 274651, 
man-db/trunk/man-db.install)
===
--- testing-i686/man-db.install (rev 0)
+++ testing-i686/man-db.install 2016-08-26 14:04:15 UTC (rev 274652)
@@ -0,0 +1,11 @@

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

2016-05-14 Thread Jan Steffens
Date: Saturday, May 14, 2016 @ 12:31:59
  Author: heftig
Revision: 267946

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

Added:
  man-db/repos/testing-i686/
  man-db/repos/testing-i686/PKGBUILD
(from rev 267945, man-db/trunk/PKGBUILD)
  man-db/repos/testing-i686/convert-mans
(from rev 267945, man-db/trunk/convert-mans)
  man-db/repos/testing-i686/man-db-purge.hook
(from rev 267945, man-db/trunk/man-db-purge.hook)
  man-db/repos/testing-i686/man-db.hook
(from rev 267945, man-db/trunk/man-db.hook)
  man-db/repos/testing-i686/man-db.install
(from rev 267945, man-db/trunk/man-db.install)
  man-db/repos/testing-x86_64/
  man-db/repos/testing-x86_64/PKGBUILD
(from rev 267945, man-db/trunk/PKGBUILD)
  man-db/repos/testing-x86_64/convert-mans
(from rev 267945, man-db/trunk/convert-mans)
  man-db/repos/testing-x86_64/man-db-purge.hook
(from rev 267945, man-db/trunk/man-db-purge.hook)
  man-db/repos/testing-x86_64/man-db.hook
(from rev 267945, man-db/trunk/man-db.hook)
  man-db/repos/testing-x86_64/man-db.install
(from rev 267945, man-db/trunk/man-db.install)

--+
 testing-i686/PKGBUILD|   67 +
 testing-i686/convert-mans|   11 ++
 testing-i686/man-db-purge.hook   |9 
 testing-i686/man-db.hook |   10 +
 testing-i686/man-db.install  |   11 ++
 testing-x86_64/PKGBUILD  |   67 +
 testing-x86_64/convert-mans  |   11 ++
 testing-x86_64/man-db-purge.hook |9 
 testing-x86_64/man-db.hook   |   10 +
 testing-x86_64/man-db.install|   11 ++
 10 files changed, 216 insertions(+)

Copied: man-db/repos/testing-i686/PKGBUILD (from rev 267945, 
man-db/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-05-14 10:31:59 UTC (rev 267946)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Andreas Radke 
+# Contributor: Sergej Pupykin 
+
+pkgname=man-db
+pkgver=2.7.5
+pkgrel=2
+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.hook
+man-db-purge.hook)
+md5sums=('37da0bb0400cc7b640f33c26f6052202'
+ 'SKIP'
+ '2b7662a7d5b33fe91f9f3e034361a2f6'
+ '2fe885f9f5d2914b6c7f41b8fd9c4f2b'
+ '0a8b9e0f85692ca9133d707069ab9714')
+validpgpkeys=('AC0A4FF12611B6FCCF01C111393587D97D86500B') # Colin Watson 

+
+build() {
+  cd ${pkgname}-${pkgver}
+  
+  # fix group in systemd tempfile
+  sed -i 's/man\ root/root\ root/' init/systemd/man-db.conf
+
+  ./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 ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${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 hooks
+  install -d ${pkgdir}/usr/share/libalpm/hooks
+  install -m644 ${srcdir}/*.hook ${pkgdir}/usr/share/libalpm/hooks/
+}

Copied: man-db/repos/testing-i686/convert-mans (from rev 267945, 
man-db/trunk/convert-mans)
===
--- testing-i686/convert-mans   (rev 0)
+++ testing-i686/convert-mans   2016-05-14 10:31:59 UTC (rev 267946)
@@ -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

Copied: man-db/repos/testing-i686/man-db-purge.hook (from rev 267945, 
man-db/trunk/man-db-purge.hook)
===
--- testing-i686/man-db-purge.hook  (rev 0)
+++ testing-i686/man-db-purge.hook  2016-05-14 10:31:59 UTC (rev 267946)
@@ -0,0 +1,9 @@
+[Trigger]
+Type = File
+Operation = Remove
+Target = usr/share/man/*
+
+[Action]
+Description = Purging old manpage index entries...
+When = PostTransaction
+Exec = /bin/sh -c 'mkdir -p /var/cache/man; exec 

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

2015-11-06 Thread Andreas Radke
Date: Friday, November 6, 2015 @ 20:00:28
  Author: andyrtr
Revision: 250165

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

Added:
  man-db/repos/testing-i686/
  man-db/repos/testing-i686/PKGBUILD
(from rev 250164, man-db/trunk/PKGBUILD)
  man-db/repos/testing-i686/convert-mans
(from rev 250164, man-db/trunk/convert-mans)
  man-db/repos/testing-i686/man-db.install
(from rev 250164, man-db/trunk/man-db.install)
  man-db/repos/testing-i686/man-db.service
(from rev 250164, man-db/trunk/man-db.service)
  man-db/repos/testing-i686/man-db.timer
(from rev 250164, man-db/trunk/man-db.timer)
  man-db/repos/testing-x86_64/
  man-db/repos/testing-x86_64/PKGBUILD
(from rev 250164, man-db/trunk/PKGBUILD)
  man-db/repos/testing-x86_64/convert-mans
(from rev 250164, man-db/trunk/convert-mans)
  man-db/repos/testing-x86_64/man-db.install
(from rev 250164, man-db/trunk/man-db.install)
  man-db/repos/testing-x86_64/man-db.service
(from rev 250164, man-db/trunk/man-db.service)
  man-db/repos/testing-x86_64/man-db.timer
(from rev 250164, man-db/trunk/man-db.timer)

---+
 testing-i686/PKGBUILD |   68 
 testing-i686/convert-mans |   11 ++
 testing-i686/man-db.install   |   17 ++
 testing-i686/man-db.service   |   11 ++
 testing-i686/man-db.timer |7 
 testing-x86_64/PKGBUILD   |   68 
 testing-x86_64/convert-mans   |   11 ++
 testing-x86_64/man-db.install |   17 ++
 testing-x86_64/man-db.service |   11 ++
 testing-x86_64/man-db.timer   |7 
 10 files changed, 228 insertions(+)

Copied: man-db/repos/testing-i686/PKGBUILD (from rev 250164, 
man-db/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-11-06 19:00:28 UTC (rev 250165)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Andreas Radke 
+# Contributor: Sergej Pupykin 
+
+pkgname=man-db
+pkgver=2.7.5
+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=('37da0bb0400cc7b640f33c26f6052202'
+ 'SKIP'
+ '2b7662a7d5b33fe91f9f3e034361a2f6'
+ 'df6d4f432e3e16c255c785fca1447346'
+ '36fb3f616e42a0e23cf7a4d284e640cd')
+validpgpkeys=('AC0A4FF12611B6FCCF01C111393587D97D86500B') # Colin Watson 

+
+build() {
+  cd ${pkgname}-${pkgver}
+  
+  # fix group in systemd tempfile
+  sed -i 's/man\ root/root\ root/' init/systemd/man-db.conf
+
+  ./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 ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${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
+}

Copied: man-db/repos/testing-i686/convert-mans (from rev 250164, 
man-db/trunk/convert-mans)
===
--- testing-i686/convert-mans   (rev 0)
+++ testing-i686/convert-mans   2015-11-06 19:00:28 UTC (rev 250165)
@@ -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

Copied: man-db/repos/testing-i686/man-db.install (from rev 250164, 
man-db/trunk/man-db.install)
===
--- testing-i686/man-db.install (rev 0)
+++ testing-i686/man-db.install 2015-11-06 19:00:28 UTC (rev 250165)
@@ -0,0 +1,17 @@
+post_install() {
+  echo 

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

2015-10-10 Thread Andreas Radke
Date: Saturday, October 10, 2015 @ 10:35:38
  Author: andyrtr
Revision: 248719

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

Added:
  man-db/repos/testing-i686/
  man-db/repos/testing-i686/PKGBUILD
(from rev 248718, man-db/trunk/PKGBUILD)
  man-db/repos/testing-i686/convert-mans
(from rev 248718, man-db/trunk/convert-mans)
  man-db/repos/testing-i686/man-db.install
(from rev 248718, man-db/trunk/man-db.install)
  man-db/repos/testing-i686/man-db.service
(from rev 248718, man-db/trunk/man-db.service)
  man-db/repos/testing-i686/man-db.timer
(from rev 248718, man-db/trunk/man-db.timer)
  man-db/repos/testing-x86_64/
  man-db/repos/testing-x86_64/PKGBUILD
(from rev 248718, man-db/trunk/PKGBUILD)
  man-db/repos/testing-x86_64/convert-mans
(from rev 248718, man-db/trunk/convert-mans)
  man-db/repos/testing-x86_64/man-db.install
(from rev 248718, man-db/trunk/man-db.install)
  man-db/repos/testing-x86_64/man-db.service
(from rev 248718, man-db/trunk/man-db.service)
  man-db/repos/testing-x86_64/man-db.timer
(from rev 248718, man-db/trunk/man-db.timer)

---+
 testing-i686/PKGBUILD |   68 
 testing-i686/convert-mans |   11 ++
 testing-i686/man-db.install   |   17 ++
 testing-i686/man-db.service   |   11 ++
 testing-i686/man-db.timer |7 
 testing-x86_64/PKGBUILD   |   68 
 testing-x86_64/convert-mans   |   11 ++
 testing-x86_64/man-db.install |   17 ++
 testing-x86_64/man-db.service |   11 ++
 testing-x86_64/man-db.timer   |7 
 10 files changed, 228 insertions(+)

Copied: man-db/repos/testing-i686/PKGBUILD (from rev 248718, 
man-db/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-10-10 08:35:38 UTC (rev 248719)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Andreas Radke 
+# Contributor: Sergej Pupykin 
+
+pkgname=man-db
+pkgver=2.7.4
+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=('1b400af5b03c7ac44769dbfdd28a86fc'
+ 'SKIP'
+ '2b7662a7d5b33fe91f9f3e034361a2f6'
+ 'df6d4f432e3e16c255c785fca1447346'
+ '36fb3f616e42a0e23cf7a4d284e640cd')
+validpgpkeys=('AC0A4FF12611B6FCCF01C111393587D97D86500B') # Colin Watson 

+
+build() {
+  cd ${pkgname}-${pkgver}
+  
+  # fix group in systemd tempfile
+  sed -i 's/man\ root/root\ root/' init/systemd/man-db.conf
+
+  ./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 ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${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
+}

Copied: man-db/repos/testing-i686/convert-mans (from rev 248718, 
man-db/trunk/convert-mans)
===
--- testing-i686/convert-mans   (rev 0)
+++ testing-i686/convert-mans   2015-10-10 08:35:38 UTC (rev 248719)
@@ -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

Copied: man-db/repos/testing-i686/man-db.install (from rev 248718, 
man-db/trunk/man-db.install)
===
--- testing-i686/man-db.install (rev 0)
+++ testing-i686/man-db.install 2015-10-10 08:35:38 UTC (rev 248719)
@@ -0,0 +1,17 @@
+post_install() {
+  

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

2015-09-10 Thread Andreas Radke
Date: Thursday, September 10, 2015 @ 21:20:45
  Author: andyrtr
Revision: 245752

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

Added:
  man-db/repos/testing-i686/
  man-db/repos/testing-i686/PKGBUILD
(from rev 245751, man-db/trunk/PKGBUILD)
  man-db/repos/testing-i686/convert-mans
(from rev 245751, man-db/trunk/convert-mans)
  man-db/repos/testing-i686/man-db.install
(from rev 245751, man-db/trunk/man-db.install)
  man-db/repos/testing-i686/man-db.service
(from rev 245751, man-db/trunk/man-db.service)
  man-db/repos/testing-i686/man-db.timer
(from rev 245751, man-db/trunk/man-db.timer)
  man-db/repos/testing-x86_64/
  man-db/repos/testing-x86_64/PKGBUILD
(from rev 245751, man-db/trunk/PKGBUILD)
  man-db/repos/testing-x86_64/convert-mans
(from rev 245751, man-db/trunk/convert-mans)
  man-db/repos/testing-x86_64/man-db.install
(from rev 245751, man-db/trunk/man-db.install)
  man-db/repos/testing-x86_64/man-db.service
(from rev 245751, man-db/trunk/man-db.service)
  man-db/repos/testing-x86_64/man-db.timer
(from rev 245751, man-db/trunk/man-db.timer)

---+
 testing-i686/PKGBUILD |   68 
 testing-i686/convert-mans |   11 ++
 testing-i686/man-db.install   |   17 ++
 testing-i686/man-db.service   |   11 ++
 testing-i686/man-db.timer |7 
 testing-x86_64/PKGBUILD   |   68 
 testing-x86_64/convert-mans   |   11 ++
 testing-x86_64/man-db.install |   17 ++
 testing-x86_64/man-db.service |   11 ++
 testing-x86_64/man-db.timer   |7 
 10 files changed, 228 insertions(+)

Copied: man-db/repos/testing-i686/PKGBUILD (from rev 245751, 
man-db/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-09-10 19:20:45 UTC (rev 245752)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Andreas Radke 
+# Contributor: Sergej Pupykin 
+
+pkgname=man-db
+pkgver=2.7.3
+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=('df898c82d766dad6492a5a96d5a26647'
+ 'SKIP'
+ '2b7662a7d5b33fe91f9f3e034361a2f6'
+ 'df6d4f432e3e16c255c785fca1447346'
+ '36fb3f616e42a0e23cf7a4d284e640cd')
+validpgpkeys=('AC0A4FF12611B6FCCF01C111393587D97D86500B') # Colin Watson 

+
+build() {
+  cd ${pkgname}-${pkgver}
+  
+  # fix group in systemd tempfile
+  sed -i 's/man\ root/root\ root/' init/systemd/man-db.conf
+
+  ./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 ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${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
+}

Copied: man-db/repos/testing-i686/convert-mans (from rev 245751, 
man-db/trunk/convert-mans)
===
--- testing-i686/convert-mans   (rev 0)
+++ testing-i686/convert-mans   2015-09-10 19:20:45 UTC (rev 245752)
@@ -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

Copied: man-db/repos/testing-i686/man-db.install (from rev 245751, 
man-db/trunk/man-db.install)
===
--- testing-i686/man-db.install (rev 0)
+++ testing-i686/man-db.install 2015-09-10 19:20:45 UTC (rev 245752)
@@ -0,0 +1,17 @@
+post_install() {
+  

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

2015-08-16 Thread Andreas Radke
Date: Sunday, August 16, 2015 @ 19:14:37
  Author: andyrtr
Revision: 243797

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

Added:
  man-db/repos/testing-i686/
  man-db/repos/testing-i686/PKGBUILD
(from rev 243796, man-db/trunk/PKGBUILD)
  man-db/repos/testing-i686/convert-mans
(from rev 243796, man-db/trunk/convert-mans)
  man-db/repos/testing-i686/man-db.install
(from rev 243796, man-db/trunk/man-db.install)
  man-db/repos/testing-i686/man-db.service
(from rev 243796, man-db/trunk/man-db.service)
  man-db/repos/testing-i686/man-db.timer
(from rev 243796, man-db/trunk/man-db.timer)
  man-db/repos/testing-x86_64/
  man-db/repos/testing-x86_64/PKGBUILD
(from rev 243796, man-db/trunk/PKGBUILD)
  man-db/repos/testing-x86_64/convert-mans
(from rev 243796, man-db/trunk/convert-mans)
  man-db/repos/testing-x86_64/man-db.install
(from rev 243796, man-db/trunk/man-db.install)
  man-db/repos/testing-x86_64/man-db.service
(from rev 243796, man-db/trunk/man-db.service)
  man-db/repos/testing-x86_64/man-db.timer
(from rev 243796, man-db/trunk/man-db.timer)

---+
 testing-i686/PKGBUILD |   68 
 testing-i686/convert-mans |   11 ++
 testing-i686/man-db.install   |   17 ++
 testing-i686/man-db.service   |   11 ++
 testing-i686/man-db.timer |7 
 testing-x86_64/PKGBUILD   |   68 
 testing-x86_64/convert-mans   |   11 ++
 testing-x86_64/man-db.install |   17 ++
 testing-x86_64/man-db.service |   11 ++
 testing-x86_64/man-db.timer   |7 
 10 files changed, 228 insertions(+)

Copied: man-db/repos/testing-i686/PKGBUILD (from rev 243796, 
man-db/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-08-16 17:14:37 UTC (rev 243797)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Andreas Radke andy...@archlinux.org
+# Contributor: Sergej Pupykin ser...@aur.archlinux.org
+
+pkgname=man-db
+pkgver=2.7.2
+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=('4b9480e4f1da04abb22ae7a9345ace6b'
+ 'SKIP'
+ '2b7662a7d5b33fe91f9f3e034361a2f6'
+ 'df6d4f432e3e16c255c785fca1447346'
+ '36fb3f616e42a0e23cf7a4d284e640cd')
+validpgpkeys=('AC0A4FF12611B6FCCF01C111393587D97D86500B') # Colin Watson 
cjwat...@debian.org
+
+build() {
+  cd ${pkgname}-${pkgver}
+  
+  # fix group in systemd tempfile
+  sed -i 's/man\ root/root\ root/' init/systemd/man-db.conf
+
+  ./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 ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${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
+}

Copied: man-db/repos/testing-i686/convert-mans (from rev 243796, 
man-db/trunk/convert-mans)
===
--- testing-i686/convert-mans   (rev 0)
+++ testing-i686/convert-mans   2015-08-16 17:14:37 UTC (rev 243797)
@@ -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

Copied: man-db/repos/testing-i686/man-db.install (from rev 243796, 
man-db/trunk/man-db.install)
===
--- testing-i686/man-db.install (rev 0)
+++ testing-i686/man-db.install 2015-08-16 17:14:37 UTC (rev 243797)
@@ -0,0 +1,17 @@
+post_install() {
+  echo it's recommended to create 

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

2014-11-09 Thread Andreas Radke
Date: Sunday, November 9, 2014 @ 09:25:21
  Author: andyrtr
Revision: 225780

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

Added:
  man-db/repos/testing-i686/
  man-db/repos/testing-i686/PKGBUILD
(from rev 225779, man-db/trunk/PKGBUILD)
  man-db/repos/testing-i686/convert-mans
(from rev 225779, man-db/trunk/convert-mans)
  man-db/repos/testing-i686/man-db.install
(from rev 225779, man-db/trunk/man-db.install)
  man-db/repos/testing-i686/man-db.service
(from rev 225779, man-db/trunk/man-db.service)
  man-db/repos/testing-i686/man-db.timer
(from rev 225779, man-db/trunk/man-db.timer)
  man-db/repos/testing-x86_64/
  man-db/repos/testing-x86_64/PKGBUILD
(from rev 225779, man-db/trunk/PKGBUILD)
  man-db/repos/testing-x86_64/convert-mans
(from rev 225779, man-db/trunk/convert-mans)
  man-db/repos/testing-x86_64/man-db.install
(from rev 225779, man-db/trunk/man-db.install)
  man-db/repos/testing-x86_64/man-db.service
(from rev 225779, man-db/trunk/man-db.service)
  man-db/repos/testing-x86_64/man-db.timer
(from rev 225779, man-db/trunk/man-db.timer)

---+
 testing-i686/PKGBUILD |   67 
 testing-i686/convert-mans |   11 ++
 testing-i686/man-db.install   |   17 ++
 testing-i686/man-db.service   |   11 ++
 testing-i686/man-db.timer |7 
 testing-x86_64/PKGBUILD   |   67 
 testing-x86_64/convert-mans   |   11 ++
 testing-x86_64/man-db.install |   17 ++
 testing-x86_64/man-db.service |   11 ++
 testing-x86_64/man-db.timer   |7 
 10 files changed, 226 insertions(+)

Copied: man-db/repos/testing-i686/PKGBUILD (from rev 225779, 
man-db/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-11-09 08:25:21 UTC (rev 225780)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Andreas Radke andy...@archlinux.org
+# Contributor: Sergej Pupykin ser...@aur.archlinux.org
+
+pkgname=man-db
+pkgver=2.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=('88d32360e2ed18e05de9b528ad336fd8'
+ 'SKIP'
+ '2b7662a7d5b33fe91f9f3e034361a2f6'
+ 'df6d4f432e3e16c255c785fca1447346'
+ '36fb3f616e42a0e23cf7a4d284e640cd')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  
+  # fix group in systemd tempfile
+  sed -i 's/man\ root/root\ root/' init/systemd/man-db.conf
+
+  ./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 ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${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
+}

Copied: man-db/repos/testing-i686/convert-mans (from rev 225779, 
man-db/trunk/convert-mans)
===
--- testing-i686/convert-mans   (rev 0)
+++ testing-i686/convert-mans   2014-11-09 08:25:21 UTC (rev 225780)
@@ -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

Copied: man-db/repos/testing-i686/man-db.install (from rev 225779, 
man-db/trunk/man-db.install)
===
--- testing-i686/man-db.install (rev 0)
+++ testing-i686/man-db.install 2014-11-09 08:25:21 UTC (rev 225780)
@@ -0,0 +1,17 @@
+post_install() {
+  echo it's recommended to create an initial
+  echo database running as root:
+  echo \/usr/bin/mandb --quiet\
+}
+

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

2014-09-28 Thread Andreas Radke
Date: Sunday, September 28, 2014 @ 09:32:15
  Author: andyrtr
Revision: 223603

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

Added:
  man-db/repos/testing-i686/
  man-db/repos/testing-i686/PKGBUILD
(from rev 223602, man-db/trunk/PKGBUILD)
  man-db/repos/testing-i686/convert-mans
(from rev 223602, man-db/trunk/convert-mans)
  man-db/repos/testing-i686/man-db.install
(from rev 223602, man-db/trunk/man-db.install)
  man-db/repos/testing-i686/man-db.service
(from rev 223602, man-db/trunk/man-db.service)
  man-db/repos/testing-i686/man-db.timer
(from rev 223602, man-db/trunk/man-db.timer)
  man-db/repos/testing-x86_64/
  man-db/repos/testing-x86_64/PKGBUILD
(from rev 223602, man-db/trunk/PKGBUILD)
  man-db/repos/testing-x86_64/convert-mans
(from rev 223602, man-db/trunk/convert-mans)
  man-db/repos/testing-x86_64/man-db.install
(from rev 223602, man-db/trunk/man-db.install)
  man-db/repos/testing-x86_64/man-db.service
(from rev 223602, man-db/trunk/man-db.service)
  man-db/repos/testing-x86_64/man-db.timer
(from rev 223602, man-db/trunk/man-db.timer)

---+
 testing-i686/PKGBUILD |   63 
 testing-i686/convert-mans |   11 ++
 testing-i686/man-db.install   |   17 ++
 testing-i686/man-db.service   |   11 ++
 testing-i686/man-db.timer |7 
 testing-x86_64/PKGBUILD   |   63 
 testing-x86_64/convert-mans   |   11 ++
 testing-x86_64/man-db.install |   17 ++
 testing-x86_64/man-db.service |   11 ++
 testing-x86_64/man-db.timer   |7 
 10 files changed, 218 insertions(+)

Copied: man-db/repos/testing-i686/PKGBUILD (from rev 223602, 
man-db/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-09-28 07:32:15 UTC (rev 223603)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Andreas Radke andy...@archlinux.org
+# Contributor: Sergej Pupykin ser...@aur.archlinux.org
+
+pkgname=man-db
+pkgver=2.7.0.2
+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=('8ea7be9daf7af7da0fcd619e3da3991c'
+ 'SKIP'
+ '2b7662a7d5b33fe91f9f3e034361a2f6'
+ 'df6d4f432e3e16c255c785fca1447346'
+ '36fb3f616e42a0e23cf7a4d284e640cd')
+
+build() {
+  cd ${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 ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${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
+}

Copied: man-db/repos/testing-i686/convert-mans (from rev 223602, 
man-db/trunk/convert-mans)
===
--- testing-i686/convert-mans   (rev 0)
+++ testing-i686/convert-mans   2014-09-28 07:32:15 UTC (rev 223603)
@@ -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

Copied: man-db/repos/testing-i686/man-db.install (from rev 223602, 
man-db/trunk/man-db.install)
===
--- testing-i686/man-db.install (rev 0)
+++ testing-i686/man-db.install 2014-09-28 07:32:15 UTC (rev 223603)
@@ -0,0 +1,17 @@
+post_install() {
+  echo it's recommended to create an initial
+  echo database running as root:
+  echo \/usr/bin/mandb --quiet\
+}
+
+post_upgrade() {
+  # force database rebuild as recommended per upstream
+  if [ `vercmp $2 2.7.0` -lt 0 ]; then

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

2014-03-28 Thread Thomas Bächler
Date: Friday, March 28, 2014 @ 21:18:21
  Author: thomas
Revision: 208924

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

Added:
  man-db/repos/testing-i686/
  man-db/repos/testing-i686/PKGBUILD
(from rev 208923, man-db/trunk/PKGBUILD)
  man-db/repos/testing-i686/convert-mans
(from rev 208923, man-db/trunk/convert-mans)
  man-db/repos/testing-i686/man-db.install
(from rev 208923, man-db/trunk/man-db.install)
  man-db/repos/testing-i686/man-db.service
(from rev 208923, man-db/trunk/man-db.service)
  man-db/repos/testing-i686/man-db.timer
(from rev 208923, man-db/trunk/man-db.timer)
  man-db/repos/testing-x86_64/
  man-db/repos/testing-x86_64/PKGBUILD
(from rev 208923, man-db/trunk/PKGBUILD)
  man-db/repos/testing-x86_64/convert-mans
(from rev 208923, man-db/trunk/convert-mans)
  man-db/repos/testing-x86_64/man-db.install
(from rev 208923, man-db/trunk/man-db.install)
  man-db/repos/testing-x86_64/man-db.service
(from rev 208923, man-db/trunk/man-db.service)
  man-db/repos/testing-x86_64/man-db.timer
(from rev 208923, man-db/trunk/man-db.timer)

---+
 testing-i686/PKGBUILD |   63 
 testing-i686/convert-mans |   11 ++
 testing-i686/man-db.install   |   22 +
 testing-i686/man-db.service   |   11 ++
 testing-i686/man-db.timer |7 
 testing-x86_64/PKGBUILD   |   63 
 testing-x86_64/convert-mans   |   11 ++
 testing-x86_64/man-db.install |   22 +
 testing-x86_64/man-db.service |   11 ++
 testing-x86_64/man-db.timer   |7 
 10 files changed, 228 insertions(+)

Copied: man-db/repos/testing-i686/PKGBUILD (from rev 208923, 
man-db/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-03-28 20:18:21 UTC (rev 208924)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Andreas Radke andy...@archlinux.org
+# Contributor: Sergej Pupykin ser...@aur.archlinux.org
+
+pkgname=man-db
+pkgver=2.6.6
+pkgrel=2
+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://savannah.nongnu.org/download/man-db/$pkgname-$pkgver.tar.xz{,.sig}
+convert-mans
+man-db.{timer,service})
+md5sums=('5d65d66191080c144437a6c854e17868'
+ '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
+}

Copied: man-db/repos/testing-i686/convert-mans (from rev 208923, 
man-db/trunk/convert-mans)
===
--- testing-i686/convert-mans   (rev 0)
+++ testing-i686/convert-mans   2014-03-28 20:18:21 UTC (rev 208924)
@@ -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

Copied: man-db/repos/testing-i686/man-db.install (from rev 208923, 
man-db/trunk/man-db.install)
===
--- testing-i686/man-db.install (rev 0)
+++ testing-i686/man-db.install 2014-03-28 20:18:21 UTC (rev 208924)
@@ -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 

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

2011-11-20 Thread andyrtr
Date: Sunday, November 20, 2011 @ 10:57:42
  Author: andyrtr
Revision: 143008

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

Added:
  man-db/repos/staging-i686/
  man-db/repos/staging-i686/1361_1360.diff
(from rev 143007, man-db/trunk/1361_1360.diff)
  man-db/repos/staging-i686/PKGBUILD
(from rev 143007, man-db/trunk/PKGBUILD)
  man-db/repos/staging-i686/convert-mans
(from rev 143007, man-db/trunk/convert-mans)
  man-db/repos/staging-i686/man-db.cron.daily
(from rev 143007, man-db/trunk/man-db.cron.daily)
  man-db/repos/staging-i686/man-db.install
(from rev 143007, man-db/trunk/man-db.install)
  man-db/repos/staging-x86_64/
  man-db/repos/staging-x86_64/1361_1360.diff
(from rev 143007, man-db/trunk/1361_1360.diff)
  man-db/repos/staging-x86_64/PKGBUILD
(from rev 143007, man-db/trunk/PKGBUILD)
  man-db/repos/staging-x86_64/convert-mans
(from rev 143007, man-db/trunk/convert-mans)
  man-db/repos/staging-x86_64/man-db.cron.daily
(from rev 143007, man-db/trunk/man-db.cron.daily)
  man-db/repos/staging-x86_64/man-db.install
(from rev 143007, man-db/trunk/man-db.install)

--+
 staging-i686/1361_1360.diff  |   25 +++
 staging-i686/PKGBUILD|   60 +
 staging-i686/convert-mans|   11 ++
 staging-i686/man-db.cron.daily   |   39 
 staging-i686/man-db.install  |   22 +
 staging-x86_64/1361_1360.diff|   25 +++
 staging-x86_64/PKGBUILD  |   60 +
 staging-x86_64/convert-mans  |   11 ++
 staging-x86_64/man-db.cron.daily |   39 
 staging-x86_64/man-db.install|   22 +
 10 files changed, 314 insertions(+)

Copied: man-db/repos/staging-i686/1361_1360.diff (from rev 143007, 
man-db/trunk/1361_1360.diff)
===
--- staging-i686/1361_1360.diff (rev 0)
+++ staging-i686/1361_1360.diff 2011-11-20 15:57:42 UTC (rev 143008)
@@ -0,0 +1,25 @@
+=== modified file 'src/straycats.c'
+--- src/straycats.c2011-01-10 20:08:22 +
 src/straycats.c2011-06-04 06:34:51 +
+@@ -177,6 +177,7 @@
+   char *lang, *page_encoding;
+   char *mandir_base;
+   pipecmd *col_cmd;
++  char *col_locale;
+   char *fullpath;
+ 
+   /* we have a straycat. Need to filter it and get
+@@ -226,6 +227,12 @@
+   col_cmd = pipecmd_new_argstr
+   (get_def_user (col, COL));
+   pipecmd_arg (col_cmd, -bx);
++  col_locale = find_charset_locale (UTF-8);
++  if (col_locale) {
++  pipecmd_setenv (col_cmd, LC_CTYPE,
++  col_locale);
++  free (col_locale);
++  }
+   pipeline_command (decomp, col_cmd);
+ 
+   fullpath = canonicalize_file_name (catdir);
+

Copied: man-db/repos/staging-i686/PKGBUILD (from rev 143007, 
man-db/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2011-11-20 15:57:42 UTC (rev 143008)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Andreas Radke andy...@archlinux.org
+# Contributor: Sergej Pupykin ser...@aur.archlinux.org
+
+pkgname=man-db
+pkgver=2.6.0.2
+pkgrel=3
+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')
+optdepends=('less' '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.gz
+   1361_1360.diff
+   
#http://launchpad.net/man-db/main/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz
+convert-mans man-db.cron.daily)
+options=('!libtool')
+md5sums=('2b41c96efec032d2b74ccbf2e401f93e'
+ '08b76b1f924c5493a280b79fc0aebde4'
+ '2b7662a7d5b33fe91f9f3e034361a2f6'
+ 'd30c39ae47560304471b5461719e0f03')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  # https://bugs.archlinux.org/task/18722
+  patch -Np0 -i $srcdir/1361_1360.diff
+  ./configure --prefix=/usr --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