* [Buildroot] [PATCH] tinyproxy: New package
@ 2020-03-13 21:05 Peter Seiderer
2020-03-14 10:23 ` [Buildroot] [PATCH] package/tinyproxy: new package Alexander Mukhin
0 siblings, 1 reply; 7+ messages in thread
From: Peter Seiderer @ 2020-03-13 21:05 UTC (permalink / raw)
To: buildroot
Hello Alexander,
three minor review remarks, see below...
On Fri, 13 Mar 2020 20:39:48 +0300, Alexander Mukhin <alexander.i.mukhin@gmail.com> wrote:
>
> Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
> ---
> 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
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 10768a19ee..79a5e4d544 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -131,6 +131,9 @@ F: package/minimodem/
> N: Alexander Lukichev <alexander.lukichev@gmail.com>
> F: package/openpgm/
>
> +N: Alexander Mukhin <alexander.i.mukhin@gmail.com>
> +F: package/tinyproxy/
> +
> N: Alexander Sverdlin <alexander.sverdlin@gmail.com>
> F: package/mini-snmpd/
>
> diff --git a/package/Config.in b/package/Config.in
> index 146fc1bbc3..0da893801e 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -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"
> diff --git a/package/tinyproxy/0001-remove-docs-subdir-from-Makefile.am.patch b/package/tinyproxy/0001-remove-docs-subdir-from-Makefile.am.patch
> new file mode 100644
> index 0000000000..646a4a53ba
> --- /dev/null
> +++ b/package/tinyproxy/0001-remove-docs-subdir-from-Makefile.am.patch
> @@ -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
> +
Patch missed a Signed-of-by line from you (and git formatted patches preferred)...
> diff --git a/package/tinyproxy/Config.in b/package/tinyproxy/Config.in
> new file mode 100644
> index 0000000000..50f40ba524
> --- /dev/null
> +++ b/package/tinyproxy/Config.in
> @@ -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
One space before the new sentence is enough...
> + useful in a small network setting, where a larger proxy would
> + be too resource intensive.
> +
Empty line needs no tab...
> + 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
> diff --git a/package/tinyproxy/tinyproxy.hash b/package/tinyproxy/tinyproxy.hash
> new file mode 100644
> index 0000000000..2d439de517
> --- /dev/null
> +++ b/package/tinyproxy/tinyproxy.hash
> @@ -0,0 +1,2 @@
> +# locally computed
> +sha256 ff4f3d1331d6d855d8b6ed794c22ab0a4285dd81fe9c98a7aa7ed591248d4ab9 tinyproxy-1.10.0.tar.gz
> diff --git a/package/tinyproxy/tinyproxy.mk b/package/tinyproxy/tinyproxy.mk
> new file mode 100644
> index 0000000000..3e0479d22b
> --- /dev/null
> +++ b/package/tinyproxy/tinyproxy.mk
> @@ -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))
Your can do a quick check doing:
$ ./utils/check-package package/tinyproxy/*
package/tinyproxy/0001-remove-docs-subdir-from-Makefile.am.patch:0: missing Signed-off-by in the header (http://nightly.buildroot.org/#_format_and_licensing_of_the_package_patches)
package/tinyproxy/Config.in:11: line contains trailing whitespace
48 lines processed
2 warnings generated
Regards,
Peter
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] package/tinyproxy: new package
2020-03-13 21:05 [Buildroot] [PATCH] tinyproxy: New package Peter Seiderer
@ 2020-03-14 10:23 ` Alexander Mukhin
2020-03-15 17:41 ` Peter Seiderer
2020-03-15 22:07 ` Thomas Petazzoni
0 siblings, 2 replies; 7+ messages in thread
From: Alexander Mukhin @ 2020-03-14 10:23 UTC (permalink / raw)
To: buildroot
Tinyproxy is a small, efficient HTTP/SSL proxy daemon.
https://tinyproxy.github.io
Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
---
DEVELOPERS | 3 +++
package/Config.in | 1 +
.../0001-Makefile.am-remove-docs-subdir.patch | 27 +++++++++++++++++++
package/tinyproxy/Config.in | 16 +++++++++++
package/tinyproxy/tinyproxy.hash | 2 ++
package/tinyproxy/tinyproxy.mk | 15 +++++++++++
6 files changed, 64 insertions(+)
create mode 100644 package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch
create mode 100644 package/tinyproxy/Config.in
create mode 100644 package/tinyproxy/tinyproxy.hash
create mode 100644 package/tinyproxy/tinyproxy.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 5394150e5a..a3df15d903 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -132,6 +132,9 @@ F: package/minimodem/
N: Alexander Lukichev <alexander.lukichev@gmail.com>
F: package/openpgm/
+N: Alexander Mukhin <alexander.i.mukhin@gmail.com>
+F: package/tinyproxy/
+
N: Alexander Sverdlin <alexander.sverdlin@gmail.com>
F: package/mini-snmpd/
diff --git a/package/Config.in b/package/Config.in
index 146fc1bbc3..0da893801e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch b/package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch
new file mode 100644
index 0000000000..e2a08678a3
--- /dev/null
+++ b/package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch
@@ -0,0 +1,27 @@
+From 7ce6ee22057489d280e0ea5f6439edbbf0ad7ee2 Mon Sep 17 00:00:00 2001
+From: Alexander Mukhin <alexander.i.mukhin@gmail.com>
+Date: Sat, 14 Mar 2020 12:45:29 +0300
+Subject: [PATCH] Makefile.am: remove docs subdir
+
+This avoids building the documentation, which requires asciidoc.
+
+Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
+---
+ Makefile.am | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index e9113c2..2fe3d54 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -2,7 +2,6 @@ SUBDIRS = \
+ src \
+ data \
+ etc \
+- docs \
+ m4macros \
+ tests
+
+--
+2.20.1
+
diff --git a/package/tinyproxy/Config.in b/package/tinyproxy/Config.in
new file mode 100644
index 0000000000..aec2ab81a8
--- /dev/null
+++ b/package/tinyproxy/Config.in
@@ -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
diff --git a/package/tinyproxy/tinyproxy.hash b/package/tinyproxy/tinyproxy.hash
new file mode 100644
index 0000000000..2d439de517
--- /dev/null
+++ b/package/tinyproxy/tinyproxy.hash
@@ -0,0 +1,2 @@
+# locally computed
+sha256 ff4f3d1331d6d855d8b6ed794c22ab0a4285dd81fe9c98a7aa7ed591248d4ab9 tinyproxy-1.10.0.tar.gz
diff --git a/package/tinyproxy/tinyproxy.mk b/package/tinyproxy/tinyproxy.mk
new file mode 100644
index 0000000000..3ba3d7f664
--- /dev/null
+++ b/package/tinyproxy/tinyproxy.mk
@@ -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))
--
2.20.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] package/tinyproxy: new package
2020-03-14 10:23 ` [Buildroot] [PATCH] package/tinyproxy: new package Alexander Mukhin
@ 2020-03-15 17:41 ` Peter Seiderer
2020-03-15 22:07 ` Thomas Petazzoni
1 sibling, 0 replies; 7+ messages in thread
From: Peter Seiderer @ 2020-03-15 17:41 UTC (permalink / raw)
To: buildroot
Hello Alexander,
only one minor nitpick...
On Sat, 14 Mar 2020 13:23:23 +0300, Alexander Mukhin <alexander.i.mukhin@gmail.com> wrote:
> Tinyproxy is a small, efficient HTTP/SSL proxy daemon.
>
> https://tinyproxy.github.io
>
> Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
> ---
> DEVELOPERS | 3 +++
> package/Config.in | 1 +
> .../0001-Makefile.am-remove-docs-subdir.patch | 27 +++++++++++++++++++
> package/tinyproxy/Config.in | 16 +++++++++++
> package/tinyproxy/tinyproxy.hash | 2 ++
> package/tinyproxy/tinyproxy.mk | 15 +++++++++++
> 6 files changed, 64 insertions(+)
> create mode 100644 package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch
> create mode 100644 package/tinyproxy/Config.in
> create mode 100644 package/tinyproxy/tinyproxy.hash
> create mode 100644 package/tinyproxy/tinyproxy.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 5394150e5a..a3df15d903 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -132,6 +132,9 @@ F: package/minimodem/
> N: Alexander Lukichev <alexander.lukichev@gmail.com>
> F: package/openpgm/
>
> +N: Alexander Mukhin <alexander.i.mukhin@gmail.com>
> +F: package/tinyproxy/
> +
> N: Alexander Sverdlin <alexander.sverdlin@gmail.com>
> F: package/mini-snmpd/
>
> diff --git a/package/Config.in b/package/Config.in
> index 146fc1bbc3..0da893801e 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -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"
> diff --git a/package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch b/package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch
> new file mode 100644
> index 0000000000..e2a08678a3
> --- /dev/null
> +++ b/package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch
> @@ -0,0 +1,27 @@
> +From 7ce6ee22057489d280e0ea5f6439edbbf0ad7ee2 Mon Sep 17 00:00:00 2001
> +From: Alexander Mukhin <alexander.i.mukhin@gmail.com>
> +Date: Sat, 14 Mar 2020 12:45:29 +0300
> +Subject: [PATCH] Makefile.am: remove docs subdir
> +
> +This avoids building the documentation, which requires asciidoc.
> +
> +Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
> +---
> + Makefile.am | 1 -
> + 1 file changed, 1 deletion(-)
> +
> +diff --git a/Makefile.am b/Makefile.am
> +index e9113c2..2fe3d54 100644
> +--- a/Makefile.am
> ++++ b/Makefile.am
> +@@ -2,7 +2,6 @@ SUBDIRS = \
> + src \
> + data \
> + etc \
> +- docs \
> + m4macros \
> + tests
> +
> +--
> +2.20.1
> +
> diff --git a/package/tinyproxy/Config.in b/package/tinyproxy/Config.in
> new file mode 100644
> index 0000000000..aec2ab81a8
> --- /dev/null
> +++ b/package/tinyproxy/Config.in
> @@ -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
> diff --git a/package/tinyproxy/tinyproxy.hash b/package/tinyproxy/tinyproxy.hash
> new file mode 100644
> index 0000000000..2d439de517
> --- /dev/null
> +++ b/package/tinyproxy/tinyproxy.hash
> @@ -0,0 +1,2 @@
> +# locally computed
> +sha256 ff4f3d1331d6d855d8b6ed794c22ab0a4285dd81fe9c98a7aa7ed591248d4ab9 tinyproxy-1.10.0.tar.gz
> diff --git a/package/tinyproxy/tinyproxy.mk b/package/tinyproxy/tinyproxy.mk
> new file mode 100644
> index 0000000000..3ba3d7f664
> --- /dev/null
> +++ b/package/tinyproxy/tinyproxy.mk
> @@ -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
better:
# building from a git clone and patching Makefile.am
With this fixed you can add my
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Regards,
Peter
> +
> +$(eval $(autotools-package))
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] package/tinyproxy: new package
2020-03-14 10:23 ` [Buildroot] [PATCH] package/tinyproxy: new package Alexander Mukhin
2020-03-15 17:41 ` Peter Seiderer
@ 2020-03-15 22:07 ` Thomas Petazzoni
2020-03-19 14:04 ` [Buildroot] [PATCH] package/tinyproxy: use the release tarball, not a git clone Alexander Mukhin
1 sibling, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2020-03-15 22:07 UTC (permalink / raw)
To: buildroot
On Sat, 14 Mar 2020 13:23:23 +0300
Alexander Mukhin <alexander.i.mukhin@gmail.com> wrote:
> Tinyproxy is a small, efficient HTTP/SSL proxy daemon.
>
> https://tinyproxy.github.io
>
> Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
> ---
> DEVELOPERS | 3 +++
> package/Config.in | 1 +
> .../0001-Makefile.am-remove-docs-subdir.patch | 27 +++++++++++++++++++
> package/tinyproxy/Config.in | 16 +++++++++++
> package/tinyproxy/tinyproxy.hash | 2 ++
> package/tinyproxy/tinyproxy.mk | 15 +++++++++++
> 6 files changed, 64 insertions(+)
> create mode 100644 package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch
> create mode 100644 package/tinyproxy/Config.in
> create mode 100644 package/tinyproxy/tinyproxy.hash
> create mode 100644 package/tinyproxy/tinyproxy.mk
Applied to master, thanks. Thanks Peter Seiderer for the review.
Alexander: could you submit a patch upstream that adds --disable-doc
option, or that detects the availability of asciidoc before building
the documentation ?
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] package/tinyproxy: use the release tarball, not a git clone
2020-03-15 22:07 ` Thomas Petazzoni
@ 2020-03-19 14:04 ` Alexander Mukhin
2020-03-19 17:58 ` Yann E. MORIN
0 siblings, 1 reply; 7+ messages in thread
From: Alexander Mukhin @ 2020-03-19 14:04 UTC (permalink / raw)
To: buildroot
Upstream ships distribution tarballs with pre-built manpages and
necessary fixes, so that the build doesn't break if asciidoc is not
available.
Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
---
.../0001-Makefile.am-remove-docs-subdir.patch | 27 -------------------
package/tinyproxy/tinyproxy.hash | 2 +-
package/tinyproxy/tinyproxy.mk | 6 ++---
3 files changed, 3 insertions(+), 32 deletions(-)
delete mode 100644 package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch
diff --git a/package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch b/package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch
deleted file mode 100644
index e2a08678a3..0000000000
--- a/package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 7ce6ee22057489d280e0ea5f6439edbbf0ad7ee2 Mon Sep 17 00:00:00 2001
-From: Alexander Mukhin <alexander.i.mukhin@gmail.com>
-Date: Sat, 14 Mar 2020 12:45:29 +0300
-Subject: [PATCH] Makefile.am: remove docs subdir
-
-This avoids building the documentation, which requires asciidoc.
-
-Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
----
- Makefile.am | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index e9113c2..2fe3d54 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -2,7 +2,6 @@ SUBDIRS = \
- src \
- data \
- etc \
-- docs \
- m4macros \
- tests
-
---
-2.20.1
-
diff --git a/package/tinyproxy/tinyproxy.hash b/package/tinyproxy/tinyproxy.hash
index 2d439de517..099c974881 100644
--- a/package/tinyproxy/tinyproxy.hash
+++ b/package/tinyproxy/tinyproxy.hash
@@ -1,2 +1,2 @@
# locally computed
-sha256 ff4f3d1331d6d855d8b6ed794c22ab0a4285dd81fe9c98a7aa7ed591248d4ab9 tinyproxy-1.10.0.tar.gz
+sha256 a23a8f647f622f01e51b93fa882ea5a15c20e026d45c3aafa81ec579e464daf7 tinyproxy-1.10.0.tar.bz2
diff --git a/package/tinyproxy/tinyproxy.mk b/package/tinyproxy/tinyproxy.mk
index f1a2a50c32..305be922f5 100644
--- a/package/tinyproxy/tinyproxy.mk
+++ b/package/tinyproxy/tinyproxy.mk
@@ -5,11 +5,9 @@
################################################################################
TINYPROXY_VERSION = 1.10.0
-TINYPROXY_SITE = $(call github,tinyproxy,tinyproxy,$(TINYPROXY_VERSION))
+TINYPROXY_SITE = https://github.com/tinyproxy/tinyproxy/releases/download/$(TINYPROXY_VERSION)
+TINYPROXY_SOURCE = tinyproxy-$(TINYPROXY_VERSION).tar.bz2
TINYPROXY_LICENSE = GPL-2.0+
TINYPROXY_LICENSE_FILES = COPYING
-# building from a git clone and patching Makefile.am
-TINYPROXY_AUTORECONF = YES
-
$(eval $(autotools-package))
--
2.20.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] package/tinyproxy: use the release tarball, not a git clone
2020-03-19 14:04 ` [Buildroot] [PATCH] package/tinyproxy: use the release tarball, not a git clone Alexander Mukhin
@ 2020-03-19 17:58 ` Yann E. MORIN
0 siblings, 0 replies; 7+ messages in thread
From: Yann E. MORIN @ 2020-03-19 17:58 UTC (permalink / raw)
To: buildroot
Alexander, All,
On 2020-03-19 17:04 +0300, Alexander Mukhin spake thusly:
> Upstream ships distribution tarballs with pre-built manpages and
> necessary fixes, so that the build doesn't break if asciidoc is not
> available.
>
> Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> .../0001-Makefile.am-remove-docs-subdir.patch | 27 -------------------
> package/tinyproxy/tinyproxy.hash | 2 +-
> package/tinyproxy/tinyproxy.mk | 6 ++---
> 3 files changed, 3 insertions(+), 32 deletions(-)
> delete mode 100644 package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch
>
> diff --git a/package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch b/package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch
> deleted file mode 100644
> index e2a08678a3..0000000000
> --- a/package/tinyproxy/0001-Makefile.am-remove-docs-subdir.patch
> +++ /dev/null
> @@ -1,27 +0,0 @@
> -From 7ce6ee22057489d280e0ea5f6439edbbf0ad7ee2 Mon Sep 17 00:00:00 2001
> -From: Alexander Mukhin <alexander.i.mukhin@gmail.com>
> -Date: Sat, 14 Mar 2020 12:45:29 +0300
> -Subject: [PATCH] Makefile.am: remove docs subdir
> -
> -This avoids building the documentation, which requires asciidoc.
> -
> -Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
> ----
> - Makefile.am | 1 -
> - 1 file changed, 1 deletion(-)
> -
> -diff --git a/Makefile.am b/Makefile.am
> -index e9113c2..2fe3d54 100644
> ---- a/Makefile.am
> -+++ b/Makefile.am
> -@@ -2,7 +2,6 @@ SUBDIRS = \
> - src \
> - data \
> - etc \
> -- docs \
> - m4macros \
> - tests
> -
> ---
> -2.20.1
> -
> diff --git a/package/tinyproxy/tinyproxy.hash b/package/tinyproxy/tinyproxy.hash
> index 2d439de517..099c974881 100644
> --- a/package/tinyproxy/tinyproxy.hash
> +++ b/package/tinyproxy/tinyproxy.hash
> @@ -1,2 +1,2 @@
> # locally computed
> -sha256 ff4f3d1331d6d855d8b6ed794c22ab0a4285dd81fe9c98a7aa7ed591248d4ab9 tinyproxy-1.10.0.tar.gz
> +sha256 a23a8f647f622f01e51b93fa882ea5a15c20e026d45c3aafa81ec579e464daf7 tinyproxy-1.10.0.tar.bz2
> diff --git a/package/tinyproxy/tinyproxy.mk b/package/tinyproxy/tinyproxy.mk
> index f1a2a50c32..305be922f5 100644
> --- a/package/tinyproxy/tinyproxy.mk
> +++ b/package/tinyproxy/tinyproxy.mk
> @@ -5,11 +5,9 @@
> ################################################################################
>
> TINYPROXY_VERSION = 1.10.0
> -TINYPROXY_SITE = $(call github,tinyproxy,tinyproxy,$(TINYPROXY_VERSION))
> +TINYPROXY_SITE = https://github.com/tinyproxy/tinyproxy/releases/download/$(TINYPROXY_VERSION)
> +TINYPROXY_SOURCE = tinyproxy-$(TINYPROXY_VERSION).tar.bz2
> TINYPROXY_LICENSE = GPL-2.0+
> TINYPROXY_LICENSE_FILES = COPYING
>
> -# building from a git clone and patching Makefile.am
> -TINYPROXY_AUTORECONF = YES
> -
> $(eval $(autotools-package))
> --
> 2.20.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] tinyproxy: New package
@ 2020-03-13 17:39 Alexander Mukhin
0 siblings, 0 replies; 7+ messages in thread
From: Alexander Mukhin @ 2020-03-13 17:39 UTC (permalink / raw)
To: buildroot
Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
---
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
diff --git a/DEVELOPERS b/DEVELOPERS
index 10768a19ee..79a5e4d544 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -131,6 +131,9 @@ F: package/minimodem/
N: Alexander Lukichev <alexander.lukichev@gmail.com>
F: package/openpgm/
+N: Alexander Mukhin <alexander.i.mukhin@gmail.com>
+F: package/tinyproxy/
+
N: Alexander Sverdlin <alexander.sverdlin@gmail.com>
F: package/mini-snmpd/
diff --git a/package/Config.in b/package/Config.in
index 146fc1bbc3..0da893801e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/tinyproxy/0001-remove-docs-subdir-from-Makefile.am.patch b/package/tinyproxy/0001-remove-docs-subdir-from-Makefile.am.patch
new file mode 100644
index 0000000000..646a4a53ba
--- /dev/null
+++ b/package/tinyproxy/0001-remove-docs-subdir-from-Makefile.am.patch
@@ -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
+
diff --git a/package/tinyproxy/Config.in b/package/tinyproxy/Config.in
new file mode 100644
index 0000000000..50f40ba524
--- /dev/null
+++ b/package/tinyproxy/Config.in
@@ -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
diff --git a/package/tinyproxy/tinyproxy.hash b/package/tinyproxy/tinyproxy.hash
new file mode 100644
index 0000000000..2d439de517
--- /dev/null
+++ b/package/tinyproxy/tinyproxy.hash
@@ -0,0 +1,2 @@
+# locally computed
+sha256 ff4f3d1331d6d855d8b6ed794c22ab0a4285dd81fe9c98a7aa7ed591248d4ab9 tinyproxy-1.10.0.tar.gz
diff --git a/package/tinyproxy/tinyproxy.mk b/package/tinyproxy/tinyproxy.mk
new file mode 100644
index 0000000000..3e0479d22b
--- /dev/null
+++ b/package/tinyproxy/tinyproxy.mk
@@ -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))
--
2.20.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-03-19 17:58 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-13 21:05 [Buildroot] [PATCH] tinyproxy: New package Peter Seiderer
2020-03-14 10:23 ` [Buildroot] [PATCH] package/tinyproxy: new package Alexander Mukhin
2020-03-15 17:41 ` Peter Seiderer
2020-03-15 22:07 ` Thomas Petazzoni
2020-03-19 14:04 ` [Buildroot] [PATCH] package/tinyproxy: use the release tarball, not a git clone Alexander Mukhin
2020-03-19 17:58 ` Yann E. MORIN
-- strict thread matches above, loose matches on Subject: below --
2020-03-13 17:39 [Buildroot] [PATCH] tinyproxy: New package Alexander Mukhin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.