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.

53 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_CPE_ID:=cpe:/a:banu:tinyproxy
  16. PKG_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/tinyproxy
  19. SUBMENU:=Web Servers/Proxies
  20. SECTION:=net
  21. CATEGORY:=Network
  22. TITLE:=Tinyproxy is a lightweight HTTP and HTTPS proxy
  23. URL:=http://tinyproxy.sourceforge.net/
  24. endef
  25. define Package/tinyproxy/conffiles
  26. /etc/config/tinyproxy
  27. endef
  28. CONFIGURE_ARGS+= \
  29. --enable-filter \
  30. --enable-transparent \
  31. --disable-regexcheck \
  32. define Package/tinyproxy/install
  33. $(INSTALL_DIR) $(1)/usr/sbin
  34. $(CP) $(PKG_INSTALL_DIR)/usr/sbin/tinyproxy $(1)/usr/sbin/
  35. $(INSTALL_DIR) $(1)/usr/share/tinyproxy
  36. $(CP) $(PKG_INSTALL_DIR)/usr/share/tinyproxy/*.html $(1)/usr/share/tinyproxy/
  37. $(INSTALL_DIR) $(1)/etc/config
  38. $(INSTALL_CONF) ./files/tinyproxy.config $(1)/etc/config/tinyproxy
  39. $(INSTALL_DIR) $(1)/etc/init.d
  40. $(INSTALL_BIN) ./files/tinyproxy.init $(1)/etc/init.d/tinyproxy
  41. endef
  42. $(eval $(call BuildPackage,tinyproxy))