diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-12-19 23:38:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-12-19 23:38:11 +0000 |
commit | 73c2859a151aaf15e023c968faad4efc514187fa (patch) | |
tree | 0b3490ca0f7c1bf6310a9e7625882266a5b85e6f /sys-apps | |
parent | Version bump. (diff) | |
download | historical-73c2859a151aaf15e023c968faad4efc514187fa.tar.gz historical-73c2859a151aaf15e023c968faad4efc514187fa.tar.bz2 historical-73c2859a151aaf15e023c968faad4efc514187fa.zip |
Version bump and add init.d script #113126.
Package-Manager: portage-2.0.53
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/rlocate/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/rlocate/Manifest | 16 | ||||
-rw-r--r-- | sys-apps/rlocate/files/digest-rlocate-0.3.3 | 1 | ||||
-rw-r--r-- | sys-apps/rlocate/files/rlocate-0.3.3-build.patch | 66 | ||||
-rwxr-xr-x | sys-apps/rlocate/files/rlocated.rc | 24 | ||||
-rw-r--r-- | sys-apps/rlocate/rlocate-0.3.3.ebuild | 46 |
6 files changed, 160 insertions, 2 deletions
diff --git a/sys-apps/rlocate/ChangeLog b/sys-apps/rlocate/ChangeLog index 3d47f34548bc..541a48a24f7f 100644 --- a/sys-apps/rlocate/ChangeLog +++ b/sys-apps/rlocate/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-apps/rlocate # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/rlocate/ChangeLog,v 1.6 2005/10/24 01:08:38 malc Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/rlocate/ChangeLog,v 1.7 2005/12/19 23:38:11 vapier Exp $ + +*rlocate-0.3.3 (19 Dec 2005) + + 19 Dec 2005; Mike Frysinger <vapier@gentoo.org> + +files/rlocate-0.3.3-build.patch, +files/rlocated.rc, + +rlocate-0.3.3.ebuild: + Version bump and add init.d script #113126. 23 Oct 2005; Malcolm Lashley <malc@gentoo.org> rlocate-0.3.2.ebuild: Added to ~amd64 per bug #109312 diff --git a/sys-apps/rlocate/Manifest b/sys-apps/rlocate/Manifest index d0d64a6f31ef..6a9ef875edaf 100644 --- a/sys-apps/rlocate/Manifest +++ b/sys-apps/rlocate/Manifest @@ -1,10 +1,24 @@ -MD5 d800a90030e4162d90d79eba0b0abe3c ChangeLog 1004 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 f329c7f731c4b1d4d34194b27e7f8076 ChangeLog 1214 MD5 3df7d026a132a54c32b590868c901eee files/digest-rlocate-0.3.0 65 MD5 de57aa1ae3c55df794f8a28eaea3a826 files/digest-rlocate-0.3.1 65 MD5 de57aa1ae3c55df794f8a28eaea3a826 files/digest-rlocate-0.3.1-r1 65 MD5 6bc94ee4d9a01c7bb0f8d5f7fd22ef40 files/digest-rlocate-0.3.2 65 +MD5 f2481f47e9d60d7e52234ffecd679931 files/digest-rlocate-0.3.3 65 +MD5 43fee28c090b20de0b2c57b15e97caba files/rlocate-0.3.3-build.patch 2655 +MD5 56da5f78d234dc0928277d6d34b85de9 files/rlocated.rc 534 MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 MD5 7864056c1293832c38d25cce49a1ed33 rlocate-0.3.0.ebuild 1094 MD5 bdf37b226b9c579b537fc9e8675a431b rlocate-0.3.1-r1.ebuild 1383 MD5 982f66ba9fc3ee72519efd2e9d81803b rlocate-0.3.1.ebuild 1094 MD5 96bc3068a386e5303d172f2e82b3669c rlocate-0.3.2.ebuild 1393 +MD5 4edb9416ce557be2699b20bdc9215b8f rlocate-0.3.3.ebuild 1137 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD4DBQFDp0SN2+ySkm8kpY0RAhOMAJ4j5JzW3PLD/lyyEO6qIX3di5XZgACXYDeQ +MfinpW5uE/oHF+a5VFGNvw== +=riWt +-----END PGP SIGNATURE----- diff --git a/sys-apps/rlocate/files/digest-rlocate-0.3.3 b/sys-apps/rlocate/files/digest-rlocate-0.3.3 new file mode 100644 index 000000000000..807c5ef72494 --- /dev/null +++ b/sys-apps/rlocate/files/digest-rlocate-0.3.3 @@ -0,0 +1 @@ +MD5 ec08bea10ff51cb796280a61f9ab4ff2 rlocate-0.3.3.tar.gz 191277 diff --git a/sys-apps/rlocate/files/rlocate-0.3.3-build.patch b/sys-apps/rlocate/files/rlocate-0.3.3-build.patch new file mode 100644 index 000000000000..ac288c160d40 --- /dev/null +++ b/sys-apps/rlocate/files/rlocate-0.3.3-build.patch @@ -0,0 +1,66 @@ +--- Makefile.in.orig 2005-12-19 18:20:09.000000000 -0500 ++++ Makefile.in 2005-12-19 18:22:02.000000000 -0500 +@@ -196,7 +196,7 @@ + RLOCATE_DB = $(RLOCATE_DB_DIR)/$(rlocate).db + RLOCATE_DB_TMP = $(RLOCATE_DB_DIR)/$(rlocate).db.tmp + MODULE_CFG = $(RLOCATE_DB_DIR)/module.cfg +-RLOCATE_GRP = $(rlocate) ++RLOCATE_GRP =locate + RLOCATED_CMD = $(DESTDIR)$(sbindir)/$(rlocated) + AM_CPPFLAGS = -DRLOCATE_DB=\"$(RLOCATE_DB)\" \ + -DRLOCATE_DB_TMP=\"$(RLOCATE_DB_TMP)\" \ +@@ -207,7 +207,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 + +@@ -704,17 +704,15 @@ + + install-exec-hook: + # if FREEBSD +-# -/usr/sbin/pw groupadd rlocate + # else +-# -/usr/sbin/groupadd rlocate + # endif + $(INSTALL) -d $(RLOCATE_DB_DIR) +- chown root:$(rlocate) $(DESTDIR)$(bindir)/$(rlocate) +- chown root:$(rlocate) $(RLOCATE_DB_DIR) ++ chown root:locate $(DESTDIR)$(bindir)/$(rlocate) ++ chown root:locate $(RLOCATE_DB_DIR) + chmod 2755 $(DESTDIR)$(bindir)/$(rlocate) + chmod 0750 $(RLOCATE_DB_DIR) +- -$(LN_S) -f $(DESTDIR)$(bindir)/$(rlocate) $(DESTDIR)$(bindir)/$(updatedb) +- -$(LN_S) -f $(DESTDIR)$(bindir)/$(rlocate) $(DESTDIR)$(bindir)/$(locate) ++ -$(LN_S) -f $(rlocate) $(DESTDIR)$(bindir)/$(updatedb) ++ -$(LN_S) -f $(rlocate) $(DESTDIR)$(bindir)/$(locate) + @CRON_TRUE@ $(mkinstalldirs) $(DESTDIR)/etc/cron.daily/ + @CRON_TRUE@ sed \ + @CRON_TRUE@ -e "s,@UPDATEDB@,$(bindir)/$(updatedb)," \ +--- rlocate-daemon/Makefile.in.orig 2005-12-19 18:20:09.000000000 -0500 ++++ rlocate-daemon/Makefile.in 2005-12-19 18:20:09.000000000 -0500 +@@ -168,7 +168,7 @@ + MODULE_CFG = $(RLOCATE_DB_DIR)/module.cfg + AM_CPPFLAGS = -DRLOCATE_DB=\"$(RLOCATE_DB)\" \ + -DMODULE_CFG=\"$(MODULE_CFG)\" \ +- -DRLOCATE_GRP=\"$(rlocate)\" ++ -DRLOCATE_GRP=\"locate\" + + rlocated_SOURCES = ../misc.h ../misc.c ../pidfile.h ../pidfile.c rlocated.c + AM_CFLAGS = -O2 -Wall +--- rlocate-scripts/Makefile.in.orig 2005-12-19 18:20:09.000000000 -0500 ++++ rlocate-scripts/Makefile.in 2005-12-19 18:20:09.000000000 -0500 +@@ -343,9 +343,7 @@ + rm $(srcdir)/rlocate-checkpoint.temp + + install-exec-hook: +-@FREEBSD_TRUE@ -/usr/sbin/pw groupadd $(rlocate) +-@FREEBSD_FALSE@ -/usr/sbin/groupadd $(rlocate) +- chown root:$(rlocate) $(DESTDIR)$(bindir)/rlocate-checkpoint ++ chown root:locate $(DESTDIR)$(bindir)/rlocate-checkpoint + chmod 2755 $(DESTDIR)$(bindir)/rlocate-checkpoint + + uninstall-hook: diff --git a/sys-apps/rlocate/files/rlocated.rc b/sys-apps/rlocate/files/rlocated.rc new file mode 100755 index 000000000000..4fccbc6ed53f --- /dev/null +++ b/sys-apps/rlocate/files/rlocated.rc @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/rlocate/files/rlocated.rc,v 1.1 2005/12/19 23:38:11 vapier Exp $ + +checkconfig() { + if [[ ! -e /proc/rlocate ]] ; then + modprobe rlocate || return 1 + fi + return 0 +} + +start() { + checkconfig || return 1 + ebegin "Starting rlocated" + rlocated + eend $? +} + +stop() { + ebegin "Stopping rlocated" + start-stop-daemon --stop --quiet --pidfile /var/run/rlocated.pid + eend $? +} diff --git a/sys-apps/rlocate/rlocate-0.3.3.ebuild b/sys-apps/rlocate/rlocate-0.3.3.ebuild new file mode 100644 index 000000000000..fad36c3e809d --- /dev/null +++ b/sys-apps/rlocate/rlocate-0.3.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/rlocate/rlocate-0.3.3.ebuild,v 1.1 2005/12/19 23:38:11 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}"/${P}-build.patch +} + +src_compile() { + econf --enable-sandboxed --with-kernel=${KV_DIR} || 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 +die +} |