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.

51 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2006-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=tinyproxy
  9. PKG_VERSION:=1.8.3
  10. PKG_RELEASE:=3
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  12. PKG_SOURCE_URL:=http://www.banu.com/pub/tinyproxy/1.8/
  13. PKG_HASH:=be559b54eb4772a703ad35239d1cb59d32f7cf8a739966742622d57df88b896e
  14. PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
  15. PKG_INSTALL:=1
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/tinyproxy
  18. SUBMENU:=Web Servers/Proxies
  19. SECTION:=net
  20. CATEGORY:=Network
  21. TITLE:=Tinyproxy is a lightweight HTTP and HTTPS proxy
  22. URL:=http://tinyproxy.sourceforge.net/
  23. endef
  24. define Package/tinyproxy/conffiles
  25. /etc/config/tinyproxy
  26. endef
  27. CONFIGURE_ARGS+= \
  28. --enable-filter \
  29. --enable-transparent \
  30. --disable-regexcheck \
  31. define Package/tinyproxy/install
  32. $(INSTALL_DIR) $(1)/usr/sbin
  33. $(CP) $(PKG_INSTALL_DIR)/usr/sbin/tinyproxy $(1)/usr/sbin/
  34. $(INSTALL_DIR) $(1)/usr/share/tinyproxy
  35. $(CP) $(PKG_INSTALL_DIR)/usr/share/tinyproxy/*.html $(1)/usr/share/tinyproxy/
  36. $(INSTALL_DIR) $(1)/etc/config
  37. $(INSTALL_CONF) ./files/tinyproxy.config $(1)/etc/config/tinyproxy
  38. $(INSTALL_DIR) $(1)/etc/init.d
  39. $(INSTALL_BIN) ./files/tinyproxy.init $(1)/etc/init.d/tinyproxy
  40. endef
  41. $(eval $(call BuildPackage,tinyproxy))