OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../hostapd/install.patch
  5. # Copyright (C) 2010 - 2011 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. From a0c0a082eaacb4619a68351702e69bbd4e16d65a Mon Sep 17 00:00:00 2001
  17. From: Gernot Tenchio <gernot.tenchio@securepoint.de>
  18. Date: Wed, 24 Nov 2010 11:28:01 +0100
  19. Subject: [PATCH 2/2] hostapd: fix install path
  20. ---
  21. hostapd/Makefile | 7 ++++++-
  22. 1 files changed, 6 insertions(+), 1 deletions(-)
  23. diff --git a/hostapd/Makefile b/hostapd/Makefile
  24. index 2db0707..8eba33e 100644
  25. --- a/hostapd/Makefile
  26. +++ b/hostapd/Makefile
  27. @@ -757,8 +757,13 @@ verify_config:
  28. exit 1; \
  29. fi
  30. +prefix=/usr/local
  31. +
  32. install: all
  33. - for i in $(ALL); do cp -f $$i /usr/local/bin/$$i; done
  34. + @mkdir -p $(DESTDIR)$(prefix)/bin
  35. + @mkdir -p $(DESTDIR)$(prefix)/sbin
  36. + cp -f hostapd $(DESTDIR)$(prefix)/sbin
  37. + cp -f hostapd_cli $(DESTDIR)$(prefix)/bin
  38. ../src/drivers/build.hostapd:
  39. @if [ -f ../src/drivers/build.wpa_supplicant ]; then \
  40. --
  41. 1.7.2.3