polynomial-c    14/05/05 06:42:03

  Modified:             ChangeLog
  Added:                mlocate-0.26-r1.ebuild
  Removed:              mlocate-0.26.ebuild
  Log:
  Fixed some filesystem entries in updatedb.conf file (bug #509084). Committed 
straight to stable
  
  (Portage version: 2.2.10/cvs/Linux x86_64, RepoMan options: --force, signed 
Manifest commit with key 0x981CA6FC)

Revision  Changes    Path
1.119                sys-apps/mlocate/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/ChangeLog?rev=1.119&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/ChangeLog?rev=1.119&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/ChangeLog?r1=1.118&r2=1.119

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -r1.118 -r1.119
--- ChangeLog   8 Jan 2014 22:45:47 -0000       1.118
+++ ChangeLog   5 May 2014 06:42:03 -0000       1.119
@@ -1,6 +1,13 @@
 # ChangeLog for sys-apps/mlocate
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.118 
2014/01/08 22:45:47 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.119 
2014/05/05 06:42:03 polynomial-c Exp $
+
+*mlocate-0.26-r1 (05 May 2014)
+
+  05 May 2014; Lars Wendler <[email protected]> -mlocate-0.26.ebuild,
+  +mlocate-0.26-r1.ebuild, files/updatedb.conf:
+  Fixed some filesystem entries in updatedb.conf file. Thanks to Toralf
+  Förster who reported this in bug #509084. Committed straight to stable.
 
   08 Jan 2014; Christian Faulhammer <[email protected]> -mlocate-0.25.ebuild:
   clean up



1.1                  sys-apps/mlocate/mlocate-0.26-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/mlocate-0.26-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/mlocate-0.26-r1.ebuild?rev=1.1&content-type=text/plain

Index: mlocate-0.26-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/mlocate-0.26-r1.ebuild,v 
1.1 2014/05/05 06:42:03 polynomial-c Exp $

EAPI=4
inherit eutils user toolchain-funcs

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.xz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE="nls selinux"

RDEPEND="!sys-apps/slocate
        !sys-apps/rlocate
        selinux? ( sec-policy/selinux-slocate )"
DEPEND="app-arch/xz-utils
        nls? ( sys-devel/gettext )
        selinux? ( sec-policy/selinux-slocate )"

pkg_setup() {
        enewgroup locate
}

src_configure() {
        econf $(use_enable nls)
}

src_compile() {
        emake groupname=locate AR="$(tc-getAR)"
}

src_install() {
        emake groupname=locate DESTDIR="${D}" install
        dodoc AUTHORS ChangeLog README NEWS

        insinto /etc
        doins "${FILESDIR}"/updatedb.conf
        doins "${FILESDIR}"/mlocate-cron.conf
        fperms 0644 /etc/{updatedb,mlocate-cron}.conf

        insinto /etc/cron.daily
        newins "${FILESDIR}"/mlocate.cron-r2 mlocate
        fperms 0755 /etc/cron.daily/mlocate

        fowners 0:locate /usr/bin/locate
        fperms go-r,g+s /usr/bin/locate

        keepdir /var/lib/mlocate
        chown -R 0:locate "${ED}"/var/lib/mlocate
        fperms 0750 /var/lib/mlocate
}

pkg_postinst() {
        elog "The database for the locate command is generated daily by a cron 
job,"
        elog "if you install for the first time you can run the updatedb 
command manually now."
        elog
        elog "Note that the /etc/updatedb.conf file is generic,"
        elog "please customize it to your system requirements."
}




Reply via email to