[arch-commits] Commit in mlocate/repos (16 files)

Thomas Bächler thomas at nymeria.archlinux.org
Mon Apr 14 22:14:39 UTC 2014


    Date: Tuesday, April 15, 2014 @ 00:14:39
  Author: thomas
Revision: 210562

db-move: moved mlocate from [testing] to [core] (i686, x86_64)

Added:
  mlocate/repos/core-i686/PKGBUILD
    (from rev 210559, mlocate/repos/testing-i686/PKGBUILD)
  mlocate/repos/core-i686/updatedb.conf
    (from rev 210559, mlocate/repos/testing-i686/updatedb.conf)
  mlocate/repos/core-i686/updatedb.service
    (from rev 210559, mlocate/repos/testing-i686/updatedb.service)
  mlocate/repos/core-i686/updatedb.timer
    (from rev 210559, mlocate/repos/testing-i686/updatedb.timer)
  mlocate/repos/core-x86_64/PKGBUILD
    (from rev 210559, mlocate/repos/testing-x86_64/PKGBUILD)
  mlocate/repos/core-x86_64/updatedb.conf
    (from rev 210559, mlocate/repos/testing-x86_64/updatedb.conf)
  mlocate/repos/core-x86_64/updatedb.service
    (from rev 210559, mlocate/repos/testing-x86_64/updatedb.service)
  mlocate/repos/core-x86_64/updatedb.timer
    (from rev 210559, mlocate/repos/testing-x86_64/updatedb.timer)
Deleted:
  mlocate/repos/core-i686/PKGBUILD
  mlocate/repos/core-i686/updatedb.conf
  mlocate/repos/core-i686/updatedb.cron
  mlocate/repos/core-x86_64/PKGBUILD
  mlocate/repos/core-x86_64/updatedb.conf
  mlocate/repos/core-x86_64/updatedb.cron
  mlocate/repos/testing-i686/
  mlocate/repos/testing-x86_64/

------------------------------+
 /PKGBUILD                    |  114 +++++++++++++++++++++++++++++++++++++++++
 /updatedb.conf               |    8 ++
 core-i686/PKGBUILD           |   49 -----------------
 core-i686/updatedb.conf      |    4 -
 core-i686/updatedb.cron      |    6 --
 core-i686/updatedb.service   |    9 +++
 core-i686/updatedb.timer     |    7 ++
 core-x86_64/PKGBUILD         |   49 -----------------
 core-x86_64/updatedb.conf    |    4 -
 core-x86_64/updatedb.cron    |    6 --
 core-x86_64/updatedb.service |    9 +++
 core-x86_64/updatedb.timer   |    7 ++
 12 files changed, 154 insertions(+), 118 deletions(-)

Deleted: core-i686/PKGBUILD
===================================================================
--- core-i686/PKGBUILD	2014-04-14 22:14:38 UTC (rev 210561)
+++ core-i686/PKGBUILD	2014-04-14 22:14:39 UTC (rev 210562)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# 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/core-i686/PKGBUILD (from rev 210559, mlocate/repos/testing-i686/PKGBUILD)
===================================================================
--- core-i686/PKGBUILD	                        (rev 0)
+++ core-i686/PKGBUILD	2014-04-14 22:14:39 UTC (rev 210562)
@@ -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=3
+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'
+          'f2f71aefbf677fb1719b5c67c757cde34e3210d7')
+
+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
+}

Deleted: core-i686/updatedb.conf
===================================================================
--- core-i686/updatedb.conf	2014-04-14 22:14:38 UTC (rev 210561)
+++ core-i686/updatedb.conf	2014-04-14 22:14:39 UTC (rev 210562)
@@ -1,4 +0,0 @@
-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/core-i686/updatedb.conf (from rev 210559, mlocate/repos/testing-i686/updatedb.conf)
===================================================================
--- core-i686/updatedb.conf	                        (rev 0)
+++ core-i686/updatedb.conf	2014-04-14 22:14:39 UTC (rev 210562)
@@ -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"

Deleted: core-i686/updatedb.cron
===================================================================
--- core-i686/updatedb.cron	2014-04-14 22:14:38 UTC (rev 210561)
+++ core-i686/updatedb.cron	2014-04-14 22:14:39 UTC (rev 210562)
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-NICE='nice -n 19'
-IONICE='ionice -c 2 -n 7'
-
-exec ${IONICE} ${NICE} updatedb -f proc

Copied: mlocate/repos/core-i686/updatedb.service (from rev 210559, mlocate/repos/testing-i686/updatedb.service)
===================================================================
--- core-i686/updatedb.service	                        (rev 0)
+++ core-i686/updatedb.service	2014-04-14 22:14:39 UTC (rev 210562)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Update locate database
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/updatedb
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7

Copied: mlocate/repos/core-i686/updatedb.timer (from rev 210559, mlocate/repos/testing-i686/updatedb.timer)
===================================================================
--- core-i686/updatedb.timer	                        (rev 0)
+++ core-i686/updatedb.timer	2014-04-14 22:14:39 UTC (rev 210562)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Daily locate database update
+
+[Timer]
+OnCalendar=daily
+AccuracySec=12h
+Persistent=true

Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD	2014-04-14 22:14:38 UTC (rev 210561)
+++ core-x86_64/PKGBUILD	2014-04-14 22:14:39 UTC (rev 210562)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# 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/core-x86_64/PKGBUILD (from rev 210559, mlocate/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD	                        (rev 0)
+++ core-x86_64/PKGBUILD	2014-04-14 22:14:39 UTC (rev 210562)
@@ -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=3
+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'
+          'f2f71aefbf677fb1719b5c67c757cde34e3210d7')
+
+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
+}

Deleted: core-x86_64/updatedb.conf
===================================================================
--- core-x86_64/updatedb.conf	2014-04-14 22:14:38 UTC (rev 210561)
+++ core-x86_64/updatedb.conf	2014-04-14 22:14:39 UTC (rev 210562)
@@ -1,4 +0,0 @@
-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/core-x86_64/updatedb.conf (from rev 210559, mlocate/repos/testing-x86_64/updatedb.conf)
===================================================================
--- core-x86_64/updatedb.conf	                        (rev 0)
+++ core-x86_64/updatedb.conf	2014-04-14 22:14:39 UTC (rev 210562)
@@ -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"

Deleted: core-x86_64/updatedb.cron
===================================================================
--- core-x86_64/updatedb.cron	2014-04-14 22:14:38 UTC (rev 210561)
+++ core-x86_64/updatedb.cron	2014-04-14 22:14:39 UTC (rev 210562)
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-NICE='nice -n 19'
-IONICE='ionice -c 2 -n 7'
-
-exec ${IONICE} ${NICE} updatedb -f proc

Copied: mlocate/repos/core-x86_64/updatedb.service (from rev 210559, mlocate/repos/testing-x86_64/updatedb.service)
===================================================================
--- core-x86_64/updatedb.service	                        (rev 0)
+++ core-x86_64/updatedb.service	2014-04-14 22:14:39 UTC (rev 210562)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Update locate database
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/updatedb
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7

Copied: mlocate/repos/core-x86_64/updatedb.timer (from rev 210559, mlocate/repos/testing-x86_64/updatedb.timer)
===================================================================
--- core-x86_64/updatedb.timer	                        (rev 0)
+++ core-x86_64/updatedb.timer	2014-04-14 22:14:39 UTC (rev 210562)
@@ -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