[packages/nss_altfiles] new, version 2.18.0

glen glen at pld-linux.org
Thu Oct 31 23:43:14 CET 2013


commit e1863078f849f1b129b46ad8ca9521c7cb22ce66
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Nov 1 00:30:52 2013 +0200

    new, version 2.18.0

 nss_altfiles.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
---
diff --git a/nss_altfiles.spec b/nss_altfiles.spec
new file mode 100644
index 0000000..ef2ae87
--- /dev/null
+++ b/nss_altfiles.spec
@@ -0,0 +1,44 @@
+Summary:	NSS module to read passwd/group files from alternate locations
+Name:		nss_altfiles
+Version:	2.18.0
+Release:	0.1
+License:	LGPL v2+
+Group:		Libraries
+Source0:	https://github.com/aperezdc/nss-altfiles/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	21f2f86feb4d118ec7d58ecf528a30cf
+URL:		https://github.com/aperezdc/nss-altfiles
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# check if needed
+%define	no_install_post_check_so 1
+
+%description
+This is a NSS module which can read user information from files in the
+same format as /etc/passwd and /etc/group stored in an alternate
+location (/lib by default).
+
+Essentially, it is a tweaked copy of the sources for the NSS files
+module included with eglibc. It should work with glibc2 as well.
+
+%prep
+%setup -q -n nss-altfiles-%{version}
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_lib}
+install -p libnss_altfiles.so.2 $RPM_BUILD_ROOT/%{_lib}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) /%{_lib}/libnss_altfiles.so.2
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nss_altfiles.git/commitdiff/e1863078f849f1b129b46ad8ca9521c7cb22ce66



More information about the pld-cvs-commit mailing list