summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2007-05-20 16:56:15 +0000
committerJakub Moc <jakub@gentoo.org>2007-05-20 16:56:15 +0000
commit8f471ddf97b6f93f1e1fdc5a474c602ee2a80d04 (patch)
treeeb5324e7dfdfdf283093f99694ac439ea0d59956 /sys-apps
parentdev-util/devkitarm-bin: Updated ebuild : add exec rights with insopts. (diff)
downloadsunrise-reviewed-8f471ddf97b6f93f1e1fdc5a474c602ee2a80d04.tar.gz
sunrise-reviewed-8f471ddf97b6f93f1e1fdc5a474c602ee2a80d04.tar.bz2
sunrise-reviewed-8f471ddf97b6f93f1e1fdc5a474c602ee2a80d04.zip
Nuke implicit system dependency, add ~amd64 keyword, do not use root in fowners, cosmetics
svn path=/sunrise/; revision=3690
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/mlocate/ChangeLog4
-rw-r--r--sys-apps/mlocate/Manifest4
-rw-r--r--sys-apps/mlocate/mlocate-0.17.ebuild19
3 files changed, 14 insertions, 13 deletions
diff --git a/sys-apps/mlocate/ChangeLog b/sys-apps/mlocate/ChangeLog
index 1b5be1bb5..a41be5229 100644
--- a/sys-apps/mlocate/ChangeLog
+++ b/sys-apps/mlocate/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 20 May 2007; Jakub Moc <jakub@gentoo.org> mlocate-0.17.ebuild:
+ Nuke implicit system dependency, add ~amd64 keyword, do not use root
+ in fowners, cosmetics.
+
20 May 2007; Christian Faulhammer <opfer@gentoo.org> mlocate-0.17.ebuild,
+metadata.xml:
new ebuild for bug 127010
diff --git a/sys-apps/mlocate/Manifest b/sys-apps/mlocate/Manifest
index 7e478c77e..5a0d77639 100644
--- a/sys-apps/mlocate/Manifest
+++ b/sys-apps/mlocate/Manifest
@@ -1,6 +1,6 @@
AUX mlocate.cron 152 RMD160 bc5c48ff209516873ac858f1ee9f88b635507fb9 SHA1 3566c291ec0644051029e2c6b75e15957ab1e8a0 SHA256 2d682a0938a7d855b9dfff40c4fa31acd587c298c758be274a761ab9cc0a9e0f
AUX updatedb.conf 567 RMD160 021353a0cf3c57d904765f96f03148cd5cfbb0c3 SHA1 f64fe505f0300e82b60e9cd721532d62fcaa7b28 SHA256 74fff35f438de2a67798bfeca7c334c8dc42f280cae305f8370724440342be38
DIST mlocate-0.17.tar.bz2 285610 RMD160 ba8d292d757ed48782760ecfc58d12ea15fb9b05 SHA1 9fe1d51df41043f437850b6ba96df40d5e7525ad SHA256 a7c9c79a39b14f7a122f1b792ab3b26794dd8bd0f87cfe1a1127767ca5479584
-EBUILD mlocate-0.17.ebuild 1230 RMD160 b65062ec38716e7d06f04307816519c8811c4570 SHA1 7ca1dec1ee888e4bae84228d677831ebcc6d9fc4 SHA256 cb0047791e6cd90c08c180fb2fae303fff36f7a14a44da68388fa80dce0e3392
-MISC ChangeLog 239 RMD160 7de0ff78cb36fc38c3376e11cf4b4487dc4cf59b SHA1 da8bad2e694344a8c415d13764897ab0922399d1 SHA256 aa45ffb5cb2a900df2bcfcd434e948393077bdd379213768c0670ad24229957f
+EBUILD mlocate-0.17.ebuild 1170 RMD160 64fd9899e527bba86efbcf7312916bd7664eeb49 SHA1 82152d5ab982f1a60b1717b2b156e1950b143cf8 SHA256 f083c9f662256205cb3e822571fd747feaf2b508344610b06436d969ccf6e969
+MISC ChangeLog 401 RMD160 d0b98b86ba6d864a83b6d6511bdee31663caa61c SHA1 c707eebebcc2fa03b331ecbe9dbc6a392fdb5cf4 SHA256 9cc5ea33ecf08a76e453423867aa97f7bd8e60cbf5a93ea9c7e74a3034987d97
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/sys-apps/mlocate/mlocate-0.17.ebuild b/sys-apps/mlocate/mlocate-0.17.ebuild
index 03f4f9aa0..73b28975f 100644
--- a/sys-apps/mlocate/mlocate-0.17.ebuild
+++ b/sys-apps/mlocate/mlocate-0.17.ebuild
@@ -10,12 +10,10 @@ SRC_URI="http://people.redhat.com/mitr/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="sys-apps/shadow"
-RDEPEND="${DEPEND}
- !sys-apps/slocate
+RDEPEND="!sys-apps/slocate
!sys-apps/rlocate"
pkg_setup() {
@@ -23,7 +21,7 @@ pkg_setup() {
}
src_compile() {
- econf || die
+ econf
emake groupname=locate || die "emake failed"
}
@@ -39,16 +37,15 @@ src_install() {
newins "${FILESDIR}/mlocate.cron" mlocate
fperms 0755 /etc/cron.daily/mlocate
- fowners root:locate /usr/bin/locate
+ fowners 0:locate /usr/bin/locate
fperms go-r,g+s /usr/bin/locate
- chown -R root:locate "${D}/var/lib/mlocate"
+ chown -R 0:locate "${D}/var/lib/mlocate"
fperms 0750 /var/lib/mlocate
-
- touch "${D}/var/lib/mlocate/mlocate.db"
+ keepdir /var/lib/mlocate
}
pkg_postinst() {
- einfo "Note that the /etc/updatedb.conf file is generic"
- einfo "Please customize it to your system requirements"
+ elog "Note that the /etc/updatedb.conf file is generic"
+ elog "Please customize it to your system requirements"
}