git://git.onelab.eu
/
codemux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- fixed the slow memory leak problem.
[codemux.git]
/
codemux.spec
diff --git
a/codemux.spec
b/codemux.spec
index
101464d
..
7196e64
100644
(file)
--- a/
codemux.spec
+++ b/
codemux.spec
@@
-1,18
+1,24
@@
%define name codemux
%define version 0.1
%define name codemux
%define version 0.1
-%define release
4
%{?pldistro:.%{pldistro}}%{?date:.%{date}}
+%define release
7
%{?pldistro:.%{pldistro}}%{?date:.%{date}}
Summary: CoDemux - HTTP port DeMux
Summary: CoDemux - HTTP port DeMux
-Name:
codemux
+Name:
%{name}
Version: %{version}
Release: %{release}
License: Private
Group: System Environment/Base
Version: %{version}
Release: %{release}
License: Private
Group: System Environment/Base
+Source: %{name}-%{version}.tar.gz
+Vendor: PlanetLab
+Packager: PlanetLab Central <support@planet-lab.org>
+Distribution: PlanetLab 3.0
URL: http://codeen.cs.princeton.edu/
URL: http://codeen.cs.princeton.edu/
-Source0: %{name}-%{version}.tar.gz
-
BuildRoot: %{_tmppath}/%{name}-buildroo
t
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
#Requires: vne
t
%description
%description
+codemux is a privileged port (80) sharing service that passes traffic to and from slices via localhost ports.
+
%prep
%setup -q
%prep
%setup -q
@@
-34,7
+40,7
@@
rm -rf $RPM_BUILD_ROOT
%defattr(0644,root,root)
%attr(0755,root,root) %{_initrddir}/codemux
%config /etc/codemux/codemux.conf
%defattr(0644,root,root)
%attr(0755,root,root) %{_initrddir}/codemux
%config /etc/codemux/codemux.conf
-%attr(0755,root,root) /usr/
local/planetlab/
sbin/codemux
+%attr(0755,root,root) /usr/sbin/codemux
%post
chkconfig codemux reset
%post
chkconfig codemux reset