mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
sys-apps/unscd: drop old <0.52 versions
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST nscd-0.51.c 73007 SHA256 c915df72749c3fa89baa81291f40bd529512d28d484a75bcb9f8de053f9884ff SHA512 e506eca97f430191507bf41e7c9a696354bfaf14eb754467d007273931e47cef323f1ddbeffb48579c9a9a393a0256bd925576f3c88f9596879dd376b67c95fb WHIRLPOOL 9006c68a1154cd76e85b7177dd5cca301dfd3e95654f9cc6beb1a6ca4623c097b12163a135462355363bf72ef973478590380e2631b2340aed827c955ec34ac8
|
||||
DIST nscd-0.52.c 73144 SHA256 4c1f83dcd120469fceef749050cb29fa666fa4666bd308dfe92e933a4c200d55 SHA512 ba48410309fced9b8d9f929c52b39ca9a8caaf451fe73742bde7d4a4ab9980bc0f353551e19c846e96d6cb8a71e3c5edc7ddddf76cce0613282f0d01fde0612f WHIRLPOOL d98e305ee99da16e50dc379991fa3083f9608cb4ae9fbd50f03f50c0ae3d2eae8dc352fdc7fa690e47b36edd7b9c8c7cb029bd69c579d07310481b742634f0cd
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
depend() {
|
||||
use dns ldap net slapd
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -d /var/run/nscd ] ; then
|
||||
mkdir -p /var/run/nscd
|
||||
chmod 755 /var/run/nscd
|
||||
fi
|
||||
if [ -z "${NSCD_PERMS_OK}" ] && [ "$(stat -c %a /var/run/nscd)" != "755" ] ; then
|
||||
echo ""
|
||||
ewarn "nscd run dir is not world readable, you should reset the perms:"
|
||||
ewarn "chmod 755 /var/run/nscd"
|
||||
ewarn "chmod a+rw /var/run/nscd/socket"
|
||||
echo ""
|
||||
ewarn "To disable this warning, set 'NSCD_PERMS_OK=1' in /etc/conf.d/unscd"
|
||||
echo ""
|
||||
fi
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig
|
||||
|
||||
ebegin "Starting Name Service Cache Daemon (unscd)"
|
||||
start-stop-daemon --start --quiet \
|
||||
--exec /usr/sbin/unscd --pidfile /var/run/nscd/nscd.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Shutting down Name Service Cache Daemon (unscd)"
|
||||
start-stop-daemon --stop --quiet \
|
||||
--exec /usr/sbin/unscd --pidfile /var/run/nscd/nscd.pid
|
||||
eend $?
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="simple & stable nscd replacement"
|
||||
HOMEPAGE="http://busybox.net/~vda/unscd/README"
|
||||
SRC_URI="http://busybox.net/~vda/unscd/nscd-${PV}.c"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-libs/glibc[nscd(+)]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}"/nscd-${PV}.c unscd.c || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake unscd
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newinitd "${FILESDIR}"/unscd.initd unscd
|
||||
dosbin unscd
|
||||
}
|
||||
Reference in New Issue
Block a user