summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/tinyproxy/tinyproxy
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/tinyproxy/tinyproxy')
-rw-r--r--meta-networking/recipes-support/tinyproxy/tinyproxy/disable-documentation.patch37
-rw-r--r--meta-networking/recipes-support/tinyproxy/tinyproxy/tinyproxy.service14
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]
2Description=Tinyproxy, Lightweight http(s) proxy daemon
3RequiresMountsFor=/var
4
5[Service]
6Group=tinyproxy
7ExecStartPre=/bin/mkdir -p /var/log/tinyproxy
8ExecStartPre=/bin/chown -R nobody.tinyproxy /var/log/tinyproxy
9ExecStartPre=/bin/mkdir -p /var/run/tinyproxy
10ExecStartPre=/bin/chown -R nobody.tinyproxy /var/run/tinyproxy
11ExecStart=/usr/sbin/tinyproxy -d
12
13[Install]
14WantedBy=multi-user.target