[arch-commits] Commit in mlocate/repos (11 files)
Gaëtan Bisson
bisson at archlinux.org
Fri Jun 8 06:31:40 UTC 2018
Date: Friday, June 8, 2018 @ 06:31:40
Author: bisson
Revision: 326467
db-move: moved mlocate from [testing] to [core] (x86_64)
Added:
mlocate/repos/core-x86_64/PKGBUILD
(from rev 326466, mlocate/repos/testing-x86_64/PKGBUILD)
mlocate/repos/core-x86_64/sysusers.d
(from rev 326466, mlocate/repos/testing-x86_64/sysusers.d)
mlocate/repos/core-x86_64/updatedb.conf
(from rev 326466, mlocate/repos/testing-x86_64/updatedb.conf)
mlocate/repos/core-x86_64/updatedb.service
(from rev 326466, mlocate/repos/testing-x86_64/updatedb.service)
mlocate/repos/core-x86_64/updatedb.timer
(from rev 326466, mlocate/repos/testing-x86_64/updatedb.timer)
Deleted:
mlocate/repos/core-x86_64/PKGBUILD
mlocate/repos/core-x86_64/sysusers.d
mlocate/repos/core-x86_64/updatedb.conf
mlocate/repos/core-x86_64/updatedb.service
mlocate/repos/core-x86_64/updatedb.timer
mlocate/repos/testing-x86_64/
------------------------------+
/PKGBUILD | 67 +++++++++++++++++++++++++++++++++++++++++
/sysusers.d | 1
/updatedb.conf | 4 ++
/updatedb.service | 7 ++++
/updatedb.timer | 7 ++++
core-x86_64/PKGBUILD | 63 --------------------------------------
core-x86_64/sysusers.d | 1
core-x86_64/updatedb.conf | 4 --
core-x86_64/updatedb.service | 7 ----
core-x86_64/updatedb.timer | 7 ----
10 files changed, 86 insertions(+), 82 deletions(-)
Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD 2018-06-08 05:33:20 UTC (rev 326466)
+++ core-x86_64/PKGBUILD 2018-06-08 06:31:40 UTC (rev 326467)
@@ -1,63 +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=6
-pkgdesc='Merging locate/updatedb implementation'
-url='https://anonscm.debian.org/cgit/collab-maint/mlocate.git'
-arch=('i686' 'x86_64')
-license=('GPL')
-backup=('etc/updatedb.conf')
-depends=('glibc')
-makedepends=('git')
-_commit=596d4ad222328e8bae7a00cc489a9f862edc82fb #tag=upstream/0.26
-source=("git+https://anonscm.debian.org/cgit/collab-maint/mlocate.git#commit=$_commit"
- 'sysusers.d'
- 'updatedb.conf'
- 'updatedb.timer'
- 'updatedb.service')
-sha256sums=('SKIP'
- '1713a8fc8b81f4a390bf8597c4c0e917474379002dcc984aad2f44218d10c82a'
- 'ea65bb68bb854803965ac16c770ba2567256e2066d68c272f1a1974ffc5c5ee7'
- '2e813effb651fae101d93722827553c6b9b9d42e898e808db4991eafdd330e02'
- '83c7a508bad5dccd55a158cf8b8029d680f82cf8b1d21074279def14d9ad4dee')
-
-prepare() {
- cd "${srcdir}/${pkgname}"
- sed -i '/^groupname /s/mlocate/locate/' Makefile.in
-}
-
-build() {
- cd "${srcdir}/${pkgname}"
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
- make
-}
-
-check() {
- cd "${srcdir}/${pkgname}"
- make check
-}
-
-package() {
- cd "${srcdir}/${pkgname}"
-
- 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 -Dm644 ../sysusers.d "${pkgdir}/usr/lib/sysusers.d/locate.conf"
- install -Dm644 ../updatedb.timer "${pkgdir}/usr/lib/systemd/system/updatedb.timer"
- install -Dm644 ../updatedb.service "${pkgdir}/usr/lib/systemd/system/updatedb.service"
-
- install -d "${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/core-x86_64/PKGBUILD (from rev 326466, mlocate/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD (rev 0)
+++ core-x86_64/PKGBUILD 2018-06-08 06:31:40 UTC (rev 326467)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: lydgate
+
+pkgname=mlocate
+pkgver=0.26.git.20170220
+_commit=c98bf6595703456558a6f9c163c746cdaa9e591f
+pkgrel=1
+pkgdesc='Merging locate/updatedb implementation'
+url='https://pagure.io/mlocate'
+arch=('x86_64')
+license=('GPL')
+backup=('etc/updatedb.conf')
+depends=('glibc')
+makedepends=('git')
+source=("git+https://pagure.io/mlocate.git#commit=$_commit"
+ 'git://git.savannah.gnu.org/gnulib.git#commit=5861339993f3014cfad1b94fc7fe366fc2573598'
+ 'sysusers.d'
+ 'updatedb.conf'
+ 'updatedb.timer'
+ 'updatedb.service')
+sha256sums=('SKIP'
+ 'SKIP'
+ '1713a8fc8b81f4a390bf8597c4c0e917474379002dcc984aad2f44218d10c82a'
+ 'ea65bb68bb854803965ac16c770ba2567256e2066d68c272f1a1974ffc5c5ee7'
+ '2e813effb651fae101d93722827553c6b9b9d42e898e808db4991eafdd330e02'
+ '83c7a508bad5dccd55a158cf8b8029d680f82cf8b1d21074279def14d9ad4dee')
+
+prepare() {
+ cd "${srcdir}/${pkgname}"
+ sed -i '/^groupname /s/mlocate/locate/' Makefile.am
+ ../gnulib/gnulib-tool --import # See file: ./HACKING
+ autoreconf --install
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+
+ 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 -Dm644 ../sysusers.d "${pkgdir}/usr/lib/sysusers.d/locate.conf"
+ install -Dm644 ../updatedb.timer "${pkgdir}/usr/lib/systemd/system/updatedb.timer"
+ install -Dm644 ../updatedb.service "${pkgdir}/usr/lib/systemd/system/updatedb.service"
+
+ install -d "${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/sysusers.d
===================================================================
--- core-x86_64/sysusers.d 2018-06-08 05:33:20 UTC (rev 326466)
+++ core-x86_64/sysusers.d 2018-06-08 06:31:40 UTC (rev 326467)
@@ -1 +0,0 @@
-g locate 21 - -
Copied: mlocate/repos/core-x86_64/sysusers.d (from rev 326466, mlocate/repos/testing-x86_64/sysusers.d)
===================================================================
--- core-x86_64/sysusers.d (rev 0)
+++ core-x86_64/sysusers.d 2018-06-08 06:31:40 UTC (rev 326467)
@@ -0,0 +1 @@
+g locate 21 - -
Deleted: core-x86_64/updatedb.conf
===================================================================
--- core-x86_64/updatedb.conf 2018-06-08 05:33:20 UTC (rev 326466)
+++ core-x86_64/updatedb.conf 2018-06-08 06:31:40 UTC (rev 326467)
@@ -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 326466, mlocate/repos/testing-x86_64/updatedb.conf)
===================================================================
--- core-x86_64/updatedb.conf (rev 0)
+++ core-x86_64/updatedb.conf 2018-06-08 06:31:40 UTC (rev 326467)
@@ -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.service
===================================================================
--- core-x86_64/updatedb.service 2018-06-08 05:33:20 UTC (rev 326466)
+++ core-x86_64/updatedb.service 2018-06-08 06:31:40 UTC (rev 326467)
@@ -1,7 +0,0 @@
-[Unit]
-Description=Update locate database
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/updatedb
-IOSchedulingClass=idle
Copied: mlocate/repos/core-x86_64/updatedb.service (from rev 326466, mlocate/repos/testing-x86_64/updatedb.service)
===================================================================
--- core-x86_64/updatedb.service (rev 0)
+++ core-x86_64/updatedb.service 2018-06-08 06:31:40 UTC (rev 326467)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Update locate database
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/updatedb
+IOSchedulingClass=idle
Deleted: core-x86_64/updatedb.timer
===================================================================
--- core-x86_64/updatedb.timer 2018-06-08 05:33:20 UTC (rev 326466)
+++ core-x86_64/updatedb.timer 2018-06-08 06:31:40 UTC (rev 326467)
@@ -1,7 +0,0 @@
-[Unit]
-Description=Daily locate database update
-
-[Timer]
-OnCalendar=daily
-AccuracySec=12h
-Persistent=true
Copied: mlocate/repos/core-x86_64/updatedb.timer (from rev 326466, mlocate/repos/testing-x86_64/updatedb.timer)
===================================================================
--- core-x86_64/updatedb.timer (rev 0)
+++ core-x86_64/updatedb.timer 2018-06-08 06:31:40 UTC (rev 326467)
@@ -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