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
30 # need the apache user at install-time
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.
44 EXCLUDE="exclude=kernel* util-vserver* iptables iproute"
45 for filein in $(find . -name '*.in') ; do
46 file=$(echo $filein | sed -e "s,\.in$,,")
47 sed -e "s,@EXCLUDE@,$EXCLUDE,g" $filein > $file
51 rm -rf $RPM_BUILD_ROOT
53 echo "* nodeconfig: Installing PlanetLabConf pages"
55 for dir in boot PlanetLabConf PLCAPI ; do
56 mkdir -p $RPM_BUILD_ROOT/var/www/html/$dir
58 # let's be conservative and exclude codebase files, though there should not be any
59 rsync -a --exclude \*.spec --exclude .svn --exclude \*.in ./ $RPM_BUILD_ROOT/var/www/html/
62 # the boot manager upload area
64 chown apache:apache /var/log/bm
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(-,root,root,-)
73 /var/www/html/PlanetLabConf
77 * Mon Mar 30 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-17
78 - fixed bmlog uploading
80 * Fri Feb 27 2009 Stephen Soltesz <soltesz@cs.princeton.edu> - nodeconfig-4.2-16
81 - make sure the /var/log/bm dir is created correctly. didn't seem to work where
84 * Wed Feb 25 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-15
85 - merge changes in upload-bmlog from the trunk
87 * Fri Feb 20 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-14
88 - bootmanager upload script
90 * Fri Sep 19 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - nodeconfig-4.2-13
91 - This configuration file has a single line addition to the standard configuration and it's based on state maintained in the DB. This has been deprecated in favor of maintaining it in NM. The standard configuration is in the iptables module and the nodegroup specific addition is created when the ipset is created by NM.
93 * Mon Sep 15 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-12
94 - yum config for nodes needs to mention the additional 'newkey' repository
96 * Mon Aug 04 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - nodeconfig-4.2-11
97 - PlanetFlow/codemux fix
98 - Used "./module-tag -b 4.2 nodeconfig:4.2".
100 * Fri Jul 25 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - nodeconfig-4.2-10
101 - syntax error. Fixed.
103 * Fri Jul 25 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - nodeconfig-4.2-9
104 - Updated ntp conf files.
105 - I2 iptables for nodes on I2.
107 * Thu Jul 24 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - nodeconfig-4.2-8
108 - iptables superceded by svn/iptables/planetlab-config
110 * Sat Jul 19 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-7
111 - svn keyword expansion fixed, no functional change
113 * Fri Jul 04 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-6
114 - yum config on nodes improved -- see https://svn.planet-lab.org/ticket/342
116 * Wed Jun 25 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-5
117 - yum.conf.php handles nodegroups and slicefamily
120 * Tue Apr 22 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-4
121 - keys.php know about monitor
122 - new sudoers.php script
124 * Thu Apr 03 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - nodeconfig-4.2-2 nodeconfig-4.2-3
125 - Added support for centralized PlanetFlow.
127 * Wed Mar 26 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodeconfig-4.2-1 nodeconfig-4.2-2
128 - integrated /var/www/html/{boot,PLCAPI} from PLCWWW
129 - former content has moved down into PlanetLabConf