From: walyong.cho Date: Mon, 27 Aug 2012 08:20:52 +0000 (+0900) Subject: tizen 2.0 X-Git-Tag: 2.0_alpha^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6fe21c698a703d0732b1a8d4854dab109b5af1c0;p=external%2Fshadow.git tizen 2.0 --- diff --git a/packaging/shadow.spec b/packaging/shadow.spec index 52eeaae..a46feb7 100644 --- a/packaging/shadow.spec +++ b/packaging/shadow.spec @@ -40,6 +40,26 @@ for all users. The useradd, userdel, and usermod commands are used for managing user accounts. The groupadd, groupdel, and groupmod commands are used for managing group accounts. +%package -n login +Summary: system login tools +Group: System/Base + +%description -n login +These tools are required to be able to login and use your system. The +login program invokes your user shell and enables command execution. The +newgrp program is used to change your effective group ID (useful for +workgroup type situations). The su program allows changing your effective +user ID (useful being able to execute commands as another user). + +%package -n passwd +Summary: Change and administer password and group data +Group: System/Base + +%description -n passwd +Change and administer password and group data +This package includes passwd, chsh, chfn, and many other programs to +maintain password and group data. + %prep %setup -q @@ -61,17 +81,7 @@ are used for managing group accounts. %build -%configure \ - --without-libcrack \ - --without-audit \ - --mandir=/usr/share/man \ - --without-libpam \ - --without-selinux \ - --enable-shadowgrp \ - --disable-man \ - --disable-account-tools-setuid \ - --with-group-name-max-length=32 \ - --disable-nls +%configure --without-libcrack --without-audit --mandir=/usr/share/man --without-libpam --without-selinux --enable-shadowgrp --disable-man --disable-account-tools-setuid --with-group-name-max-length=32 --disable-nls make @@ -106,7 +116,9 @@ rm %{buildroot}/%{_sysconfdir}/limits %remove_docs -%files + + +%files -n login %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/login.defs %exclude %{_sysconfdir}/securetty %{_sbindir}/nologin @@ -116,17 +128,19 @@ rm %{buildroot}/%{_sysconfdir}/limits %{_bindir}/sg /bin/login /bin/su + +%files -n passwd %dir %{_sysconfdir}/default %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/default/useradd /sbin/shadowconfig %{_bindir}/chage -%exclude %{_bindir}/chfn -%exclude %{_bindir}/chsh -%exclude %{_bindir}/expiry +%{_bindir}/chfn +%{_bindir}/chsh +%{_bindir}/expiry %{_bindir}/gpasswd %{_bindir}/passwd %{_sbindir}/chpasswd -%exclude %{_sbindir}/chgpasswd +%{_sbindir}/chgpasswd %{_sbindir}/groupadd %{_sbindir}/groupdel %{_sbindir}/groupmod @@ -139,6 +153,6 @@ rm %{buildroot}/%{_sysconfdir}/limits %{_sbindir}/pwunconv %{_sbindir}/useradd %{_sbindir}/userdel -%exclude %{_sbindir}/usermod +%{_sbindir}/usermod %{_sbindir}/vipw %{_sbindir}/vigr