net-fs/novell-novfs: add build with apparmor

This commit is contained in:
geos_one 2008-11-16 10:44:18 +00:00
parent 608e699848
commit 749d5cced0
4 changed files with 30 additions and 4 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
16 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
+files/novfs-2.0.0.444-apparmor-1.patch, novell-novfs-2.0.0.444.ebuild:
add build with apparmor
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
redigest

View File

@ -1,11 +1,12 @@
AUX novell-novfs-2.0.0-section_mismatch-1.patch 1943 RMD160 e6a025066d935ff69669b67eb77157a6cb96c525 SHA1 0caa5ee241ed56cd52741815192659612eefae2b SHA256 38b1be3c3b61c15212063af75cfbd84ac46b4aab8248a11c9ec121a5496a86d6
AUX novell-novfs-2.0.0-vfs.patch 524 RMD160 caab5f55b21e0a84c90529af01018f076069e046 SHA1 e4ff839c81ea455975104f096c81a3f7e2564867 SHA256 b2a21ed547f05bd141f02062dd219e445ab1f4170dbf9f336f72281f2bea00ee
AUX novfs-2.0.0-2.6.25.patch 1417 RMD160 60ba9006d215bc2bf2723bd466f1dcebb27ebe53 SHA1 fb067c32f29889a665df06c6763b93f497be5466 SHA256 1f532cd3aee291ca31c16d4e6b6dc17227c2052f70ededbf20740b23e6409666
AUX novfs-2.0.0.444-apparmor-1.patch 734 RMD160 f615b8f1f3631a17e251ea39dd5f093562a2eb4d SHA1 cbb850fd04091fbebd042a6ea5b5096651a564b1 SHA256 f08cecbfc61f78018222c6a7065c63ac9ad29aba76270d824e637d62e6b108eb
DIST novfs-2.0.0-23.src.rpm 133355 RMD160 67a07d2eb8b12cefe40d44dab9c94670c64cc54d SHA1 0a3573587b06a4c82e2f34b40749df04ff2b414b SHA256 e5e4c234a39220b8f86c6bc45d446abe0ec20b46d6b72792541ad5e3bc3ebbeb
DIST novfs-2.0.0.440.tar.bz2 72449 RMD160 6b4576a06e83669ab03dc53f80f681aa7f54babf SHA1 54bcca34bf5104adf7287a5d07464cc0e583819d SHA256 2038c4f54f73e0fd8711f44913e7a43c1270efcd037536054053b0c6a2df8166
DIST novfs-2.0.0.444.tar.bz2 72449 RMD160 b285340a94fbcdc71d80f0296aaaeb173f68b59d SHA1 19320444cf66d457d2b4570ffe829ac2c2671f23 SHA256 f3b58275a9035c8712e1ed3b8d05040dbbad43bc6f1195f9364264d2dca60171
EBUILD novell-novfs-2.0.0.440.ebuild 989 RMD160 164cdb135d9982703837d10b6a6fb0f6c50b4a55 SHA1 475cf55237cf14d467c06dfa9ca4297c43c56404 SHA256 bb9edabbeae362b0fa2b4d4c337891fdc7a3fc5ede6bc1218eff6f968aa9740d
EBUILD novell-novfs-2.0.0.444.ebuild 989 RMD160 164cdb135d9982703837d10b6a6fb0f6c50b4a55 SHA1 475cf55237cf14d467c06dfa9ca4297c43c56404 SHA256 bb9edabbeae362b0fa2b4d4c337891fdc7a3fc5ede6bc1218eff6f968aa9740d
EBUILD novell-novfs-2.0.0.444.ebuild 927 RMD160 431136c917e6c7c94a0a411ced621e5cb8b3fc31 SHA1 bfef1e5c05f3f1f787e26ceed374c4613471fa37 SHA256 2be85395871a33fefe5e4855fb514b722e61537a59068c1a38640094db43576c
EBUILD novell-novfs-2.0.0_p23-r2.ebuild 1656 RMD160 e32d855e9ec2e3da63fcff498daadd3cf9496ffb SHA1 efbb12cde7c034d3bb06e2a008d492ee8db1dd3a SHA256 ad6321bb3e4ca534fd0abe389bceb0901a3f7f9fcd6daaa3eeec4652b04bf7ea
MISC ChangeLog 4807 RMD160 3a21eb16e5c31cf61ae00c32b0c25a1cc2c36140 SHA1 a4cd24df716c19c2468208a74ebaca870e556aca SHA256 29aceed8298003acb4ef3078225470305108bd07b22357a2f1d2ae0125adf219
MISC ChangeLog 4959 RMD160 b19503f1be5e916bbe4a45d53d3231d596dbf82a SHA1 a9c96a0c805709e10c3adde40a28a57e26d1b78c SHA256 1774058a79b8b5165f5ee80a641ab3533a1db6b9858c50be9c32e2533818d366
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,22 @@
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2008-11-16
Initial Package Version: 2.0.0.444
Origin: opensuse kernel
Upstream Status: unknown
Description: add apparmor
diff -Naur novfs-2.0.0.444.orig/daemon.c novfs-2.0.0.444/daemon.c
--- novfs-2.0.0.444.orig/daemon.c 2008-11-03 20:34:44.000000000 +0000
+++ novfs-2.0.0.444/daemon.c 2008-11-16 10:36:44.190003896 +0000
@@ -2090,7 +2090,11 @@
if (inode) {
atomic_inc(&inode->i_count);
}
+#ifdef CONFIG_SECURITY_APPARMOR
+ error = vfs_unlink(nd.path.dentry->d_inode, dentry, nd.path.mnt);
+#else
error = vfs_unlink(nd.path.dentry->d_inode, dentry);
+#endif
DbgPrint
("local_unlink: vfs_unlink %d\n",
error);

View File

@ -29,8 +29,7 @@ MODULESD_NOVFS_ENABLED=""
src_unpack() {
unpack ${A}
#epatch ${FILESDIR}/novell-novfs-2.0.0-vfs.patch
#epatch ${FILESDIR}/novell-novfs-2.0.0-section_mismatch-1.patch
epatch ${FILESDIR}/novfs-2.0.0.444-apparmor-1.patch
}
src_compile() {