tizen: release 1.0.8 submit/tizen/20150217.133222
authorImran Zaman <imran.zaman@intel.com>
Tue, 17 Feb 2015 13:29:12 +0000 (15:29 +0200)
committerImran Zaman <imran.zaman@intel.com>
Tue, 17 Feb 2015 13:29:40 +0000 (15:29 +0200)
Change-Id: Ib5c30accb8aad2e825a29b87411cc7473f4af8bf
Signed-off-by: Imran Zaman <imran.zaman@intel.com>
1  2 
packaging/gumd.changes
packaging/gumd.spec

index df22abe,0000000..5190090
mode 100644,000000..100644
--- /dev/null
@@@ -1,95 -1,0 +1,111 @@@
++* Tue Feb 17 2015 Imran Zaman <imran.zaman@intel.com>
++- Renamed dbus interface with prefix org.O1
++
++* Mon Feb 09 2015 Imran Zaman <imran.zaman@intel.com>
++- Fixed copying of extended attributes from skel folder
++
++* Thu Feb 05 2015 Imran Zaman <imran.zaman@intel.com>
++- Fixed gum-utils documentation
++
++* Wed Jan 28 2015 Imran Zaman <imran.zaman@intel.com>
++- Added APIs for fetching users based on the type
++
++* Thu Jan 15 2015 Imran Zaman <imran.zaman@intel.com>
++- Added separate configuration file Tizen IVI
++- Newly created users are added to weston-launch group for Tizen IVI
++
 +* Thu Nov 27 2014 Imran Zaman <imran.zaman@intel.com>
 +- Updated inputs for scripts e.g. usertype to useradd script
 +
 +* Wed Nov 19 2014 Imran Zaman <imran.zaman@intel.com>
 +- Fixed Bug TC-2131 where gumd was not able to handle config changes
 +
 +* Mon Nov 17 2014 Imran Zaman <imran.zaman@intel.com>
 +- Fixed coverity issues
 +
 +* Thu Oct 30 2014 Imran Zaman <imran.zaman@intel.com>
 +- gum-utils is split into separate package
 +- Converted warnings to info messsages for gum-utils
 +
 +* Fri Oct 24 2014 Imran Zaman <imran.zaman@intel.com>
 +- Fixed bug where gum-utils hangs in offline mode
 +
 +* Thu Oct 23 2014 Imran Zaman <imran.zaman@intel.com>
 +- Added sysroot support (in offline mode) to gum-utils
 +- Removed offline support from gumd as it is moved to libgum/gum-utils 
 +
 +* Mon Oct 20 2014 Imran Zaman <imran.zaman@intel.com>
 +- Added offline support to libgum/gum-utils to add/update etc user/group
 +
 +* 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 4d7d1f7,0000000..aa0a58d
mode 100644,000000..100644
--- /dev/null
@@@ -1,158 -1,0 +1,154 @@@
- Name: gumd
 +# 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
 +
- Version: 1.0.3
++Name:    gumd
 +Summary: User management daemon and client library
- Group: Security/Accounts
++Version: 1.0.8
 +Release: 0
- Source: %{name}-%{version}.tar.gz
- URL: https://github.com/01org/gumd
++Group:   Security/Accounts
 +License: LGPL-2.1+
- Source1003:     %{name}-tizen.conf
- Requires:   libgum = %{version}-%{release}
++URL:     https://github.com/01org/gumd
++Source:  %{name}-%{version}.tar.gz
 +Source1001:     %{name}.manifest
 +Source1002:     libgum.manifest
++Requires:       libgum = %{version}-%{release}
 +Conflicts: gum
 +%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)
