10 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
13 Packager: PlanetLab Central <support@planet-lab.org>
14 Distribution: PlanetLab %{plrelease}
17 Summary: Vsys filesystem
22 Group: System Environment/Kernel
23 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
25 BuildRequires: inotify-tools-devel
27 BuildRequires: ocaml-ocamldoc
29 Source0: vsys-%{version}.tar.gz
32 vsys is a file-system-based interface that lets slices on PlanetLab safely
33 invoke services installed by the PlanetLab administration. Slices invoke and
34 interact with these services through fifo pipes. Services can be added and
41 rm -rf $RPM_BUILD_ROOT
42 # for fedora 29, that comes with a change in the ocaml language
43 # picked that tip here:
44 # https://github.com/HaxeFoundation/haxe/issues/6883
45 export OCAMLPARAM="safe-string=0,_"
49 mkdir -p $RPM_BUILD_ROOT/usr/bin
50 mkdir -p $RPM_BUILD_ROOT/etc/init.d
51 mkdir -p $RPM_BUILD_ROOT/vsys
52 #cp factory/* $RPM_BUILD_ROOT/vsys
53 cp -p vsys $RPM_BUILD_ROOT/usr/bin
54 cp -p vsys-initscript $RPM_BUILD_ROOT/etc/init.d/vsys
55 cp -p vsys.conf $RPM_BUILD_ROOT/etc
57 install -D -p -m 644 vsys.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/vsys
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(-,root,root,-)
67 %config(noreplace) /etc/vsys.conf
68 %{_sysconfdir}/logrotate.d/vsys
73 if [ "$PL_BOOTCD" != "1" ] ; then
80 * Mon Jan 07 2019 Thierry <Parmentelat> - vsys-0.99-4
81 - building on fedora29 requires to tweak ocaml compile environment
83 * Tue Feb 26 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - vsys-0.99-3
84 - only cosmetic changes
86 * Mon Sep 26 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - vsys-0.99-2
87 - split the vsyssh package in a separate specfile
88 - so we can preinstall vsyssh in the sliver space
90 * Thu Jan 27 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - vsys-0.99-1
91 - vsyssh is a simple shell to use vsys through, in the vsys-vsyssh rpm
92 - fix build dep to require ocaml-ocamldoc instead of ocaml-docs
94 * Thu Dec 16 2010 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.99-0
95 - Fixed a memory leak, mainly. The other changes are simply commits that got lost between the move from svn/head to
98 * Sun Dec 27 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - vsys-0.9-4
101 * Mon May 18 2009 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.9-3
102 - The previous tag (0.9-2) doesn't build. This one is tested to build and install (or rather, upgrade) fine with the previous
105 * Mon May 18 2009 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.9-2
106 - Getting rid of factory scripts from the main vsys. They now live elsewhere.
108 * Tue Mar 31 2009 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.9-1
109 - * The main change in version 0.9 is file-descriptor passing support. The way this works in Vsys is that you write a
110 - script whose name has the prefix "fd_". Such scripts show up within slices as ".control" files and can be used to
111 - exchange file descriptors with root context. Vsys scripts inherit the socket that corresponds to this channel, so they
112 - do not need to deal with connection setup and teardown. Please see vsys-wrappers/ and vsys-factory/fuse,
113 - vsys-factory/bm_socket for more details.
114 - * Version 0.9 is the current stable version of Vsys. It has a fix for a vulnerability in 0.7, and has undergone a
116 - * Version 0.95 (trunk) is the new development version.
118 * Tue Feb 24 2009 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.7-26
119 - Tagging to force an update.
121 * Fri Feb 20 2009 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.7-25
123 * Fri Feb 20 2009 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.7-24
125 * Thu Feb 19 2009 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.7-23
127 * Tue Sep 30 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.7-22
128 - Tagging a trivial fix.
130 * Thu Sep 25 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - vsys-0.7-21
131 - includes new portsummary script for CoMon
133 * Mon Aug 11 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - vsys-0.7-20
134 - trying to fix the taglevel relative to the branch name
136 * Thu Jul 17 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.7-18
137 - Change for someone at Imperial.ac.uk, who wants access to Netflow data.
139 * Tue Jul 15 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.7-17
140 - * Don't kill vsys twice on restarts, do it only once
141 - * Restart vsys following a reinstall
143 * Wed Jul 02 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - vsys-0.7-16
144 - Usability changes that are necessary for the stability of CoMon
146 * Wed Jun 25 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - vsys-0.7-15
147 - added patch to pl-ps needed by slicestat
151 * Mon Jun 23 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.7-14
152 - This change is an attempt to fix unexpected blocking after many days of uptime, reported by KyoungSoo.
154 * Thu Jun 19 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - vsys-0.7-13
155 - accept '-' in filenames also
158 * Wed Jun 18 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - vsys-0.7-12
159 - don't overwrite the config file that already exists.
162 * Wed Jun 18 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.7-11
163 - Suppress some temp file that RPM creates frmo showing up as a vsys script.
167 * Wed Jun 18 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.7-10
168 - Changed a policy in vsys. When an acl is empty, the script doesn't show up in ANY slice. The previous behavior was for
169 - it to show up in all slices.
173 * Wed Jun 18 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - vsys-0.7-9
174 - Added a vsys script for CoMon.
177 * Mon Jun 16 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - vsys-0.7-8
178 - ignore non-existent directories after restart.
181 * Fri May 16 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - vsys-0.7-7
182 - added logrotate configuration to package.
185 * Mon May 12 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - vsys-0.7-6
186 - Added two new scripts for CoMon on 4.2
189 * Tue May 06 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - vsys-0.7-5
191 - Corrected directory that the script mounts to the correct one:
195 * Wed Apr 23 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - vsys-0.7-4
196 - Pulling the latest changes for the 4.2rc2 release
199 * Fri Feb 15 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - vsys-0.7-2 vsys-0.7-3
200 - * daemonization, writing to a logfile, and saving the pid