[arch-commits] Commit in mlocate/repos (10 files)
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:
[arch-commits] Commit in mlocate/repos (10 files)
Date: Friday, March 28, 2014 @ 21:31:39 Author: thomas Revision: 208927 archrelease: copy trunk to testing-i686, testing-x86_64 Added: mlocate/repos/testing-i686/ mlocate/repos/testing-i686/PKGBUILD (from rev 208926, mlocate/trunk/PKGBUILD) mlocate/repos/testing-i686/updatedb.conf (from rev 208926, mlocate/trunk/updatedb.conf) mlocate/repos/testing-i686/updatedb.service (from rev 208926, mlocate/trunk/updatedb.service) mlocate/repos/testing-i686/updatedb.timer (from rev 208926, mlocate/trunk/updatedb.timer) mlocate/repos/testing-x86_64/ mlocate/repos/testing-x86_64/PKGBUILD (from rev 208926, mlocate/trunk/PKGBUILD) mlocate/repos/testing-x86_64/updatedb.conf (from rev 208926, mlocate/trunk/updatedb.conf) mlocate/repos/testing-x86_64/updatedb.service (from rev 208926, mlocate/trunk/updatedb.service) mlocate/repos/testing-x86_64/updatedb.timer (from rev 208926, mlocate/trunk/updatedb.timer) -+ testing-i686/PKGBUILD | 57 ++ testing-i686/updatedb.conf |4 ++ testing-i686/updatedb.service | 10 ++ testing-i686/updatedb.timer |7 testing-x86_64/PKGBUILD | 57 ++ testing-x86_64/updatedb.conf|4 ++ testing-x86_64/updatedb.service | 10 ++ testing-x86_64/updatedb.timer |7 8 files changed, 156 insertions(+) Copied: mlocate/repos/testing-i686/PKGBUILD (from rev 208926, mlocate/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-03-28 20:31:39 UTC (rev 208927) @@ -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=2 +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' + '2f3a94994ece62aeb286315a6fa5e9e03203706a' + '3a26beed05c7b61d3a78bc7dd5cfffe114ceb1f6') + +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 208926, mlocate/trunk/updatedb.conf) === --- testing-i686/updatedb.conf (rev 0) +++ testing-i686/updatedb.conf 2014-03-28 20:31:39 UTC (rev 208927) @@ -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 208926, mlocate/trunk/updatedb.service) === --- testing-i686/updatedb.service (rev 0) +++ testing-i686/updatedb.service 2014-03-28 20:31:39 UTC (rev 208927) @@ -0,0 +1,10 @@ +[Unit] +Description=Update locate database +RequiresMountsFor=/var/cache/man + +[Service] +Type=oneshot +ExecStart=/usr/bin/updatedb +Nice=19
[arch-commits] Commit in mlocate/repos (10 files)
Date: Saturday, March 3, 2012 @ 00:54:38 Author: allan Revision: 151799 archrelease: copy trunk to testing-i686, testing-x86_64 Added: mlocate/repos/testing-i686/ mlocate/repos/testing-i686/PKGBUILD (from rev 151798, mlocate/trunk/PKGBUILD) mlocate/repos/testing-i686/mlocate.install (from rev 151798, mlocate/trunk/mlocate.install) mlocate/repos/testing-i686/updatedb.conf (from rev 151798, mlocate/trunk/updatedb.conf) mlocate/repos/testing-i686/updatedb.cron.daily (from rev 151798, mlocate/trunk/updatedb.cron.daily) mlocate/repos/testing-x86_64/ mlocate/repos/testing-x86_64/PKGBUILD (from rev 151798, mlocate/trunk/PKGBUILD) mlocate/repos/testing-x86_64/mlocate.install (from rev 151798, mlocate/trunk/mlocate.install) mlocate/repos/testing-x86_64/updatedb.conf (from rev 151798, mlocate/trunk/updatedb.conf) mlocate/repos/testing-x86_64/updatedb.cron.daily (from rev 151798, mlocate/trunk/updatedb.cron.daily) + testing-i686/PKGBUILD | 56 +++ testing-i686/mlocate.install | 18 +++ testing-i686/updatedb.conf |5 +++ testing-i686/updatedb.cron.daily | 29 ++ testing-x86_64/PKGBUILD| 56 +++ testing-x86_64/mlocate.install | 18 +++ testing-x86_64/updatedb.conf |5 +++ testing-x86_64/updatedb.cron.daily | 29 ++ 8 files changed, 216 insertions(+) Copied: mlocate/repos/testing-i686/PKGBUILD (from rev 151798, mlocate/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-03-03 05:54:38 UTC (rev 151799) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: lydgate + +pkgname=mlocate +pkgver=0.25 +pkgrel=1 +pkgdesc=Faster merging drop-in for slocate +arch=('i686' 'x86_64') +url=http://carolina.mff.cuni.cz/~trmac/blog/mlocate; +license=('GPL') +conflicts=('slocate') +provides=('slocate') +replaces=('slocate') +depends=('glibc' 'coreutils' 'sh') +backup=('etc/updatedb.conf' +'etc/cron.daily/updatedb') +install=mlocate.install +source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-$pkgver.tar.xz + updatedb.conf + updatedb.cron.daily) +md5sums=('c6d043b170613b0e327a815b497f680a' + 'c374ff223f2e07b5e602ba22359f2335' + 'cde5da81bebad2de556ef2e43d895e13') + +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 + + # Set up a default updatedb.conf and a daily cronjob + install -Dm644 ${srcdir}/updatedb.conf $pkgdir/etc/updatedb.conf + install -Dm744 ${srcdir}/updatedb.cron.daily $pkgdir/etc/cron.daily/updatedb + + # Install Mlocate + make DESTDIR=$pkgdir install + + ln -sv locate $pkgdir/usr/bin/slocate + chgrp -v 21 $pkgdir/usr/bin/locate + chmod -v 2755 $pkgdir/usr/bin/locate + + install -dm755 $pkgdir/var/lib + install -d -m750 -g21 $pkgdir/var/lib/locate +} Copied: mlocate/repos/testing-i686/mlocate.install (from rev 151798, mlocate/trunk/mlocate.install) === --- testing-i686/mlocate.install(rev 0) +++ testing-i686/mlocate.install2012-03-03 05:54:38 UTC (rev 151799) @@ -0,0 +1,18 @@ +post_install() { + post_upgrade $1 $1 + echo mlocate command is technically locate, but slocate is symlinked and still works. + echo You should run updatedb as root. +} + +post_upgrade() { + # This can be removed after {m,x}locate have both been updated + getent group slocate /dev/null usr/sbin/groupdel slocate /dev/null + getent group mlocate /dev/null usr/sbin/groupdel mlocate /dev/null + + getent group locate /dev/null || usr/sbin/groupadd -g 21 locate /dev/null + chown -R root:locate var/lib/mlocate +} + +pre_remove() { + getent group locate /dev/null usr/sbin/groupdel locate /dev/null +} Copied: mlocate/repos/testing-i686/updatedb.conf (from rev 151798, mlocate/trunk/updatedb.conf) === --- testing-i686/updatedb.conf (rev 0) +++ testing-i686/updatedb.conf 2012-03-03 05:54:38 UTC (rev 151799) @@ -0,0 +1,5 @@ +# directories to exclude from the slocate database: +PRUNEPATHS=/media /mnt /tmp /var/tmp /var/cache /var/lock /var/run /var/spool + +# filesystems to exclude from the slocate database: +PRUNEFS=afs auto autofs binfmt_misc cifs coda configfs cramfs debugfs devpts devtmpfs ftpfs iso9660 mqueue ncpfs nfs nfs4 proc ramfs securityfs shfs smbfs sshfs sysfs tmpfs udf usbfs vboxsf Copied:
[arch-commits] Commit in mlocate/repos (10 files)
Date: Thursday, November 3, 2011 @ 07:28:39 Author: allan Revision: 141941 archrelease: copy trunk to testing-i686, testing-x86_64 Added: mlocate/repos/testing-i686/ mlocate/repos/testing-i686/PKGBUILD (from rev 141940, mlocate/trunk/PKGBUILD) mlocate/repos/testing-i686/mlocate.install (from rev 141940, mlocate/trunk/mlocate.install) mlocate/repos/testing-i686/updatedb.conf (from rev 141940, mlocate/trunk/updatedb.conf) mlocate/repos/testing-i686/updatedb.cron.daily (from rev 141940, mlocate/trunk/updatedb.cron.daily) mlocate/repos/testing-x86_64/ mlocate/repos/testing-x86_64/PKGBUILD (from rev 141940, mlocate/trunk/PKGBUILD) mlocate/repos/testing-x86_64/mlocate.install (from rev 141940, mlocate/trunk/mlocate.install) mlocate/repos/testing-x86_64/updatedb.conf (from rev 141940, mlocate/trunk/updatedb.conf) mlocate/repos/testing-x86_64/updatedb.cron.daily (from rev 141940, mlocate/trunk/updatedb.cron.daily) + testing-i686/PKGBUILD | 56 +++ testing-i686/mlocate.install | 18 +++ testing-i686/updatedb.conf |5 +++ testing-i686/updatedb.cron.daily | 29 ++ testing-x86_64/PKGBUILD| 56 +++ testing-x86_64/mlocate.install | 18 +++ testing-x86_64/updatedb.conf |5 +++ testing-x86_64/updatedb.cron.daily | 29 ++ 8 files changed, 216 insertions(+) Copied: mlocate/repos/testing-i686/PKGBUILD (from rev 141940, mlocate/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2011-11-03 11:28:39 UTC (rev 141941) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: lydgate + +pkgname=mlocate +pkgver=0.24 +pkgrel=2 +pkgdesc=Faster merging drop-in for slocate +arch=('i686' 'x86_64') +url=http://carolina.mff.cuni.cz/~trmac/blog/mlocate; +license=('GPL') +conflicts=('slocate') +provides=('slocate') +replaces=('slocate') +depends=('glibc' 'coreutils' 'sh') +backup=('etc/updatedb.conf' +'etc/cron.daily/updatedb') +install=mlocate.install +source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-$pkgver.tar.xz + updatedb.conf + updatedb.cron.daily) +md5sums=('a9c221e5bc489a2ed710c943990137bd' + 'c374ff223f2e07b5e602ba22359f2335' + 'cde5da81bebad2de556ef2e43d895e13') + +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 + + # Set up a default updatedb.conf and a daily cronjob + install -Dm644 ${srcdir}/updatedb.conf $pkgdir/etc/updatedb.conf + install -Dm744 ${srcdir}/updatedb.cron.daily $pkgdir/etc/cron.daily/updatedb + + # Install Mlocate + make DESTDIR=$pkgdir install + + ln -sv locate $pkgdir/usr/bin/slocate + chgrp -v 21 $pkgdir/usr/bin/locate + chmod -v 2755 $pkgdir/usr/bin/locate + + install -dm755 $pkgdir/var/lib + install -d -m750 -g21 $pkgdir/var/lib/locate +} Copied: mlocate/repos/testing-i686/mlocate.install (from rev 141940, mlocate/trunk/mlocate.install) === --- testing-i686/mlocate.install(rev 0) +++ testing-i686/mlocate.install2011-11-03 11:28:39 UTC (rev 141941) @@ -0,0 +1,18 @@ +post_install() { + post_upgrade $1 $1 + echo mlocate command is technically locate, but slocate is symlinked and still works. + echo You should run updatedb as root. +} + +post_upgrade() { + # This can be removed after {m,x}locate have both been updated + getent group slocate /dev/null usr/sbin/groupdel slocate /dev/null + getent group mlocate /dev/null usr/sbin/groupdel mlocate /dev/null + + getent group locate /dev/null || usr/sbin/groupadd -g 21 locate /dev/null + chown -R root:locate var/lib/mlocate +} + +pre_remove() { + getent group locate /dev/null usr/sbin/groupdel locate /dev/null +} Copied: mlocate/repos/testing-i686/updatedb.conf (from rev 141940, mlocate/trunk/updatedb.conf) === --- testing-i686/updatedb.conf (rev 0) +++ testing-i686/updatedb.conf 2011-11-03 11:28:39 UTC (rev 141941) @@ -0,0 +1,5 @@ +# directories to exclude from the slocate database: +PRUNEPATHS=/media /mnt /tmp /var/tmp /var/cache /var/lock /var/run /var/spool + +# filesystems to exclude from the slocate database: +PRUNEFS=afs auto autofs binfmt_misc cifs coda configfs cramfs debugfs devpts devtmpfs ftpfs iso9660 mqueue ncpfs nfs nfs4 proc ramfs securityfs shfs smbfs sshfs sysfs tmpfs udf usbfs vboxsf Copied: