Date: Saturday, December 13, 2014 @ 22:11:15
  Author: bisson
Revision: 227594

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

Added:
  mlocate/repos/testing-i686/
  mlocate/repos/testing-i686/PKGBUILD
    (from rev 227593, mlocate/trunk/PKGBUILD)
  mlocate/repos/testing-i686/updatedb.conf
    (from rev 227593, mlocate/trunk/updatedb.conf)
  mlocate/repos/testing-i686/updatedb.service
    (from rev 227593, mlocate/trunk/updatedb.service)
  mlocate/repos/testing-i686/updatedb.timer
    (from rev 227593, mlocate/trunk/updatedb.timer)
  mlocate/repos/testing-x86_64/
  mlocate/repos/testing-x86_64/PKGBUILD
    (from rev 227593, mlocate/trunk/PKGBUILD)
  mlocate/repos/testing-x86_64/updatedb.conf
    (from rev 227593, mlocate/trunk/updatedb.conf)
  mlocate/repos/testing-x86_64/updatedb.service
    (from rev 227593, mlocate/trunk/updatedb.service)
  mlocate/repos/testing-x86_64/updatedb.timer
    (from rev 227593, mlocate/trunk/updatedb.timer)

---------------------------------+
 testing-i686/PKGBUILD           |   57 ++++++++++++++++++++++++++++++++++++++
 testing-i686/updatedb.conf      |    4 ++
 testing-i686/updatedb.service   |    7 ++++
 testing-i686/updatedb.timer     |    6 ++++
 testing-x86_64/PKGBUILD         |   57 ++++++++++++++++++++++++++++++++++++++
 testing-x86_64/updatedb.conf    |    4 ++
 testing-x86_64/updatedb.service |    7 ++++
 testing-x86_64/updatedb.timer   |    6 ++++
 8 files changed, 148 insertions(+)

Copied: mlocate/repos/testing-i686/PKGBUILD (from rev 227593, 
mlocate/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2014-12-13 21:11:15 UTC (rev 227594)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bis...@archlinux.org>
+# Contributor: Allan McRae <al...@archlinux.org>
+# Contributor: lydgate
+
+pkgname=mlocate
+pkgver=0.26
+pkgrel=4
+pkgdesc='Merging locate/updatedb implementation'
+url='https://fedorahosted.org/mlocate/'
+arch=('i686' 'x86_64')
+license=('GPL')
+backup=('etc/updatedb.conf')
+depends=('glibc')
+source=("https://fedorahosted.org/releases/m/l/mlocate/mlocate-${pkgver}.tar.xz";
+       'updatedb.conf'
+       updatedb.{timer,service})
+sha1sums=('c6e6d81b25359c51c545f4b8ba0f3b469227fcbc'
+          '0150379149bf9d714bc81332d775fc273e7e3535'
+          'c2155e7f53d89dd23db732b4819fdaa7462cfc30'
+          '387185ea34fc65f8457cb40dc374319f0b2490cd')
+
+prepare() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       sed -i '/^groupname /s/mlocate/locate/' Makefile.in
+}
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
+       make
+}
+
+check() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make check
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+
+       make DESTDIR="${pkgdir}" install
+
+       chgrp 21 "${pkgdir}/usr/bin/locate"
+       chmod 2755 "${pkgdir}/usr/bin/locate"
+       ln -s locate "${pkgdir}/usr/bin/slocate"
+
+       install -dm755 "${pkgdir}/var/lib"
+       install -dm750 -g21 "${pkgdir}/var/lib/locate"
+       
+       install -Dm644 ../updatedb.conf "${pkgdir}/etc/updatedb.conf"
+
+       install -D -m644 ${srcdir}/updatedb.timer 
${pkgdir}/usr/lib/systemd/system/updatedb.timer
+       install -D -m644 ${srcdir}/updatedb.service 
${pkgdir}/usr/lib/systemd/system/updatedb.service
+       install -d -m755 
${pkgdir}/usr/lib/systemd/system/multi-user.target.wants
+       ln -s ../updatedb.timer 
${pkgdir}//usr/lib/systemd/system/multi-user.target.wants/updatedb.timer
+}

Copied: mlocate/repos/testing-i686/updatedb.conf (from rev 227593, 
mlocate/trunk/updatedb.conf)
===================================================================
--- testing-i686/updatedb.conf                          (rev 0)
+++ testing-i686/updatedb.conf  2014-12-13 21:11:15 UTC (rev 227594)
@@ -0,0 +1,4 @@
+PRUNE_BIND_MOUNTS = "yes"
+PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda 
configfs cpuset cramfs debugfs devpts devtmpfs ecryptfs exofs ftpfs fuse 
fuse.encfs fuse.sshfs fusectl gfs gfs2 hugetlbfs inotifyfs iso9660 jffs2 lustre 
mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs 
selinuxfs sfs shfs smbfs sockfs sshfs sysfs tmpfs ubifs udf usbfs vboxsf"
+PRUNENAMES = ".git .hg .svn"
+PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache 
/var/lib/pacman/local /var/lock /var/run /var/spool /var/tmp"

