swift       14/06/08 13:13:23

  Modified:             ChangeLog
  Added:                cachefilesd-0.10.5-r3.ebuild
  Log:
  Fix bug #509708 - Update cachefilesd init script to handle SELinux support
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0x2EDD52403B68AF47)

Revision  Changes    Path
1.12                 sys-fs/cachefilesd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cachefilesd/ChangeLog?rev=1.12&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cachefilesd/ChangeLog?rev=1.12&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cachefilesd/ChangeLog?r1=1.11&r2=1.12

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/cachefilesd/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog   18 Apr 2014 19:57:51 -0000      1.11
+++ ChangeLog   8 Jun 2014 13:13:23 -0000       1.12
@@ -1,6 +1,12 @@
 # ChangeLog for sys-fs/cachefilesd
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/cachefilesd/ChangeLog,v 1.11 
2014/04/18 19:57:51 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cachefilesd/ChangeLog,v 1.12 
2014/06/08 13:13:23 swift Exp $
+
+*cachefilesd-0.10.5-r3 (08 Jun 2014)
+
+  08 Jun 2014; Sven Vermeulen <[email protected]> +cachefilesd-0.10.5-r3.ebuild,
+  +files/cachefilesd-2.init:
+  Fix bug #509708 - Update cachefilesd init script to handle SELinux support
 
   18 Apr 2014; Sven Vermeulen <[email protected]> cachefilesd-0.10.5-r2.ebuild:
   Depend on selinux-cachefilesd if USE=selinux is set



1.1                  sys-fs/cachefilesd/cachefilesd-0.10.5-r3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cachefilesd/cachefilesd-0.10.5-r3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cachefilesd/cachefilesd-0.10.5-r3.ebuild?rev=1.1&content-type=text/plain

Index: cachefilesd-0.10.5-r3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/sys-fs/cachefilesd/cachefilesd-0.10.5-r3.ebuild,v 1.1 
2014/06/08 13:13:23 swift Exp $

EAPI=5

inherit eutils flag-o-matic systemd toolchain-funcs

DESCRIPTION="Provides a caching directory on an already mounted filesystem"
HOMEPAGE="http://people.redhat.com/~dhowells/fscache/";
SRC_URI="http://people.redhat.com/~dhowells/fscache/${P}.tar.bz2 -> ${P}.tar"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="doc selinux"

DEPEND="selinux? ( sec-policy/selinux-cachefilesd )"
RDEPEND="${DEPEND}"

src_prepare() {
        epatch "${FILESDIR}"/0.10.4-makefile.patch
        tc-export CC
        if ! use selinux; then
                sed -e '/^secctx/s:^:#:g' -i cachefilesd.conf || die
        fi

        append-flags -fpie
}

src_install() {
        default

        if use selinux; then
                insinto /usr/share/doc/${P}
                doins -r selinux
        fi

        dodoc howto.txt

        newconfd "${FILESDIR}"/cachefilesd.conf ${PN}
        newinitd "${FILESDIR}"/cachefilesd-2.init ${PN}

        systemd_dounit ${PN}.service

        keepdir /var/cache/fscache
}

pkg_postinst() {
        [[ -d /var/cache/fscache ]] && return
        elog "Before CacheFiles can be used, a directory for local storage"
        elog "must be created.  The default configuration of 
/etc/cachefilesd.conf"
        elog "uses /var/cache/fscache.  The filesystem mounted there must 
support"
        elog "extended attributes (mount -o user_xattr)."
        echo ""
        elog "Once that is taken care of, start the daemon, add -o ...,fsc"
        elog "to the mount options of your network mounts, and let it fly!"
}




Reply via email to