diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-09-16 05:27:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-09-16 05:27:11 +0000 |
commit | 00f63e76cb603ef174bd2159c30f4f3f78be4d1f (patch) | |
tree | 9154874365fb2e6bb7ce40f909debbaf1c3d93ce /sys-apps | |
parent | New Firefox release 1.5.0.7: fixes several security vunurabilities listed at ... (diff) | |
download | gentoo-2-00f63e76cb603ef174bd2159c30f4f3f78be4d1f.tar.gz gentoo-2-00f63e76cb603ef174bd2159c30f4f3f78be4d1f.tar.bz2 gentoo-2-00f63e76cb603ef174bd2159c30f4f3f78be4d1f.zip |
old
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/rlocate/files/digest-rlocate-0.5.0-r1 | 3 | ||||
-rw-r--r-- | sys-apps/rlocate/files/rlocate-0.5.0-build.patch | 36 | ||||
-rw-r--r-- | sys-apps/rlocate/files/rlocate-0.5.0-settings.patch | 26 | ||||
-rw-r--r-- | sys-apps/rlocate/rlocate-0.5.0-r1.ebuild | 49 |
4 files changed, 0 insertions, 114 deletions
diff --git a/sys-apps/rlocate/files/digest-rlocate-0.5.0-r1 b/sys-apps/rlocate/files/digest-rlocate-0.5.0-r1 deleted file mode 100644 index 49fd85a59b60..000000000000 --- a/sys-apps/rlocate/files/digest-rlocate-0.5.0-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 4e27e57d315c908f5dd67104f0c40a2d rlocate-0.5.0.tar.gz 178201 -RMD160 5cffda20db76de7d6bd7c362c8aa9aa992639ea4 rlocate-0.5.0.tar.gz 178201 -SHA256 ea003868f59111932c85fa1d560fa2d315b16f0e5c2db2ffab4846c3f0c640b5 rlocate-0.5.0.tar.gz 178201 diff --git a/sys-apps/rlocate/files/rlocate-0.5.0-build.patch b/sys-apps/rlocate/files/rlocate-0.5.0-build.patch deleted file mode 100644 index a948bd114f78..000000000000 --- a/sys-apps/rlocate/files/rlocate-0.5.0-build.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- src/Makefile.in -+++ src/Makefile.in -@@ -192,9 +192,9 @@ - rlocate.h rlocate.c cmds.c cmds.h conf.c conf.h utils.c \ - utils.h - --SUBDIRS = rlocate-daemon rlocate-module rlocate-scripts -+SUBDIRS = rlocate-daemon rlocate-scripts - EXTRA_DIST = rlocate.cron rlocate-scripts --AM_CFLAGS = -O2 -Wall -+AM_CFLAGS = -Wall - all: all-recursive - - .SUFFIXES: ---- src/rlocate-daemon/Makefile.in -+++ src/rlocate-daemon/Makefile.in -@@ -171,7 +171,7 @@ - -DRLOCATE_GRP=\"$(rlocate_group)\" - - rlocated_SOURCES = ../pidfile.h ../pidfile.c rlocated.c --AM_CFLAGS = -O2 -Wall -+AM_CFLAGS = -Wall - all: all-am - - .SUFFIXES: ---- src/rlocate-scripts/Makefile.in -+++ src/rlocate-scripts/Makefile.in -@@ -345,8 +345,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_uid):$(rlocate_group) $(DESTDIR)$(bindir)/rlocate-checkpoint - chmod 2755 $(DESTDIR)$(bindir)/rlocate-checkpoint - diff --git a/sys-apps/rlocate/files/rlocate-0.5.0-settings.patch b/sys-apps/rlocate/files/rlocate-0.5.0-settings.patch deleted file mode 100644 index e9ff4d8679c6..000000000000 --- a/sys-apps/rlocate/files/rlocate-0.5.0-settings.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- src/slocate.h -+++ src/slocate.h -@@ -35,20 +35,11 @@ - #define MTAB_FILE "/etc/mtab" - #define UPDATEDB_FILE "/etc/updatedb.conf" - --/* More fitting paths for FreeBSD -matt */ --#if defined(__FreeBSD__) --# define DEFAULT_DB "/var/db/slocate/slocate.db" --# define DEFAULT_DB_DIR "/var/db/slocate/" --#elif defined(__SunOS__) --# define DEFAULT_DB "/var/db/slocate/slocate.db" --# define DEFAULT_DB_DIR "/var/db/slocate/" --#else --# define DEFAULT_DB "/usr/local/var/rlocate/rlocate.db" --# define DEFAULT_DB_DIR "/usr/local/var/rlocate/" --#endif -+#define DEFAULT_DB "/var/lib/rlocate/rlocate.db" -+#define DEFAULT_DB_DIR "/var/lib/rlocate/" - - #define DB_UID 0 --#define DB_GROUP "rlocate" -+#define DB_GROUP "locate" - #define DB_MODE 00640 - - #define SLOC_ESC -0x80 diff --git a/sys-apps/rlocate/rlocate-0.5.0-r1.ebuild b/sys-apps/rlocate/rlocate-0.5.0-r1.ebuild deleted file mode 100644 index 2d5dcf49afbc..000000000000 --- a/sys-apps/rlocate/rlocate-0.5.0-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# 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.5.0-r1.ebuild,v 1.2 2006/04/16 01:51:32 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}/src/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.5.0-build.patch - epatch "${FILESDIR}"/${PN}-0.5.0-settings.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 -} |