aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mlocate
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-08-22 17:02:22 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-08-22 17:03:03 +0200
commit1e1cd44e4d49bd52687d4a044c56b90dfd2916be (patch)
treebea775b65969e0d8cdb8daf2a6799acbb5394d3a /testing/mlocate
parentb55612c5aca4ae839bea079464d76a107003ef67 (diff)
downloadaports-1e1cd44e4d49bd52687d4a044c56b90dfd2916be.tar.bz2
aports-1e1cd44e4d49bd52687d4a044c56b90dfd2916be.tar.xz
testing/mlocate: move to unmaintained (doesn't work)
This package doesn't work for a long time and I don't know how to fix it.
Diffstat (limited to 'testing/mlocate')
-rw-r--r--testing/mlocate/APKBUILD58
-rw-r--r--testing/mlocate/mlocate.pre-install5
-rw-r--r--testing/mlocate/updatedb.conf4
-rw-r--r--testing/mlocate/updatedb.cron.daily29
4 files changed, 0 insertions, 96 deletions
diff --git a/testing/mlocate/APKBUILD b/testing/mlocate/APKBUILD
deleted file mode 100644
index 75848aea5e..0000000000
--- a/testing/mlocate/APKBUILD
+++ /dev/null
@@ -1,58 +0,0 @@
-# Contributor: Leslie P. Polzer <polzer@port-zero.com>
-# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
-# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
-
-pkgname=mlocate
-pkgver=0.26
-pkgrel=4
-pkgdesc='A utility to index and quickly search for files by name'
-url='https://fedorahosted.org/mlocate/'
-arch=''
-license='GPL'
-options='suid'
-pkggroups='locate'
-install="$pkgname.pre-install"
-makedepends=""
-subpackages="$pkgname-doc"
-source="https://fedorahosted.org/releases/m/l/mlocate/mlocate-$pkgver.tar.xz
- updatedb.conf
- updatedb.cron.daily"
-
-_builddir="$srcdir"/$pkgname-$pkgver
-
-prepare() {
- cd "$_builddir"
- sed -i '/^groupname /s/mlocate/locate/' Makefile.in
-}
-
-build() {
- cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var/lib
- make || return 1
-}
-
-package() {
- cd "$_builddir"
-
- make DESTDIR="$pkgdir" install
-
- ln -s locate "$pkgdir"/usr/bin/slocate
-
- install -dm755 "$pkgdir"/var/lib
-
- install -Dm644 "$srcdir"/updatedb.conf "$pkgdir"/etc/updatedb.conf
- install -Dm744 "$srcdir"/updatedb.cron.daily \
- "$pkgdir"/etc/periodic/daily/updatedb
- rm -rf "${pkgdir}"/usr/lib
-}
-md5sums="539e6f86bf387358aa2b14d5f880e49a mlocate-0.26.tar.xz
-465315bfa3380a23fae9a383270cb2ec updatedb.conf
-cde5da81bebad2de556ef2e43d895e13 updatedb.cron.daily"
-sha256sums="3063df79fe198fb9618e180c54baf3105b33d88fe602ff2d8570aaf944f1263e mlocate-0.26.tar.xz
-2523ec44fc74eb112a21671aca7cd3f5967e349c6017f5c34591c82f85490e81 updatedb.conf
-fe70ce6b8771bc750d5200ab4cc5bd97b579eeec92f1939f5d777614a0736c3e updatedb.cron.daily"
-sha512sums="b1207047e30a551cba39e70812439b554def567ebe9b8b81fed6f26435bb575beafe4875a21cd72876eadd85da4e7bfc942eb28b17c430b537c351690364837f mlocate-0.26.tar.xz
-663ebf09348458a3c82ac83bf77de9d38a214bd91c73385b2ea7fb7eda5beaaa7ad1d7c66a8a017ef6a0d5295ff1778bedab9be60d9b3a5ac3fefe5f1593a5f5 updatedb.conf
-60551f1574a31650bc665901cac418366ba26dc8514fb82ca55c75d29a9617ce05bc77b2a14c724cd49c8375d8ad5c3e9ba4df4210ce1b6b37bb3a244dcdc84c updatedb.cron.daily"
diff --git a/testing/mlocate/mlocate.pre-install b/testing/mlocate/mlocate.pre-install
deleted file mode 100644
index 8ae6bbd550..0000000000
--- a/testing/mlocate/mlocate.pre-install
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-addgroup -S locate 2>/dev/null
-
-exit 0
diff --git a/testing/mlocate/updatedb.conf b/testing/mlocate/updatedb.conf
deleted file mode 100644
index ea33c32cf8..0000000000
--- a/testing/mlocate/updatedb.conf
+++ /dev/null
@@ -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/lock /var/run /var/spool /var/tmp"
diff --git a/testing/mlocate/updatedb.cron.daily b/testing/mlocate/updatedb.cron.daily
deleted file mode 100644
index cac9bb0630..0000000000
--- a/testing/mlocate/updatedb.cron.daily
+++ /dev/null
@@ -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