Sync from SUSE:ALP:Source:Standard:1.0 libnss_usrfiles revision 4b0c8268e29c425faf12626e22e22067

This commit is contained in:
Adrian Schröter 2024-10-14 15:04:39 +02:00
commit 21da343b3d
5 changed files with 146 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libnss_usrfiles2

BIN
libnss_usrfiles-2.27.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

56
libnss_usrfiles.changes Normal file
View File

@ -0,0 +1,56 @@
-------------------------------------------------------------------
Wed Sep 29 08:29:56 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
- Install into _libdir [bsc#1191070]
-------------------------------------------------------------------
Wed Aug 21 13:28:54 CEST 2019 - kukuk@suse.de
- Remove post %install section to make it generic useable
-------------------------------------------------------------------
Sat Feb 2 09:48:41 UTC 2019 - kukuk@suse.de
- Update to version 2.27
- Sync with glibc 2.27 source code
- Add support for alias, ethers, protocols, services and rpc
- Add usrfiles to /etc/nsswitch.conf only on first installation,
remove it during de-installation.
-------------------------------------------------------------------
Mon Mar 19 12:01:45 CET 2018 - kukuk@suse.de
- Use %license instead of %doc [bsc#1082318]
-------------------------------------------------------------------
Mon Jan 8 15:54:04 CET 2018 - kukuk@suse.de
- The default nsswitch.conf has changed again back to the old
values [bsc#1074515]
-------------------------------------------------------------------
Thu Mar 30 14:37:03 UTC 2017 - jengelh@inai.de
- RPM group correction
-------------------------------------------------------------------
Mon Mar 27 13:47:08 CEST 2017 - kukuk@suse.de
- Add docu and /usr/etc as directory
- Adjust nsswitch.conf on openSUSE, too
-------------------------------------------------------------------
Wed Mar 22 15:20:33 CET 2017 - kukuk@suse.de
- Move Requires to correct sub-package
-------------------------------------------------------------------
Tue Mar 21 13:03:55 CET 2017 - kukuk@suse.de
- Filter out GLIBC_PRIVATE
-------------------------------------------------------------------
Mon Mar 20 10:34:59 UTC 2017 - kukuk@suse.com
- Initial version

63
libnss_usrfiles.spec Normal file
View File

@ -0,0 +1,63 @@
#
# spec file for package libnss_usrfiles
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: libnss_usrfiles
Version: 2.27
Release: 0
Summary: NSS usrfiles plugin for glibc
License: LGPL-2.1-only
Group: System/Base
URL: http://github.com/kubic-project/libnss_usrfiles
Source: %{name}-%{version}.tar.xz
Source1: baselibs.conf
BuildRequires: autoconf
BuildRequires: libtool
%description
The NSS usrfiles plugin additionally looks in /usr/etc for passwd,
group, rpc, services, protocols and more.
%package -n libnss_usrfiles2
Summary: NSS usrfiles plugin for glibc
Group: System/Libraries
%description -n libnss_usrfiles2
The NSS usrfiles plugin additionally looks in /usr/etc for passwd,
group, rpc, services, protocols and more.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%make_install
rm -v %{buildroot}%{_libdir}/%{name}.{a,la,so}
%post -n libnss_usrfiles2 -p /sbin/ldconfig
%postun -n libnss_usrfiles2 -p /sbin/ldconfig
%files -n libnss_usrfiles2
%license COPYING
%doc README.md
%{_libdir}/libnss_usrfiles.so.2*
%changelog