diff options
Diffstat (limited to 'sys-apps/mlocate')
-rw-r--r-- | sys-apps/mlocate/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/mlocate/Manifest | 10 | ||||
-rw-r--r-- | sys-apps/mlocate/mlocate-0.21.ebuild | 60 |
3 files changed, 72 insertions, 5 deletions
diff --git a/sys-apps/mlocate/ChangeLog b/sys-apps/mlocate/ChangeLog index 5d5f63fca7ee..cf53dcef3349 100644 --- a/sys-apps/mlocate/ChangeLog +++ b/sys-apps/mlocate/ChangeLog @@ -1,6 +1,11 @@ # 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.21 2008/05/29 10:24:20 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.22 2008/07/06 10:28:40 opfer Exp $ + +*mlocate-0.21 (06 Jul 2008) + + 06 Jul 2008; Christian Faulhammer <opfer@gentoo.org> +mlocate-0.21.ebuild: + version bump 29 May 2008; Christian Faulhammer <opfer@gentoo.org> -mlocate-0.18.ebuild, -mlocate-0.19.ebuild: diff --git a/sys-apps/mlocate/Manifest b/sys-apps/mlocate/Manifest index b1da3b82ce99..97dff46f5774 100644 --- a/sys-apps/mlocate/Manifest +++ b/sys-apps/mlocate/Manifest @@ -4,13 +4,15 @@ 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.20.tar.bz2 338091 RMD160 0aaea1f15e058b38bc8d22c6fd47974a742ff5ad SHA1 11d29998fec8f461ce46c48d33b07fae32e7be41 SHA256 3cf5f0adcf6c07c123fbb8cb7433f857dfcb8fde0c4c2a8e7aa4c3af894f3995 +DIST mlocate-0.21.tar.bz2 343807 RMD160 adcd416f9bd895955a803a284d5fdae73ed8e900 SHA1 af734e149f1a936028d2680c067921c40eab7230 SHA256 d9018db360d02964d5137aff285fcf2ce8de45bd724a1a26b85cdc4bc745cf67 EBUILD mlocate-0.20.ebuild 1589 RMD160 146b5748c5c47c305d6a2e3d4560375ca5fd1423 SHA1 b1e8d91c357efffe6be05e7727bdbc59bbecdaaa SHA256 37e1ef8f7be438f8fc2ae2196cd4a91ed1474f2c30a884256e1c5d6c0502b428 -MISC ChangeLog 2599 RMD160 b4544308ab37b85d336da45af4387e44e719f8df SHA1 770202be5584d954b5737ca3c205a5bc6d6a4aa8 SHA256 3ec0d7d987fa842721df0c9a1816bb3d5298755b14c200944994050c68084b2e +EBUILD mlocate-0.21.ebuild 1521 RMD160 8a69b30557a41a1a83d673cf64ccc043e5624556 SHA1 229e232ebdec01581578e9826d3d04e10fcd63c8 SHA256 f06143a6bc7a1fdb2656a6a7bb32803bebbba2712301a476eba107b2b5f43ed6 +MISC ChangeLog 2721 RMD160 be4a70700cc613b1af613ec73026c5c72822fd4b SHA1 6e56d2c960e1a81019675504d86078cb45e20103 SHA256 365569b382484ede87b01044b559424e68aa5a3187d7147f0b26b77289e30b15 MISC metadata.xml 269 RMD160 cbb67f1fbbd755cd836fc0585dc2008fe659f7cf SHA1 761df8ba5b64d20b9f77784eed2fb896d881b445 SHA256 56bef26b1756d2cf3cc512c816b63cf0b97fa629d5bda01b51c3c63436ef3a9d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkg+hFoACgkQNQqtfCuFneMFOgCcCC12Zyim4dh1fUWWT2BRu9vG -vPkAoJJlhic09UJL1J2I18DatPk3A1Hp -=AzRP +iEYEARECAAYFAkhwnl0ACgkQNQqtfCuFneOXEwCfWPzsdrnmmXXqjnXAp4WsjmQq +r+kAn2z9BjVYs+iZ9eSzDxGL9WqLq0vC +=exiu -----END PGP SIGNATURE----- diff --git a/sys-apps/mlocate/mlocate-0.21.ebuild b/sys-apps/mlocate/mlocate-0.21.ebuild new file mode 100644 index 000000000000..580d1c5ef490 --- /dev/null +++ b/sys-apps/mlocate/mlocate-0.21.ebuild @@ -0,0 +1,60 @@ +# 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.1 2008/07/06 10:28:40 opfer 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 ~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" +} |