diff options
author | 2007-07-08 10:26:09 +0000 | |
---|---|---|
committer | 2007-07-08 10:26:09 +0000 | |
commit | bb9768f3be651b8e493c09b8b9b0253300b80ec0 (patch) | |
tree | f541a51f873103fb390560bc422c78422720c7ab /sys-apps | |
parent | Added local use flag ipfilter for app-admin/sshguard (diff) | |
download | historical-bb9768f3be651b8e493c09b8b9b0253300b80ec0.tar.gz historical-bb9768f3be651b8e493c09b8b9b0253300b80ec0.tar.bz2 historical-bb9768f3be651b8e493c09b8b9b0253300b80ec0.zip |
new ebuild for bug 127010, thanks to José Romildo Malaquias <j.romildo@gmail.com>
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/mlocate/ChangeLog | 11 | ||||
-rw-r--r-- | sys-apps/mlocate/Manifest | 34 | ||||
-rw-r--r-- | sys-apps/mlocate/files/digest-mlocate-0.17 | 3 | ||||
-rw-r--r-- | sys-apps/mlocate/files/mlocate.cron | 11 | ||||
-rw-r--r-- | sys-apps/mlocate/files/updatedb.conf | 14 | ||||
-rw-r--r-- | sys-apps/mlocate/metadata.xml | 9 | ||||
-rw-r--r-- | sys-apps/mlocate/mlocate-0.17.ebuild | 59 |
7 files changed, 141 insertions, 0 deletions
diff --git a/sys-apps/mlocate/ChangeLog b/sys-apps/mlocate/ChangeLog new file mode 100644 index 000000000000..2a184b27e0fd --- /dev/null +++ b/sys-apps/mlocate/ChangeLog @@ -0,0 +1,11 @@ +# 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.1 2007/07/08 10:26:09 opfer Exp $ + +*mlocate-0.17 (08 Jul 2007) + + 08 Jul 2007; Christian Faulhammer <opfer@gentoo.org> +files/mlocate.cron, + +files/updatedb.conf, +metadata.xml, +mlocate-0.17.ebuild: + new ebuild for bug 127010, thanks to José Romildo Malaquias + <j.romildo@gmail.com> + diff --git a/sys-apps/mlocate/Manifest b/sys-apps/mlocate/Manifest new file mode 100644 index 000000000000..a42e327cd3bc --- /dev/null +++ b/sys-apps/mlocate/Manifest @@ -0,0 +1,34 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX mlocate.cron 152 RMD160 bc5c48ff209516873ac858f1ee9f88b635507fb9 SHA1 3566c291ec0644051029e2c6b75e15957ab1e8a0 SHA256 2d682a0938a7d855b9dfff40c4fa31acd587c298c758be274a761ab9cc0a9e0f +MD5 6c3929271c887ff2d14c6086604e6917 files/mlocate.cron 152 +RMD160 bc5c48ff209516873ac858f1ee9f88b635507fb9 files/mlocate.cron 152 +SHA256 2d682a0938a7d855b9dfff40c4fa31acd587c298c758be274a761ab9cc0a9e0f files/mlocate.cron 152 +AUX updatedb.conf 614 RMD160 c73d6f483328b70be392006194b9fdd344ac2963 SHA1 9554b06fabcf42da28292dcddba29d583755d630 SHA256 f70702b5fc46d494e0044619a29a18356a19a15cb1e3acf009ae05366fd898e0 +MD5 2286bf1570b446d4536a35f3566c3512 files/updatedb.conf 614 +RMD160 c73d6f483328b70be392006194b9fdd344ac2963 files/updatedb.conf 614 +SHA256 f70702b5fc46d494e0044619a29a18356a19a15cb1e3acf009ae05366fd898e0 files/updatedb.conf 614 +DIST mlocate-0.17.tar.bz2 285610 RMD160 ba8d292d757ed48782760ecfc58d12ea15fb9b05 SHA1 9fe1d51df41043f437850b6ba96df40d5e7525ad SHA256 a7c9c79a39b14f7a122f1b792ab3b26794dd8bd0f87cfe1a1127767ca5479584 +EBUILD mlocate-0.17.ebuild 1513 RMD160 828bb392a7d5b1f8c4a770bdb0becc99567b3d14 SHA1 d582596e1e05aadf009ec86376848ed878f02460 SHA256 79a3096fb19bf83e16957f153b5a1ea17e3fa807112751c013c2d334b5e308c2 +MD5 7592cf39edf44fdb8e9e168d5ae74e39 mlocate-0.17.ebuild 1513 +RMD160 828bb392a7d5b1f8c4a770bdb0becc99567b3d14 mlocate-0.17.ebuild 1513 +SHA256 79a3096fb19bf83e16957f153b5a1ea17e3fa807112751c013c2d334b5e308c2 mlocate-0.17.ebuild 1513 +MISC ChangeLog 458 RMD160 f75eee5db15dd6be6c6d4a58bb30b45e824210a9 SHA1 5d205a180bd77cf8fd28907c0a8f7563dd68225a SHA256 5e21c5933dd2abd535557cff1c3a2fc184c00aacefecfb80d01cb8577b993cac +MD5 21dd7d44839c96eac5c37acfbc5bffca ChangeLog 458 +RMD160 f75eee5db15dd6be6c6d4a58bb30b45e824210a9 ChangeLog 458 +SHA256 5e21c5933dd2abd535557cff1c3a2fc184c00aacefecfb80d01cb8577b993cac ChangeLog 458 +MISC metadata.xml 269 RMD160 cbb67f1fbbd755cd836fc0585dc2008fe659f7cf SHA1 761df8ba5b64d20b9f77784eed2fb896d881b445 SHA256 56bef26b1756d2cf3cc512c816b63cf0b97fa629d5bda01b51c3c63436ef3a9d +MD5 a4f08eae634c7cb9c59f262103967417 metadata.xml 269 +RMD160 cbb67f1fbbd755cd836fc0585dc2008fe659f7cf metadata.xml 269 +SHA256 56bef26b1756d2cf3cc512c816b63cf0b97fa629d5bda01b51c3c63436ef3a9d metadata.xml 269 +MD5 7a7c4df2948201b2fa1c0c8d5d05deb1 files/digest-mlocate-0.17 241 +RMD160 42c4f2940e31e12bf354b54453999a7bd9619b35 files/digest-mlocate-0.17 241 +SHA256 7a07a76fd97ee08bfe22650ee7d28bb02d1d8b8fafa099ae019398a0a924dbf3 files/digest-mlocate-0.17 241 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQFGkLvHNQqtfCuFneMRAn7sAJ0WDUvzLElaDBUBWIHXzHlj7qj72gCfUKpJ +Xrxm3bbBqTq/ti64u0u4MC4= +=grJ5 +-----END PGP SIGNATURE----- diff --git a/sys-apps/mlocate/files/digest-mlocate-0.17 b/sys-apps/mlocate/files/digest-mlocate-0.17 new file mode 100644 index 000000000000..2712bc18e819 --- /dev/null +++ b/sys-apps/mlocate/files/digest-mlocate-0.17 @@ -0,0 +1,3 @@ +MD5 e8fc089a235a4a7bf9bfbc536c17116c mlocate-0.17.tar.bz2 285610 +RMD160 ba8d292d757ed48782760ecfc58d12ea15fb9b05 mlocate-0.17.tar.bz2 285610 +SHA256 a7c9c79a39b14f7a122f1b792ab3b26794dd8bd0f87cfe1a1127767ca5479584 mlocate-0.17.tar.bz2 285610 diff --git a/sys-apps/mlocate/files/mlocate.cron b/sys-apps/mlocate/files/mlocate.cron new file mode 100644 index 000000000000..c7a39c274088 --- /dev/null +++ b/sys-apps/mlocate/files/mlocate.cron @@ -0,0 +1,11 @@ +#! /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/files/updatedb.conf b/sys-apps/mlocate/files/updatedb.conf new file mode 100644 index 000000000000..0c7668153aaf --- /dev/null +++ b/sys-apps/mlocate/files/updatedb.conf @@ -0,0 +1,14 @@ +# /etc/updatedb.conf: config file for slocate +# $Id: updatedb.conf,v 1.1 2007/07/08 10:26:09 opfer Exp $ + +# This file sets variables that are used by updatedb. +# For more info, see the updatedb.conf(5) manpage. + +# Filesystems that are pruned from updatedb database +PRUNEFS="afs auto autofs cifs devfs devpts eventpollfs futexfs hugetlbfs iso9660 mqueue ncpfs nfs NFS nfsd nnpfs pipefs proc ramfs rpc_pipefs sfs shfs smbfs sockfs subfs supermount sysfs tmpfs udf usbfs vperfctrfs" + +# Paths which are pruned from updatedb database +PRUNEPATHS="/tmp /var/tmp /root/.ccache" + +# Skip bind mounts. +PRUNE_BIND_MOUNTS="no" diff --git a/sys-apps/mlocate/metadata.xml b/sys-apps/mlocate/metadata.xml new file mode 100644 index 000000000000..2c967a237c7c --- /dev/null +++ b/sys-apps/mlocate/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> + <maintainer> + <email>opfer@gentoo.org</email> + <name>Christian Faulhammer</name> + </maintainer> +</pkgmetadata> diff --git a/sys-apps/mlocate/mlocate-0.17.ebuild b/sys-apps/mlocate/mlocate-0.17.ebuild new file mode 100644 index 000000000000..19567a62ecdc --- /dev/null +++ b/sys-apps/mlocate/mlocate-0.17.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/mlocate-0.17.ebuild,v 1.1 2007/07/08 10:26:09 opfer Exp $ + +inherit eutils + +DESCRIPTION="Merging locate is an utility to index and quickly search for files" +HOMEPAGE="http://carolina.mff.cuni.cz/~trmac/blog/mlocate/" +SRC_URI="http://people.redhat.com/mitr/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~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" +} |