++Requires: tizen-platform-config
 +
 +%description
 +%{summary} files
 +
 +
 +%package -n libgum
 +Summary:    User management client library
 +Group:      Security/Libraries
 +Requires:   %{name} = %{version}-%{release}
 +
 +
 +%description -n libgum
 +%{summary} files
 +
 +
 +%package -n gum-utils
 +Summary:    User management utility tool
 +Group:      Security/Libraries
 +Requires:   libgum = %{version}-%{release}
 +
 +
 +%description -n gum-utils
 +%{summary} files
 +
 +
 +%package -n libgum-devel
 +Summary:    Development files for user management client library
 +Group:      Security/Libraries
 +Requires:   libgum = %{version}-%{release}
 +
 +
 +%description -n libgum-devel
 +%{summary} files
 +
 +
 +%package doc
 +Summary:    Documentation files for %{name}
 +Group:      Security/Documentation
 +Requires:   libgum = %{version}-%{release}
 +
 +
 +%description doc
 +%{summary} files
 +
 +
 +%prep
 +%setup -q -n %{name}-%{version}
- make %{?_smp_mflags}
++cp -a %{SOURCE1001} %{name}.manifest
++cp -a %{SOURCE1002} libgum.manifest
 +
 +%build
 +%if %{debug_build} == 1
 +%configure --enable-dbus-type=%{dbus_type} --enable-debug
 +%else
 +%configure --enable-dbus-type=%{dbus_type}
 +%endif
- cp -a %{SOURCE1001} %{buildroot}%{_datadir}/%{name}.manifest
- cp -a %{SOURCE1002} %{buildroot}%{_datadir}/libgum.manifest
- cp -a %{SOURCE1003} %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
++%__make %{?_smp_mflags}
 +
 +%install
 +rm -rf %{buildroot}
 +%make_install
- /sbin/ldconfig
- /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
++rm -f %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
++install -m 755 -d %{buildroot}%{_sysconfdir}/%{name}
 +
++%if "%{profile}" != "ivi"
++install -m 644 data/tizen/etc/%{name}/%{name}-tizen-common.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
++%else
++install -m 644 data/tizen/etc/%{name}/%{name}-tizen-ivi.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
++%endif
 +
 +%post
- %manifest %{_datadir}/libgum.manifest
++ldconfig
++getent group gumd > /dev/null || groupadd -r gumd
++install -d -m 755 %{_sysconfdir}/%{name}/useradd.d
++install -d -m 755 %{_sysconfdir}/%{name}/userdel.d
++install -d -m 755 %{_sysconfdir}/%{name}/groupadd.d
++install -d -m 755 %{_sysconfdir}/%{name}/groupdel.d
 +
 +
 +%postun -p /sbin/ldconfig
 +
++%post -n libgum -p /sbin/ldconfig
++%postun -n libgum -p /sbin/ldconfig
 +
 +%files -n libgum
 +%defattr(-,root,root,-)
- %post -n libgum -p /sbin/ldconfig
- %postun -n libgum -p /sbin/ldconfig
++%manifest libgum.manifest
 +%{_libdir}/libgum*.so.*
 +
- %manifest %{_datadir}/%{name}.manifest
 +%files -n gum-utils
 +%defattr(-,root,root,-)
++%manifest %{name}.manifest
 +%{_bindir}/gum-utils
 +
 +%files -n libgum-devel
 +%defattr(-,root,root,-)
++%manifest %{name}.manifest
 +%{_includedir}/gum/*
 +%{_libdir}/libgum*.so
 +%{_libdir}/pkgconfig/libgum.pc
 +%if %{dbus_type} != "p2p"
 +%{_datadir}/dbus-1/interfaces/*UserManagement*.xml
 +%endif
 +
- %manifest %{_datadir}/%{name}.manifest
 +%files
 +%defattr(-,root,root,-)
- %dir %{_sysconfdir}/%{name}
++%manifest %{name}.manifest
 +%doc AUTHORS COPYING.LIB NEWS README
 +%{_bindir}/%{name}
 +%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
 +%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,-)
++%manifest %{name}.manifest
 +%{_datadir}/gtk-doc/html/gumd/*