4 %define url $URL: svn+ssh://thierry@svn.planet-lab.org/svn/WWW/trunk/PLCWWW.spec $
6 %define name nodeconfig
10 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
12 Summary: PlanetLab Central (PLC) nodes configuration files generator
17 Group: System Environment/Daemons
18 Source0: %{name}-%{version}.tar.gz
19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
20 # cannot do this as of f12
24 Packager: PlanetLab Central <support@planet-lab.org>
25 Distribution: PlanetLab %{plrelease}
26 URL: %(echo %{url} | cut -d ' ' -f 2)
28 # We use set everywhere
30 Requires: PLCAPI >= 4.3
34 The nodeconfig package provides various php scripts that are used to
35 generate configuration files for nodes. It is taken out of the PLCWWW
36 module because it has crucial impact on nodes, while PLCWWW can and
37 does have several implementations at this moment. For historical
38 reasons these scripts get installed in /var/www/html/PlanetLabConf.
46 rm -rf $RPM_BUILD_ROOT
48 echo "* nodeconfig: Installing PlanetLabConf pages"
50 for dir in PlanetLabConf PLCAPI ; do
51 mkdir -p $RPM_BUILD_ROOT/var/www/html/$dir
52 rsync -a --exclude .svn ./$dir/ $RPM_BUILD_ROOT/var/www/html/$dir/
55 # Install db-config.d files
56 echo "* Installing db-config.d files"
57 mkdir -p ${RPM_BUILD_ROOT}/etc/planetlab/db-config.d
58 cp db-config.d/* ${RPM_BUILD_ROOT}/etc/planetlab/db-config.d
59 chmod 444 ${RPM_BUILD_ROOT}/etc/planetlab/db-config.d/*
62 rm -rf $RPM_BUILD_ROOT
67 %defattr(-,root,root,-)
68 /var/www/html/PlanetLabConf
70 /etc/planetlab/db-config.d
73 * Wed Dec 23 2009 Marc Fiuczynski <mef@cs.princeton.edu> - nodeconfig-4.3-7
74 - - decompose PlanetLabConf/sysctl.php into sysctl.conf and
75 - sysctl-ip_forward.php. This is in prep of phasing out the latter
76 - altogether, as enabling ip_forwarding should be something that is
78 - - PlanetLabConf/ntptickers.php migrated PlanetLabConf/ntp/step-tickers.php
79 - - Added sfa_config.php
80 - - updated ntp server set for .de (german) nodes.
81 - - f12 related changes from Thierry/Baris
83 * Sun Nov 22 2009 Marc Fiuczynski <mef@cs.princeton.edu> - nodeconfig-4.3-6
84 - For all MyPLC nodes deployed at Polish Telecom (PLC, PLE and CoBlitz),
85 - use the TP local NTP servers.
87 * Mon Sep 07 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.3-5
88 - new script for updating the exentions set
90 - cleanup useless scripts
92 * Sat Jul 04 2009 Stephen Soltesz <soltesz@cs.princeton.edu> - nodeconfig-4.3-4
93 - add two views to the PLC config data, limited and unlimited.
94 - unlimited view reports all values. Requires the 'infrastructure=1' tag and
95 - that the call originates from the node.
97 * Fri May 15 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.3-3
98 - changes to sysctl.conf for co* relating to tcp window scaling
100 * Tue Mar 24 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.3-2
102 - new script upload-bmlog.php
103 - attempts to ship decent yum configs for stock repos to nodes
105 - attempts to be 4.2 compatible
107 * Wed Sep 10 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.3-1
108 - reflects new names from the data model
110 * Tue Apr 22 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-4
111 - keys.php know about monitor
112 - new sudoers.php script
114 * Thu Apr 03 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - nodeconfig-4.2-2 nodeconfig-4.2-3
115 - Added support for centralized PlanetFlow.
117 * Wed Mar 26 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-1 nodeconfig-4.2-2
118 - integrated /var/www/html/{boot,PLCAPI} from PLCWWW
119 - former content has moved down into PlanetLabConf
122 %define module_current_branch 4.3