rpms/rainbow/F-9 .cvsignore, 1.2, 1.3 rainbow.spec, 1.2, 1.3 sources, 1.2, 1.3

Michael Stone (mstone) fedora-extras-commits at redhat.com
Wed Jun 25 08:51:43 UTC 2008


Author: mstone

Update of /cvs/pkgs/rpms/rainbow/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22942

Modified Files:
	.cvsignore rainbow.spec sources 
Log Message:
- Daniel Drake (1):
    dlo#7302, dlo#7294: Make the audio and video device nodes have mode 0666.
- Michael Stone (1):
    Begin building in the F-9 buildroot. (Should this be OLPC-3?)



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rainbow/F-9/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	13 Aug 2007 23:14:56 -0000	1.2
+++ .cvsignore	25 Jun 2008 08:50:54 -0000	1.3
@@ -1 +1 @@
-rainbow-20070731gitde262e.tar.bz2
+rainbow-0.7.14.tar.bz2


Index: rainbow.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rainbow/F-9/rainbow.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rainbow.spec	13 Aug 2007 23:31:42 -0000	1.2
+++ rainbow.spec	25 Jun 2008 08:50:54 -0000	1.3
@@ -3,19 +3,20 @@
 %{!?python_version: %define python_version %(%{__python} -c "import sys; print sys.version[0:3]")}
 
 Name:           rainbow
-Version:        1.0
-Release:        0.2.20070731gitde262e%{dist}
+Version:        0.7.14
+Release:        1%{?dist}
 Summary:        The OLPC security service
 
 Group:          System Environment/Daemons
 License:        MIT
-URL:            http://dev.laptop.org/git/security
-Source0:        http://dev.laptop.org/~coderanger/rainbow-20070731gitde262e.tar.bz2
+URL:            http://wiki.laptop.org/go/Rainbow
+Source0:        http://dev.laptop.org/~mstone/releases/SOURCES/%{name}-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 Requires:       dbus
-Requires:       python-setuptools
+Requires:       sugar >= 0.65-0.77.20071105git.0a9676171d
+Requires:       ipython
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 
@@ -23,7 +24,7 @@
 The service component of the OLPC Bitfrost security platform.
 
 %prep
-%setup -q -n Rainbow
+%setup -q
 
 
 %build
@@ -33,40 +34,201 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/%{_sbindir}
+install -m 755 bin/rainbow-replay-spool $RPM_BUILD_ROOT/%{_sbindir}/rainbow-replay-spool
+install -m 755 bin/rainbow-daemon       $RPM_BUILD_ROOT/%{_sbindir}/rainbow-daemon
+
+install -d $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/
+install etc/init.d/rainbow $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/rainbow
+
 install -d $RPM_BUILD_ROOT/%{_sysconfdir}/dbus-1/system.d
+install -d $RPM_BUILD_ROOT/%{_sysconfdir}/security/console.perms.d
+install -m 644 rainbow/conf/51-rainbow.perms $RPM_BUILD_ROOT/%{_sysconfdir}/security/console.perms.d/51-rainbow.perms
+install -m 644 rainbow/conf/session-olpc.conf $RPM_BUILD_ROOT/%{_sysconfdir}/dbus-1/session-olpc.conf
 install -m 644 rainbow/conf/org.laptop.security.Rainbow.conf $RPM_BUILD_ROOT/%{_sysconfdir}/dbus-1/system.d/org.laptop.security.Rainbow.conf
-install -d $RPM_BUILD_ROOT/%{_sysconfdir}/rainbow
-install -m 600 rainbow/conf/rainbow.conf $RPM_BUILD_ROOT/%{_sysconfdir}/rainbow/rainbow.conf
-chmod 744 $RPM_BUILD_ROOT/%{_sbindir}/rainbow
-install -d $RPM_BUILD_ROOT/%{_localstatedir}/rainbow
-install -m 644 rainbow/conf/session-olpc.conf $RPM_BUILD_ROOT/%{_sysconfdir}/dbus-1 
- 
+
+# logging
+install -d $RPM_BUILD_ROOT/%{_localstatedir}/log
+touch $RPM_BUILD_ROOT/%{_localstatedir}/log/rainbow
+install -d $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d
+install -m 644 etc/logrotate.d/rainbow $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d
+chmod 644 $RPM_BUILD_ROOT/%{_localstatedir}/log/rainbow
+
+# Turn rainbow on by default.
+touch $RPM_BUILD_ROOT/%{_sysconfdir}/olpc-security
+
+
+%post
+/sbin/chkconfig --add rainbow
+
+
+%preun
+if [ "$1" -eq 0 ]; then
+  /sbin/service rainbow stop > /dev/null 2>&1 || :
+  /sbin/chkconfig --del rainbow
+fi
+exit 0
+
+%postun
+if [ "$1" -gt 0 ]; then
+  /sbin/service rainbow restart > /dev/null 2>&1 || :
+fi
+exit 0
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
 %files
 %defattr(-,root,root,-)
