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
23 Packager: PlanetLab Central <support@planet-lab.org>
24 Distribution: PlanetLab %{plrelease}
25 URL: %(echo %{url} | cut -d ' ' -f 2)
27 # We use set everywhere
29 Requires: PLCAPI >= 4.0
33 The nodeconfig package provides various php scripts that are used to
34 generate configuration files for nodes. It is taken out of the PLCWWW
35 module because it has crucial impact on nodes, while PLCWWW can and
36 does have several implementations at this moment. For historical
37 reasons these scripts get installed in /var/www/html/PlanetLabConf.
43 EXCLUDE="exclude=kernel* util-vserver* iptables iproute"
44 for filein in $(find . -name '*.in') ; do
45 file=$(echo $filein | sed -e "s,\.in$,,")
46 sed -e "s,@EXCLUDE@,$EXCLUDE,g" $filein > $file
50 rm -rf $RPM_BUILD_ROOT
52 echo "* nodeconfig: Installing PlanetLabConf pages"
54 for dir in boot PlanetLabConf PLCAPI ; do
55 mkdir -p $RPM_BUILD_ROOT/var/www/html/$dir
57 # let's be conservative and exclude codebase files, though there should not be any
58 rsync -a --exclude \*.spec --exclude .svn --exclude \*.in ./ $RPM_BUILD_ROOT/var/www/html/
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(-,root,root,-)
66 /var/www/html/PlanetLabConf
70 * Fri Jul 25 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - nodeconfig-4.2-10
71 - syntax error. Fixed.
73 * Fri Jul 25 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - nodeconfig-4.2-9
74 - Updated ntp conf files.
75 - I2 iptables for nodes on I2.
77 * Thu Jul 24 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - nodeconfig-4.2-8
78 - iptables superceded by svn/iptables/planetlab-config
80 * Sat Jul 19 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-7
81 - svn keyword expansion fixed, no functional change
83 * Fri Jul 04 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-6
84 - yum config on nodes improved -- see https://svn.planet-lab.org/ticket/342
86 * Wed Jun 25 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-5
87 - yum.conf.php handles nodegroups and slicefamily
90 * Tue Apr 22 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-4
91 - keys.php know about monitor
92 - new sudoers.php script
94 * Thu Apr 03 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - nodeconfig-4.2-2 nodeconfig-4.2-3
95 - Added support for centralized PlanetFlow.
97 * Wed Mar 26 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-1 nodeconfig-4.2-2
98 - integrated /var/www/html/{boot,PLCAPI} from PLCWWW
99 - former content has moved down into PlanetLabConf