diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-04-09 21:14:13 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-04-09 21:14:13 +0000 |
commit | 897845ea14894679041fb98e33d02e76a8ba4d3d (patch) | |
tree | 6c958507fe60575a0b07fe5df90b719a75b14bd5 /www-proxy | |
parent | Stable on x86. Closes #87676. (diff) | |
download | gentoo-2-897845ea14894679041fb98e33d02e76a8ba4d3d.tar.gz gentoo-2-897845ea14894679041fb98e33d02e76a8ba4d3d.tar.bz2 gentoo-2-897845ea14894679041fb98e33d02e76a8ba4d3d.zip |
fix ownership on /etc/wwwoffle and /var/spool/wwwoffle (#88482)
(Portage version: 2.0.51.19)
Diffstat (limited to 'www-proxy')
-rw-r--r-- | www-proxy/wwwoffle/ChangeLog | 6 | ||||
-rw-r--r-- | www-proxy/wwwoffle/wwwoffle-2.8e.ebuild | 24 |
2 files changed, 14 insertions, 16 deletions
diff --git a/www-proxy/wwwoffle/ChangeLog b/www-proxy/wwwoffle/ChangeLog index 076f05316510..609817f10874 100644 --- a/www-proxy/wwwoffle/ChangeLog +++ b/www-proxy/wwwoffle/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-proxy/wwwoffle # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-proxy/wwwoffle/ChangeLog,v 1.9 2005/04/09 13:31:21 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-proxy/wwwoffle/ChangeLog,v 1.10 2005/04/09 21:14:13 mrness Exp $ + + 09 Apr 2005; Alin Nastac <mrness@gentoo.org> wwwoffle-2.8e.ebuild: + Recursively set ownership to wwwoffle:wwwoffle on /etc/wwwoffle and + /var/spool/wwwoffle (#88482) 09 Apr 2005; Markus Rothe <corsair@gentoo.org> wwwoffle-2.8b.ebuild: Stable on ppc64 diff --git a/www-proxy/wwwoffle/wwwoffle-2.8e.ebuild b/www-proxy/wwwoffle/wwwoffle-2.8e.ebuild index e90a7fb2b4c6..ea67bff4ad08 100644 --- a/www-proxy/wwwoffle/wwwoffle-2.8e.ebuild +++ b/www-proxy/wwwoffle/wwwoffle-2.8e.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-proxy/wwwoffle/wwwoffle-2.8e.ebuild,v 1.1 2005/04/06 19:33:00 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-proxy/wwwoffle/wwwoffle-2.8e.ebuild,v 1.2 2005/04/09 21:14:13 mrness Exp $ inherit eutils @@ -113,22 +113,18 @@ src_install() { # Need to sumbit patch upstream to allow this. #fowners root:wwwoffle /var/spool/wwwoffle - fowners wwwoffle:wwwoffle /var/spool/wwwoffle + #fowners wwwoffle:wwwoffle /var/spool/wwwoffle # empty dirs are removed during update keepdir \ - /var/spool/wwwoffle/search/{mnogosearch/db,htdig/tmp,htdig/db-lasttime,htdig/db,namazu/db} + /var/spool/wwwoffle/search/{mnogosearch/db,htdig/tmp,htdig/db-lasttime,htdig/db,namazu/db} touch \ - ${D}/var/spool/wwwoffle/search/htdig/wwwoffle-htdig.log \ - ${D}/var/spool/wwwoffle/search/mnogosearch/wwwoffle-mnogosearch.log \ - ${D}/var/spool/wwwoffle/search/namazu/wwwoffle-namazu.log + ${D}/var/spool/wwwoffle/search/htdig/wwwoffle-htdig.log \ + ${D}/var/spool/wwwoffle/search/mnogosearch/wwwoffle-mnogosearch.log \ + ${D}/var/spool/wwwoffle/search/namazu/wwwoffle-namazu.log - chown -R wwwoffle:wwwoffle \ - ${D}/var/spool/wwwoffle/{http,outgoing,monitor,lasttime,prevtime[1-9],prevout[1-9],lastout,local} \ - ${D}/var/spool/wwwoffle/search/{mnogosearch/db,htdig/tmp,htdig/db-lasttime,htdig/db,namazu/db} \ - ${D}/var/spool/wwwoffle/search/{mnogosearch,htdig,namazu}/wwwoffle-*.log \ - ${D}/etc/wwwoffle + chown -R wwwoffle:wwwoffle ${D}/var/spool/wwwoffle ${D}/etc/wwwoffle # TODO htdig indexing as part of initscripts @@ -150,13 +146,11 @@ pkg_postinst() { ${ROOT}/var/spool/wwwoffle/prevout${number} done - chown -R wwwoffle:wwwoffle \ - ${ROOT}/var/spool/wwwoffle/{http,outgoing,monitor,lasttime,prevtime[1-9],prevout[1-9],lastout,local} \ - ${ROOT}/var/spool/wwwoffle/search/{mnogosearch/db,htdig/tmp,htdig/db-lasttime,htdig/db,namazu/db} + chown -R wwwoffle:wwwoffle ${ROOT}/var/spool/wwwoffle ${ROOT}/etc/wwwoffle # Need to sumbit patch upstream to allow this. #fowners root:wwwoffle /var/spool/wwwoffle - fowners wwwoffle:wwwoffle /var/spool/wwwoffle + #fowners wwwoffle:wwwoffle /var/spool/wwwoffle [ -f ${T}/stopped ] && \ ewarn "wwwoffled was stopped. /etc/init.d/wwwoffled start to restart AFTER etc-update" |