[arch-commits] Commit in mlocate/trunk (PKGBUILD mlocate.install)

2020-09-01 Thread Evangelos Foutras via arch-commits
Date: Tuesday, September 1, 2020 @ 12:33:54
  Author: foutrelis
Revision: 395037

upgpkg: mlocate 0.26.git.20170220-5: fix group & perms of /var/lib/mlocate

Added:
  mlocate/trunk/mlocate.install
Modified:
  mlocate/trunk/PKGBUILD

-+
 PKGBUILD|   11 +--
 mlocate.install |7 +++
 2 files changed, 16 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-01 10:55:55 UTC (rev 395036)
+++ PKGBUILD2020-09-01 12:33:54 UTC (rev 395037)
@@ -5,7 +5,7 @@
 pkgname=mlocate
 pkgver=0.26.git.20170220
 _commit=c98bf6595703456558a6f9c163c746cdaa9e591f
-pkgrel=4
+pkgrel=5
 pkgdesc='Merging locate/updatedb implementation'
 url='https://pagure.io/mlocate'
 arch=('x86_64')
@@ -13,6 +13,7 @@
 backup=('etc/updatedb.conf')
 depends=('glibc')
 makedepends=('git')
+install=mlocate.install
 source=("git+https://pagure.io/mlocate.git#commit=$_commit;
 
'git+https://git.savannah.gnu.org/git/gnulib.git#commit=5861339993f3014cfad1b94fc7fe366fc2573598'
'sysusers.d'
@@ -49,6 +50,12 @@
 
make DESTDIR="${pkgdir}" install
 
+   # fix group and permissions of /var/lib/mlocate; the Makefile does not
+   # do this because it uses a group name instead of a group id and fails
+   # 
https://lists.archlinux.org/pipermail/arch-general/2018-June/045165.html
+   chgrp 21 "${pkgdir}/var/lib/mlocate"
+   chmod 750 "${pkgdir}/var/lib/mlocate"
+
chgrp 21 "${pkgdir}/usr/bin/locate"
chmod 2755 "${pkgdir}/usr/bin/locate"
ln -s locate "${pkgdir}/usr/bin/slocate"
@@ -55,7 +62,7 @@
 
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"

Added: mlocate.install
===
--- mlocate.install (rev 0)
+++ mlocate.install 2020-09-01 12:33:54 UTC (rev 395037)
@@ -0,0 +1,7 @@
+post_upgrade() {
+   if (( $(vercmp $2 0.26.git.20170220-5) < 0 )); then
+   # fix group and permissions of /var/lib/mlocate
+   chgrp 21 var/lib/mlocate
+   chmod 750 var/lib/mlocate
+   fi
+}


[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2020-08-30 Thread Evangelos Foutras via arch-commits
Date: Sunday, August 30, 2020 @ 11:02:29
  Author: foutrelis
Revision: 394975

upgpkg: mlocate 0.26.git.20170220-4: rebuild bisson's pkgs

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-30 11:02:27 UTC (rev 394974)
+++ PKGBUILD2020-08-30 11:02:29 UTC (rev 394975)
@@ -5,7 +5,7 @@
 pkgname=mlocate
 pkgver=0.26.git.20170220
 _commit=c98bf6595703456558a6f9c163c746cdaa9e591f
-pkgrel=3
+pkgrel=4
 pkgdesc='Merging locate/updatedb implementation'
 url='https://pagure.io/mlocate'
 arch=('x86_64')


[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2020-04-02 Thread Gaëtan Bisson via arch-commits
Date: Thursday, April 2, 2020 @ 17:20:20
  Author: bisson
Revision: 379148

implement FS#66059

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-02 15:21:40 UTC (rev 379147)
+++ PKGBUILD2020-04-02 17:20:20 UTC (rev 379148)
@@ -5,7 +5,7 @@
 pkgname=mlocate
 pkgver=0.26.git.20170220
 _commit=c98bf6595703456558a6f9c163c746cdaa9e591f
-pkgrel=2
+pkgrel=3
 pkgdesc='Merging locate/updatedb implementation'
 url='https://pagure.io/mlocate'
 arch=('x86_64')
@@ -61,6 +61,6 @@
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"
+   install -d "${pkgdir}/usr/lib/systemd/system/timers.target.wants"
+   ln -s ../updatedb.timer 
"${pkgdir}/usr/lib/systemd/system/timers.target.wants/updatedb.timer"
 }


[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2019-11-13 Thread Evangelos Foutras via arch-commits
Date: Wednesday, November 13, 2019 @ 17:11:42
  Author: foutrelis
Revision: 368302

[core] mass rebuild

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-13 17:11:39 UTC (rev 368301)
+++ PKGBUILD2019-11-13 17:11:42 UTC (rev 368302)
@@ -5,7 +5,7 @@
 pkgname=mlocate
 pkgver=0.26.git.20170220
 _commit=c98bf6595703456558a6f9c163c746cdaa9e591f
-pkgrel=1
+pkgrel=2
 pkgdesc='Merging locate/updatedb implementation'
 url='https://pagure.io/mlocate'
 arch=('x86_64')


[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2019-11-13 Thread Evangelos Foutras via arch-commits
Date: Wednesday, November 13, 2019 @ 16:19:22
  Author: foutrelis
Revision: 368202

Use the same gnulib git repo as libtool

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-13 16:19:01 UTC (rev 368201)
+++ PKGBUILD2019-11-13 16:19:22 UTC (rev 368202)
@@ -14,7 +14,7 @@
 depends=('glibc')
 makedepends=('git')
 source=("git+https://pagure.io/mlocate.git#commit=$_commit;
-
'git://git.savannah.gnu.org/gnulib.git#commit=5861339993f3014cfad1b94fc7fe366fc2573598'
+
'git+https://git.savannah.gnu.org/git/gnulib.git#commit=5861339993f3014cfad1b94fc7fe366fc2573598'
'sysusers.d'
'updatedb.conf'
'updatedb.timer'


[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2018-06-05 Thread Gaëtan Bisson via arch-commits
Date: Tuesday, June 5, 2018 @ 21:14:20
  Author: bisson
Revision: 325962

new upstream, free rebuild

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |   16 ++--
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-05 21:11:58 UTC (rev 325961)
+++ PKGBUILD2018-06-05 21:14:20 UTC (rev 325962)
@@ -4,22 +4,24 @@
 # Contributor: lydgate
 
 pkgname=mlocate
-pkgver=0.26
-pkgrel=6
+pkgver=0.26.git.20170220
+_commit=c98bf6595703456558a6f9c163c746cdaa9e591f
+pkgrel=1
 pkgdesc='Merging locate/updatedb implementation'
-url='https://anonscm.debian.org/cgit/collab-maint/mlocate.git'
+url='https://pagure.io/mlocate'
 arch=('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;
+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'
@@ -27,7 +29,9 @@
 
 prepare() {
cd "${srcdir}/${pkgname}"
-   sed -i '/^groupname /s/mlocate/locate/' Makefile.in
+   sed -i '/^groupname /s/mlocate/locate/' Makefile.am
+   ../gnulib/gnulib-tool --import # See file: ./HACKING
+   autoreconf --install
 }
 
 build() {


[arch-commits] Commit in mlocate/trunk (PKGBUILD sysusers.d)

2017-04-03 Thread Gaëtan Bisson
Date: Tuesday, April 4, 2017 @ 05:27:41
  Author: bisson
Revision: 292064

implement FS#53539

Added:
  mlocate/trunk/sysusers.d
Modified:
  mlocate/trunk/PKGBUILD

+
 PKGBUILD   |   16 ++--
 sysusers.d |1 +
 2 files changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-03 21:32:26 UTC (rev 292063)
+++ PKGBUILD2017-04-04 05:27:41 UTC (rev 292064)
@@ -5,7 +5,7 @@
 
 pkgname=mlocate
 pkgver=0.26
-pkgrel=5
+pkgrel=6
 pkgdesc='Merging locate/updatedb implementation'
 url='https://anonscm.debian.org/cgit/collab-maint/mlocate.git'
 arch=('i686' 'x86_64')
@@ -15,9 +15,12 @@
 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,service})
+   'updatedb.timer'
+   'updatedb.service')
 sha256sums=('SKIP'
+'1713a8fc8b81f4a390bf8597c4c0e917474379002dcc984aad2f44218d10c82a'
 'ea65bb68bb854803965ac16c770ba2567256e2066d68c272f1a1974ffc5c5ee7'
 '2e813effb651fae101d93722827553c6b9b9d42e898e808db4991eafdd330e02'
 '83c7a508bad5dccd55a158cf8b8029d680f82cf8b1d21074279def14d9ad4dee')
@@ -51,9 +54,10 @@
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 -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
+   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"
 }

Added: sysusers.d
===
--- sysusers.d  (rev 0)
+++ sysusers.d  2017-04-04 05:27:41 UTC (rev 292064)
@@ -0,0 +1 @@
+g locate 21 - -


[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2017-03-03 Thread Gaëtan Bisson
Date: Friday, March 3, 2017 @ 21:44:45
  Author: bisson
Revision: 289953

use upstream branch

no idea how to get debian's gnulib stuff to work

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-03 21:33:19 UTC (rev 289952)
+++ PKGBUILD2017-03-03 21:44:45 UTC (rev 289953)
@@ -5,7 +5,7 @@
 
 pkgname=mlocate
 pkgver=0.26
-pkgrel=6
+pkgrel=5
 pkgdesc='Merging locate/updatedb implementation'
 url='https://anonscm.debian.org/cgit/collab-maint/mlocate.git'
 arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@
 backup=('etc/updatedb.conf')
 depends=('glibc')
 makedepends=('git')
-_commit=375f2ebb15aa53ca149b4ec33fa9f5b27775809c #tag=debian/0.26-2
+_commit=596d4ad222328e8bae7a00cc489a9f862edc82fb #tag=upstream/0.26
 
source=("git+https://anonscm.debian.org/cgit/collab-maint/mlocate.git#commit=$_commit;
'updatedb.conf'
updatedb.{timer,service})


[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2017-03-03 Thread Gaëtan Bisson
Date: Friday, March 3, 2017 @ 21:33:19
  Author: bisson
Revision: 289952

switch to debian upstream, will compile later...

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |   25 +
 1 file changed, 13 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-03 19:21:54 UTC (rev 289951)
+++ PKGBUILD2017-03-03 21:33:19 UTC (rev 289952)
@@ -5,40 +5,41 @@
 
 pkgname=mlocate
 pkgver=0.26
-pkgrel=5
+pkgrel=6
 pkgdesc='Merging locate/updatedb implementation'
-url='https://fedorahosted.org/mlocate/'
+url='https://anonscm.debian.org/cgit/collab-maint/mlocate.git'
 arch=('i686' 'x86_64')
 license=('GPL')
 backup=('etc/updatedb.conf')
 depends=('glibc')
-# fedorahosted.org retired as of 2017-03-01, unclear what new upstream should 
be
-source=("https://fedorahosted.org/releases/m/l/mlocate/mlocate-${pkgver}.tar.xz;
+makedepends=('git')
+_commit=375f2ebb15aa53ca149b4ec33fa9f5b27775809c #tag=debian/0.26-2
+source=("git+https://anonscm.debian.org/cgit/collab-maint/mlocate.git#commit=$_commit;
'updatedb.conf'
updatedb.{timer,service})
-sha1sums=('c6e6d81b25359c51c545f4b8ba0f3b469227fcbc'
-  '0150379149bf9d714bc81332d775fc273e7e3535'
-  '2f3a94994ece62aeb286315a6fa5e9e03203706a'
-  '387185ea34fc65f8457cb40dc374319f0b2490cd')
+sha256sums=('SKIP'
+'ea65bb68bb854803965ac16c770ba2567256e2066d68c272f1a1974ffc5c5ee7'
+'2e813effb651fae101d93722827553c6b9b9d42e898e808db4991eafdd330e02'
+'83c7a508bad5dccd55a158cf8b8029d680f82cf8b1d21074279def14d9ad4dee')
 
 prepare() {
-   cd "${srcdir}/${pkgname}-${pkgver}"
+   cd "${srcdir}/${pkgname}"
sed -i '/^groupname /s/mlocate/locate/' Makefile.in
 }
 
 build() {
-   cd "${srcdir}/${pkgname}-${pkgver}"
+   cd "${srcdir}/${pkgname}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make
 }
 
 check() {
-   cd "${srcdir}/${pkgname}-${pkgver}"
+   cd "${srcdir}/${pkgname}"
make check
 }
 
 package() {
-   cd "${srcdir}/${pkgname}-${pkgver}"
+   cd "${srcdir}/${pkgname}"
 
make DESTDIR="${pkgdir}" install
 


[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2017-03-01 Thread Gaëtan Bisson
Date: Thursday, March 2, 2017 @ 01:34:19
  Author: bisson
Revision: 289820

switch to sha256sum

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |1 +
 1 file changed, 1 insertion(+)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-02 01:34:15 UTC (rev 289819)
+++ PKGBUILD2017-03-02 01:34:19 UTC (rev 289820)
@@ -12,6 +12,7 @@
 license=('GPL')
 backup=('etc/updatedb.conf')
 depends=('glibc')
+# fedorahosted.org retired as of 2017-03-01, unclear what new upstream should 
be
 
source=("https://fedorahosted.org/releases/m/l/mlocate/mlocate-${pkgver}.tar.xz;
'updatedb.conf'
updatedb.{timer,service})


[arch-commits] Commit in mlocate/trunk (PKGBUILD updatedb.timer)

2014-12-14 Thread Gaetan Bisson
Date: Sunday, December 14, 2014 @ 18:56:14
  Author: bisson
Revision: 227610

fix FS#41688

Modified:
  mlocate/trunk/PKGBUILD
  mlocate/trunk/updatedb.timer

+
 PKGBUILD   |4 ++--
 updatedb.timer |5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-14 16:32:40 UTC (rev 227609)
+++ PKGBUILD2014-12-14 17:56:14 UTC (rev 227610)
@@ -5,7 +5,7 @@
 
 pkgname=mlocate
 pkgver=0.26
-pkgrel=4
+pkgrel=5
 pkgdesc='Merging locate/updatedb implementation'
 url='https://fedorahosted.org/mlocate/'
 arch=('i686' 'x86_64')
@@ -17,7 +17,7 @@
updatedb.{timer,service})
 sha1sums=('c6e6d81b25359c51c545f4b8ba0f3b469227fcbc'
   '0150379149bf9d714bc81332d775fc273e7e3535'
-  'c2155e7f53d89dd23db732b4819fdaa7462cfc30'
+  '2f3a94994ece62aeb286315a6fa5e9e03203706a'
   '387185ea34fc65f8457cb40dc374319f0b2490cd')
 
 prepare() {

Modified: updatedb.timer
===
--- updatedb.timer  2014-12-14 16:32:40 UTC (rev 227609)
+++ updatedb.timer  2014-12-14 17:56:14 UTC (rev 227610)
@@ -2,5 +2,6 @@
 Description=Daily locate database update
 
 [Timer]
-OnBootSec=15min
-OnUnitActiveSec=1d
+OnCalendar=daily
+AccuracySec=12h
+Persistent=true


[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2014-12-13 Thread Gaetan Bisson
Date: Saturday, December 13, 2014 @ 22:10:35
  Author: bisson
Revision: 227593

release implementation of FS#41688

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-13 21:05:08 UTC (rev 227592)
+++ PKGBUILD2014-12-13 21:10:35 UTC (rev 227593)
@@ -5,7 +5,7 @@
 
 pkgname=mlocate
 pkgver=0.26
-pkgrel=3
+pkgrel=4
 pkgdesc='Merging locate/updatedb implementation'
 url='https://fedorahosted.org/mlocate/'
 arch=('i686' 'x86_64')


[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2014-11-10 Thread Bartłomiej Piotrowski
Date: Monday, November 10, 2014 @ 09:07:12
  Author: bpiotrowski
Revision: 225814

Update checksums after changes made in r220654.

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-11-10 08:01:12 UTC (rev 225813)
+++ PKGBUILD2014-11-10 08:07:12 UTC (rev 225814)
@@ -17,8 +17,8 @@
updatedb.{timer,service})
 sha1sums=('c6e6d81b25359c51c545f4b8ba0f3b469227fcbc'
   '0150379149bf9d714bc81332d775fc273e7e3535'
-  '2f3a94994ece62aeb286315a6fa5e9e03203706a'
-  'f2f71aefbf677fb1719b5c67c757cde34e3210d7')
+  'c2155e7f53d89dd23db732b4819fdaa7462cfc30'
+  '387185ea34fc65f8457cb40dc374319f0b2490cd')
 
 prepare() {
cd ${srcdir}/${pkgname}-${pkgver}


[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2014-04-13 Thread Thomas Bächler
Date: Sunday, April 13, 2014 @ 09:32:54
  Author: thomas
Revision: 210257

upgpkg: mlocate 0.26-3: fix missing packager

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-04-13 07:32:45 UTC (rev 210256)
+++ PKGBUILD2014-04-13 07:32:54 UTC (rev 210257)
@@ -5,7 +5,7 @@
 
 pkgname=mlocate
 pkgver=0.26
-pkgrel=2
+pkgrel=3
 pkgdesc='Merging locate/updatedb implementation'
 url='https://fedorahosted.org/mlocate/'
 arch=('i686' 'x86_64')



[arch-commits] Commit in mlocate/trunk (PKGBUILD updatedb.service)

2014-03-28 Thread Thomas Bächler
Date: Friday, March 28, 2014 @ 21:38:32
  Author: thomas
Revision: 208928

upgpkg: mlocate 0.26-2: fix updatedb.service file

Modified:
  mlocate/trunk/PKGBUILD
  mlocate/trunk/updatedb.service

--+
 PKGBUILD |2 +-
 updatedb.service |1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-28 20:31:39 UTC (rev 208927)
+++ PKGBUILD2014-03-28 20:38:32 UTC (rev 208928)
@@ -18,7 +18,7 @@
 sha1sums=('c6e6d81b25359c51c545f4b8ba0f3b469227fcbc'
   '0150379149bf9d714bc81332d775fc273e7e3535'
   '2f3a94994ece62aeb286315a6fa5e9e03203706a'
-  '3a26beed05c7b61d3a78bc7dd5cfffe114ceb1f6')
+  'f2f71aefbf677fb1719b5c67c757cde34e3210d7')
 
 prepare() {
cd ${srcdir}/${pkgname}-${pkgver}

Modified: updatedb.service
===
--- updatedb.service2014-03-28 20:31:39 UTC (rev 208927)
+++ updatedb.service2014-03-28 20:38:32 UTC (rev 208928)
@@ -1,6 +1,5 @@
 [Unit]
 Description=Update locate database
-RequiresMountsFor=/var/cache/man
 
 [Service]
 Type=oneshot



[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2013-10-26 Thread Gaetan Bisson
Date: Saturday, October 26, 2013 @ 09:57:55
  Author: bisson
Revision: 197502

split prepare() function out

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-10-26 07:57:50 UTC (rev 197501)
+++ PKGBUILD2013-10-26 07:57:55 UTC (rev 197502)
@@ -19,10 +19,13 @@
   '0150379149bf9d714bc81332d775fc273e7e3535'
   '8301e6277d27db539af6cf4bc243e8e247bffc2e')
 
+prepare() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+   sed -i '/^groupname /s/mlocate/locate/' Makefile.in
+}
+
 build() {
cd ${srcdir}/${pkgname}-${pkgver}
-
-   sed -i '/^groupname /s/mlocate/locate/' Makefile.in
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make
 }



[arch-commits] Commit in mlocate/trunk (PKGBUILD updatedb.cron updatedb.cron.daily)

2012-09-22 Thread Gaetan Bisson
Date: Saturday, September 22, 2012 @ 05:14:58
  Author: bisson
Revision: 166922

upstream update, cleanup PKGBUILD and simplify cron script (assuming base 
installed)

Added:
  mlocate/trunk/updatedb.cron
(from rev 166921, mlocate/trunk/updatedb.cron.daily)
Modified:
  mlocate/trunk/PKGBUILD
Deleted:
  mlocate/trunk/updatedb.cron.daily

-+
 PKGBUILD|   58 --
 updatedb.cron   |6 +
 updatedb.cron.daily |   29 -
 3 files changed, 34 insertions(+), 59 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-09-22 08:46:35 UTC (rev 166921)
+++ PKGBUILD2012-09-22 09:14:58 UTC (rev 166922)
@@ -1,51 +1,49 @@
 # $Id$
-# Maintainer: Allan McRae al...@archlinux.org
+# Maintainer: Gaetan Bisson bis...@archlinux.org
+# Contributor: Allan McRae al...@archlinux.org
 # Contributor: lydgate
 
 pkgname=mlocate
-pkgver=0.25
-pkgrel=2
-pkgdesc=Faster merging drop-in for slocate
+pkgver=0.26
+pkgrel=1
+pkgdesc='Merging locate/updatedb implementation'
+url='https://fedorahosted.org/mlocate/'
 arch=('i686' 'x86_64')
-url=http://carolina.mff.cuni.cz/~trmac/blog/mlocate;
 license=('GPL')
-depends=('glibc' 'coreutils' 'sh')
 backup=('etc/updatedb.conf'
 'etc/cron.daily/updatedb')
-source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-$pkgver.tar.xz
-   updatedb.conf
-   updatedb.cron.daily)
-md5sums=('c6d043b170613b0e327a815b497f680a'
- 'b56d81de17fe29b01b4b28861acb8fd4'
- 'cde5da81bebad2de556ef2e43d895e13')
+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
+   cd ${srcdir}/${pkgname}-${pkgver}
 
-  sed -i '/^groupname /s/mlocate/locate/' Makefile.in
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
-  make
-
+   sed -i '/^groupname /s/mlocate/locate/' Makefile.in
+   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
+   make
 }
 
 check() {
-  cd $srcdir/$pkgname-$pkgver
-  make check
+   cd ${srcdir}/${pkgname}-${pkgver}
+   make check
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
+   cd ${srcdir}/${pkgname}-${pkgver}
 
-  make DESTDIR=$pkgdir install
+   make DESTDIR=${pkgdir} install
 
-  ln -s locate $pkgdir/usr/bin/slocate
-  chgrp 21 $pkgdir/usr/bin/locate
-  chmod 2755 $pkgdir/usr/bin/locate
+   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
-  
-  # 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 -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/trunk/updatedb.cron (from rev 166921, 
mlocate/trunk/updatedb.cron.daily)
===
--- updatedb.cron   (rev 0)
+++ updatedb.cron   2012-09-22 09:14:58 UTC (rev 166922)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+NICE='nice -n 19'
+IONICE='ionice -c 2 -n 7'
+
+exec ${IONICE} ${NICE} updatedb -f proc

Deleted: updatedb.cron.daily
===
--- updatedb.cron.daily 2012-09-22 08:46:35 UTC (rev 166921)
+++ updatedb.cron.daily 2012-09-22 09:14:58 UTC (rev 166922)
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-# nicenesses range from -20 (most favorable scheduling) to 19 (least favorable)
-NICE=19
-
-# 0 for none, 1 for real time, 2 for best-effort, 3 for idle
-IONICE_CLASS=2
-
-# 0-7 (for IONICE_CLASS 1 and 2 only), 0=highest, 7=lowest
-IONICE_PRIORITY=7
-
-UPDATEDB=/usr/bin/updatedb
-
-if [ -x /usr/bin/nice ]; then
-  UPDATEDB=/usr/bin/nice -n ${NICE:-19} ${UPDATEDB}
-fi
-
-if [ -x /usr/bin/ionice ]; then
-  UPDATEDB=/usr/bin/ionice -c ${IONICE_CLASS:-2} -n ${IONICE_PRIORITY:-7} 
${UPDATEDB}
-fi
-
-# Update the locate database
-if [ -x /usr/bin/updatedb ]; then
-  if [ -f /etc/updatedb.conf ]; then
-${UPDATEDB}
-  else
-${UPDATEDB} -f proc
-  fi
-fi



[arch-commits] Commit in mlocate/trunk (PKGBUILD mlocate.install updatedb.conf)

2012-06-19 Thread Allan McRae
Date: Tuesday, June 19, 2012 @ 11:28:28
  Author: allan
Revision: 162086

upgpkg: mlocate 0.25-2

remove .install file as locate group has been in filesystem since 2008, add 
lots of stuff to updatedb filter list (based on Fedora)

Modified:
  mlocate/trunk/PKGBUILD
  mlocate/trunk/updatedb.conf
Deleted:
  mlocate/trunk/mlocate.install

-+
 PKGBUILD|   25 ++---
 mlocate.install |   18 --
 updatedb.conf   |9 -
 3 files changed, 14 insertions(+), 38 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-06-19 15:11:44 UTC (rev 162085)
+++ PKGBUILD2012-06-19 15:28:28 UTC (rev 162086)
@@ -4,23 +4,19 @@
 
 pkgname=mlocate
 pkgver=0.25
-pkgrel=1
+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=('c6d043b170613b0e327a815b497f680a'
- 'c374ff223f2e07b5e602ba22359f2335'
+ 'b56d81de17fe29b01b4b28861acb8fd4'
  'cde5da81bebad2de556ef2e43d895e13')
 
 build() {
@@ -39,18 +35,17 @@
 
 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
+  ln -s locate $pkgdir/usr/bin/slocate
+  chgrp 21 $pkgdir/usr/bin/locate
+  chmod 2755 $pkgdir/usr/bin/locate
 
   install -dm755 $pkgdir/var/lib
-  install -d -m750 -g21 $pkgdir/var/lib/locate
+  install -dm750 -g21 $pkgdir/var/lib/locate
+  
+  # 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
 }

Deleted: mlocate.install
===
--- mlocate.install 2012-06-19 15:11:44 UTC (rev 162085)
+++ mlocate.install 2012-06-19 15:28:28 UTC (rev 162086)
@@ -1,18 +0,0 @@
-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
-}

Modified: updatedb.conf
===
--- updatedb.conf   2012-06-19 15:11:44 UTC (rev 162085)
+++ updatedb.conf   2012-06-19 15:28:28 UTC (rev 162086)
@@ -1,5 +1,4 @@
-# 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
+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



[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2012-03-02 Thread Allan McRae
Date: Saturday, March 3, 2012 @ 00:53:25
  Author: allan
Revision: 151798

upgpkg: mlocate 0.25-1

upstream update

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-03-03 05:10:17 UTC (rev 151797)
+++ PKGBUILD2012-03-03 05:53:25 UTC (rev 151798)
@@ -3,8 +3,8 @@
 # Contributor: lydgate
 
 pkgname=mlocate
-pkgver=0.24
-pkgrel=2
+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;
@@ -19,7 +19,7 @@
 source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-$pkgver.tar.xz
updatedb.conf
updatedb.cron.daily)
-md5sums=('a9c221e5bc489a2ed710c943990137bd'
+md5sums=('c6d043b170613b0e327a815b497f680a'
  'c374ff223f2e07b5e602ba22359f2335'
  'cde5da81bebad2de556ef2e43d895e13')
 



[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2011-11-03 Thread Allan McRae
Date: Thursday, November 3, 2011 @ 07:27:03
  Author: allan
Revision: 141940

signing rebuild, patch testsuite failure with newer kernels

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-11-03 11:23:47 UTC (rev 141939)
+++ PKGBUILD2011-11-03 11:27:03 UTC (rev 141940)
@@ -4,7 +4,7 @@
 
 pkgname=mlocate
 pkgver=0.24
-pkgrel=1
+pkgrel=2
 pkgdesc=Faster merging drop-in for slocate
 arch=('i686' 'x86_64')
 url=http://carolina.mff.cuni.cz/~trmac/blog/mlocate;



[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2011-04-09 Thread Allan McRae
Date: Saturday, April 9, 2011 @ 08:46:47
  Author: allan
Revision: 118924

upgpkg: mlocate 0.24-1
upstream update

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |   12 
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-04-09 12:40:30 UTC (rev 118923)
+++ PKGBUILD2011-04-09 12:46:47 UTC (rev 118924)
@@ -3,8 +3,8 @@
 # Contributor: lydgate
 
 pkgname=mlocate
-pkgver=0.23.1
-pkgrel=2
+pkgver=0.24
+pkgrel=1
 pkgdesc=Faster merging drop-in for slocate
 arch=('i686' 'x86_64')
 url=http://carolina.mff.cuni.cz/~trmac/blog/mlocate;
@@ -19,17 +19,21 @@
 source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-$pkgver.tar.xz
updatedb.conf
updatedb.cron.daily)
-md5sums=('db48f27fae91c754c46d8046919803c5'
+md5sums=('a9c221e5bc489a2ed710c943990137bd'
  'c374ff223f2e07b5e602ba22359f2335'
  'cde5da81bebad2de556ef2e43d895e13')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
 
-  # Build!
   sed -i '/^groupname /s/mlocate/locate/' Makefile.in
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
   make
+
+}
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
   make check
 }
 



[arch-commits] Commit in mlocate/trunk (PKGBUILD updatedb.conf)

2010-10-25 Thread Allan McRae
Date: Monday, October 25, 2010 @ 21:53:05
  Author: allan
Revision: 97017

upgpkg: mlocate 0.23.1-2
ignore devtmpfs (FS#21397)

Modified:
  mlocate/trunk/PKGBUILD
  mlocate/trunk/updatedb.conf

---+
 PKGBUILD  |4 ++--
 updatedb.conf |2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-10-26 01:26:19 UTC (rev 97016)
+++ PKGBUILD2010-10-26 01:53:05 UTC (rev 97017)
@@ -4,7 +4,7 @@
 
 pkgname=mlocate
 pkgver=0.23.1
-pkgrel=1
+pkgrel=2
 pkgdesc=Faster merging drop-in for slocate
 arch=('i686' 'x86_64')
 url=http://carolina.mff.cuni.cz/~trmac/blog/mlocate;
@@ -20,7 +20,7 @@
updatedb.conf
updatedb.cron.daily)
 md5sums=('db48f27fae91c754c46d8046919803c5'
- 'b1fac5fbe8ddbc77f2a917ca733e47a3'
+ 'c374ff223f2e07b5e602ba22359f2335'
  'cde5da81bebad2de556ef2e43d895e13')
 
 build() {

Modified: updatedb.conf
===
--- updatedb.conf   2010-10-26 01:26:19 UTC (rev 97016)
+++ updatedb.conf   2010-10-26 01:53:05 UTC (rev 97017)
@@ -2,4 +2,4 @@
 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 
ftpfs iso9660 mqueue ncpfs nfs nfs4 proc ramfs securityfs shfs smbfs sshfs 
sysfs tmpfs udf usbfs vboxsf
+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



[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2010-09-20 Thread Allan McRae
Date: Tuesday, September 21, 2010 @ 00:16:58
  Author: allan
Revision: 91023

upgpkg: mlocate 0.23.1-1
upstream update

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-09-21 03:27:46 UTC (rev 91022)
+++ PKGBUILD2010-09-21 04:16:58 UTC (rev 91023)
@@ -3,7 +3,7 @@
 # Contributor: lydgate
 
 pkgname=mlocate
-pkgver=0.23
+pkgver=0.23.1
 pkgrel=1
 pkgdesc=Faster merging drop-in for slocate
 arch=('i686' 'x86_64')
@@ -19,7 +19,7 @@
 source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-$pkgver.tar.xz
updatedb.conf
updatedb.cron.daily)
-md5sums=('554bcc30dad935834a5ae7b2aa98d460'
+md5sums=('db48f27fae91c754c46d8046919803c5'
  'b1fac5fbe8ddbc77f2a917ca733e47a3'
  'cde5da81bebad2de556ef2e43d895e13')
 
@@ -30,14 +30,15 @@
   sed -i '/^groupname /s/mlocate/locate/' Makefile.in
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
   make
+  make check
 }
 
 package() {
   cd $srcdir/$pkgname-$pkgver
   
   # Set up a default updatedb.conf and a daily cronjob
-  install -Dm644 ../updatedb.conf $pkgdir/etc/updatedb.conf
-  install -Dm744 ../updatedb.cron.daily $pkgdir/etc/cron.daily/updatedb
+  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



[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2010-09-09 Thread Allan McRae
Date: Thursday, September 9, 2010 @ 05:17:36
  Author: allan
Revision: 90214

upgpkg: mlocate 0.23-1
upstream update

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-09-09 07:36:21 UTC (rev 90213)
+++ PKGBUILD2010-09-09 09:17:36 UTC (rev 90214)
@@ -3,8 +3,8 @@
 # Contributor: lydgate
 
 pkgname=mlocate
-pkgver=0.22.4
-pkgrel=2
+pkgver=0.23
+pkgrel=1
 pkgdesc=Faster merging drop-in for slocate
 arch=('i686' 'x86_64')
 url=http://carolina.mff.cuni.cz/~trmac/blog/mlocate;
@@ -19,7 +19,7 @@
 source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-$pkgver.tar.xz
updatedb.conf
updatedb.cron.daily)
-md5sums=('ee79241178e2660bc9edb02ffe90e144'
+md5sums=('554bcc30dad935834a5ae7b2aa98d460'
  'b1fac5fbe8ddbc77f2a917ca733e47a3'
  'cde5da81bebad2de556ef2e43d895e13')
 



[arch-commits] Commit in mlocate/trunk (PKGBUILD updatedb.conf)

2010-08-17 Thread Allan McRae
Date: Tuesday, August 17, 2010 @ 02:18:20
  Author: allan
Revision: 87570

upgpkg: mlocate 0.22.4-2
add vboxsf to list of excluded filesystems as it has issues (FS#20234)

Modified:
  mlocate/trunk/PKGBUILD
  mlocate/trunk/updatedb.conf

---+
 PKGBUILD  |   10 +++---
 updatedb.conf |2 +-
 2 files changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-08-16 21:19:59 UTC (rev 87569)
+++ PKGBUILD2010-08-17 06:18:20 UTC (rev 87570)
@@ -4,7 +4,7 @@
 
 pkgname=mlocate
 pkgver=0.22.4
-pkgrel=1
+pkgrel=2
 pkgdesc=Faster merging drop-in for slocate
 arch=('i686' 'x86_64')
 url=http://carolina.mff.cuni.cz/~trmac/blog/mlocate;
@@ -20,7 +20,7 @@
updatedb.conf
updatedb.cron.daily)
 md5sums=('ee79241178e2660bc9edb02ffe90e144'
- '66898efb290eff4efd44a0b94fe3927d'
+ 'b1fac5fbe8ddbc77f2a917ca733e47a3'
  'cde5da81bebad2de556ef2e43d895e13')
 
 build() {
@@ -29,8 +29,12 @@
   # Build!
   sed -i '/^groupname /s/mlocate/locate/' Makefile.in
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
-  make || return 1
+  make
+}
 
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  
   # Set up a default updatedb.conf and a daily cronjob
   install -Dm644 ../updatedb.conf $pkgdir/etc/updatedb.conf
   install -Dm744 ../updatedb.cron.daily $pkgdir/etc/cron.daily/updatedb

Modified: updatedb.conf
===
--- updatedb.conf   2010-08-16 21:19:59 UTC (rev 87569)
+++ updatedb.conf   2010-08-17 06:18:20 UTC (rev 87570)
@@ -2,4 +2,4 @@
 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 
ftpfs iso9660 mqueue ncpfs nfs nfs4 proc ramfs securityfs shfs smbfs sshfs 
sysfs tmpfs udf usbfs
+PRUNEFS=afs auto autofs binfmt_misc cifs coda configfs cramfs debugfs devpts 
ftpfs iso9660 mqueue ncpfs nfs nfs4 proc ramfs securityfs shfs smbfs sshfs 
sysfs tmpfs udf usbfs vboxsf



[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2010-03-26 Thread Allan McRae
Date: Friday, March 26, 2010 @ 20:27:51
  Author: allan
Revision: 73509

upgpkg: mlocate 0.22.4-1
upstream update, add chmod dep for install file

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-03-26 21:51:44 UTC (rev 73508)
+++ PKGBUILD2010-03-27 00:27:51 UTC (rev 73509)
@@ -3,7 +3,7 @@
 # Contributor: lydgate
 
 pkgname=mlocate
-pkgver=0.22.3
+pkgver=0.22.4
 pkgrel=1
 pkgdesc=Faster merging drop-in for slocate
 arch=('i686' 'x86_64')
@@ -12,14 +12,14 @@
 conflicts=('slocate')
 provides=('slocate')
 replaces=('slocate')
-depends=('glibc' 'sh')
+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=('eb09c57c25ab98b74cbd45234f3f7851'
+md5sums=('ee79241178e2660bc9edb02ffe90e144'
  '66898efb290eff4efd44a0b94fe3927d'
  'cde5da81bebad2de556ef2e43d895e13')
 



[arch-commits] Commit in mlocate/trunk (PKGBUILD)

2010-03-06 Thread Allan McRae
Date: Sunday, March 7, 2010 @ 00:53:46
  Author: allan
Revision: 71452

upgpkg: mlocate 0.22.3-1
upstream update

Modified:
  mlocate/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-03-07 02:51:21 UTC (rev 71451)
+++ PKGBUILD2010-03-07 05:53:46 UTC (rev 71452)
@@ -3,8 +3,8 @@
 # Contributor: lydgate
 
 pkgname=mlocate
-pkgver=0.22.2
-pkgrel=2
+pkgver=0.22.3
+pkgrel=1
 pkgdesc=Faster merging drop-in for slocate
 arch=('i686' 'x86_64')
 url=http://carolina.mff.cuni.cz/~trmac/blog/mlocate;
@@ -16,10 +16,10 @@
 backup=('etc/updatedb.conf'
 'etc/cron.daily/updatedb')
 install=mlocate.install
-source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-$pkgver.tar.bz2
+source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-$pkgver.tar.xz
updatedb.conf
updatedb.cron.daily)
-md5sums=('27de49a88b8657f50fda02d152b8a5f1'
+md5sums=('eb09c57c25ab98b74cbd45234f3f7851'
  '66898efb290eff4efd44a0b94fe3927d'
  'cde5da81bebad2de556ef2e43d895e13')