debian/0000755000000000000000000000000011754671541007201 5ustar debian/NEWS0000644000000000000000000000127311754443476007707 0ustar libnss-extrausers (0.3-1) unstable; urgency=low Since version 0.3 libnss-extrausers adds an exception for users with group id 100, which are now allowed even though 100 is less than the built-in MINGID of 500. 100 is the gid of the "users" group on Debian machines, thus this change should hopefully not hurt anyone, but make this package useful for more people. If you want to continue to exclude users with group 100, you will have to recompile libnss-extrausers, as the global usage of nss modules makes config files to expensive. (just removing the USERSGID line from s_config.h should suffice). -- Bernhard R. Link Tue, 09 Mar 2010 15:01:04 +0100 debian/postinst0000644000000000000000000000013011754443476011005 0ustar #!/bin/sh set -e if [ "$1" = "configure" ]; then ldconfig fi #DEBHELPER# exit 0 debian/watch0000644000000000000000000000003411754443476010233 0ustar # No place to download from debian/compat0000644000000000000000000000000211754443476010403 0ustar 7 debian/rules0000755000000000000000000000556311754671424010272 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) CFLAGS := $(shell dpkg-buildflags --get CFLAGS) CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) CFLAGS += -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith # -Wl,--no-allow-shlib-undefined not possible due to 625712 # (and libc no longer pulling in ld-linux.so in directly) LDFLAGS += -Wl,-z,defs ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) MAKEFLAGS += -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) endif ALSODO = # life would be to simple if there was something to work everywhere.... ABIFLAG_32=-m32 ABIFLAG_64=-m64 # do not forget to update Build-depends when changing something here: ifeq ($(DEB_HOST_ARCH),sparc) ALSODO = 64 else ifeq ($(DEB_HOST_ARCH),i386) ALSODO = 64 else ifeq ($(DEB_HOST_ARCH),kfreebsd-amd64) ALSODO = 32 else ifeq ($(DEB_HOST_ARCH),amd64) ALSODO = 32 else ifeq ($(DEB_HOST_ARCH),mips) ABIFLAG_32=-mabi=n32 ABIFLAG_64=-mabi=64 ALSODO = 64 32 else ifeq ($(DEB_HOST_ARCH),mipsel) ABIFLAG_32=-mabi=n32 ABIFLAG_64=-mabi=64 ALSODO = 64 32 else ifeq ($(DEB_HOST_ARCH),powerpc) ALSODO = 64 else ifeq ($(DEB_HOST_ARCH),s390) ALSODO = 64 else ifeq ($(DEB_HOST_ARCH),s390x) ABIFLAG_32=-m31 ALSODO = 32 endif build-arch: build-arch-stamp $(foreach bits,$(ALSODO),build-arch-$(bits)-stamp) build-indep: build: build-arch build-arch-%-stamp: $(MAKE) BITSOFS=$* CC="$(DEB_HOST_GNU_TYPE)-gcc" CFLAGS='$(ABIFLAG_$*) $(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' LDFLAGS='$(LDFLAGS)' touch $@ build-arch-stamp: dh_testdir $(MAKE) CC="$(DEB_HOST_GNU_TYPE)-gcc" CFLAGS='$(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' LDFLAGS='$(LDFLAGS)' touch build-arch-stamp clean: dh_testdir dh_testroot rm -f build-arch*-stamp $(MAKE) clean rm -f *.o *.so *.so.* dh_clean # Build architecture-independent files here. binary-indep: build-indep # We have nothing to do LIBNAME = libnss_extrausers.so.2 # Build architecture-dependent files here. binary-arch: build-arch dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/libnss-extrausers for also in $(ALSODO) ; do \ $(MAKE) BITSOFS=$${also} install DESTDIR=$(CURDIR)/debian/libnss-extrausers ; \ done dh_installchangelogs dh_installdocs dh_link dh_strip [ "$(ALSODO)" = "" ] || \ dpkg-shlibdeps -Tdebian/libnss-extrausers.substvars \ -palternatelibs -dSuggests \ $(foreach bits,$(ALSODO), debian/libnss-extrausers/usr/lib$(bits)/$(LIBNAME)) dh_shlibdeps $(foreach bits,$(ALSODO), -X/usr/lib$(bits)/$(LIBNAME)) dh_compress dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build build-arch build-indep clean binary-indep binary-arch binary debian/changelog0000644000000000000000000000566211754671541011064 0ustar libnss-extrausers (0.6-3) unstable; urgency=low * fix building lib32 on x390x (needs -m31 instead of -m32) -- Bernhard R. Link Wed, 16 May 2012 11:28:03 +0200 libnss-extrausers (0.6-2) unstable; urgency=low * add lib32 variant to s390x -- Bernhard R. Link Tue, 15 May 2012 14:35:28 +0200 libnss-extrausers (0.6-1) unstable; urgency=low * ignore empty lines (Closes: 653102, 666157) * Standards-Version to 3.9.3, no changes needed -- Bernhard R. Link Wed, 04 Apr 2012 17:38:14 +0200 libnss-extrausers (0.5-1) unstable; urgency=low * groups with too low gid are ignore instead of considered error (Closes: 627279) -- Bernhard R. Link Wed, 14 Sep 2011 18:59:29 +0200 libnss-extrausers (0.4-2) unstable; urgency=low * do not use --no-allow-shlib-undefined gcc no longer supports (Closes: 624971) * Standards-Version to 3.9.2, no changes needed -- Bernhard R. Link Thu, 05 May 2011 12:07:52 +0200 libnss-extrausers (0.4-1) unstable; urgency=low * treat empty fields as -1 to appease new glibc * modernize Debian packaging - debhelper compatibility to 7 - standards version to 3.9.1 - use dpkg-buildflags (and thus build-depend on new enough dpkg-dev) -- Bernhard R. Link Sat, 05 Mar 2011 16:16:19 +0100 libnss-extrausers (0.3-1) unstable; urgency=low * fix spelling error in README (Closes: 573130) * allow gid 100 (Closes: 566399) * bump standards version * switch to 3.0 source format -- Bernhard R. Link Tue, 09 Mar 2010 14:55:13 +0100 libnss-extrausers (0.2-3) unstable; urgency=low * when a group cannot be returned because of insufficuent buffers supplied by the caller, continue with the same group next time (Closes: 536789) -- Bernhard R. Link Tue, 28 Jul 2009 11:00:09 +0200 libnss-extrausers (0.2-2) unstable; urgency=low * fix build problem on architectures without an alternative architecture to build libraries for (Closes: 530882) -- Bernhard R. Link Fri, 29 May 2009 17:07:16 +0200 libnss-extrausers (0.2-1) unstable; urgency=low * new version - ignore lines starting with # to allow comments * install 32-bit or 64-bit version on architectures where possible -- Bernhard R. Link Wed, 27 May 2009 13:57:34 +0200 libnss-extrausers (0.1-2) unstable; urgency=low * install README file (closes: #488746) * update to Standards-Version 3.8.0 - support DEB_BUILD_OPTIONS -- Bernhard R. Link Tue, 1 Jul 2008 17:31:02 +0200 libnss-extrausers (0.1-1) unstable; urgency=low * Initial upload -- Bernhard R. Link Tue, 17 Apr 2007 16:53:43 +0200 libnss-extrausers (0.1-0) local-etch; urgency=low * general clean up and rename to prepare publishing -- Bernhard R. Link Tue, 13 Feb 2007 21:41:26 +0100 debian/source/0000755000000000000000000000000011754443476010505 5ustar debian/source/format0000644000000000000000000000001411754443476011713 0ustar 3.0 (quilt) debian/dirs0000644000000000000000000000003311754443476010065 0ustar usr/lib var/lib/extrausers debian/control0000644000000000000000000000155211754461141010600 0ustar Source: libnss-extrausers Section: admin Priority: extra Maintainer: Bernhard R. Link Build-Depends: debhelper (>= 7), gcc-multilib [sparc i386 kfreebsd-amd64 amd64 mips mipsel powerpc s390 s390x], dpkg-dev (>= 1.15.7~) Standards-Version: 3.9.3 Vcs-Browser: http://git.debian.org/?p=users/brlink/libnss-extrausers.git;a=shortlog;h=refs/heads/debian Vcs-Git: git://git.debian.org/users/brlink/libnss-extrausers.git -b debian Package: libnss-extrausers Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: ${alternatelibs:Suggests} Description: nss module to have an additional passwd, shadow and group file This Name Service Switch (NSS) module reads /var/lib/extrausers/passwd, /var/lib/extrausers/shadow and /var/lib/extrausers/groups, allowing to store system accounts and accounts copied from other systems in different files. debian/copyright0000644000000000000000000000363311754443476011145 0ustar This is libnss-extrausers, written and maintained by Bernhard R. Link on Wed, 23 May 2001 08:34:45 +0200. Copyright (C) 2001,2002,2009 Bernhard R. Link This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program 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 with the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL-2; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Most of the code is taken from the GNU C Library and remains under the following license: Common code for file-based database parsers in nss_files module. Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License with the Debian GNU/Linux distribution in file /usr/share/common-licenses/LGPL-2.1; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA debian/libnss-extrausers.docs0000644000000000000000000000000711754443476013551 0ustar README