From 499592e64fbf276003b827f9d8f74f15ec392dae Mon Sep 17 00:00:00 2001 From: Christian Faulhammer Date: Mon, 3 Mar 2008 20:44:33 +0000 Subject: [PATCH] version bump, fixes bug 212216 by Florian Steinel Package-Manager: portage-2.1.4.4 --- sys-apps/mlocate/ChangeLog | 10 ++++- sys-apps/mlocate/Manifest | 14 ++++++- sys-apps/mlocate/mlocate-0.19.ebuild | 59 ++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 3 deletions(-) create mode 100644 sys-apps/mlocate/mlocate-0.19.ebuild diff --git a/sys-apps/mlocate/ChangeLog b/sys-apps/mlocate/ChangeLog index 913881dc8f55..2f5bdf194ff1 100644 --- a/sys-apps/mlocate/ChangeLog +++ b/sys-apps/mlocate/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/mlocate -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.10 2007/12/22 17:16:30 nixnut Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.11 2008/03/03 20:44:33 opfer Exp $ + +*mlocate-0.19 (03 Mar 2008) + + 03 Mar 2008; Christian Faulhammer +mlocate-0.19.ebuild: + version bump, fixes bug 212216 by Florian Steinel + 22 Dec 2007; nixnut mlocate-0.18.ebuild: Stable on ppc wrt bug 203021 diff --git a/sys-apps/mlocate/Manifest b/sys-apps/mlocate/Manifest index 49d78aa7bf9a..502cc921a70a 100644 --- a/sys-apps/mlocate/Manifest +++ b/sys-apps/mlocate/Manifest @@ -1,6 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX mlocate.cron 152 RMD160 bc5c48ff209516873ac858f1ee9f88b635507fb9 SHA1 3566c291ec0644051029e2c6b75e15957ab1e8a0 SHA256 2d682a0938a7d855b9dfff40c4fa31acd587c298c758be274a761ab9cc0a9e0f AUX updatedb.conf 614 RMD160 c73d6f483328b70be392006194b9fdd344ac2963 SHA1 9554b06fabcf42da28292dcddba29d583755d630 SHA256 f70702b5fc46d494e0044619a29a18356a19a15cb1e3acf009ae05366fd898e0 DIST mlocate-0.18.tar.bz2 310037 RMD160 6fdc6eaa479e0bc4d9caaaec1facbdb45372738d SHA1 4cc1e6e5a673ce9b3ca3f378f4be7bf69e8288f1 SHA256 cb7af6422d37b96b2ca919d1636ddf3d957136c25f52a330cc9006c14abf1f95 +DIST mlocate-0.19.tar.bz2 314564 RMD160 a45b1974e4a8bda49638a1a1f80d57bfe34d7c05 SHA1 752ef9f0379b60a9b81320d5bbd33f15a4b276c1 SHA256 ae9533d9088d7e72f91883d59b0efdd123c0596eb99b7ccb1a7794598398c7df EBUILD mlocate-0.18.ebuild 1523 RMD160 01bf661cb8744b59076c56d9a9ae9df80baef481 SHA1 7ec70c50cfb6a65cf3aa3395bf7d38ea574b98ae SHA256 ba48503ac89f6ca7876794bdadaa7a4e7def6c6a7ae3a3018d8bea4ad5cb4fa5 -MISC ChangeLog 1434 RMD160 02fe5d2bff3912ae70204bc288b3afeebfb91331 SHA1 864fcf39c6e171de3df2160c6a5493436914af8e SHA256 8d74f5c6b0ad3d392c6e6e2b79916c2d4c3b6332adbd993a6dafe7c7dc9d424b +EBUILD mlocate-0.19.ebuild 1510 RMD160 ae57302fbae8119cd9d205923c9d42f2b8a414f5 SHA1 0b3d7e33c382ff384d560f341fcbf30ac0a2844d SHA256 d2074d19626d220ea97844d912c48112cb9b2aa9e2658623341e1cd23cb486dc +MISC ChangeLog 1627 RMD160 dbb209adfaa8e96657ff749cb7e8c6a8b006e054 SHA1 c5c5d22fd5c4d23e63e8782c17904cbb6d1ef189 SHA256 fb4997a85b2bbeeb00135b0326099a3897cba80acc1e129c171d8068b326561f MISC metadata.xml 269 RMD160 cbb67f1fbbd755cd836fc0585dc2008fe659f7cf SHA1 761df8ba5b64d20b9f77784eed2fb896d881b445 SHA256 56bef26b1756d2cf3cc512c816b63cf0b97fa629d5bda01b51c3c63436ef3a9d +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHzGO2NQqtfCuFneMRAv4QAJ4vSz5K3Hj6EKd3dTHu3jJXgTqcCgCfbMDh +WDtt/jRc8a3NX0a2AHY+Yw0= +=fo4/ +-----END PGP SIGNATURE----- diff --git a/sys-apps/mlocate/mlocate-0.19.ebuild b/sys-apps/mlocate/mlocate-0.19.ebuild new file mode 100644 index 000000000000..da4f6f38f6ee --- /dev/null +++ b/sys-apps/mlocate/mlocate-0.19.ebuild @@ -0,0 +1,59 @@ +# 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.19.ebuild,v 1.1 2008/03/03 20:44:33 opfer Exp $ + +inherit eutils + +DESCRIPTION="Merging locate is an utility to index and quickly search for files" +HOMEPAGE="https://fedorahosted.org/mlocate/" +SRC_URI="http://people.redhat.com/mitr/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~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" +} -- 2.26.2