git://git.onelab.eu
/
transforward.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
was trying to use procprotect.conf in transforward
[transforward.git]
/
transforward.spec
diff --git
a/transforward.spec
b/transforward.spec
index
071fd35
..
2db6676
100644
(file)
--- a/
transforward.spec
+++ b/
transforward.spec
@@
-29,6
+29,7
@@
Vendor: PlanetLab
Packager: PlanetLab Central <support@planet-lab.org>
Distribution: PlanetLab %{plrelease}
URL: %{SCMURL}
Packager: PlanetLab Central <support@planet-lab.org>
Distribution: PlanetLab %{plrelease}
URL: %{SCMURL}
+Requires: kernel = %{kernel_version}-%{kernel_release}
Summary: Kernel module that transparently forwards ports between containers
Name: %{name}
Summary: Kernel module that transparently forwards ports between containers
Name: %{name}
@@
-50,12
+51,15
@@
make -C %{kernelpath} V=1 M=$(pwd) modules
%install
install -D -m 755 transforward.ko $RPM_BUILD_ROOT/lib/modules/%{kernel_id}/net/transforward/transforward.ko
%install
install -D -m 755 transforward.ko $RPM_BUILD_ROOT/lib/modules/%{kernel_id}/net/transforward/transforward.ko
+mkdir -p $RPM_BUILD_ROOT/etc/modules-load.d
+install -m 644 transforward.conf $RPM_BUILD_ROOT/etc/modules-load.d/transforward.conf
%clean
rm -rf $RPM_BUILD_ROOT
%files
/lib/modules/%{kernel_id}
%clean
rm -rf $RPM_BUILD_ROOT
%files
/lib/modules/%{kernel_id}
+/etc/modules-load.d/transforward.conf
%post
%post