Copied: mlocate/repos/testing-i686/updatedb.service (from rev 227593, 
mlocate/trunk/updatedb.service)
===================================================================
--- testing-i686/updatedb.service                               (rev 0)
+++ testing-i686/updatedb.service       2014-12-13 21:11:15 UTC (rev 227594)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Update locate database
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/updatedb
+IOSchedulingClass=idle

Copied: mlocate/repos/testing-i686/updatedb.timer (from rev 227593, 
mlocate/trunk/updatedb.timer)
===================================================================
--- testing-i686/updatedb.timer                         (rev 0)
+++ testing-i686/updatedb.timer 2014-12-13 21:11:15 UTC (rev 227594)
@@ -0,0 +1,6 @@
+[Unit]
+Description=Daily locate database update
+
+[Timer]
+OnBootSec=15min
+OnUnitActiveSec=1d

Copied: mlocate/repos/testing-x86_64/PKGBUILD (from rev 227593, 
mlocate/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2014-12-13 21:11:15 UTC (rev 227594)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bis...@archlinux.org>
+# Contributor: Allan McRae <al...@archlinux.org>
+# Contributor: lydgate
+
+pkgname=mlocate
+pkgver=0.26
+pkgrel=4
+pkgdesc='Merging locate/updatedb implementation'
+url='https://fedorahosted.org/mlocate/'
+arch=('i686' 'x86_64')
+license=('GPL')
+backup=('etc/updatedb.conf')
+depends=('glibc')
+source=("https://fedorahosted.org/releases/m/l/mlocate/mlocate-${pkgver}.tar.xz";
+       'updatedb.conf'
+       updatedb.{timer,service})
+sha1sums=('c6e6d81b25359c51c545f4b8ba0f3b469227fcbc'
+          '0150379149bf9d714bc81332d775fc273e7e3535'
+          'c2155e7f53d89dd23db732b4819fdaa7462cfc30'
+          '387185ea34fc65f8457cb40dc374319f0b2490cd')
+
+prepare() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       sed -i '/^groupname /s/mlocate/locate/' Makefile.in
+}
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
+       make
+}
+
+check() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make check
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+
+       make DESTDIR="${pkgdir}" install
+
+       chgrp 21 "${pkgdir}/usr/bin/locate"
+       chmod 2755 "${pkgdir}/usr/bin/locate"
+       ln -s locate "${pkgdir}/usr/bin/slocate"
+
+       install -dm755 "${pkgdir}/var/lib"
+       install -dm750 -g21 "${pkgdir}/var/lib/locate"
+       
+       install -Dm644 ../updatedb.conf "${pkgdir}/etc/updatedb.conf"
+
+       install -D -m644 ${srcdir}/updatedb.timer 
${pkgdir}/usr/lib/systemd/system/updatedb.timer
+       install -D -m644 ${srcdir}/updatedb.service 
${pkgdir}/usr/lib/systemd/system/updatedb.service
+       install -d -m755 
${pkgdir}/usr/lib/systemd/system/multi-user.target.wants
+       ln -s ../updatedb.timer 
${pkgdir}//usr/lib/systemd/system/multi-user.target.wants/updatedb.timer
+}

Copied: mlocate/repos/testing-x86_64/updatedb.conf (from rev 227593, 
mlocate/trunk/updatedb.conf)
===================================================================
--- testing-x86_64/updatedb.conf                                (rev 0)
+++ testing-x86_64/updatedb.conf        2014-12-13 21:11:15 UTC (rev 227594)
@@ -0,0 +1,4 @@
+PRUNE_BIND_MOUNTS = "yes"
+PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda 
configfs cpuset cramfs debugfs devpts devtmpfs ecryptfs exofs ftpfs fuse 
fuse.encfs fuse.sshfs fusectl gfs gfs2 hugetlbfs inotifyfs iso9660 jffs2 lustre 
mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs 
selinuxfs sfs shfs smbfs sockfs sshfs sysfs tmpfs ubifs udf usbfs vboxsf"
+PRUNENAMES = ".git .hg .svn"
+PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache 
/var/lib/pacman/local /var/lock /var/run /var/spool /var/tmp"

Copied: mlocate/repos/testing-x86_64/updatedb.service (from rev 227593, 
mlocate/trunk/updatedb.service)
===================================================================
--- testing-x86_64/updatedb.service                             (rev 0)
+++ testing-x86_64/updatedb.service     2014-12-13 21:11:15 UTC (rev 227594)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Update locate database
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/updatedb
+IOSchedulingClass=idle

Copied: mlocate/repos/testing-x86_64/updatedb.timer (from rev 227593, 
mlocate/trunk/updatedb.timer)
===================================================================
--- testing-x86_64/updatedb.timer                               (rev 0)
+++ testing-x86_64/updatedb.timer       2014-12-13 21:11:15 UTC (rev 227594)
@@ -0,0 +1,6 @@
+[Unit]
+Description=Daily locate database update
+
+[Timer]
+OnBootSec=15min
+OnUnitActiveSec=1d

Reply via email to