Date: Saturday, September 22, 2012 @ 05:15:37
Author: bisson
Revision: 166923
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
mlocate/repos/testing-i686/
mlocate/repos/testing-i686/PKGBUILD
(from rev 166922, mlocate/trunk/PKGBUILD)
mlocate/repos/testing-i686/updatedb.conf
(from rev 166922, mlocate/trunk/updatedb.conf)
mlocate/repos/testing-i686/updatedb.cron
(from rev 166922, mlocate/trunk/updatedb.cron)
mlocate/repos/testing-x86_64/
mlocate/repos/testing-x86_64/PKGBUILD
(from rev 166922, mlocate/trunk/PKGBUILD)
mlocate/repos/testing-x86_64/updatedb.conf
(from rev 166922, mlocate/trunk/updatedb.conf)
mlocate/repos/testing-x86_64/updatedb.cron
(from rev 166922, mlocate/trunk/updatedb.cron)
------------------------------+
testing-i686/PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++
testing-i686/updatedb.conf | 4 +++
testing-i686/updatedb.cron | 6 +++++
testing-x86_64/PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++
testing-x86_64/updatedb.conf | 4 +++
testing-x86_64/updatedb.cron | 6 +++++
6 files changed, 118 insertions(+)
Copied: mlocate/repos/testing-i686/PKGBUILD (from rev 166922,
mlocate/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-09-22 09:15:37 UTC (rev 166923)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor: Allan McRae <[email protected]>
+# Contributor: lydgate
+
+pkgname=mlocate
+pkgver=0.26
+pkgrel=1
+pkgdesc='Merging locate/updatedb implementation'
+url='https://fedorahosted.org/mlocate/'
+arch=('i686' 'x86_64')
+license=('GPL')
+backup=('etc/updatedb.conf'
+ 'etc/cron.daily/updatedb')
+source=("https://fedorahosted.org/releases/m/l/mlocate/mlocate-${pkgver}.tar.xz"
+ 'updatedb.conf'
+ 'updatedb.cron')
+sha1sums=('c6e6d81b25359c51c545f4b8ba0f3b469227fcbc'
+ '0150379149bf9d714bc81332d775fc273e7e3535'
+ '8301e6277d27db539af6cf4bc243e8e247bffc2e')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ sed -i '/^groupname /s/mlocate/locate/' Makefile.in
+ ./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 -Dm744 ../updatedb.cron "${pkgdir}/etc/cron.daily/updatedb"
+}
Copied: mlocate/repos/testing-i686/updatedb.conf (from rev 166922,
mlocate/trunk/updatedb.conf)
===================================================================
--- testing-i686/updatedb.conf (rev 0)
+++ testing-i686/updatedb.conf 2012-09-22 09:15:37 UTC (rev 166923)
@@ -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.cron (from rev 166922,
mlocate/trunk/updatedb.cron)
===================================================================
--- testing-i686/updatedb.cron (rev 0)
+++ testing-i686/updatedb.cron 2012-09-22 09:15:37 UTC (rev 166923)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+NICE='nice -n 19'
+IONICE='ionice -c 2 -n 7'
+
+exec ${IONICE} ${NICE} updatedb -f proc
Copied: mlocate/repos/testing-x86_64/PKGBUILD (from rev 166922,
mlocate/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-09-22 09:15:37 UTC (rev 166923)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor: Allan McRae <[email protected]>
+# Contributor: lydgate
+
+pkgname=mlocate
+pkgver=0.26
+pkgrel=1
+pkgdesc='Merging locate/updatedb implementation'
+url='https://fedorahosted.org/mlocate/'
+arch=('i686' 'x86_64')
+license=('GPL')
+backup=('etc/updatedb.conf'
+ 'etc/cron.daily/updatedb')
+source=("https://fedorahosted.org/releases/m/l/mlocate/mlocate-${pkgver}.tar.xz"
+ 'updatedb.conf'
+ 'updatedb.cron')
+sha1sums=('c6e6d81b25359c51c545f4b8ba0f3b469227fcbc'
+ '0150379149bf9d714bc81332d775fc273e7e3535'
+ '8301e6277d27db539af6cf4bc243e8e247bffc2e')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ sed -i '/^groupname /s/mlocate/locate/' Makefile.in
+ ./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 -Dm744 ../updatedb.cron "${pkgdir}/etc/cron.daily/updatedb"
+}
Copied: mlocate/repos/testing-x86_64/updatedb.conf (from rev 166922,
mlocate/trunk/updatedb.conf)
===================================================================
--- testing-x86_64/updatedb.conf (rev 0)
+++ testing-x86_64/updatedb.conf 2012-09-22 09:15:37 UTC (rev 166923)
@@ -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.cron (from rev 166922,
mlocate/trunk/updatedb.cron)
===================================================================
--- testing-x86_64/updatedb.cron (rev 0)
+++ testing-x86_64/updatedb.cron 2012-09-22 09:15:37 UTC (rev 166923)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+NICE='nice -n 19'
+IONICE='ionice -c 2 -n 7'
+
+exec ${IONICE} ${NICE} updatedb -f proc