SPECS: tcb.spec (NEW) - raw

arekm arekm at pld-linux.org
Fri Aug 25 14:40:27 CEST 2006


Author: arekm                        Date: Fri Aug 25 12:40:27 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- raw

---- Files affected:
SPECS:
   tcb.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/tcb.spec
diff -u /dev/null SPECS/tcb.spec:1.1
--- /dev/null	Fri Aug 25 14:40:27 2006
+++ SPECS/tcb.spec	Fri Aug 25 14:40:21 2006
@@ -0,0 +1,86 @@
+# $Revision$, $Date$
+#
+Summary:	the alternative to shadow
+Name:		tcb
+Version:	1.0
+Release:	0.1
+License:	GPL v2
+Group:		Applications/System
+Source0:	http://www.openwall.com/tcb/%{name}-%{version}.tar.gz
+# Source0-md5:	9cf36b80cafdae41e644000a6e3b88fc
+Patch0:		%{name}-make.patch
+URL:		http://www.openwall.com/tcb/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The tcb package contains core components of our tcb suite implementing
+the alternative password shadowing scheme on Owl. It is being made
+available separately from Owl primarily for use by other
+distributions.
+
+%package -n pam-pam_tcb
+Summary:	TCB module for PAM
+Group:		Base
+
+%description -n pam-pam_tcb
+The alternative to shadow (TCB) PAM module.
+
+%package -n nss_tcb
+Summary:	Biblioteka TCB dla NSS
+Group:		Base
+
+%description -n nss_tcb
+nss_tcb is a C library extension (NSS module) which allows TCB service
+to be used as a primary source of aliases, ethers, groups, hosts,
+networks, protocols, users, RPCs, services and shadow passwords
+(instead of or in addition to using flat files or NIS).
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	DBGFLAG="%{rpmcflags} %{rpmldflags}" \
+	SBINDIR=/sbin \
+	SLIBDIR=/%{_lib} \
+	LIBDIR=%{_libdir} \
+	LIBEXECDIR=%{_libexecdir} \
+	MANDIR=%{_mandir}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/chsh
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/passwd
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/useradd
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/shadow
+%exclude %{_mandir}/man8/pam_rpasswd.8*
+
+%files -n nss_tcb
+%defattr(644,root,root,755)
+%attr(755,root,root) /%{_lib}/xxx
+
+%files -n pam-pam_tcb
+%defattr(644,root,root,755)
+%attr(755,root,root) /%{_lib}/security/*.so
+%{_mandir}/man8/pam_*.8*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/08/25 12:40:21  arekm
+- raw
+
================================================================


More information about the pld-cvs-commit mailing list