summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2007-10-20 18:57:16 +0000
committerJakub Moc <jakub@gentoo.org>2007-10-20 18:57:16 +0000
commitc59113e1ec8747b2e9854bc221bab17d36eaaf04 (patch)
treea34ae0eae4da8746b0d105e7c1adce859bd65278 /sys-fs
parentnet-mail/checkgmail: Fix die message (diff)
downloadsunrise-c59113e1ec8747b2e9854bc221bab17d36eaaf04.tar.gz
sunrise-c59113e1ec8747b2e9854bc221bab17d36eaaf04.tar.bz2
sunrise-c59113e1ec8747b2e9854bc221bab17d36eaaf04.zip
Cosmetics
svn path=/sunrise/; revision=4812
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/aufs/Manifest2
-rw-r--r--sys-fs/aufs/aufs-20070402.ebuild30
2 files changed, 11 insertions, 21 deletions
diff --git a/sys-fs/aufs/Manifest b/sys-fs/aufs/Manifest
index 6a98d986d..b110088b2 100644
--- a/sys-fs/aufs/Manifest
+++ b/sys-fs/aufs/Manifest
@@ -3,6 +3,6 @@ AUX aufs-20070212-lhash.patch 1707 RMD160 17589fed81c0602db71e8937279200658e3bbc
AUX aufs-20070402-ksize.patch 215 RMD160 aface602421301ed1e226194e9f8457f4a9dffd5 SHA1 d39db4cb4472b3dce1072d96c4f3198939b26bbe SHA256 0b50c428e0a23d825320c4b7960e3e8ead11fdb274ab92e927e0a86663f0a7a2
AUX aufs-20070402-lhash.patch 1707 RMD160 17589fed81c0602db71e8937279200658e3bbc66 SHA1 f9e3d5eb25df9bf0ace036deaf0c1c75be9f514a SHA256 6a963eb4e5fa08357b6ff3d6c02ed0a04c7b5abffdb1c9d9f0435ed988821965
DIST aufs-20070402.tar.bz2 120097 RMD160 13f3a1cc7a581b1b96255262af01d90c3f601a22 SHA1 496b01279214d0a5836498ea233176e3424a3280 SHA256 c11e7c5835196873a60ac3ccae147ba4941239a0bee23beec8747bc95997eb62
-EBUILD aufs-20070402.ebuild 4152 RMD160 f098cbb222080ec3685d34a713a26253a03b788b SHA1 b4c4b3e4bec9bb65ab53d13ea8f21c5fcd2d6828 SHA256 c959e5544af864a214b148299451ff944a3dccfbcd604c2e759892fcd1ee42bf
+EBUILD aufs-20070402.ebuild 4164 RMD160 363ba107e92d07a02bf76a412c64d5846231c1bb SHA1 923e37e45f6f9182bb615d96d42734b0f496e5b5 SHA256 0c9869ef548e954824d80ec1c790c3c0448d2b7df2cc507ac02fe19898f8fac1
MISC ChangeLog 1378 RMD160 cf108a1687c7e9bcc6771535cad41b40a683a799 SHA1 02e6831d30bb7edc07435582e601acce7c6783a1 SHA256 7559d0ac8ed9db17d9c8e7c265096843bdeefc8bba72e832e68ab30ab0f5f227
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/sys-fs/aufs/aufs-20070402.ebuild b/sys-fs/aufs/aufs-20070402.ebuild
index e96a85a79..29de8dccf 100644
--- a/sys-fs/aufs/aufs-20070402.ebuild
+++ b/sys-fs/aufs/aufs-20070402.ebuild
@@ -21,8 +21,7 @@ check_patch() {
get_version
# Check if ksize Patch has to be applied
- if use ksize
- then
+ if use ksize ; then
APPLY_KSIZE_PATCH="n"
# If ksize patch is not applied
if ! grep -qs "EXPORT_SYMBOL(ksize);" "${KV_DIR}/mm/slab.c" ; then
@@ -31,8 +30,7 @@ check_patch() {
fi
# Check if lhash Patch has to be applied
- if use nfs && kernel_is ge 2 6 19
- then
+ if use nfs && kernel_is ge 2 6 19 ; then
APPLY_LHASH_PATCH="n"
# If lhash patch is not applied
if ! grep -qs "EXPORT_SYMBOL(__lookup_hash);" "${KV_DIR}/fs/namei.c" \
@@ -45,8 +43,7 @@ check_patch() {
pkg_setup() {
# kernel version check
- if kernel_is lt 2 6 16
- then
+ if kernel_is lt 2 6 16 ; then
eerror "${PN} is being developed and tested on linux-2.6.16 and later."
eerror "Make sure you have a proper kernel version!"
die "Wrong kernel version"
@@ -55,8 +52,7 @@ pkg_setup() {
check_patch
# If a patch has to be applied
- if [[ ${APPLY_KSIZE_PATCH} == "y" ]] || [[ ${APPLY_LHASH_PATCH} == "y" ]]
- then
+ if [[ ${APPLY_KSIZE_PATCH} == "y" ]] || [[ ${APPLY_LHASH_PATCH} == "y" ]] ; then
ewarn "Patching your kernel..."
cd ${KV_DIR}
fi
@@ -79,38 +75,32 @@ src_unpack(){
cd "${S}"
# Enable ksize Patch in priv_def.mk
- if use ksize
- then
+ if use ksize ; then
echo "CONFIG_AUFS_KSIZE_PATCH = y" >> priv_def.mk || die "setting ksize in priv_def.mk failed!"
fi
# Enable lhash Patch in priv_def.mk
- if use nfs && kernel_is ge 2 6 19
- then
+ if use nfs && kernel_is ge 2 6 19 ; then
echo "CONFIG_AUFS_LHASH_PATCH = y" >> priv_def.mk || die "setting lhash in priv_def.mk failed!"
fi
# Enable hinotify in priv_def.mk
- if use hinotify && kernel_is ge 2 6 18
- then
+ if use hinotify && kernel_is ge 2 6 18 ; then
echo "CONFIG_AUFS_HINOTIFY = y" >> priv_def.mk || die "setting hinotify in priv_def.mk failed!"
fi
# Enable nfsexport in priv_def.mk
- if use nfsexport && kernel_is ge 2 6 18
- then
+ if use nfsexport && kernel_is ge 2 6 18 ; then
echo "CONFIG_AUFS_EXPORT = y" >> priv_def.mk || die "setting nfsexport in priv_def.mk failed!"
fi
# Disable SYSAUFS for kernel less than 2.6.18
- if kernel_is lt 2 6 18
- then
+ if kernel_is lt 2 6 18 ; then
echo "CONFIG_AUFS_SYSAUFS = " >> priv_def.mk || die "unsetting sysaufs in priv_def.mk failed!"
fi
# Check if a vserver-kernel is installed
- if [ -e ${KV_DIR}/include/linux/vserver ]
- then
+ if [[ -e ${KV_DIR}/include/linux/vserver ]] ; then
einfo "vserver kernel seems to be installed"
einfo "using vserver patch"
echo "AUFS_DEF_CONFIG = -DVSERVER" >> priv_def.mk || die "setting vserver in priv_def.mk failed!"