+%{_sysconfdir}/olpc-security
 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.laptop.security.Rainbow.conf
-%config(noreplace) %{_sysconfdir}/rainbow/rainbow.conf
 %config(noreplace) %{_sysconfdir}/dbus-1/session-olpc.conf
-%doc README COPYING
+%config(noreplace) %{_sysconfdir}/security/console.perms.d/51-rainbow.perms
+%doc README COPYING AUTHORS
 %dir %{python_sitelib}/rainbow
 %{python_sitelib}/rainbow/*
-%{_sbindir}/rainbow
-%dir %{python_sitelib}/Rainbow-%{version}-py%{python_version}.egg-info
-%{python_sitelib}/Rainbow-%{version}-py%{python_version}.egg-info/*
+%{_sbindir}/rainbow-daemon
+%{_sbindir}/rainbow-replay-spool
+%{_sysconfdir}/init.d/rainbow
+%config(noreplace) %{_sysconfdir}/logrotate.d/rainbow
+%ghost %{_localstatedir}/log/rainbow
+%dir %{python_sitelib}/%{name}-%{version}-py%{python_version}.egg-info
+%{python_sitelib}/%{name}-%{version}-py%{python_version}.egg-info/*
 
 %changelog
+
+* Mon Jun 25 2008 Michael Stone <michael at laptop.org> - 0.7.14-1.olpc3
+- Daniel Drake (1):
+    dlo#7302, dlo#7294: Make the audio and video device nodes have mode 0666.
+- Michael Stone (1):
+    Begin building in the OLPC-3 buildroot.
+
+* Mon May 26 2008 Michael Stone <michael at laptop.org> - 0.7.13-1.olpc2
+- Fix dlo#6989 - beware of contract violations induced by CONSTANT_UID +
+  instance==home.
+
+* Mon May 05 2008 Michael Stone <michael at laptop.org> - 0.7.12-1.olpc2
+- Hack around a failing gtk import by trying to lose the race with X. (bsetlow)
+- Detect, log, and work around errors that occur during module preloading. (mstone)
+- Make $SAR/instance <- $HOME. (mstone)
+
+* Thu Mar 24 2008 Michael Stone <michael at laptop.org> - 0.7.11-1.olpc2
+- Merge tomeu's common module preloading patch.
+- Merge patchvonbraun's group-permissions work.
+- Make rainbow daemonize faster.
+
+* Tue Feb 13 2008 Michael Stone <michael at laptop.org> - 0.7.10-1.olpc2
+- Symlink ~/{.macromedia,.adobe} -> ~/.instance to ease
+  http://dev.laptop.org/ticket/6411
+
+* Thu Jan 31 2008 Michael Stone <michael at laptop.org> - 0.7.9-1.olpc2
+- Relax the size restrictions on the tmpfsen that Rainbow mounts for
+  activities.
+- Symlink ~/.fontconfig -> ~/.instance to ease
+  http://dev.laptop.org/ticket/6046
+- Rework build scripts to use mock for snapshot builds.
+- Normalize the package name to lower case everywhere.
+
+* Fri Jan 11 2008 Michael Stone <michael at laptop.org> - 0.7.8-1.olpc2
+- Teach rainbow to respond to Sugar requests to use a fixed uid for the bundle
+  being launched.
+
+* Wed Jan 09 2008 Michael Stone <michael at laptop.org> - 0.7.7-1.olpc2
+- Provide a spool-gc library for boot-time resource reclamation. (may be racy).
+  Addresses http://dev.laptop.org/ticket/{5637,2527}
+- Close unblessed file descriptors before activity launch.
+- Turn on logrotate for /var/log/rainbow.
+- Remove bitrotted configuration file.
+
+* Fri Jan 04 2008 Michael Stone <michael at laptop.org> - 0.7.6-1.olpc2
+- Move Rainbow's spool-dir from /activities to $HOME/isolation/1/; works
+  around http://dev.laptop.org/ticket/5033
+- Provide a spool-replay script for use by olpc-configure.
+- Construct spools at run-time rather than via rpm.
+- Remove our runtime-dependency on python-setuptools.
+
+* Wed Dec 19 2007 Michael Stone <michael at laptop.org> - 0.7.5-1.olpc2
+- Install /etc/olpc-security by default.
+- Improve installation-scripts to handle updates. (thanks, Mako).
+- Cause rainbow-daemon to request utf8 strings, fixes http://dev.laptop.org/ticket/5011.
+
+* Sat Nov 10 2007 Michael Stone <michael at laptop.org> - 0.7.4-1.olpc2
+- Explicitly specify the working directory of launched activities.
+- Reduce permissions on activity home dirs.
+- Fix the strace option.
+- Add ipython dependency so we get detailed tracebacks on failure.
+- Make owner.key.pub available to activities.
+
+* Wed Nov 07 2007 Michael Stone <michael at laptop.org> - 0.7.3-1.olpc2
+- Replace Rainbow's log dir with a log file.
+- Put Rainbow's spool into /activities since we're making /var/run and /var/tmp
+  into tmpfsen.
+
+* Mon Nov 05 2007 Michael Stone <michael at laptop.org> - 0.7.2-1.olpc2
+- Tell Sugar when we think we've successfully launched activities.
+
+* Mon Nov 05 2007 Michael Stone <michael at laptop.org> - 0.7.1-1.olpc2
+- Add rainbow-inject hook for console tests.
+- Improve error-detection.
+- Explicitly take ownership for all the dirs in Rainbow's spool.
+- Reap zombie children.
+- Add explicit dependency on an appropriate sugar version.
+
+* Thu Nov 01 2007 Michael Stone <michael at laptop.org> - 0.7.0-1.olpc2
+- Remove olpc-update
+- Remove dependency on pyvserver
+
+* Thu Sep 27 2007 Michael Stone <michael at laptop.org> - 0.6.7-1
+- Add /etc/init.d/rainbow-daemon
+
+* Thu Sep 27 2007 Michael Stone <michael at laptop.org> - 0.6.6-1
+- Bump revision number.
+
+* Mon Sep 24 2007 Michael Stone <michael at laptop.org> - 0.6.5-1
+- Bump revision number.
+
+* Mon Sep 24 2007 Michael Stone <michael at laptop.org> - 0.6.4-1
+- Bump revision number.
+- Add dependency on olpccontents
+
+* Wed Sep 19 2007 Michael Stone <michael at laptop.org> - 0.6.3-1
+- Fix version/release numbering.
+- Correct source line.
+
+* Wed Sep 19 2007 Michael Stone <michael at laptop.org> - 1.0-0.6.2
+- Bump revision number.
+- Fix installation permissions on executable scripts.
+- Add a olpc-update and olpc-update-rsync scripts for performing incremental OS
+  updates.
+
+* Mon Sep 10 2007 Michael Stone <michael at laptop.org> - 1.0-0.6.1
+- Bump revision number.
+
+* Fri Sep 07 2007 Michael Stone <michael at laptop.org> - 1.0-0.6
+- Correct ChangeLog formatting.
+
+* Thu Aug 31 2007 Michael Stone <michael at laptop.org> - 1.0-0.4.4.20070831gita7c737
+- Record run-time dependencies on python-sqlalchemy and pyvserver.
+- Add a build-number field to the release identifier.
+
+* Thu Aug 30 2007 Michael Stone <michael at laptop.org> - 1.0-0.2.20070830git014607
+- Add a new installed binary for runninng updaters.
+
 * Mon Aug 13 2007 Noah Kantrowitz <noah at laptop.org> - 1.0-0.2.20070731gitde262e
 - Add dist tag to Release.
+
 * Mon Aug 13 2007 Noah Kantrowitz <noah at laptop.org> - 1.0-0.1.20070731gitde262e
 - Remove arch-specific variables.
 - Package only needed folders from site-pacakges.
 - Use macros in a few more places.
+
 * Tue Jul 31 2007 Noah Kantrowitz <noah at laptop.org> - 1.0-0.0.20070731gitde262e
 - Bump to latest version of Rainbow.
+
 * Mon Jul 30 2007 Noah Kantrowitz <noah at laptop.org> - 1.0-0.0.20070730git9a7744
 - Adding DBus session bus config and bumping to new snapshop of Rainbow.
+
 * Tue Jul 24 2007 Noah Kantrowitz <noah at laptop.org> - 1.0-0.0.20070723git639686
 - Initial version of this spec.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rainbow/F-9/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	13 Aug 2007 23:14:56 -0000	1.2
+++ sources	25 Jun 2008 08:50:54 -0000	1.3
@@ -1 +1 @@
-9a2c828bf6b91aa2f343fc88b3ab2eab  rainbow-20070731gitde262e.tar.bz2
+6ef59696652040c775ca5f582a09bb39  rainbow-0.7.14.tar.bz2




More information about the fedora-extras-commits mailing list