X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=bootmanager.spec;h=8f2602f2a5a165c9350dd5d2f0063721f7f7f224;hb=ec222076b22923daa8071c1ac7b7377ea72e7bfc;hp=071d0f99c6f7489fb18b5845db3fb6a6576985c6;hpb=8d38695b0ebd02dac24b291cabd9555f71d4cd79;p=bootmanager.git diff --git a/bootmanager.spec b/bootmanager.spec index 071d0f9..8f2602f 100644 --- a/bootmanager.spec +++ b/bootmanager.spec @@ -5,7 +5,7 @@ %define name bootmanager %define version 4.3 -%define taglevel 13 +%define taglevel 16 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -22,13 +22,18 @@ License: BSD Group: System Environment/Base Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildArch: noarch Requires: tar, gnupg, sharutils, bzip2, pypcilib Requires: PLCAPI >= 4.3 - # the python code packaged in these are shipped on the node as well Requires: pypcilib pyplnet monitor-runlevelagent +# plc.d/bootmanager is moving +Conflicts: myplc <= 4.3.37 +# nodeconfig/boot/index.php is moving +Conflicts: nodeconfig <= 4.3.7 + AutoReqProv: no %define debug_package %{nil} @@ -46,45 +51,45 @@ gcc -shared -fPIC -ldl -Os -o source/libc-opendir-hack.so source/libc-opendir-ha rm -rf $RPM_BUILD_ROOT # Install source so that it can be rebuilt -find build.sh source | cpio -p -d -u $RPM_BUILD_ROOT/%{_datadir}/%{name}/ +find build.sh source | cpio -p -d -u $RPM_BUILD_ROOT/%{_datadir}/%{name}/regular/ -touch bootmanager.sh -install -D -m 755 bootmanager.sh $RPM_BUILD_ROOT/var/www/html/boot/bootmanager.sh +install -m 644 README $RPM_BUILD_ROOT/%{_datadir}/%{name}/README -# This is only required for 2.x bootcds. -install -D -m 644 support-files/uudecode.gz $RPM_BUILD_ROOT/var/www/html/boot/uudecode.gz +# formerly in the nodeconfig module +install -D -m 755 nodeconfig/boot/index.php $RPM_BUILD_ROOT/var/www/html/boot/index.php + +# formerly in the MyPLC module +install -D -m 755 plc.d/bootmanager $RPM_BUILD_ROOT/etc/pld.c/bootmanager %clean rm -rf $RPM_BUILD_ROOT -# If run under sudo -if [ -n "$SUDO_USER" ] ; then - # Allow user to delete the build directory - chown -h -R $SUDO_USER . - # Some temporary cdroot files like /var/empty/sshd and - # /usr/bin/sudo get created with non-readable permissions. - find . -not -perm +0600 -exec chmod u+rw {} \; - # Allow user to delete the built RPM(s) - chown -h -R $SUDO_USER %{_rpmdir}/%{_arch} -fi - %post -cat < - BootManager-4.3-16 +- support for fedora 12 + +* Sat Dec 19 2009 Marc Fiuczynski - BootManager-4.3-15 +- - support for when the node is behind a NAT +- - clean up RUN_LEVEL support +- - support for early sshd + +* Thu Nov 19 2009 Daniel Hokka Zakrisson - BootManager-4.3-14 +- Add NAT model option for nodes which don't resolve properly. + * Mon Sep 07 2009 Stephen Soltesz - BootManager-4.3-12 - Moved some configuration values from BootServerRequest.py to 'configuration' file. - BootServerRequest takes the 'VARS' variable to read these values.