From 21da343b3dab9eb54942d3e06864824496bae654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 14 Oct 2024 15:04:39 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 libnss_usrfiles revision 4b0c8268e29c425faf12626e22e22067 --- .gitattributes | 23 ++++++++++++++ baselibs.conf | 1 + libnss_usrfiles-2.27.tar.xz | 3 ++ libnss_usrfiles.changes | 56 +++++++++++++++++++++++++++++++++ libnss_usrfiles.spec | 63 +++++++++++++++++++++++++++++++++++++ 5 files changed, 146 insertions(+) create mode 100644 .gitattributes create mode 100644 baselibs.conf create mode 100644 libnss_usrfiles-2.27.tar.xz create mode 100644 libnss_usrfiles.changes create mode 100644 libnss_usrfiles.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..7081f6f --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libnss_usrfiles2 diff --git a/libnss_usrfiles-2.27.tar.xz b/libnss_usrfiles-2.27.tar.xz new file mode 100644 index 0000000..ea9642e --- /dev/null +++ b/libnss_usrfiles-2.27.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:110d88274e283c9949d65a52a20c9751e78317ec393f3b889f6ee19c2f90268b +size 246492 diff --git a/libnss_usrfiles.changes b/libnss_usrfiles.changes new file mode 100644 index 0000000..57df60f --- /dev/null +++ b/libnss_usrfiles.changes @@ -0,0 +1,56 @@ +------------------------------------------------------------------- +Wed Sep 29 08:29:56 UTC 2021 - Thorsten Kukuk + +- 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 + diff --git a/libnss_usrfiles.spec b/libnss_usrfiles.spec new file mode 100644 index 0000000..b1215dd --- /dev/null +++ b/libnss_usrfiles.spec @@ -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