summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMATSUU Takuto <matsuu@gentoo.org>2009-07-07 02:08:07 +0900
committerMATSUU Takuto <matsuu@gentoo.org>2009-07-07 02:08:07 +0900
commitae66dde2a93fe36a2bc15447d5daea19fa92885c (patch)
tree9c6d71be64bc54f5e13cc4dcfb0749cf3f3d7736
parentsys-apps/ccs-tools: Fixed initialize script for gentoo env. (diff)
downloadmatsuu-ae66dde2a93fe36a2bc15447d5daea19fa92885c.tar.gz
matsuu-ae66dde2a93fe36a2bc15447d5daea19fa92885c.tar.bz2
matsuu-ae66dde2a93fe36a2bc15447d5daea19fa92885c.zip
sys-apps/ccs-tools: Moved /etc/ccs/ccstools.conf to /usr/$(get_libdir)/ccs/conf/.
-rw-r--r--sys-apps/ccs-tools/Manifest2
-rw-r--r--sys-apps/ccs-tools/ccs-tools-1.6.8_p20090623.ebuild8
2 files changed, 7 insertions, 3 deletions
diff --git a/sys-apps/ccs-tools/Manifest b/sys-apps/ccs-tools/Manifest
index cb0bfec..8bb1f8a 100644
--- a/sys-apps/ccs-tools/Manifest
+++ b/sys-apps/ccs-tools/Manifest
@@ -1,3 +1,3 @@
AUX ccs-tools-1.6.8_p20090623-gentoo.patch 13446 RMD160 0c484fa4ebff532f8b18b3d590fe2a7ac7b18acb SHA1 ad9833b9e866073dc3596e78f4955fd512260113 SHA256 6813731520b05e84f95449db29cdaeab90324b565504677c257886f7434c21a1
DIST ccs-tools-1.6.8-20090623.tar.gz 144995 RMD160 41eb0bfd26c42d1eb81319d26596cfbbcab1b96e SHA1 93db999a014a4daa36ace2d5e3f4a0733cb43980 SHA256 d2e8eec17b02e7682c814ec98dd1158a00e7b5440f25f19b4d7d5b8fb0b2e78f
-EBUILD ccs-tools-1.6.8_p20090623.ebuild 1105 RMD160 6a3c08bd1d7d1cf99b8ad299cbbbe5893afa10f5 SHA1 9bf5ee5eebebcdb37fa768c6c55cfacd87199fe5 SHA256 c2ec62964343de1a8326c7d8d33c9372da4e082ee1a570d9e20f63b13391a4a7
+EBUILD ccs-tools-1.6.8_p20090623.ebuild 1224 RMD160 b9524caf7c593ddbe355f2b7cc5ff786c4402be6 SHA1 f59ae4608e1062372dc193da16de4dacf94747e7 SHA256 f23af0abb1840e4400050a9fa25bbf073f23a1fd2bccf1a030c557a15e4b77f5
diff --git a/sys-apps/ccs-tools/ccs-tools-1.6.8_p20090623.ebuild b/sys-apps/ccs-tools/ccs-tools-1.6.8_p20090623.ebuild
index 0dfe3de..aed047e 100644
--- a/sys-apps/ccs-tools/ccs-tools-1.6.8_p20090623.ebuild
+++ b/sys-apps/ccs-tools/ccs-tools-1.6.8_p20090623.ebuild
@@ -36,15 +36,19 @@ src_unpack() {
sed -i \
-e "s:/usr/lib/ccs:/usr/$(get_libdir)/ccs:g" \
init_policy.sh tomoyo_init_policy.sh || die
+
+ echo "CONFIG_PROTECT=\"/usr/$(get_libdir)/ccs/conf\"" > "${T}/50${PN}"
}
src_install() {
emake INSTALLDIR="${D}" install || die
rm "${D}"/usr/$(get_libdir)/ccs/{COPYING.ccs,README.ccs,ccstools.conf} || die
- insinto /etc/ccs
+ insinto /usr/$(get_libdir)/ccs/conf
doins ccstools.conf || die
- dosym /etc/ccs/ccstools.conf /usr/$(get_libdir)/ccs/ccstools.conf || die
+ dosym conf/ccstools.conf /usr/$(get_libdir)/ccs/ccstools.conf || die
+
+ doenvd "${T}/50${PN}" || die
dodoc README.ccs
}