iproute2: install missing tc-lib, FS#602
This commit is contained in:
parent
f2ea19f359
commit
64046db695
|
@ -11,6 +11,8 @@ drwxr-xr-x root/root etc/rc.d/
|
||||||
drwxr-xr-x root/root lib/
|
drwxr-xr-x root/root lib/
|
||||||
drwxr-xr-x root/root lib/tc/
|
drwxr-xr-x root/root lib/tc/
|
||||||
-rwxr-xr-x root/root lib/tc/experimental.dist
|
-rwxr-xr-x root/root lib/tc/experimental.dist
|
||||||
|
lrwxrwxrwx root/root lib/tc/m_ipt.so -> m_xt.so
|
||||||
|
-rwxr-xr-x root/root lib/tc/m_xt.so
|
||||||
-rwxr-xr-x root/root lib/tc/normal.dist
|
-rwxr-xr-x root/root lib/tc/normal.dist
|
||||||
-rwxr-xr-x root/root lib/tc/pareto.dist
|
-rwxr-xr-x root/root lib/tc/pareto.dist
|
||||||
-rwxr-xr-x root/root lib/tc/paretonormal.dist
|
-rwxr-xr-x root/root lib/tc/paretonormal.dist
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
5c5742bdac05a1688f266512e685b83c iproute2-2.6.34.tar.bz2
|
5c5742bdac05a1688f266512e685b83c iproute2-2.6.34.tar.bz2
|
||||||
|
2449079ddcc23a1cc08014e025d153ab iproute2-tc_install.patch
|
||||||
0b01b0404718d043adf55cfa314c80bd net.iproute2
|
0b01b0404718d043adf55cfa314c80bd net.iproute2
|
||||||
|
|
|
@ -5,16 +5,16 @@
|
||||||
|
|
||||||
name=iproute2
|
name=iproute2
|
||||||
version=2.6.34
|
version=2.6.34
|
||||||
release=1
|
release=2
|
||||||
source=(http://devresources.linuxfoundation.org/dev/iproute2/download/$name-$version.tar.bz2 \
|
source=(http://devresources.linuxfoundation.org/dev/iproute2/download/$name-$version.tar.bz2 \
|
||||||
net.iproute2)
|
net.iproute2 iproute2-tc_install.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
patch -p1 -i $SRC/iproute2-tc_install.patch
|
||||||
sed -i "s|-O2|$CFLAGS -DIPT_LIB_DIR=\\\\\"/usr/lib/xtables\\\\\"|" Makefile
|
sed -i "s|-O2|$CFLAGS -DIPT_LIB_DIR=\\\\\"/usr/lib/xtables\\\\\"|" Makefile
|
||||||
make
|
make
|
||||||
make MANDIR=/usr/man DESTDIR=$PKG install
|
make MANDIR=/usr/man DESTDIR=$PKG install
|
||||||
install -m 0755 tc/tc $PKG/sbin
|
|
||||||
rm -r $PKG/share
|
rm -r $PKG/share
|
||||||
install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net
|
install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user