From a7df4f4b1ac2d16e217f28316af7f151e5daf412 Mon Sep 17 00:00:00 2001 From: don Date: Mon, 21 Sep 2009 00:09:45 +0000 Subject: [PATCH] tweak unscd slightly --- debian/control | 8 +++++--- debian/rules | 9 +++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/debian/control b/debian/control index 2042d9f..d0779ae 100644 --- a/debian/control +++ b/debian/control @@ -1,8 +1,8 @@ Source: unscd Section: admin Priority: extra -Standards-Version: 3.8.0 -Build-Depends: debhelper (>= 4), groff-base +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 5), groff-base Maintainer: Don Armstrong Package: unscd @@ -11,6 +11,8 @@ Priority: extra Architecture: any Depends: ${shlibs:Depends} Conflicts: nscd +Replaces: nscd +Provides: nscd Homepage: http://busybox.net/~vda/unscd/ Description: Micro Name Service Caching Daemon A daemon which handles passwd, group and host lookups for running @@ -20,7 +22,7 @@ Description: Micro Name Service Caching Daemon . This particular NSCD is a complete rewrite of the GNU glibc nscd which is a single threaded server process which offloads all NSS - lookups to worker children; cache hits are handled by pthe parent, + lookups to worker children; cache hits are handled by the parent, and only cache misses start worker children, making the parent immune to resource leaks, hangs, and crashes in NSS libraries. . diff --git a/debian/rules b/debian/rules index 05ae363..56478ee 100755 --- a/debian/rules +++ b/debian/rules @@ -3,7 +3,7 @@ #DH_VERBOSE = 1 -PREFIX=$(shell pwd)/debian/nscd/usr +PREFIX=$(shell pwd)/debian/unscd/ CFLAGS = -Wall -g @@ -39,9 +39,10 @@ install: build dh_testroot dh_clean -k dh_installdirs - - $(INSTALL) -d $(PREFIX)/sbin/ - $(INSTALL) -t $(PREFIX)/sbin/ nscd + $(INSTALL) -d $(PREFIX)/usr/sbin/ + $(INSTALL) -t $(PREFIX)/usr/sbin/ nscd + $(INSTALL) -d $(PREFIX)/etc/ + $(INSTALL) -t $(PREFIX)/etc/ debian/nscd.conf binary-indep: -- 2.39.2