tizen: release 0.0.6 62/28962/1 accepted/tizen/common/20141017.144305 accepted/tizen/ivi/20141023.021539 submit/tizen/20141017.140641 submit/tizen_common/20141023.162131
authorImran Zaman <imran.zaman@intel.com>
Fri, 17 Oct 2014 13:50:03 +0000 (16:50 +0300)
committerImran Zaman <imran.zaman@intel.com>
Fri, 17 Oct 2014 13:51:41 +0000 (16:51 +0300)
Change-Id: Id111158c8f3780bdeee38e04cb232db9f056ca6a
Signed-off-by: Imran Zaman <imran.zaman@intel.com>
1  2 
packaging/gumd.changes
packaging/gumd.spec

index 8bd1da7,0000000..82d90f2
mode 100644,000000..100644
--- /dev/null
@@@ -1,69 -1,0 +1,72 @@@
++* Fri Oct 17 2014 Imran Zaman <imran.zaman@intel.com>
++- Added offline support to gumd to add/update etc user/group
++
 +* Mon Sep 21 2014 Imran Zaman <imran.zaman@intel.com>
 +- Fixed bug related to primary group deletion, as it needs not to be deleted
 +  if other users have that group as primary group.
 +
 +* Fri Sep 19 2014 Imran Zaman <imran.zaman@intel.com>
 +- Add support for overriding the bus type using environment variable
 +
 +* Mon Sep 08 2014 Imran Zaman <imran.zaman@intel.com>
 +- Added primary group name for new user in the configuration file
 +
 +* Fri Sep 05 2014 Imran Zaman <imran.zaman@intel.com>
 +- Fixed bug TC-1580 which fixes user's folder and file access permissions
 +
 +* Tue Aug 26 2014 Imran Zaman <imran.zaman@intel.com>
 +- Made gum-utils logs printible always
 +- Fixed bug for guest user which can login without authentication
 +
 +* Thu Aug 21 2014 Imran Zaman <imran.zaman@intel.com>
 +- Added support for scripts which can be run after a user/group is added
 +  or before a user/group is deleted
 +
 +* Tue Aug 12 2014 Imran Zaman <imran.zaman@intel.com>
 +- Fix access permissions for user home directory
 +
 +* Tue Aug 05 2014 Imran Zaman <imran.zaman@intel.com>
 +- Log only when logging is enabled
 +- Fixed p2p stream descriptor leak
 +
 +* Thu May 22 2014 Imran Zaman <imran.zaman@intel.com>
 +- Renamed gum-example as gum-utils to be used as command line utility
 +
 +* Wed May 21 2014 Imran Zaman <imran.zaman@intel.com>
 +- Fixed Bug # TIVI-2988
 +- Updated logs
 +
 +* Tue May 20 2014 Imran Zaman <imran.zaman@intel.com>
 +- Fixed bug#TIVI-3170 (fixed smack labels for newly created files and folders
 +  as reported in https://bugs.tizen.org/jira/browse/TIVI-3170)
 +
 +* Wed Feb 12 2014 Imran Zaman <imran.zaman@intel.com>
 +- Simplified gumd packages for Tizen and SUSE
 +- Simplified gumd packages
 +- fix uninstalled pkgconfig files
 +
 +* Fri Feb 07 2014 Patrick McCarty <patrick.mccarty@linux.intel.com> fe07066
 +- Move the packaging files into the packaging/ directory, since a symlink with
 +  the same name does not work with 'gbs build'. (DEVT-148)
 +
 +* Fri Dec 27 2013 Imran Zaman <imran.zaman@intel.com>
 +- Obsoletes gum package as the package is renamed to gumd
 +
 +* Mon Dec 23 2013 Imran Zaman <imran.zaman@intel.com>
 +- added test cases for error and dictionary objects
 +- utilized dictionary functions for get/set key-value pairs
 +- clean up generated coverage files on make clean
 +- enable tests by default if coverage is enabled
 +- exclude external and generated dbus files from code coverage calculation
 +
 +* Fri Dec 20 2013 Imran Zaman <imran.zaman@intel.com>
 +- Corrected spec and changes file names
 +
 +* Fri Dec 20 2013 Imran Zaman <imran.zaman@intel.com>
 +- Removed dist spec packaging folder from main source tree
 +
 +* Fri Dec 20 2013 Imran Zaman <imran.zaman@intel.com>
 +- Release 0.0.1  (First release)
 +
 +* Mon Sep 02 2013 Imran Zaman <imran.zaman@intel.com>
 +- Initial RPM packaging
index c263c1b,0000000..b4dbd73
mode 100644,000000..100644
--- /dev/null
@@@ -1,142 -1,0 +1,138 @@@
- # define used dbus type [p2p, session, system]
++# define used dbus type [p2p, system]
 +%define dbus_type system
 +# enable debug features such as control environment variables
 +# WARNING! do not use for production builds as it will break security
 +%define debug_build 0
 +
 +Name: gumd
 +Summary: User management daemon and client library
