Alternative Name Service Caching Daemon
unscd caches application requests for resolving hostnames,
user and group names and other things, and can dramatically improve
performance e.g. when using NIS or LDAP or even when just caching
DNS requests.
This is an alternative to the glibc-supplied nscd that has been
designed to be much simpler and more robust.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:pbaudis/unscd && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
init.d | 0000003307 3.23 KB | |
nscd-0.36.c | 0000061905 60.5 KB | |
nscd.conf | 0000001291 1.26 KB | |
unscd.changes | 0000000437 437 Bytes | |
unscd.spec | 0000001779 1.74 KB |
Revision 8 (latest revision is 9)
Petr Baudis (pbaudis)
committed
(revision 8)
- Make the package conflict with nscd - The executable name is now nscd; network scripts call `nscd -i` - Fix linking to create a PIE --This line, and those below, will be ignored-- M init.d A unscd.changes M unscd.spec Diff for working copy: . Index: init.d =================================================================== --- init.d (revision 7) +++ init.d (working copy) @@ -31,7 +31,7 @@ # Source SuSE config . /etc/rc.status -NSCD_BIN=/usr/sbin/unscd +NSCD_BIN=/usr/sbin/nscd test -x $NSCD_BIN || { echo "$NSCD_BIN not installed"; if [ "$1" = "stop" ]; then exit 0; else exit 5; fi; } Index: unscd.spec =================================================================== --- unscd.spec (revision 7) +++ unscd.spec (working copy) @@ -4,10 +4,10 @@ Summary: Alternative Name Service Caching Daemon Group: System/Daemons License: GPL -Packager: Petr Baudis <pasky@suse.cz> URL: http://busybox.net/~vda/unscd/ BuildRoot: %_tmppath/%name-%version-%release-root-%(%__id_u -n) Provides: nscd +Conflicts: nscd Source0: nscd-%version.c Source1: init.d Source2: nscd.conf @@ -26,11 +26,10 @@ cp $RPM_SOURCE_DIR/nscd-%version.c . %build -CFLAGS="-Wall -Os" -cc $CFLAGS -o unscd nscd-%version.c +cc $RPM_OPT_FLAGS -fpie -pie -o unscd nscd-%version.c %install -install -m 0755 -D unscd $RPM_BUILD_ROOT/%_sbindir/unscd +install -m 0755 -D unscd $RPM_BUILD_ROOT/%_sbindir/nscd install -m 0644 -D $RPM_SOURCE_DIR/nscd.conf $RPM_BUILD_ROOT/etc/nscd.conf Index: unscd.changes =================================================================== --- unscd.changes (revision 7) +++ unscd.changes (working copy) @@ -1,0 +1,11 @@ +------------------------------------------------------------------- +Mon Jun 15 16:29:08 CEST 2009 - pbaudis@suse.cz + +- Make the package conflict with nscd +- The executable name is now nscd; network scripts call `nscd -i` +- Fix linking to create a PIE + +------------------------------------------------------------------- +Mon Jan 26 16:28:32 CEST 2009 - pbaudis@suse.cz + +- Initial package, slightly based on Jon Nelson's <jnelson@boa.org>
Comments 0