3 %define name nodeconfig
7 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
9 Summary: PlanetLab Central (PLC) nodes configuration files generator
14 Group: System Environment/Daemons
15 Source0: %{name}-%{version}.tar.gz
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17 # cannot do this as of f12
21 Packager: PlanetLab Central <support@planet-lab.org>
22 Distribution: PlanetLab %{plrelease}
25 # We use set everywhere
27 Requires: PLCAPI >= 4.3
31 The nodeconfig package provides various php scripts that are used to
32 generate configuration files for nodes. It is taken out of the PLCWWW
33 module because it has crucial impact on nodes, while PLCWWW can and
34 does have several implementations at this moment. For historical
35 reasons these scripts get installed in /var/www/html/PlanetLabConf.
43 rm -rf $RPM_BUILD_ROOT
45 echo "* nodeconfig: Installing PlanetLabConf pages"
47 for dir in PlanetLabConf PLCAPI ; do
48 mkdir -p $RPM_BUILD_ROOT/var/www/html/$dir
49 rsync -a --exclude .svn ./$dir/ $RPM_BUILD_ROOT/var/www/html/$dir/
52 # Install db-config.d files
53 echo "* Installing db-config.d files"
54 mkdir -p ${RPM_BUILD_ROOT}/etc/planetlab/db-config.d
55 cp db-config.d/* ${RPM_BUILD_ROOT}/etc/planetlab/db-config.d
56 chmod 444 ${RPM_BUILD_ROOT}/etc/planetlab/db-config.d/*
59 rm -rf $RPM_BUILD_ROOT
64 %defattr(-,root,root,-)
65 /var/www/html/PlanetLabConf
67 /etc/planetlab/db-config.d
70 * Tue Feb 01 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-5.0-5
71 - remove backward compat to GetNodeNetworks and the like
73 * Sun Jan 23 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-5.0-4
74 - trashed sfa_component_setup job & conf file
76 * Wed Sep 01 2010 Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - nodeconfig-5.0-3
77 - check file before reading the configuration.
79 * Fri Apr 02 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-5.0-2
80 - new php scripts for configuring sfa component cron
82 * Fri Jan 29 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-5.0-1
83 - first working version of 5.0:
84 - pld.c/, db-config.d/ and nodeconfig/ scripts should now sit in the module they belong to
85 - the yum/ and boot/ subdirs have moved away from here
87 * Wed Dec 23 2009 Marc Fiuczynski <mef@cs.princeton.edu> - nodeconfig-4.3-7
88 - - decompose PlanetLabConf/sysctl.php into sysctl.conf and
89 - sysctl-ip_forward.php. This is in prep of phasing out the latter
90 - altogether, as enabling ip_forwarding should be something that is
92 - - PlanetLabConf/ntptickers.php migrated PlanetLabConf/ntp/step-tickers.php
93 - - Added sfa_config.php
94 - - updated ntp server set for .de (german) nodes.
95 - - f12 related changes from Thierry/Baris
97 * Sun Nov 22 2009 Marc Fiuczynski <mef@cs.princeton.edu> - nodeconfig-4.3-6
98 - For all MyPLC nodes deployed at Polish Telecom (PLC, PLE and CoBlitz),
99 - use the TP local NTP servers.
101 * Mon Sep 07 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.3-5
102 - new script for updating the exentions set
104 - cleanup useless scripts
106 * Sat Jul 04 2009 Stephen Soltesz <soltesz@cs.princeton.edu> - nodeconfig-4.3-4
107 - add two views to the PLC config data, limited and unlimited.
108 - unlimited view reports all values. Requires the 'infrastructure=1' tag and
109 - that the call originates from the node.
111 * Fri May 15 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.3-3
112 - changes to sysctl.conf for co* relating to tcp window scaling
114 * Tue Mar 24 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.3-2
116 - new script upload-bmlog.php
117 - attempts to ship decent yum configs for stock repos to nodes
119 - attempts to be 4.2 compatible
121 * Wed Sep 10 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.3-1
122 - reflects new names from the data model
124 * Tue Apr 22 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-4
125 - keys.php know about monitor
126 - new sudoers.php script
128 * Thu Apr 03 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - nodeconfig-4.2-2 nodeconfig-4.2-3
129 - Added support for centralized PlanetFlow.
131 * Wed Mar 26 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-1 nodeconfig-4.2-2
132 - integrated /var/www/html/{boot,PLCAPI} from PLCWWW
133 - former content has moved down into PlanetLabConf
136 %define module_current_branch 4.3