summaryrefslogtreecommitdiff
path: root/sys-libs/unscd
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2009-09-26 14:23:24 +0000
committerrandomdan <randomdan@localhost>2009-09-26 14:23:24 +0000
commit683d56e00692fb9f71cd7c487e3d2b350b6d5eb7 (patch)
tree9360f57ac0f1048804d55155c6c246c6c0cacb0a /sys-libs/unscd
parentsufficiently new build now in gentoo (diff)
downloadportage-683d56e00692fb9f71cd7c487e3d2b350b6d5eb7.tar.bz2
portage-683d56e00692fb9f71cd7c487e3d2b350b6d5eb7.tar.xz
portage-683d56e00692fb9f71cd7c487e3d2b350b6d5eb7.zip
Remove stuff nolonger required or superceeded
Diffstat (limited to 'sys-libs/unscd')
-rw-r--r--sys-libs/unscd/Manifest5
-rw-r--r--sys-libs/unscd/files/patch-pid_file_location.diff11
-rw-r--r--sys-libs/unscd/files/unscd-1.init67
-rw-r--r--sys-libs/unscd/files/unscd.init67
-rw-r--r--sys-libs/unscd/unscd-0.34.ebuild34
5 files changed, 0 insertions, 184 deletions
diff --git a/sys-libs/unscd/Manifest b/sys-libs/unscd/Manifest
deleted file mode 100644
index a6b866f..0000000
--- a/sys-libs/unscd/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX patch-pid_file_location.diff 389 RMD160 abd1f630a58d621a83b318b3335b8b363b02b264 SHA1 9cf9e67064a0a4f7268e71cfc3dab2e1527aee92 SHA256 f3c00a004cd94be3c4e7e7fc4691fb6b58fed6d574d90aa187dc0fa870763c95
-AUX unscd-1.init 1509 RMD160 2ee3173ee1b6215c4fa44bdbcfdf22d84f8ddc85 SHA1 530a3e8f58704af5e1af6063452abb873502e3d9 SHA256 f673e56eea5903d2274d90579ebdfbaa9c0c1935cea2a7585e5e3da339ded5df
-AUX unscd.init 1509 RMD160 ecef57672bbdf24da8290d56cd81eb93ee09404e SHA1 08f8bab79006870271c2275992d31a90182d20f2 SHA256 446d8e687b3e693d2aff1f944c30901fb0f55c62c4bc70e5e387537518885e03
-DIST nscd-0.34.c 58301 RMD160 9e688700d1a0796251d683e7f2d029de711c2054 SHA1 84ff1724433be11ee0be3777641004aa1d8eb56f SHA256 84c74fec159103ec26732ef20a8e4faa3a28f12e122e56fa61604f5c1c61cc46
-EBUILD unscd-0.34.ebuild 979 RMD160 2e58dad4f6d23b0dcc290068a6ee0f488fc2d577 SHA1 897529f9084aaea921dacb16490243279d6c219e SHA256 32c1de460cee91040d8e2bd94dcf862c6ab4fb43171c142104d3e8a4b86d8e76
diff --git a/sys-libs/unscd/files/patch-pid_file_location.diff b/sys-libs/unscd/files/patch-pid_file_location.diff
deleted file mode 100644
index 38e9310..0000000
--- a/sys-libs/unscd/files/patch-pid_file_location.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/unscd.c.org 2008-10-03 02:37:41.648628473 +0200
-+++ src/unscd.c 2008-10-03 02:42:55.881093205 +0200
-@@ -1776,7 +1776,7 @@
- ** Initialization
- */
-
--#define NSCD_PIDFILE "/var/run/nscd.pid"
-+#define NSCD_PIDFILE "/var/run/nscd/unscd.pid"
- #define NSCD_DIR "/var/run/nscd"
- #define NSCD_SOCKET "/var/run/nscd/socket"
- #define NSCD_SOCKET_OLD "/var/run/.nscd_socket"
diff --git a/sys-libs/unscd/files/unscd-1.init b/sys-libs/unscd/files/unscd-1.init
deleted file mode 100644
index 3802a3c..0000000
--- a/sys-libs/unscd/files/unscd-1.init
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/sbin/runscript
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- use dns ldap net slapd
- provide nscd
-}
-
-get_pidfile() {
- strings /usr/sbin/unscd | grep -F nscd.pid
-}
-
-checkconfig() {
- if [ ! -d /var/run/nscd ] ; then
- mkdir -p /var/run/nscd
- chmod 755 /var/run/nscd
- fi
- if [ -z "${UNSCD_PERMS_OK}" ] && [ "$(stat -c %a /var/run/nscd)" != "755" ] ; then
- echo ""
- ewarn "nscd run dir is not world writeable, you should reset the perms:"
- ewarn "chmod 755 /var/run/nscd"
- ewarn "chmod a+rw /var/run/nscd/socket"
- ewarn "chmod a+rw /var/run/.nscd_socket"
- echo ""
- ewarn "To disable this warning, set 'UNSCD_PERMS_OK' in /etc/conf.d/unscd"
- echo ""
- fi
-}
-
-start() {
- checkconfig
-
- ebegin "Starting Simplyfied Name Service Cache Daemon"
- local secure=`while read curline ; do
- table=${curline%:*}
- entries=${curline##$table:}
- table=${table%%[^a-z]*}
- case $table in
- passwd*|group*|hosts)
- for entry in $entries ; do
- case $entry in
- nisplus*)
- /usr/sbin/nscd_nischeck $table || \
- echo "-S $table,yes"
- ;;
- esac
- done
- ;;
- esac
- done < /etc/nsswitch.conf`
- local pidfile=$(get_pidfile)
- mkdir -p "$(dirname ${pidfile})"
- start-stop-daemon --start --quiet \
- --exec /usr/sbin/unscd --pidfile ${pidfile} \
- -- $secure
- eend $?
-}
-
-stop() {
- local pidfile=$(get_pidfile)
- ebegin "Shutting down Simplyfied Name Service Cache Daemon"
- start-stop-daemon --stop --quiet \
- --exec /usr/sbin/unscd --pidfile ${pidfile}
- eend $?
-}
-
-# vim:ts=4
diff --git a/sys-libs/unscd/files/unscd.init b/sys-libs/unscd/files/unscd.init
deleted file mode 100644
index c8300c6..0000000
--- a/sys-libs/unscd/files/unscd.init
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/sbin/runscript
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- use dns ldap net slapd
- provide nscd
-}
-
-get_pidfile() {
- strings /usr/sbin/unscd | grep -F nscd.pid
-}
-
-checkconfig() {
- if [ ! -d /var/run/nscd ] ; then
- mkdir -p /var/run/nscd
- chmod 755 /var/run/nscd
- fi
- if [ -z "${UNSCD_PERMS_OK}" ] && [ "$(stat -c %a /var/run/nscd)" != "777" ] ; then
- echo ""
- ewarn "nscd run dir is not world writeable, you should reset the perms:"
- ewarn "chmod 777 /var/run/nscd"
- ewarn "chmod a+rw /var/run/nscd/socket"
- ewarn "chmod a+rw /var/run/.nscd_socket"
- echo ""
- ewarn "To disable this warning, set 'UNSCD_PERMS_OK' in /etc/conf.d/unscd"
- echo ""
- fi
-}
-
-start() {
- checkconfig
-
- ebegin "Starting Simplyfied Name Service Cache Daemon"
- local secure=`while read curline ; do
- table=${curline%:*}
- entries=${curline##$table:}
- table=${table%%[^a-z]*}
- case $table in
- passwd*|group*|hosts)
- for entry in $entries ; do
- case $entry in
- nisplus*)
- /usr/sbin/nscd_nischeck $table || \
- echo "-S $table,yes"
- ;;
- esac
- done
- ;;
- esac
- done < /etc/nsswitch.conf`
- local pidfile=$(get_pidfile)
- mkdir -p "$(dirname ${pidfile})"
- start-stop-daemon --start --quiet \
- --exec /usr/sbin/unscd --pidfile ${pidfile} \
- -- $secure
- eend $?
-}
-
-stop() {
- local pidfile=$(get_pidfile)
- ebegin "Shutting down Simplyfied Name Service Cache Daemon"
- start-stop-daemon --stop --quiet \
- --exec /usr/sbin/unscd --pidfile ${pidfile}
- eend $?
-}
-
-# vim:ts=4
diff --git a/sys-libs/unscd/unscd-0.34.ebuild b/sys-libs/unscd/unscd-0.34.ebuild
deleted file mode 100644
index 6584b63..0000000
--- a/sys-libs/unscd/unscd-0.34.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvs/lportage/sys-libs/unscd/unscd-0.34.ebuild,v 1.1 2008-10-27 11:06:18 dan.goodliffe Exp $
-inherit eutils
-
-DESCRIPTION="Drop-in replacement for glibc nscd designed for simplicity and stability"
-HOMEPAGE="http://busybox.net/~vda/unscd/"
-SRC_URI="http://busybox.net/~vda/unscd/nscd-${PV}.c"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-src_unpack() {
- mkdir "${WORKDIR}/src" "${WORKDIR}/rc" || die "preparation failed"
- cp "${DISTDIR}/${A}" "${WORKDIR}/src/unscd.c" || die "preparation failed"
- cp "${FILESDIR}/unscd-1.init" "${WORKDIR}/rc/unscd" || die "preparation failed"
-}
-
-src_compile() {
- emake src/unscd || die "emake failed"
- chmod 0755 rc/unscd || die "rc script failed"
-}
-
-src_install() {
- exeinto /usr/sbin
- doexe src/unscd || die "install failed"
- exeinto /etc/init.d
- doexe rc/unscd || die "install failed"
-}