[arch-commits] Commit in mlocate/repos (10 files)
Thomas Bächler
thomas at nymeria.archlinux.org
Fri Mar 28 20:31:39 UTC 2014
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 <bisson at archlinux.org>
+# Contributor: Allan McRae <allan at 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
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7
Copied: mlocate/repos/testing-i686/updatedb.timer (from rev 208926, mlocate/trunk/updatedb.timer)
===================================================================
--- testing-i686/updatedb.timer (rev 0)
+++ testing-i686/updatedb.timer 2014-03-28 20:31:39 UTC (rev 208927)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Daily locate database update
+
+[Timer]
+OnCalendar=daily
+AccuracySec=12h
+Persistent=true
Copied: mlocate/repos/testing-x86_64/PKGBUILD (from rev 208926, mlocate/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-03-28 20:31:39 UTC (rev 208927)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Allan McRae <allan at 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-x86_64/updatedb.conf (from rev 208926, mlocate/trunk/updatedb.conf)
===================================================================
--- testing-x86_64/updatedb.conf (rev 0)
+++ testing-x86_64/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-x86_64/updatedb.service (from rev 208926, mlocate/trunk/updatedb.service)
===================================================================
--- testing-x86_64/updatedb.service (rev 0)
+++ testing-x86_64/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
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7
Copied: mlocate/repos/testing-x86_64/updatedb.timer (from rev 208926, mlocate/trunk/updatedb.timer)
===================================================================
--- testing-x86_64/updatedb.timer (rev 0)
+++ testing-x86_64/updatedb.timer 2014-03-28 20:31:39 UTC (rev 208927)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Daily locate database update
+
+[Timer]
+OnCalendar=daily
+AccuracySec=12h
+Persistent=true
More information about the arch-commits
mailing list