- Version: 0.0.5
- Release: 2
++Version: 0.0.6
++Release: 0
 +Group: Security/Accounts
 +License: LGPL-2.1+
 +Source: %{name}-%{version}.tar.gz
 +URL: https://github.com/01org/gumd
 +Source1001:     %{name}.manifest
 +Source1002:     libgum.manifest
 +Source1003:     %{name}-tizen.conf
 +Obsoletes: gum
 +Requires:   libgum = %{version}-%{release}
 +%if %{dbus_type} != "p2p"
 +Requires: dbus-1
 +%endif
 +Requires(post): /sbin/ldconfig
 +Requires(postun): /sbin/ldconfig
 +BuildRequires: pkgconfig(systemd)
 +BuildRequires: pkgconfig(dbus-1)
 +BuildRequires: pkgconfig(gtk-doc)
 +BuildRequires: pkgconfig(glib-2.0) >= 2.30
 +BuildRequires: pkgconfig(gobject-2.0)
 +BuildRequires: pkgconfig(gio-2.0)
 +BuildRequires: pkgconfig(gio-unix-2.0)
 +BuildRequires: pkgconfig(gmodule-2.0)
 +
 +
 +%description
 +%{summary}.
 +
 +
 +%package -n libgum
 +Summary:    User management client library
 +Group:      Security/Libraries
 +
 +
 +%description -n libgum
 +%{summary}.
 +
 +
 +%package -n libgum-devel
 +Summary:    Development files for user management client library
 +Group:      Security/Development
 +Requires:   libgum = %{version}-%{release}
 +
 +
 +%description -n libgum-devel
 +%{summary}.
 +
 +
 +%package doc
 +Summary:    Documentation files for %{name}
 +Group:      Security/Documentation
 +Requires:   libgum = %{version}-%{release}
 +
 +
 +%description doc
 +%{summary}.
 +
 +
 +%prep
 +%setup -q -n %{name}-%{version}
 +
 +
 +%build
 +%if %{debug_build} == 1
 +%configure --enable-dbus-type=%{dbus_type} --enable-debug
 +%else
 +%configure --enable-dbus-type=%{dbus_type}
 +%endif
 +
 +
 +make %{?_smp_mflags}
 +
 +
 +%install
 +rm -rf %{buildroot}
 +%make_install
 +cp -a %{SOURCE1001} %{buildroot}%{_datadir}/%{name}.manifest
 +cp -a %{SOURCE1002} %{buildroot}%{_datadir}/libgum.manifest
 +cp -a %{SOURCE1003} %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
 +
 +
 +%post
 +/sbin/ldconfig
- /usr/bin/chmod u+s %{_bindir}/%{name}
 +/usr/bin/getent group gumd > /dev/null || /usr/sbin/groupadd -r gumd
 +/usr/bin/mkdir -p %{_sysconfdir}/%{name}/useradd.d
 +/usr/bin/mkdir -p %{_sysconfdir}/%{name}/userdel.d
 +/usr/bin/mkdir -p %{_sysconfdir}/%{name}/groupadd.d
 +/usr/bin/mkdir -p %{_sysconfdir}/%{name}/groupdel.d
 +
 +
 +%postun -p /sbin/ldconfig
 +
 +
 +%files -n libgum
 +%defattr(-,root,root,-)
 +%manifest %{_datadir}/libgum.manifest
 +%{_libdir}/libgum*.so.*
 +%{_bindir}/gum-utils
 +
 +
 +%files -n libgum-devel
 +%defattr(-,root,root,-)
 +%{_includedir}/gum/*
 +%{_libdir}/libgum*.so
 +%{_libdir}/pkgconfig/libgum.pc
 +%if %{dbus_type} != "p2p"
 +%{_datadir}/dbus-1/interfaces/*UserManagement*.xml
 +%endif
 +
 +
 +%files
 +%defattr(-,root,root,-)
 +%manifest %{_datadir}/%{name}.manifest
 +%doc AUTHORS COPYING.LIB INSTALL NEWS README
 +%{_bindir}/%{name}
 +%dir %{_sysconfdir}/%{name}
 +%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
- %if %{dbus_type} == "session"
- %dir %{_datadir}/dbus-1/services
- %{_datadir}/dbus-1/services/*UserManagement*.service
- %else if %{dbus_type} == "system"
++%if %{dbus_type} == "system"
 +%dir %{_datadir}/dbus-1/system-services
 +%{_datadir}/dbus-1/system-services/*UserManagement*.service
 +%dir %{_sysconfdir}/dbus-1
 +%dir %{_sysconfdir}/dbus-1/system.d
 +%config(noreplace) %{_sysconfdir}/dbus-1/system.d/gumd-dbus.conf
 +%endif
 +
 +
 +%files doc
 +%defattr(-,root,root,-)
 +%{_datadir}/gtk-doc/html/gumd/*