git://git.onelab.eu
/
pingofdeath.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- simplify build procses by combining start/enable/status functions into
[pingofdeath.git]
/
ipod.spec
diff --git
a/ipod.spec
b/ipod.spec
index
5185c41
..
9609456
100644
(file)
--- a/
ipod.spec
+++ b/
ipod.spec
@@
-1,6
+1,11
@@
%define name ipod
%define name ipod
-%define version 2.0
-%define release 3
+%define version 2.1
+%define release 1.planetlab%{?date:.%{date}}
+
+Vendor: PlanetLab
+Packager: PlanetLab Central <support@planet-lab.org>
+Distribution: PlanetLab 3.0
+URL: http://cvs.planet-lab.org/cvs/ipod
Summary: PlanetLab ICMP Ping of Death
Name: %{name}
Summary: PlanetLab ICMP Ping of Death
Name: %{name}
@@
-9,7
+14,7
@@
Release: %{release}
Copyright: GPL
Group: System Environment/Kernel
Source: %{name}-%{version}.tar.gz
Copyright: GPL
Group: System Environment/Kernel
Source: %{name}-%{version}.tar.gz
-BuildRoot:
/tmp/%{name}-%{version}-
root
+BuildRoot:
%{_tmppath}/%{name}-%{version}
root
%description
Startup service to enable Ping Of Death
%description
Startup service to enable Ping Of Death
@@
-31,24
+36,22
@@
cp pod $RPM_BUILD_ROOT/etc/init.d/
%clean
%clean
-rm -rf $RPM_BUILD_ROOT
+
[ "$RPM_BUILD_ROOT" != "/" ] &&
rm -rf $RPM_BUILD_ROOT
%files
%files
-%defattr(
-
, root, root)
+%defattr(
0755
, root, root)
/etc/init.d/pod
/usr/local/planetlab/bin/pl-poddoit
%pre
%post
/etc/init.d/pod
/usr/local/planetlab/bin/pl-poddoit
%pre
%post
-RUNLEVEL=`/sbin/runlevel`
-
if [ "$1" = 1 ]; then
chkconfig --add pod
chkconfig pod on
if [ "$1" = 1 ]; then
chkconfig --add pod
chkconfig pod on
- if [[ "$
RUNLEVEL" != "unknown" ]]
; then
+ if [[ "$
PL_BOOTCD" != "1" ]]
; then
/etc/init.d/pod start
fi
fi
/etc/init.d/pod start
fi
fi
@@
-63,6
+66,11
@@
fi
%changelog
%changelog
+* Fri Aug 5 2005 Aaron Klingaman <alk@absarokasoft.com>
+- updated to use new source of POD Hash (/etc/planetlab/session)
+- minor build changes to simply build process
+- remove unnecessary call to runlevel in post section
+
* Mon Apr 12 2004 Aaron Klingaman <alk@cs.princeton.edu>
- moved to new build process
- added change log
* Mon Apr 12 2004 Aaron Klingaman <alk@cs.princeton.edu>
- moved to new build process
- added change log