Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=e4bfd7d0549447818cf9df5ad1f4c6483616c41f
commit e4bfd7d0549447818cf9df5ad1f4c6483616c41f Author: James Buren <[email protected]> Date: Mon Jun 4 05:34:07 2012 -0500 rlocate-0.5.6-15-x86_64 * remove package diff --git a/source/apps-extra/rlocate/FrugalBuild b/source/apps-extra/rlocate/FrugalBuild deleted file mode 100644 index fb04cf8..0000000 --- a/source/apps-extra/rlocate/FrugalBuild +++ /dev/null @@ -1,56 +0,0 @@ -# Compiling Time: 0.07 SBU -# Maintainer: crazy <[email protected]> - -pkgname=rlocate -pkgver=0.5.6 -pkgrel=15 -pkgdesc="rlocate is an implementation of the locate command" -_F_kernelmod_scriptlet=$pkgname.install -Finclude kernel-module -depends=(${depends[@]} 'glibc' 'util-linux' 'psmisc') -options=('scriptlet' 'nofakeroot') -conflicts=('slocate') -provides=('slocate') -backup=('etc/updatedb.conf') -groups=('apps-extra') -archs=('i686' 'x86_64') -Finclude sourceforge -source=(${source[@]} updatedb.conf rc.rlocated rc.rlocated-{hu,de}.po rlocate fw-do_not_add_the_group_auto.diff) -sha1sums=('b7e2b9a56bb47debabe8bdd5edbaed31f718a145' \ - '7998e93a3c33e72e24ff3dfaeeb56d4091ade716' \ - '2534d42d7a6bcec01358e92606f905915bf92679' \ - '84a116c81fcd6eae56d7315e0fba85b237a721af' \ - '5b7d4deeba4831390e7de66a1cc5004fd1ea88cc' \ - '4f469461d8ea24a1d33ec1913cbc00f1ab0383f1' \ - '1c8dc977a76e2eccaa9076578c3a67a53cc5e46c') -# it conflicts with kernel-2.6.24, maybe they'll convert to redirfs then we can -# remove nobuild again -options=('nobuild') - - -## NOTE: rlocate _CANNOT_ be built as a user -## and yes I know this looks somewhat crazy but if we don't do so we have to : -## 1) hack all Makeiles 2). add lots of Fmkdir and chmod / chown's to the build - -build() -{ - # no Fcheckkernel, crosscompilation verified - if ! grep -q 'rlocate' /etc/group; then - /usr/sbin/groupadd -g 36 rlocate || Fdie - myuser=1 - fi - Fpatchall - NOCONFIGURE=1 ./autogen.sh || Fdie - Fmake --with-rlocate-group=rlocate --enable-updates - Fmakeinstall - Ffilerel ../updatedb.conf /etc/updatedb.conf - Finstallrel 0755 ../rlocate /etc/cron.daily/rlocate - Frcd2 rlocated - if [ "$myuser" ]; then - /usr/sbin/groupdel rlocate || Fdie - fi - Fbuild_kernelmod_scriptlet -} - -# optimization OK - diff --git a/source/apps-extra/rlocate/fw-do_not_add_the_group_auto.diff b/source/apps-extra/rlocate/fw-do_not_add_the_group_auto.diff deleted file mode 100644 index c480a31..0000000 --- a/source/apps-extra/rlocate/fw-do_not_add_the_group_auto.diff +++ /dev/null @@ -1,52 +0,0 @@ -diff -Naur rlocate-0.5.1/src/rlocate-module/Makefile.am rlocate-0.5.1-p/src/rlocate-module/Makefile.am ---- rlocate-0.5.1/src/rlocate-module/Makefile.am 2006-04-21 10:01:06.000000000 +0200 -+++ rlocate-0.5.1-p/src/rlocate-module/Makefile.am 2006-04-21 15:18:35.000000000 +0200 -@@ -63,7 +63,6 @@ - if SANDBOXED - else - install-data-local: install-moduleDATA -- -@depmod@ -a - endif - - CLEANFILES = $(module_DATA) .*.cmd $(module_DATA:.o=.mod.c) $(module_DATA:.o=.@kernelext@) *~ -diff -Naur rlocate-0.5.1/src/rlocate-module/Makefile.in rlocate-0.5.1-p/src/rlocate-module/Makefile.in ---- rlocate-0.5.1/src/rlocate-module/Makefile.in 2006-04-21 10:01:13.000000000 +0200 -+++ rlocate-0.5.1-p/src/rlocate-module/Makefile.in 2006-04-21 15:19:09.000000000 +0200 -@@ -448,7 +448,7 @@ - -test -c $(DESTDIR)$(devdir)/rlocate && $(RM) $(DESTDIR)$(devdir)/rlocate - - @SANDBOXED_FALSE@install-data-local: install-moduleDATA --@SANDBOXED_FALSE@ -@depmod@ -a -+@SANDBOXED_FALSE@ - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: -diff -Naur rlocate-0.5.1/src/rlocate-scripts/Makefile.am rlocate-0.5.1-p/src/rlocate-scripts/Makefile.am ---- rlocate-0.5.1/src/rlocate-scripts/Makefile.am 2006-04-21 10:01:06.000000000 +0200 -+++ rlocate-0.5.1-p/src/rlocate-scripts/Makefile.am 2006-04-21 15:17:34.000000000 +0200 -@@ -18,9 +18,7 @@ - rm $(srcdir)/rlocate-checkpoint.temp - - install-exec-hook: -- -/usr/sbin/groupadd $(rlocate_group) - chown $(root_uid):$(rlocate_group) $(DESTDIR)$(bindir)/rlocate-checkpoint - chmod 2755 $(DESTDIR)$(bindir)/rlocate-checkpoint - - uninstall-hook: -- -/usr/sbin/groupdel $(rlocate_group) -diff -Naur rlocate-0.5.1/src/rlocate-scripts/Makefile.in rlocate-0.5.1-p/src/rlocate-scripts/Makefile.in ---- rlocate-0.5.1/src/rlocate-scripts/Makefile.in 2006-04-21 10:01:13.000000000 +0200 -+++ rlocate-0.5.1-p/src/rlocate-scripts/Makefile.in 2006-04-21 15:17:21.000000000 +0200 -@@ -343,12 +343,10 @@ - rm $(srcdir)/rlocate-checkpoint.temp - - install-exec-hook: -- -/usr/sbin/groupadd $(rlocate_group) - chown $(root_uid):$(rlocate_group) $(DESTDIR)$(bindir)/rlocate-checkpoint - chmod 2755 $(DESTDIR)$(bindir)/rlocate-checkpoint - - uninstall-hook: -- -/usr/sbin/groupdel $(rlocate_group) - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: diff --git a/source/apps-extra/rlocate/rc.rlocated b/source/apps-extra/rlocate/rc.rlocated deleted file mode 100644 index 405e701..0000000 --- a/source/apps-extra/rlocate/rc.rlocated +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -# (c) 2006 Gabrile Craciunescu <[email protected]> -# rc.rlocated for FrugalWare -# distributed under GPL License - -# chkconfig: 345 95 10 -# description: Starts or stops the rlocate daemon - -source /lib/initscripts/functions -TEXTDOMAIN=rlocate - -actions=(restart start stop status) -daemon=$"rlocate daemon" - -pid="pidof rlocated 2> /dev/null" - -rc_start() { - start_msg - if [[ "$(eval $pid)" == "" ]] ; then - /sbin/modprobe rlocate - /usr/sbin/rlocated - ok $? - else - ok 999 - fi -} - -rc_stop() { - stop_msg - if [[ "$(eval $pid)" != "" ]] ; then - killall rlocated - /sbin/modprobe -r rlocate - ok $? - else - ok 999 - fi -} - -rc_exec $1 diff --git a/source/apps-extra/rlocate/rc.rlocated-de.po b/source/apps-extra/rlocate/rc.rlocated-de.po deleted file mode 100644 index dd2452d..0000000 --- a/source/apps-extra/rlocate/rc.rlocated-de.po +++ /dev/null @@ -1,22 +0,0 @@ -# German translations for rlocate package -# German messages for rlocate. -# Copyright (C) 2006 THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# <[email protected]>, 2006. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-03-24 21:57+0100\n" -"PO-Revision-Date: 2006-03-24 21:58+0100\n" -"Last-Translator: <[email protected]>\n" -"Language-Team: German <[email protected]>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-1\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: rc.rlocated:15 -msgid "rlocate daemon" -msgstr "" diff --git a/source/apps-extra/rlocate/rc.rlocated-hu.po b/source/apps-extra/rlocate/rc.rlocated-hu.po deleted file mode 100644 index aa7011b..0000000 --- a/source/apps-extra/rlocate/rc.rlocated-hu.po +++ /dev/null @@ -1,21 +0,0 @@ -# Hungarian translations for PACKAGE package. -# Copyright (C) 2006 THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# <[email protected]>, 2006. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-03-24 21:57+0100\n" -"PO-Revision-Date: 2006-03-24 22:02+0100\n" -"Last-Translator: <[email protected]>\n" -"Language-Team: Hungarian <[email protected]>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-2\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: rc.rlocated:15 -msgid "rlocate daemon" -msgstr "" diff --git a/source/apps-extra/rlocate/rc.rlocated.pot b/source/apps-extra/rlocate/rc.rlocated.pot deleted file mode 100644 index 0ea798f..0000000 --- a/source/apps-extra/rlocate/rc.rlocated.pot +++ /dev/null @@ -1,21 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-03-24 21:57+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <[email protected]>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#: rc.rlocated:15 -msgid "rlocate daemon" -msgstr "" diff --git a/source/apps-extra/rlocate/rlocate b/source/apps-extra/rlocate/rlocate deleted file mode 100644 index 2cc10e2..0000000 --- a/source/apps-extra/rlocate/rlocate +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -if [ -x /usr/bin/updatedb ]; then - if [ -f /etc/updatedb.conf ]; then - /usr/bin/updatedb - else - /usr/bin/updatedb -f proc - fi -fi diff --git a/source/apps-extra/rlocate/rlocate.install b/source/apps-extra/rlocate/rlocate.install deleted file mode 100644 index ddb6bd2..0000000 --- a/source/apps-extra/rlocate/rlocate.install +++ /dev/null @@ -1,100 +0,0 @@ - -post_install() -{ - ## add the group if not there - if ! grep -q 'rlocate' /etc/group; then - /usr/sbin/groupadd -g 36 rlocate &>/dev/null - fi - - ## now the funny part :) we conflict with capability modules - ## is loaded ? - ## a good idea is to add this to the rc.rlocated too - if grep -q 'capability' /proc/modules; then - echo -n "WARNING: capability module detected, removing.." - /sbin/modprobe -r capability - ## mabye this one is ok too ? :S dunno - /sbin/modprobe commoncap - echo "done." - fi - ## remove from autoload if there - if grep -q 'capability' /etc/sysconfig/modules; then - echo -n "WARNING: capability module detected in /etc/sysconfig/modules, removing..." - cat /etc/sysconfig/modules|grep -v 'capability' >>/tmp/modules.tmp - mv /tmp/modules.tmp /etc/sysconfig/modules - echo "done." - fi - /sbin/depmod -a $_F_kernelmod_uname - ## for chroot this is not needed - if [ -e /usr/sbin/chkconfig ] && [ -x /usr/sbin/chkconfig ]; then - chkconfig --add rc.rlocated - fi - ## start it by default on a new install :) - /usr/sbin/rlocated - /sbin/modprobe rlocate - ## use for testing _DO_NOT_ENABLE_THIS_FOR_THE_REPOS_ - #echo -n "Creating the default DB, this can take some time. Please wait..." - # /usr/bin/updatedb -v -c - #echo "done." - -} - - -post_upgrade() -{ - - ## add the group if not there - if ! grep -q 'rlocate' /etc/group; then - /usr/sbin/groupadd -g 36 rlocate &>/dev/null - fi - - if grep -q 'capability' /proc/modules; then - echo -n "WARNING: capability module detected, removing.." - /sbin/modprobe -r capability - ## mabye this one is ok too ? :S dunno - /sbin/modprobe commoncap - echo "done." - fi - ## remove from autoload if there - if grep -q 'capability' /etc/sysconfig/modules; then - echo -n "WARNING: capability module detected in /etc/sysconfig/modules, removing..." - cat /etc/sysconfig/modules|grep -v 'capability' >>/tmp/modules.tmp - mv /tmp/modules.tmp /etc/sysconfig/modules - echo "done." - fi - ## who knows ? - /sbin/depmod -a $_F_kernelmod_uname - - - -} -pre_remove() -{ - ## mabye already removed ? - if grep -q 'rlocate' /etc/group; then - /usr/sbin/groupdel rlocate &>/dev/null - fi - if [ -e /usr/sbin/chkconfig ] && [ -x /usr/sbin/chkconfig ]; then - chkconfig --del rc.rlocated - fi -} - -post_remove() -{ - - ## well remove rlocate module , add this capability back and kill the daemon - ## sysvinit is a bit stupid with that -.- - killall rlocated - /sbin/modprobe -r rlocate - if ! grep -q 'capability' /etc/sysconfig/modules; then - echo -n "adding capability module back to /etc/sysconfig/modules..." - echo "capability" >>/etc/sysconfig/modules - /sbin/modprobe capability - echo "done." - fi - -} - -op=$1 -shift - -$op $* diff --git a/source/apps-extra/rlocate/updatedb.conf b/source/apps-extra/rlocate/updatedb.conf deleted file mode 100644 index ed352bd..0000000 --- a/source/apps-extra/rlocate/updatedb.conf +++ /dev/null @@ -1,6 +0,0 @@ -# /etc/updatedb.conf: rlocate configuration file - -PRUNEFS="devpts NFS nfs afs proc smbfs autofs iso9660 udf" -PRUNEPATHS="/tmp /usr/tmp /var/tmp /afs /net" -export PRUNEFS -export PRUNEPATHS _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
