diff options
author | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2017-04-20 14:25:18 +0200 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-04-25 16:10:26 -0400 |
commit | b9b6ace5a132fa910b5061bf4e9e2776c435ac43 (patch) | |
tree | 11d1bca5d1f47ea53308e8a6a03e2325677f8be7 /meta-networking/recipes-support/tinyproxy/tinyproxy | |
parent | 27ac61803c6e827cc700438918a74845458eee5b (diff) | |
download | meta-openembedded-b9b6ace5a132fa910b5061bf4e9e2776c435ac43.tar.gz |
tinyproxy: Add recipe
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/tinyproxy/tinyproxy')
-rw-r--r-- | meta-networking/recipes-support/tinyproxy/tinyproxy/disable-documentation.patch | 37 | ||||
-rw-r--r-- | meta-networking/recipes-support/tinyproxy/tinyproxy/tinyproxy.service | 14 |
2 files changed, 51 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/tinyproxy/tinyproxy/disable-documentation.patch b/meta-networking/recipes-support/tinyproxy/tinyproxy/disable-documentation.patch new file mode 100644 index 000000000..01d0236be --- /dev/null +++ b/meta-networking/recipes-support/tinyproxy/tinyproxy/disable-documentation.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | --- a/configure.ac 2016-01-01 17:42:27.000000000 +0100 | ||
2 | +++ b/configure.ac 2017-04-20 14:03:37.238254471 +0200 | ||
3 | @@ -284,24 +284,12 @@ | ||
4 | AC_SUBST(LIBS) | ||
5 | AC_SUBST(ADDITIONAL_OBJECTS) | ||
6 | |||
7 | -# Check for asciidoc | ||
8 | -AC_PATH_PROG(A2X, a2x, no) | ||
9 | -AM_CONDITIONAL(HAVE_A2X, test "x$A2X" != "xno") | ||
10 | -if test x"$A2X" = x"no"; then | ||
11 | - AC_MSG_ERROR([Test for asciidoc failed. See the file 'INSTALL' for help.]) | ||
12 | -fi | ||
13 | - | ||
14 | AC_CONFIG_FILES([ | ||
15 | Makefile | ||
16 | src/Makefile | ||
17 | data/Makefile | ||
18 | data/templates/Makefile | ||
19 | etc/Makefile | ||
20 | -docs/Makefile | ||
21 | -docs/man5/Makefile | ||
22 | -docs/man5/tinyproxy.conf.txt | ||
23 | -docs/man8/Makefile | ||
24 | -docs/man8/tinyproxy.txt | ||
25 | m4macros/Makefile | ||
26 | tests/Makefile | ||
27 | tests/scripts/Makefile | ||
28 | --- a/Makefile.am 2016-01-01 17:42:27.000000000 +0100 | ||
29 | +++ b/Makefile.am 2017-04-20 14:03:53.842822997 +0200 | ||
30 | @@ -2,7 +2,6 @@ | ||
31 | src \ | ||
32 | data \ | ||
33 | etc \ | ||
34 | - docs \ | ||
35 | m4macros \ | ||
36 | tests | ||
37 | |||
diff --git a/meta-networking/recipes-support/tinyproxy/tinyproxy/tinyproxy.service b/meta-networking/recipes-support/tinyproxy/tinyproxy/tinyproxy.service new file mode 100644 index 000000000..ea079f955 --- /dev/null +++ b/meta-networking/recipes-support/tinyproxy/tinyproxy/tinyproxy.service | |||
@@ -0,0 +1,14 @@ | |||
1 | [Unit] | ||
2 | Description=Tinyproxy, Lightweight http(s) proxy daemon | ||
3 | RequiresMountsFor=/var | ||
4 | |||
5 | [Service] | ||
6 | Group=tinyproxy | ||
7 | ExecStartPre=/bin/mkdir -p /var/log/tinyproxy | ||
8 | ExecStartPre=/bin/chown -R nobody.tinyproxy /var/log/tinyproxy | ||
9 | ExecStartPre=/bin/mkdir -p /var/run/tinyproxy | ||
10 | ExecStartPre=/bin/chown -R nobody.tinyproxy /var/run/tinyproxy | ||
11 | ExecStart=/usr/sbin/tinyproxy -d | ||
12 | |||
13 | [Install] | ||
14 | WantedBy=multi-user.target | ||