debian/0000755000000000000000000000000011715066552007176 5ustar debian/rules0000755000000000000000000000126611715053004010247 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_build: $(MAKE) build_$(ARCH) override_dh_install: $(MAKE) install_$(ARCH) DESTDIR=debian/libnss-cache/ override_dh_auto_test: # Set our architecture here so we can build the 64bit libs ARCH="`dpkg-architecture -qDEB_HOST_ARCH`" debian/install0000644000000000000000000000006411715053004010553 0ustar usr/lib/libnss_cache.so* usr/lib32/libnss_cache.so* debian/source/0000755000000000000000000000000011715053004010462 5ustar debian/source/format0000644000000000000000000000001411715053004011670 0ustar 3.0 (quilt) debian/lintian-overrides0000644000000000000000000000015411715053004012543 0ustar # This shared library is only for NSS. libnss-cache binary: package-name-doesnt-match-sonames libnss-cache2 debian/dirs0000644000000000000000000000001011715053004010035 0ustar usr/lib debian/compat0000644000000000000000000000000211715053004010360 0ustar 7 debian/control0000644000000000000000000000134411715053004010567 0ustar Source: libnss-cache Section: admin Priority: optional Maintainer: Jamie Wilkinson Build-Depends: debhelper (>= 7.0.50), libc6-dev-i386 [amd64], libc6-dev-amd64 [i386], gcc-multilib | lib32gcc1 [amd64] | lib64gcc1 [i386] Standards-Version: 3.8.4 Homepage: http://code.google.com/p/nsscache Package: libnss-cache # TODO(jaq): The makefile only supports these two arch's, and needs updating. Architecture: i386 amd64 Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: nsscache Description: NSS module for using nsscache-generated files This package provides a Name Service Switch module that uses .cache files as a name service. This means providing user account information, group ids, netgroups, and automounts. debian/copyright0000644000000000000000000000173611715053004011124 0ustar This package was debianized by Jamie Wilkinson on Mon, 15 Aug 2011 14:49:23 +1100. Copyright: Copyright 2007-2011 Google, Inc. License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/watch0000644000000000000000000000014011715065465010224 0ustar version=3 http://code.google.com/p/nsscache/downloads/list .*/libnss-cache-(.*)\.tar\.gz debian debian/patches/0000755000000000000000000000000011715067275010630 5ustar debian/changelog0000644000000000000000000000237611715066552011060 0ustar libnss-cache (0.10.2-1) unstable; urgency=low * New upstream release. -- Jamie Wilkinson Fri, 10 Feb 2012 01:05:46 +0000 libnss-cache (0.10.1-1) unstable; urgency=low * New upstream release. * Speeds up the name / uid / gid lookup in the nss-cache library. * don't search groups if the provided buffer is small enough that the chance of succeeding is small * create simple index structure with uniformly sized entries and mmap/bsearch as a replacement for a heuristic binary search * if the entry was not found in the index, do not fall back to linear search; still fall back if the entry was outdated, not accessible or if a value was not found at the expected offset * replace strcoll with strcmp for checking equality of the index, as the index is built based on a simple string sort -- Jamie Wilkinson Fri, 10 Feb 2012 11:11:07 +1100 libnss-cache (0.10-2) unstable; urgency=low * Remove post{inst,rm}, as dh_makeshlibs already does the ldconfig for us. -- Jamie Wilkinson Sat, 20 Aug 2011 09:04:28 +1000 libnss-cache (0.10-1) unstable; urgency=low * Initial release. (Closes: #609626) -- Jamie Wilkinson Fri, 22 Jul 2011 12:17:00 +1000