diff options
author | Roman I Khimov <khimov@altell.ru> | 2010-03-19 13:34:15 +0300 |
---|---|---|
committer | Roman I Khimov <khimov@altell.ru> | 2010-03-20 18:01:50 +0300 |
commit | fcf68ac68bdeb3f83246bfcf0ef60c706294e3eb (patch) | |
tree | 94f8b5ee3bb87e5cf209ecff67f79818c3e2abc0 /recipes/squid/squid.inc | |
parent | 9d5524d3da7eeaa0d33ea0e3b86eec19ebc27954 (diff) | |
download | openembedded-fcf68ac68bdeb3f83246bfcf0ef60c706294e3eb.tar.gz |
squid: add volatiles for log directory
Should be owned by the same user squid runs.
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/squid/squid.inc')
-rw-r--r-- | recipes/squid/squid.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes/squid/squid.inc b/recipes/squid/squid.inc index 7b173b4410..ff3789cc23 100644 --- a/recipes/squid/squid.inc +++ b/recipes/squid/squid.inc @@ -1,11 +1,13 @@ DESCRIPTION = "Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more" LICENSE = "GPLv2" -INC_PR = "r2" +INC_PR = "r3" DEPENDS = "squid-native-${PV}" SRC_URI = "http://www.squid-cache.org/Versions/v2/${SQUID_MAJOR}/squid-${PV}.tar.bz2;name=squid-${PV} \ file://fix_epoll_check.patch;patch=1 \ - file://squid.init" + file://squid.init \ + file://squid-volatiles \ + " inherit autotools update-rc.d @@ -35,9 +37,11 @@ do_install_prepend() { do_install_append() { install -d ${D}${sysconfdir}/init.d + install -d ${D}${sysconfdir}/default/volatiles install -m 755 ${WORKDIR}/squid.init ${D}${sysconfdir}/init.d/squid mv ${D}${sysconfdir}/mime.conf.default ${D}${sysconfdir}/squid/ mv ${D}${sysconfdir}/squid.conf.default ${D}${sysconfdir}/squid/ + install -m 0644 ${WORKDIR}/squid-volatiles ${D}${sysconfdir}/default/volatiles/squid } # this packages the languages better and saves some space, installs |