[package] fix axhttpd installation, patch from Russell Senior
authorFlorian Fainelli <florian@openwrt.org>
Thu, 28 May 2009 11:11:46 +0000 (11:11 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 28 May 2009 11:11:46 +0000 (11:11 +0000)
SVN-Revision: 16131

libs/axtls/patches/002-axhttpd_install.patch [new file with mode: 0644]

diff --git a/libs/axtls/patches/002-axhttpd_install.patch b/libs/axtls/patches/002-axhttpd_install.patch
new file mode 100644 (file)
index 0000000..9fa6b31
--- /dev/null
@@ -0,0 +1,16 @@
+diff -ru axtls-1.2.2/Makefile axtls-1.2.2-new/Makefile\r
+--- axtls-1.2.2/Makefile       2007-12-01 16:42:23.000000000 -0800\r
++++ axtls-1.2.2-new/Makefile   2009-05-27 22:41:44.000000000 -0700\r
+@@ -88,8 +88,11 @@\r
+ install: $(PREFIX) all\r
+       cp --no-dereference $(STAGE)/libax* $(PREFIX)/lib\r
+       chmod 755 $(PREFIX)/lib/libax* \r
++ifdef CONFIG_AXHTTPD\r
++      install -m 755 $(STAGE)/axhttpd $(PREFIX)/bin\r
++endif\r
+ ifdef CONFIG_SAMPLES\r
+-      install -m 755 $(STAGE)/ax* $(PREFIX)/bin \r
++      install -m 755 $(STAGE)/axssl $(PREFIX)/bin \r
+ endif\r
+ ifdef CONFIG_HTTP_HAS_AUTHORIZATION\r
+       install -m 755 $(STAGE)/htpasswd $(PREFIX)/bin \r