aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sqm-scripts/10-Makefile.patch
diff options
context:
space:
mode:
authorBen Allen <bensallen@me.com>2016-01-13 14:53:31 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-01-19 12:51:54 +0000
commit34be128a47762c967c596f7c2f739fa27b861379 (patch)
tree816deda224f153ba0eca42caf8e2b8990e54c953 /testing/sqm-scripts/10-Makefile.patch
parent5b3b16cad875216eabf1261873ca97b850f94d4e (diff)
downloadaports-34be128a47762c967c596f7c2f739fa27b861379.tar.bz2
aports-34be128a47762c967c596f7c2f739fa27b861379.tar.xz
testing/sqm-scripts: new aport
SQM scripts traffic shaper: https://github.com/tohojo/sqm-scripts
Diffstat (limited to 'testing/sqm-scripts/10-Makefile.patch')
-rw-r--r--testing/sqm-scripts/10-Makefile.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/sqm-scripts/10-Makefile.patch b/testing/sqm-scripts/10-Makefile.patch
new file mode 100644
index 0000000000..29879e1359
--- /dev/null
+++ b/testing/sqm-scripts/10-Makefile.patch
@@ -0,0 +1,17 @@
+--- sqm-scripts-1.0.6/Makefile.orig
++++ sqm-scripts-1.0.6/Makefile
+@@ -20,13 +20,8 @@
+ install -m 0744 src/run-openwrt.sh $(DESTDIR)$(PREFIX)/lib/sqm/run.sh
+
+ install-linux: install-lib
+- install -m 0755 -d $(DESTDIR)$(PREFIX)/lib/systemd/system \
+- $(DESTDIR)$(PREFIX)/lib/tmpfiles.d $(DESTDIR)$(PREFIX)/bin
++ install -m 0755 -d $(DESTDIR)$(PREFIX)/bin
+ install -m 0644 platform/linux/eth0.iface.conf.example $(DESTDIR)/etc/sqm
+- install -m 0644 platform/linux/sqm@.service \
+- $(DESTDIR)$(PREFIX)/lib/systemd/system
+- install -m 0644 platform/linux/sqm-tmpfiles.conf \
+- $(DESTDIR)$(PREFIX)/lib/tmpfiles.d/sqm.conf
+ install -m 0755 platform/linux/sqm-bin $(DESTDIR)$(PREFIX)/bin/sqm
+ test -d $(DESTDIR)/etc/network/if-up.d && install -m 0755 platform/linux/sqm-ifup \
+ $(DESTDIR)/etc/network/if-up.d/sqm || exit 0