summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2008-11-05 17:51:25 +0000
committerChristian Faulhammer <opfer@gentoo.org>2008-11-05 17:51:25 +0000
commit7cece3b31ac5b9af88e8d9e02d07978e2115b60b (patch)
treee7e2ec91a4b8b7b4644cc4ef19a5011a554b7948 /sys-apps
parentclean up (diff)
downloadgentoo-2-7cece3b31ac5b9af88e8d9e02d07978e2115b60b.tar.gz
gentoo-2-7cece3b31ac5b9af88e8d9e02d07978e2115b60b.tar.bz2
gentoo-2-7cece3b31ac5b9af88e8d9e02d07978e2115b60b.zip
clean up
(Portage version: 2.1.4.5)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/mlocate/ChangeLog6
-rw-r--r--sys-apps/mlocate/files/mlocate.cron11
-rw-r--r--sys-apps/mlocate/mlocate-0.21.ebuild59
3 files changed, 5 insertions, 71 deletions
diff --git a/sys-apps/mlocate/ChangeLog b/sys-apps/mlocate/ChangeLog
index 1fd6a37e939a..ced83466df6f 100644
--- a/sys-apps/mlocate/ChangeLog
+++ b/sys-apps/mlocate/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/mlocate
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.30 2008/11/04 21:38:22 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.31 2008/11/05 17:51:25 opfer Exp $
+
+ 05 Nov 2008; Christian Faulhammer <opfer@gentoo.org> -files/mlocate.cron,
+ -mlocate-0.21.ebuild:
+ clean up
04 Nov 2008; Raúl Porcel <armin76@gentoo.org> mlocate-0.21-r1.ebuild:
sparc stable wrt #244683, thanks to Aaron Mavrinac for testing
diff --git a/sys-apps/mlocate/files/mlocate.cron b/sys-apps/mlocate/files/mlocate.cron
deleted file mode 100644
index c7a39c274088..000000000000
--- a/sys-apps/mlocate/files/mlocate.cron
+++ /dev/null
@@ -1,11 +0,0 @@
-#! /bin/sh
-
-if [ -x /usr/bin/updatedb ]
-then
- if [ -f /etc/updatedb.conf ]
- then
- nice /usr/bin/updatedb
- else
- nice /usr/bin/updatedb -f proc
- fi
-fi
diff --git a/sys-apps/mlocate/mlocate-0.21.ebuild b/sys-apps/mlocate/mlocate-0.21.ebuild
deleted file mode 100644
index 709fdc6fe857..000000000000
--- a/sys-apps/mlocate/mlocate-0.21.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/mlocate-0.21.ebuild,v 1.5 2008/08/08 18:17:10 nixnut Exp $
-
-inherit eutils
-
-DESCRIPTION="Merging locate is an utility to index and quickly search for files"
-HOMEPAGE="https://fedorahosted.org/mlocate/"
-SRC_URI="https://fedorahosted.org/releases/m/l/mlocate/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ~sparc x86"
-IUSE=""
-
-RDEPEND="!sys-apps/slocate
- !sys-apps/rlocate"
-
-pkg_setup() {
- enewgroup locate
-}
-
-src_compile() {
- econf || die "econf failed"
- emake groupname=locate || die "emake failed"
-}
-
-src_install() {
- emake groupname=locate DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog README NEWS
-
- insinto /etc
- doins "${FILESDIR}/updatedb.conf"
- fperms 0644 /etc/updatedb.conf
-
- insinto /etc/cron.daily
- newins "${FILESDIR}/mlocate.cron" mlocate
- fperms 0755 /etc/cron.daily/mlocate
-
- fowners 0:locate /usr/bin/locate
- fperms go-r,g+s /usr/bin/locate
-
- chown -R 0:locate "${D}/var/lib/mlocate"
- fperms 0750 /var/lib/mlocate
- keepdir /var/lib/mlocate
-}
-
-src_test() {
- if has userpriv ${FEATURES} && ! has usersandbox ${FEATURES}; then
- make check-local || die "test suite failed"
- else
- ewarn "Activate FEATURES=userpriv and deactivate FEATURES=usersandbox to run testsuite."
- fi
-}
-
-pkg_postinst() {
- elog "Note that the /etc/updatedb.conf file is generic"
- elog "Please customize it to your system requirements"
-}