summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-19 10:20:55 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-19 10:20:55 +0000
commit73f037386e8ed8e59979d8c26d6c60b3ef7fe00a (patch)
tree893bbbc420adbb780bb24a3750b1c8b958464406 /sys-apps
parentStable on alpha and ia64. (diff)
downloadgentoo-2-73f037386e8ed8e59979d8c26d6c60b3ef7fe00a.tar.gz
gentoo-2-73f037386e8ed8e59979d8c26d6c60b3ef7fe00a.tar.bz2
gentoo-2-73f037386e8ed8e59979d8c26d6c60b3ef7fe00a.zip
Version bump.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/rlocate/ChangeLog8
-rw-r--r--sys-apps/rlocate/files/digest-rlocate-0.4.11
-rw-r--r--sys-apps/rlocate/files/rlocate-0.4.1-build.patch33
-rw-r--r--sys-apps/rlocate/rlocate-0.4.1.ebuild48
4 files changed, 89 insertions, 1 deletions
diff --git a/sys-apps/rlocate/ChangeLog b/sys-apps/rlocate/ChangeLog
index 02eeabae1377..75da4b368a32 100644
--- a/sys-apps/rlocate/ChangeLog
+++ b/sys-apps/rlocate/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/rlocate
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rlocate/ChangeLog,v 1.9 2006/01/16 09:11:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rlocate/ChangeLog,v 1.10 2006/01/19 10:20:55 vapier Exp $
+
+*rlocate-0.4.1 (19 Jan 2006)
+
+ 19 Jan 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/rlocate-0.4.1-build.patch, +rlocate-0.4.1.ebuild:
+ Version bump.
*rlocate-0.4.0 (16 Jan 2006)
diff --git a/sys-apps/rlocate/files/digest-rlocate-0.4.1 b/sys-apps/rlocate/files/digest-rlocate-0.4.1
new file mode 100644
index 000000000000..840c3aa6f6c5
--- /dev/null
+++ b/sys-apps/rlocate/files/digest-rlocate-0.4.1
@@ -0,0 +1 @@
+MD5 d8a53d1ae0e36157bd43a989fa9cb28d rlocate-0.4.1.tar.gz 194465
diff --git a/sys-apps/rlocate/files/rlocate-0.4.1-build.patch b/sys-apps/rlocate/files/rlocate-0.4.1-build.patch
new file mode 100644
index 000000000000..081cd11dc78a
--- /dev/null
+++ b/sys-apps/rlocate/files/rlocate-0.4.1-build.patch
@@ -0,0 +1,33 @@
+--- Makefile.in
++++ Makefile.in
+@@ -208,7 +208,7 @@
+
+ rlocate_SOURCES = pidfile.h pidfile.c main.c link.c misc.c link.h \
+ misc.h rlocate.h rlocate.c $(am__append_1)
+-SUBDIRS = doc rlocate-daemon rlocate-module rlocate-scripts
++SUBDIRS = doc rlocate-daemon rlocate-scripts
+ EXTRA_DIST = rlocate.cron debian rlocate-scripts autogen.sh \
+ contrib install-cron.sh.in ChangeLog.slocate
+
+--- rlocate-daemon/Makefile.in
++++ rlocate-daemon/Makefile.in
+@@ -172,7 +172,7 @@
+ -DRLOCATE_GRP=\"$(rlocate_group)\"
+
+ rlocated_SOURCES = ../misc.h ../misc.c ../pidfile.h ../pidfile.c rlocated.c
+-AM_CFLAGS = -O2 -Wall
++AM_CFLAGS = -Wall
+ all: all-am
+
+ .SUFFIXES:
+--- rlocate-scripts/Makefile.in
++++ rlocate-scripts/Makefile.in
+@@ -344,8 +344,6 @@
+ rm $(srcdir)/rlocate-checkpoint.temp
+
+ install-exec-hook:
+-@FREEBSD_TRUE@ -/usr/sbin/pw groupadd $(rlocate_group)
+-@FREEBSD_FALSE@ -/usr/sbin/groupadd $(rlocate_group)
+ chown root:$(rlocate_group) $(DESTDIR)$(bindir)/rlocate-checkpoint
+ chmod 2755 $(DESTDIR)$(bindir)/rlocate-checkpoint
+
diff --git a/sys-apps/rlocate/rlocate-0.4.1.ebuild b/sys-apps/rlocate/rlocate-0.4.1.ebuild
new file mode 100644
index 000000000000..8c67091935a8
--- /dev/null
+++ b/sys-apps/rlocate/rlocate-0.4.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rlocate/rlocate-0.4.1.ebuild,v 1.1 2006/01/19 10:20:55 vapier Exp $
+
+inherit eutils linux-mod
+
+DESCRIPTION="locate implementation that is always up-to-date"
+HOMEPAGE="http://rlocate.sourceforge.net/"
+SRC_URI="mirror://sourceforge/rlocate/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="!sys-apps/slocate"
+
+pkg_setup() {
+ MODULE_NAMES="rlocate(misc:${S}/rlocate-module)"
+ CONFIG_CHECK="SECURITY"
+ SECURITY_ERROR="You need to select the \"Enable different security models\" option in the kernel configuration (CONFIG_SECURITY)."
+ BUILD_TARGETS="all"
+ linux-mod_pkg_setup
+
+ enewgroup locate
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.4.1-build.patch
+}
+
+src_compile() {
+ econf \
+ --with-kernel=${KV_DIR} \
+ --with-rlocate-group=locate \
+ || die
+ emake || die
+ linux-mod_src_compile
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ newinitd "${FILESDIR}"/rlocated.rc rlocated
+ linux-mod_src_install
+ dodoc AUTHORS ChangeLog* NEWS README
+}