Skip to contentSkip to conversation

tinyproxy: New package

PATCH New Alexander Mukhin 1 participant 1 message Mar 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tinyproxy: New package

---
 DEVELOPERS                                       |  3 +++
 package/Config.in                                |  1 +
 ...001-remove-docs-subdir-from-Makefile.am.patch | 15 +++++++++++++++
 package/tinyproxy/Config.in                      | 16 ++++++++++++++++
 package/tinyproxy/tinyproxy.hash                 |  2 ++
 package/tinyproxy/tinyproxy.mk                   | 15 +++++++++++++++
 6 files changed, 52 insertions(+)
 create mode 100644 package/tinyproxy/0001-remove-docs-subdir-from-Makefile.am.patch
 create mode 100644 package/tinyproxy/Config.in
 create mode 100644 package/tinyproxy/tinyproxy.hash
 create mode 100644 package/tinyproxy/tinyproxy.mk
DEVELOPERS +3 -0
index 10768a19ee..79a5e4d544 100644
@@ -131,6 +131,9 @@ F:	package/minimodem/
 N:	Alexander Lukichev <[email protected]>
 F:	package/openpgm/
 
+N:	Alexander Mukhin <[email protected]>
+F:	package/tinyproxy/
+
 N:	Alexander Sverdlin <[email protected]>
 F:	package/mini-snmpd/
 
package/Config.in +1 -0
index 146fc1bbc3..0da893801e 100644
@@ -2169,6 +2169,7 @@ endif
 	source "package/thttpd/Config.in"
 	source "package/tinc/Config.in"
 	source "package/tinyhttpd/Config.in"
+	source "package/tinyproxy/Config.in"
 	source "package/tinyssh/Config.in"
 	source "package/tor/Config.in"
 	source "package/traceroute/Config.in"
package/tinyproxy/0001-remove-docs-subdir-from-Makefile.am.patch new file +15 -0
new file mode 100644
index 0000000000..646a4a53ba
@@ -0,0 +1,15 @@
+diff --git a/Makefile.am b/Makefile.am
+index 4a3ead6..a12cb98 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -2,7 +2,6 @@ SUBDIRS = \
+ 	src \
+ 	data \
+ 	etc \
+-	docs \
+ 	m4macros \
+ 	tests
+
+-- 
+2.20.1
+
package/tinyproxy/Config.in new file +16 -0
new file mode 100644
index 0000000000..50f40ba524
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_TINYPROXY
+	bool "tinyproxy"
+	depends on BR2_USE_WCHAR
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_MMU # fork()
+	help
+	  Tinyproxy is a small, efficient HTTP/SSL proxy daemon released
+	  under the GNU General Public License.  Tinyproxy is very
+	  useful in a small network setting, where a larger proxy would
+	  be too resource intensive.
+	  
+	  https://tinyproxy.github.io
+
+comment "tinyproxy needs a toolchain w/ threads, wchar"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+	depends on BR2_USE_MMU
package/tinyproxy/tinyproxy.hash new file +2 -0
new file mode 100644
index 0000000000..2d439de517
@@ -0,0 +1,2 @@
+# locally computed
+sha256 ff4f3d1331d6d855d8b6ed794c22ab0a4285dd81fe9c98a7aa7ed591248d4ab9 tinyproxy-1.10.0.tar.gz
package/tinyproxy/tinyproxy.mk new file +15 -0
new file mode 100644
index 0000000000..3e0479d22b
@@ -0,0 +1,15 @@
+################################################################################
+#
+# tinyproxy
+#
+################################################################################
+
+TINYPROXY_VERSION = 1.10.0
+TINYPROXY_SITE = $(call github,tinyproxy,tinyproxy,$(TINYPROXY_VERSION))
+TINYPROXY_LICENSE = GPL-2.0
+TINYPROXY_LICENSE_FILES = COPYING
+
+# building from a git clone
+TINYPROXY_AUTORECONF = YES
+
+$(eval $(autotools-package))
Signature · 1 line
2.20.1