[Tizen-submit] 3884: New package devel:upstream/pwdutils

noreply at tizen.org noreply at tizen.org
Fri May 3 23:17:03 GMT 2013


Hi,
Adding new package pwdutils in project devel:upstream. Please review and accept ASAP.

Justification for this new package:

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.231947
Git project: platform/upstream/pwdutils
Tag: submit/tizen/20130503.231947
Commit: 474f8e4 Fixed package groups

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3884

  submit:       devel:upstream:build/pwdutils(cleanup) -> devel:upstream


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.231947
Git project: platform/upstream/pwdutils
Tag: submit/tizen/20130503.231947
Commit: 474f8e4 Fixed package groups

State:   new        2013-05-03T15:47:37 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- pwdutils.changes
+++ pwdutils.changes
@@ -0,0 +1,3 @@
+* Fri Mar 22 2013 Anas Nashif <anas.nashif at intel.com> upstream/3.2.19 at 0636ca7
+- Fixed package groups
+

new:
----
  pwdutils-3.2.19.tar.bz2
  pwdutils.changes
  pwdutils.spec
  useradd.default

spec files:
-----------

++++++ new spec file:
--- pwdutils.spec
+++ pwdutils.spec
@@ -0,0 +1,90 @@
+Name:           pwdutils
+BuildRequires:  libtool
+BuildRequires:  openssl-devel
+BuildRequires:  pam-devel
+BuildRequires:  gettext-tools
+Url:            http://www.thkukuk.de/pam/pwdutils/
+Version:        3.2.19
+Release:        0
+VCS:        platform/upstream/pwdutils#submit/tizen/20130503.231947-0-g474f8e4
+Summary:        Utilities to Manage User and Group Accounts
+License:        GPL-2.0
+Group:          Security/Accounts
+Source:         pwdutils-%{version}.tar.bz2
+Source3:        useradd.default
+
+%description
+This package includes the necessary programs for converting plain
+password files to the shadow password format, and managing user and
+group accounts in both local files and in an LDAP database.
+
+%prep
+%setup -q
+
+%build
+%reconfigure --disable-ldap --libdir=%{_libdir} --disable-nls --disable-pam_rpasswd
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_libdir}/pwdutils/lib*.so
+#mkdir $RPM_BUILD_ROOT/%{_lib}
+#mv $RPM_BUILD_ROOT%{_libdir}/security $RPM_BUILD_ROOT/%{_lib}
+/sbin/ldconfig -n %{_libdir}/pwdutils
+rm -f $RPM_BUILD_ROOT%{_libdir}/pwdutils/*a
+rm -f $RPM_BUILD_ROOT/%{_lib}/security/*a
+
+rm -f %{buildroot}/etc/init.d/rpasswdd
+rm -f %{buildroot}/etc/pam.d/rpasswd
+rm -f %{buildroot}/etc/rpasswd.conf
+rm -f %{buildroot}/usr/bin/rpasswd
+rm -f %{buildroot}/usr/sbin/rpasswdd
+ln -sf newgrp $RPM_BUILD_ROOT%{_bindir}/sg
+install -m 644 $RPM_SOURCE_DIR/useradd.default $RPM_BUILD_ROOT/etc/default/useradd
+echo ".so man8/useradd.8" > $RPM_BUILD_ROOT%{_mandir}/man8/adduser.8
+
+%docs_package
+
+%files 
+%defattr(-,root,root,755)
+%config /etc/login.defs
+%config /etc/pam.d/chage
+%config /etc/pam.d/chfn
+%config /etc/pam.d/chsh
+%config /etc/pam.d/passwd
+%config /etc/pam.d/shadow
+%config /etc/pam.d/useradd
+%config(noreplace) /etc/default/useradd
+%config(noreplace) /etc/default/passwd
+%dir /etc/pwdutils
+%config(noreplace) /etc/pwdutils/logging
+%attr (4755,root,shadow) %{_bindir}/chage

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list