From: Don Armstrong Date: Sat, 28 Apr 2018 00:20:34 +0000 (-0700) Subject: Update upstream source from tag 'upstream/0.53' X-Git-Tag: debian/0.53-1~2 X-Git-Url: https://git.donarmstrong.com/?p=unscd.git;a=commitdiff_plain;h=2866357cf8b7106e16b39c7547fbdc24d6ecc9ec;hp=57fd22718b48d3a6c559b0f0e29bc1a1260b26bb Update upstream source from tag 'upstream/0.53' Update to upstream version '0.53' with Debian dir 8fbc6a5ea8ef29d75303089c0f8f71482f70f8fa --- diff --git a/debian/NEWS b/debian/NEWS new file mode 100644 index 0000000..90268cf --- /dev/null +++ b/debian/NEWS @@ -0,0 +1,9 @@ +unscd (0.47-2) unstable; urgency=low + + * NB: Because insserv is slightly broken (#606593), we cannot provide + nscd, as this would break installs which hadn't already purged nscd. + However, if you have init scripts which depend on nscd, feel free to + change Provides: unscd to Provides: unscd nscd after purging nscd. + + -- Don Armstrong Sun, 12 Dec 2010 20:30:10 -0800 + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..bf21cec --- /dev/null +++ b/debian/changelog @@ -0,0 +1,74 @@ +unscd (0.52-2) unstable; urgency=medium + + * Update standards version to 4.1.1, no changes. + * Add missing #!/bin/sh to postinst (Closes: #843283) + * Use compat level 10 + * Do not stop on upgrade, just restart after upgrade + * Do not always print debugging info upon invalidate. (Closes: #844447) + + -- Don Armstrong Thu, 26 Oct 2017 15:52:19 -0700 + +unscd (0.52-1) unstable; urgency=medium + + * New upstream release (Closes: #795618) + + [ Thanks to Chris Kuehl ] + * Add manpage for unscd and nscd (Closes: #789871) + * Add systemd unit file (Closes: #795621) + + -- Don Armstrong Thu, 03 Dec 2015 10:40:56 -0800 + +unscd (0.51-1) unstable; urgency=low + + * New upstream release + * Silence the cache invalidation output (Closes: #622230) + * Update to debhelper 9 + * Support at least INT_MAX numbers in config (Closes: #676689) + * Use saner settings in nscd.conf; thanks to Harald Dunkel (Closes: + #702211). + * Run unscd as the unscd user instead of root by default + + -- Don Armstrong Mon, 21 Oct 2013 17:02:22 -0700 + +unscd (0.49-1) unstable; urgency=low + + * New upstream release + + -- Don Armstrong Tue, 07 May 2013 11:54:45 -0700 + +unscd (0.48-2) unstable; urgency=low + + * Actually distribute the nscd binary and configuration file (Closes: + #657721) and locate a brown paper bag. + + -- Don Armstrong Sat, 28 Jan 2012 09:27:24 -0800 + +unscd (0.48-1) unstable; urgency=low + + * New upstream release + * Fix typo in nscd.conf (Closes: #656615) + * Add newline to nscd.conf (Closes: #656603) + * Switch to dh7 style rules file + * Update standards version; no changes + + -- Don Armstrong Sat, 21 Jan 2012 13:36:59 -0800 + +unscd (0.47-3) unstable; urgency=low + + * Only indicate that the cache is being invalidated when in debug mode + (Closes: #622230) + + -- Don Armstrong Mon, 30 May 2011 08:56:33 -0700 + +unscd (0.47-2) unstable; urgency=low + + * Remove the Provides: nscd as a workaround for (Closes: #606588) to + avoid issues due to #606593 in insserv. + + -- Don Armstrong Sun, 12 Dec 2010 20:32:11 -0800 + +unscd (0.47-1) unstable; urgency=low + + * Initial packaging for Debian (Closes: #513305) + + -- Don Armstrong Tue, 19 Oct 2010 22:21:13 -0700 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3a6f5d2 --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: unscd +Section: admin +Priority: optional +Standards-Version: 4.1.1 +Build-Depends: debhelper (>= 10), groff-base, help2man, dh-systemd +Maintainer: Don Armstrong +Vcs-Browser: https://git.donarmstrong.com/unscd.git +Vcs-Git: https://git.donarmstrong.com/unscd.git + + +Package: unscd +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base +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 + programs and caches the results for the next query. You only need + this package if you are using slow Name Services like LDAP, NIS or + NIS+. + . + 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 the parent, + and only cache misses start worker children, making the parent immune + to resource leaks, hangs, and crashes in NSS libraries. + . + It should mostly be a drop-in replacement for existing installs using + nscd. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a7615c7 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,8 @@ +Authors: Denys Vlasenko +Webpage: http://busybox.net/~vda/unscd/ +Download: http://busybox.net/~vda/unscd/ +Debianized: Don Armstrong Tuesday, January 27, 2009 16:58:55 PST + +Copyright: Copyright (C) 2007 Denys Vlasenko. Licensed under the GPL version 2. + +License: GPL version 2, available at /usr/share/common-licenses/GPL-2 diff --git a/debian/help2man b/debian/help2man new file mode 100644 index 0000000..c5208a0 --- /dev/null +++ b/debian/help2man @@ -0,0 +1,3 @@ +[authors] +.B unscd +was written primarily by Denys Vlasenko. \ No newline at end of file diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 0000000..1cc6819 --- /dev/null +++ b/debian/manpages @@ -0,0 +1,2 @@ +debian/unscd.man +debian/nscd.man diff --git a/debian/nscd.8 b/debian/nscd.8 new file mode 100644 index 0000000..dd91f04 --- /dev/null +++ b/debian/nscd.8 @@ -0,0 +1,31 @@ +.TH NSCD "8" "October 2010" "unscd - nscd which does not hang" "User Commands" +.SH NAME +unscd \- nscd which does not hang +.SH SYNOPSIS +.B nscd +[\fIOPTION\fR...] +.SH DESCRIPTION +Name Service Cache Daemon +.TP +\fB\-d\fR,\-\-debug +Do not daemonize; log to stderr +.HP +\fB\-f\fR,\-\-config\-file File to read configuration from +.TP +\fB\-i\fR,\-\-invalidate +Invalidate cache +.TP +\fB\-K\fR,\-\-shutdown +Shut the server down +.TP +\fB\-t\fR,\-\-nthreads +Serve N requests in parallel +.TP +\fB\-V\fR,\-\-version +Version +.SH FILES +.B /etc/nscd.conf +.SH AUTHOR +unscd is written by Denys Vlasenko and is licensed under the GPL version 2. +.TP +This manpage was written by Don Armstrong with help from help2man and is licensed under the same terms as unscd. diff --git a/debian/nscd.conf b/debian/nscd.conf new file mode 100644 index 0000000..fe77d05 --- /dev/null +++ b/debian/nscd.conf @@ -0,0 +1,65 @@ +# This file is currently taken verbatim from the version distributed +# with GNU glibc's nscd with unused configurations removed +# +# /etc/nscd.conf +# +# An example Name Service Cache config file. This file is needed by nscd. +# +# Legal entries are: +# +# logfile +# debug-level +# threads +# max-threads +# server-user +# server-user is ignored if nscd is started with -S parameters +# stat-user (ignored; any user can stat) +# reload-count (ignored; unscd should never crash) +# paranoia (ignored) +# restart-interval (ignored; unscd should never crash) +# +# enable-cache +# positive-time-to-live