Move to root
This commit is contained in:
187
net-fs/novell-novfs/ChangeLog
Normal file
187
net-fs/novell-novfs/ChangeLog
Normal file
@@ -0,0 +1,187 @@
|
||||
# ChangeLog for net-fs/novell-novfs
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
*novell-novfs-2.0.0.440.7 (05 Dec 2010)
|
||||
|
||||
05 Dec 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-novfs-2.0.0.440.7.ebuild, metadata.xml:
|
||||
bump for 2.6.36
|
||||
|
||||
24 Aug 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
-novell-novfs-2.0.0.440.3.ebuild, -novell-novfs-2.0.0.440.4.ebuild,
|
||||
-novell-novfs-2.0.0.440.5.ebuild:
|
||||
delete old
|
||||
|
||||
24 Aug 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-novfs-2.0.0.440.6.ebuild:
|
||||
Bump novfs
|
||||
|
||||
24 Aug 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-novfs-2.0.0.440.5.ebuild:
|
||||
Bump novfs
|
||||
|
||||
24 Aug 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-novfs-2.0.0.440.3.ebuild, +novell-novfs-2.0.0.440.4.ebuild:
|
||||
Bump novfs
|
||||
|
||||
08 May 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-novfs-2.0.0.440.2.ebuild:
|
||||
Bump
|
||||
|
||||
*novell-novfs-2.0.0.440.1 (03 Sep 2009)
|
||||
|
||||
03 Sep 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-novfs-2.0.0.440.1.ebuild:
|
||||
created new tbz2 for 2.6.30 and onward and rename all the ebuilds to
|
||||
upstream version number
|
||||
|
||||
09 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+files/novfs-2.0.0.444-2.6.29-1.patch, novell-novfs-2.0.0.444.ebuild:
|
||||
Make it compile with 2.6.29
|
||||
|
||||
27 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
files/novfs-2.0.0.444-2.6.28-1.patch:
|
||||
2.6.28.1 patch
|
||||
|
||||
27 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
files/novfs-2.0.0.444-2.6.28-1.patch:
|
||||
2.6.28 support fix
|
||||
|
||||
27 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+files/novfs-2.0.0.444-2.6.28-1.patch, novell-novfs-2.0.0.444.ebuild:
|
||||
2.6.28 support
|
||||
|
||||
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
|
||||
|
||||
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-novfs-2.0.0.444.ebuild:
|
||||
bump
|
||||
|
||||
26 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
novell-novfs-2.0.0_p23-r2.ebuild, novell-novfs-2.0.0.440.ebuild:
|
||||
Repoman cleanup
|
||||
|
||||
17 Jun 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
+files/novfs-2.0.0-2.6.25.patch, +novell-novfs-2.0.0.440.ebuild:
|
||||
Bump
|
||||
|
||||
26 Jan 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
-files/novell-novfs-1.2.0-dentry.patch,
|
||||
-files/novell-novfs-1.2.0-dont_use_tasklist_lock.patch,
|
||||
-files/novell-novfs-1.2.0-getsb.patch,
|
||||
-files/novell-novfs-1.2.0-getsb-fix.patch,
|
||||
-files/novell-novfs-1.2.0-license.patch,
|
||||
-files/novell-novfs-1.2.0_to_2.0.0.patch,
|
||||
-files/novell-novfs-2.0.0-2_6_15-compat.patch,
|
||||
-files/novell-novfs-2.0.0-config_h.patch,
|
||||
-files/novell-novfs-2.0.0-dont_use_tasklist_lock.patch,
|
||||
-files/novell-novfs-2.0.0-generic_file_read.patch,
|
||||
-files/novell-novfs-2.0.0-i_blksize.patch,
|
||||
-files/novell-novfs-2.0.0-u.generic_ip.patch,
|
||||
-files/novell-novfs-2.0.0_p16-vfs.patch,
|
||||
-files/novell-novfs-2.0.0_p20-vfs.patch,
|
||||
-novell-novfs-1.2.0_p17-r2.ebuild, -novell-novfs-2.0.0_p2-r1.ebuild,
|
||||
-novell-novfs-2.0.0_p16.ebuild, -novell-novfs-2.0.0_p20.ebuild,
|
||||
-novell-novfs-2.0.0_p21.ebuild, -novell-novfs-2.0.0_p22.ebuild,
|
||||
-novell-novfs-2.0.0_p22-r1.ebuild, -novell-novfs-2.0.0_p23.ebuild,
|
||||
-novell-novfs-2.0.0_p23-r1.ebuild:
|
||||
Delete old versions
|
||||
|
||||
26 Jan 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
files/novell-novfs-2.0.0-vfs.patch, +novell-novfs-2.0.0_p23-r2.ebuild:
|
||||
Correct patch
|
||||
|
||||
26 Jan 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
files/novell-novfs-2.0.0-vfs.patch:
|
||||
Correct patch
|
||||
|
||||
26 Jan 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
files/novell-novfs-2.0.0-vfs.patch:
|
||||
Correct patch
|
||||
|
||||
26 Jan 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
files/novell-novfs-2.0.0-vfs.patch:
|
||||
Correct vfs patch
|
||||
|
||||
26 Jan 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
files/novell-novfs-2.0.0-vfs.patch, +novell-novfs-2.0.0_p23-r1.ebuild:
|
||||
delete mistake
|
||||
|
||||
26 Jan 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
files/novell-novfs-2.0.0-vfs.patch, +novell-novfs-2.0.0_p23-r1.ebuild:
|
||||
Bump
|
||||
|
||||
26 Jan 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
files/novell-novfs-2.0.0-vfs.patch, +novell-novfs-2.0.0_p23-1.ebuild:
|
||||
Bump
|
||||
|
||||
23 Oct 2007; Mario Fetka <mario-fetka@gmx.at> ++:
|
||||
Bump & i hope this hang on shutdown have been solved
|
||||
|
||||
30 Sep 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
+files/novell-novfs-2.0.0-section_mismatch-1.patch,
|
||||
+novell-novfs-2.0.0_p22-r1.ebuild:
|
||||
Fix section warnings
|
||||
|
||||
28 Aug 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
files/novell-novfs-2.0.0-vfs.patch, ++:
|
||||
Bump PL & add a new http mirror
|
||||
|
||||
21 Aug 2007; Mario Fetka <mario-fetka@gmx.at> ++, ++:
|
||||
Bump Version for novfs
|
||||
|
||||
11 Jul 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
+novell-novfs-2.0.0_p20.ebuild, +files/novell-novfs-2.0.0_p20-vfs.patch:
|
||||
Bump Version of the kernel module
|
||||
|
||||
17 May 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
+novell-novfs-2.0.0_p16.ebuild, +files/novell-novfs-2.0.0_p16-vfs.patch:
|
||||
Update to the new stable novfs.ko (no crash on shutdown)
|
||||
|
||||
04 Apr 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
-novell-novfs-2.0.0_p2.ebuild:
|
||||
Drop old buggy ebuild
|
||||
|
||||
18 Feb 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
+novell-novfs-2.0.0_p2-r1.ebuild,
|
||||
+files/novell-novfs-2.0.0-2_6_15-compat.patch:
|
||||
novfs now compiles on 2.6.15 - 2.6.20
|
||||
|
||||
26 Jan 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
+files/novell-novfs-1.2.0_to_2.0.0.patch,
|
||||
+novell-novfs-2.0.0_p2.ebuild, +files/novell-novfs-2.0.0-config_h.patch,
|
||||
+files/novell-novfs-2.0.0-dont_use_tasklist_lock.patch,
|
||||
+files/novell-novfs-2.0.0-generic_file_read.patch,
|
||||
+files/novell-novfs-2.0.0-i_blksize.patch,
|
||||
+files/novell-novfs-2.0.0-u.generic_ip.patch:
|
||||
Update to novfs 2.0.0
|
||||
|
||||
18 Oct 2006; Mario Fetka <mario-fetka@gmx.at>
|
||||
-novell-novfs-1.2.0_p17-r1.ebuild, +novell-novfs-1.2.0_p17-r2.ebuild,
|
||||
-files/novell-novfs-1.2.0-2.6.17.patch,
|
||||
+files/novell-novfs-1.2.0-dentry.patch,
|
||||
+files/novell-novfs-1.2.0-dont_use_tasklist_lock.patch,
|
||||
+files/novell-novfs-1.2.0-getsb.patch,
|
||||
+files/novell-novfs-1.2.0-getsb-fix.patch,
|
||||
+files/novell-novfs-1.2.0-license.patch:
|
||||
make novfs build on 2.6.18 without that conf script.
|
||||
correct many build errors
|
||||
also add some tweaks to get also compile against 2.6.17
|
||||
|
||||
15 Oct 2006; Mario Fetka <mario-fetka@gmx.at>
|
||||
+novell-novfs-1.2.0_p17-r2.ebuild, +files/novell-novfs-1.2.0-getsb.patch:
|
||||
Update for 2.6.18
|
||||
|
||||
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at>
|
||||
novell-novfs-1.2.0_p17-r1.ebuild, +metadata.xml:
|
||||
Correct Typo
|
||||
|
||||
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at> ChangeLog:
|
||||
Initial novfs ChangeLog
|
||||
|
||||
20
net-fs/novell-novfs/Manifest
Normal file
20
net-fs/novell-novfs/Manifest
Normal file
@@ -0,0 +1,20 @@
|
||||
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-2.6.28-1.patch 1360 RMD160 f7e8442cc59f30a6fd324842eeaaeb09127252bb SHA1 8d1df6b40f66ec03b98a634ce532a0a8a6ce6c46 SHA256 a49b836bf6fa3e2cb240c75cd88c52b1c205b5220e85af8ee7d70b812b62e38e
|
||||
AUX novfs-2.0.0.444-2.6.29-1.patch 4340 RMD160 6a92f6d3c797f8ad6b4f21f87eda16d86426d783 SHA1 90d006a7d5d96e139c817e22799651d1e37053a9 SHA256 5b8c4494e37d54887b86f5ff9ac7e1cac812acd50010a1a0d21cf2b0b4d1b09c
|
||||
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.0.tar.bz2 72400 RMD160 1209014d56f7a2056a0aa962746d026f36492aec SHA1 26d979cfca38152550af64950f2375b72ebbe6f1 SHA256 f0b6670bac5f412c04a2133a573f13a1466a0088fa418a8ebc1fd57b30984bd0
|
||||
DIST novfs-2.0.0.440.1.tar.bz2 72069 RMD160 68417e7af0c8cd71792ecbda6cae112453603e3e SHA1 6f8b58dbd74e8feb64330581508b5f2283f0cf01 SHA256 8b60193a4cff06a56454014c0cd520481d3861f9ad35951f1c2f60894a725648
|
||||
DIST novfs-2.0.0.440.2.tar.bz2 71870 RMD160 7a22beb57ab320b4c9e9e7c94334119d130bf1cb SHA1 f37622522b93fa6180f98b11ae9d2d6659df4095 SHA256 9d05915cb7b4a397081958382e7615454ee7d6f30c91abe9722ab25bcd03a18e
|
||||
DIST novfs-2.0.0.440.6.tar.bz2 70442 RMD160 c9214d81bf425d8db17fddfb1f1ee5ef91060c1a SHA1 46c0647e402806752273258fb9f863971d57e432 SHA256 3671986402cd1cb2d82c610e048a73558420c40aa12a53eef28e4fa71fe930c5
|
||||
DIST novfs-2.0.0.440.7.tar.bz2 70345 RMD160 e74d26d9a8e9ed2bf9b9873751e6c79e9c1adc35 SHA1 f74d988e4250a90fa9ca0e27aa3fdd353b10deee SHA256 37fb15e9820026cbcd29830b3544bfbe62dbd70f7ed96fe8b2b14db0121ed7aa
|
||||
EBUILD novell-novfs-2.0.0.440.0.ebuild 1029 RMD160 eb3fdf91bf603921287cc8954c09e4e5642d8ae6 SHA1 c8d8ab5ffc568b368b51a85e8ef6f6345f45eaf1 SHA256 84b20f8740e11f0cc91f55cfbfede440e63b4ea48b7e575eefc378653592d940
|
||||
EBUILD novell-novfs-2.0.0.440.1.ebuild 874 RMD160 3939870000da712833adfd0b6712dfe3666b02d6 SHA1 0f24122d70837749282cd246e4448ff1fd62b56c SHA256 e87f464d816b1e941b41461813524f382b2fefc0d0ae7999dcfae7bbb5efd29a
|
||||
EBUILD novell-novfs-2.0.0.440.2.ebuild 896 RMD160 8dea1ec8c911f821d48abdc682a3f2ba2512bc74 SHA1 83e281c17f3eb493e2b438414bc6fed725bde09e SHA256 1d7a1b5ebaeac7a01d117698c207e72b2d4043a9222a07908d86353a6eedc0c7
|
||||
EBUILD novell-novfs-2.0.0.440.6.ebuild 896 RMD160 8dea1ec8c911f821d48abdc682a3f2ba2512bc74 SHA1 83e281c17f3eb493e2b438414bc6fed725bde09e SHA256 1d7a1b5ebaeac7a01d117698c207e72b2d4043a9222a07908d86353a6eedc0c7
|
||||
EBUILD novell-novfs-2.0.0.440.7.ebuild 896 RMD160 8dea1ec8c911f821d48abdc682a3f2ba2512bc74 SHA1 83e281c17f3eb493e2b438414bc6fed725bde09e SHA256 1d7a1b5ebaeac7a01d117698c207e72b2d4043a9222a07908d86353a6eedc0c7
|
||||
EBUILD novell-novfs-2.0.0_p23-r2.ebuild 1656 RMD160 e32d855e9ec2e3da63fcff498daadd3cf9496ffb SHA1 efbb12cde7c034d3bb06e2a008d492ee8db1dd3a SHA256 ad6321bb3e4ca534fd0abe389bceb0901a3f7f9fcd6daaa3eeec4652b04bf7ea
|
||||
MISC ChangeLog 6466 RMD160 3e50056ea2d6abe1e6d9b36dfab3b0b5654a2eec SHA1 0808ca9ceb7edb60c365e0f27575f005172cf3ab SHA256 9138fd15ab51c034354a87f06caf39d76fdc377b1c83a31945077bfddb165dfc
|
||||
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2
|
||||
@@ -0,0 +1,44 @@
|
||||
Submitted By: Mario Fetka (mario-fetka at gmx dot at)
|
||||
Date: 2007-09-30
|
||||
Initial Package Version: 2.0.0
|
||||
Origin: me
|
||||
Upstream Status: unknown
|
||||
Description:
|
||||
Fix section warning:
|
||||
WARNING: /var/tmp/portage/net-fs/novell-novfs-2.0.0_p22/work/novfs-2.0.0/src/novfs.o(.text+0xa5a5): Section mismatch: reference to .init.text:init_novfs (between '__cyg_profile_func_enter' and 'profile_task_exit_callback')
|
||||
WARNING: /var/tmp/portage/net-fs/novell-novfs-2.0.0_p22/work/novfs-2.0.0/src/novfs.o(.data+0x7fc): Section mismatch: reference to .init.text:init_novfs (between 'SymbolTable' and 'Malloc_Lock')
|
||||
WARNING: /var/tmp/portage/net-fs/novell-novfs-2.0.0_p22/work/novfs-2.0.0/src/novfs.o(.text+0xa511): Section mismatch: reference to .exit.text:exit_novfs (between '__cyg_profile_func_exit' and '__cyg_profile_func_enter')
|
||||
WARNING: /var/tmp/portage/net-fs/novell-novfs-2.0.0_p22/work/novfs-2.0.0/src/novfs.o(.data+0x6b4): Section mismatch: reference to .exit.text:exit_novfs (between 'SymbolTable' and 'Malloc_Lock')
|
||||
|
||||
diff -Naur novfs-2.0.0.orig/src/inode.c novfs-2.0.0/src/inode.c
|
||||
--- novfs-2.0.0.orig/src/inode.c 2007-08-09 10:56:06.000000000 +0000
|
||||
+++ novfs-2.0.0/src/inode.c 2007-09-30 10:55:45.000000000 +0000
|
||||
@@ -271,8 +271,8 @@
|
||||
|
||||
int Novfs_Control_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg);
|
||||
|
||||
-int __init init_novfs(void);
|
||||
-void __exit exit_novfs(void);
|
||||
+int __devinit init_novfs(void);
|
||||
+void __devexit exit_novfs(void);
|
||||
|
||||
int Novfs_lock_inode_cache( struct inode *i );
|
||||
void Novfs_unlock_inode_cache( struct inode *i );
|
||||
@@ -4898,7 +4898,7 @@
|
||||
}
|
||||
|
||||
/*++======================================================================*/
|
||||
-int __init init_novfs (void)
|
||||
+int __devinit init_novfs (void)
|
||||
/*
|
||||
* Arguments:
|
||||
*
|
||||
@@ -4941,7 +4941,7 @@
|
||||
}
|
||||
|
||||
/*++======================================================================*/
|
||||
-void __exit exit_novfs(void)
|
||||
+void __devexit exit_novfs(void)
|
||||
/*
|
||||
* Arguments:
|
||||
*
|
||||
11
net-fs/novell-novfs/files/novell-novfs-2.0.0-vfs.patch
Normal file
11
net-fs/novell-novfs/files/novell-novfs-2.0.0-vfs.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- novfs-2.0.0/src/daemon.c.orig 2007-05-11 08:55:19.000000000 +0200
|
||||
+++ novfs-2.0.0/src/daemon.c 2007-05-17 20:37:00.000000000 +0200
|
||||
@@ -2780,7 +2780,7 @@
|
||||
{
|
||||
atomic_inc(&inode->i_count);
|
||||
}
|
||||
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20)
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)
|
||||
// Version of 2.6.20 changed the number of
|
||||
// parameters passed to vfs_unlink.
|
||||
error = vfs_unlink(nd.dentry->d_inode, dentry, nd.mnt);
|
||||
46
net-fs/novell-novfs/files/novfs-2.0.0-2.6.25.patch
Normal file
46
net-fs/novell-novfs/files/novfs-2.0.0-2.6.25.patch
Normal file
@@ -0,0 +1,46 @@
|
||||
--- src/daemon.c
|
||||
+++ src/daemon.c
|
||||
@@ -2783,7 +2783,7 @@
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20)
|
||||
// Version of 2.6.20 changed the number of
|
||||
// parameters passed to vfs_unlink.
|
||||
- error = vfs_unlink(nd.dentry->d_inode, dentry, nd.mnt);
|
||||
+ error = vfs_unlink(nd.path.dentry->d_inode, dentry, nd.path.mnt);
|
||||
#else
|
||||
error = vfs_unlink(nd.dentry->d_inode, dentry);
|
||||
#endif
|
||||
@@ -2791,10 +2791,10 @@
|
||||
}
|
||||
dput(dentry);
|
||||
}
|
||||
- mutex_unlock(&nd.dentry->d_inode->i_mutex);
|
||||
+ mutex_unlock(&nd.path.dentry->d_inode->i_mutex);
|
||||
|
||||
}
|
||||
- path_release(&nd);
|
||||
+ path_put(&nd.path);
|
||||
}
|
||||
|
||||
if (inode)
|
||||
--- src/inode.c
|
||||
+++ src/inode.c
|
||||
@@ -376,7 +376,6 @@
|
||||
};
|
||||
|
||||
static struct super_operations Novfs_ops = {
|
||||
- .read_inode = Novfs_read_inode,
|
||||
.statfs = Novfs_statfs,
|
||||
.clear_inode = Novfs_clear_inode,
|
||||
.drop_inode = generic_delete_inode,
|
||||
@@ -4596,7 +4595,10 @@
|
||||
buf = (char *)Novfs_Malloc(PATH_LENGTH_BUFFER, GFP_KERNEL);
|
||||
if (buf)
|
||||
{
|
||||
- path = d_path(m->mnt_root, m, buf, PATH_LENGTH_BUFFER);
|
||||
+ struct path my_path;
|
||||
+ my_path.mnt = m;
|
||||
+ my_path.dentry= m->mnt_root;
|
||||
+ path = d_path(&my_path, buf, PATH_LENGTH_BUFFER);
|
||||
if (path)
|
||||
{
|
||||
if ( !Novfs_CurrentMount || (Novfs_CurrentMount && strcmp(Novfs_CurrentMount, path)))
|
||||
48
net-fs/novell-novfs/files/novfs-2.0.0.444-2.6.28-1.patch
Normal file
48
net-fs/novell-novfs/files/novfs-2.0.0.444-2.6.28-1.patch
Normal file
@@ -0,0 +1,48 @@
|
||||
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
|
||||
Date: 2009-01-27
|
||||
Initial Package Version: 2.0.0.444
|
||||
Origin: me
|
||||
Upstream Status: unknown
|
||||
Description: support >= 2.6.28
|
||||
|
||||
diff -Naur novfs-2.0.0.444.orig/inode.c novfs-2.0.0.444/inode.c
|
||||
--- novfs-2.0.0.444.orig/inode.c 2009-01-27 20:19:47.375095216 +0000
|
||||
+++ novfs-2.0.0.444/inode.c 2009-01-27 20:18:27.000000000 +0000
|
||||
@@ -246,8 +246,13 @@
|
||||
.readpages = novfs_a_readpages,
|
||||
.writepage = novfs_a_writepage,
|
||||
.writepages = novfs_a_writepages,
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28))
|
||||
+ .write_begin = novfs_a_prepare_write,
|
||||
+ .write_end = novfs_a_commit_write,
|
||||
+#else
|
||||
.prepare_write = novfs_a_prepare_write,
|
||||
.commit_write = novfs_a_commit_write,
|
||||
+#endif
|
||||
.set_page_dirty = __set_page_dirty_nobuffers,
|
||||
.direct_IO = novfs_a_direct_IO,
|
||||
};
|
||||
@@ -1887,7 +1892,11 @@
|
||||
SetPageUptodate(page);
|
||||
unlock_page(page);
|
||||
if (!pagevec_add(plru_pvec, page))
|
||||
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)
|
||||
+ __pagevec_lru_add_file(plru_pvec);
|
||||
+ #else
|
||||
__pagevec_lru_add(plru_pvec);
|
||||
+ #endif
|
||||
data += PAGE_CACHE_SIZE;
|
||||
}
|
||||
return;
|
||||
@@ -2383,7 +2392,11 @@
|
||||
page_cache_release(page);
|
||||
}
|
||||
|
||||
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)
|
||||
+ pagevec_lru_add_file(&lru_pvec);
|
||||
+ #else
|
||||
pagevec_lru_add(&lru_pvec);
|
||||
+ #endif
|
||||
kfree(rbuf);
|
||||
} else {
|
||||
retCode = -ENOMEM;
|
||||
148
net-fs/novell-novfs/files/novfs-2.0.0.444-2.6.29-1.patch
Normal file
148
net-fs/novell-novfs/files/novfs-2.0.0.444-2.6.29-1.patch
Normal file
@@ -0,0 +1,148 @@
|
||||
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
|
||||
Date: 2009-04-09
|
||||
Initial Package Version: 2.0.0.444
|
||||
Origin: me
|
||||
Upstream Status: unknown
|
||||
Description: make it compile with 2.6.29
|
||||
|
||||
diff -Naur novfs-2.0.0.444.orig/file.c novfs-2.0.0.444/file.c
|
||||
--- novfs-2.0.0.444.orig/file.c 2009-04-09 14:15:42.656043713 +0000
|
||||
+++ novfs-2.0.0.444/file.c 2009-04-09 14:22:00.067362069 +0000
|
||||
@@ -185,8 +185,13 @@
|
||||
DbgPrint("novfs_Get_File_Info: Path = %s\n", Path);
|
||||
|
||||
Info->mode = S_IFDIR | 0700;
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
|
||||
+ Info->uid = current_uid();
|
||||
+ Info->gid = current_gid();
|
||||
+#else
|
||||
Info->uid = current->uid;
|
||||
Info->gid = current->gid;
|
||||
+#endif
|
||||
Info->size = 0;
|
||||
Info->atime = Info->mtime = Info->ctime = CURRENT_TIME;
|
||||
|
||||
@@ -230,8 +235,13 @@
|
||||
Info->mode &= ~(S_IWUSR);
|
||||
}
|
||||
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
|
||||
+ Info->uid = current_euid();
|
||||
+ Info->gid = current_egid();
|
||||
+#else
|
||||
Info->uid = current->euid;
|
||||
Info->gid = current->egid;
|
||||
+#endif
|
||||
Info->size = reply->fileSize;
|
||||
Info->atime.tv_sec =
|
||||
reply->lastAccessTime;
|
||||
@@ -717,8 +727,13 @@
|
||||
info->mode |= S_IXUSR;
|
||||
}
|
||||
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
|
||||
+ info->uid = current_euid();
|
||||
+ info->gid = current_egid();
|
||||
+#else
|
||||
info->uid = current->euid;
|
||||
info->gid = current->egid;
|
||||
+#endif
|
||||
info->size = data->size;
|
||||
info->atime.tv_sec =
|
||||
data->lastAccessTime;
|
||||
diff -Naur novfs-2.0.0.444.orig/inode.c novfs-2.0.0.444/inode.c
|
||||
--- novfs-2.0.0.444.orig/inode.c 2009-04-09 14:15:42.650832058 +0000
|
||||
+++ novfs-2.0.0.444/inode.c 2009-04-09 14:35:51.150978797 +0000
|
||||
@@ -1216,7 +1216,11 @@
|
||||
uid = novfs_scope_get_uid(((struct inode_data *) inode->i_private)->Scope);
|
||||
} else {
|
||||
SC_INITIALIZE(sessionId);
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
|
||||
+ uid = current_euid();
|
||||
+#else
|
||||
uid = current->euid;
|
||||
+#endif
|
||||
}
|
||||
|
||||
if (IS_ROOT(file->f_dentry) || // Root
|
||||
@@ -2707,7 +2711,11 @@
|
||||
struct novfs_entry_info *info = NULL;
|
||||
struct inode_data *id;
|
||||
struct inode *inode = NULL;
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
|
||||
+ uid_t uid = current_euid();
|
||||
+#else
|
||||
uid_t uid = current->euid;
|
||||
+#endif
|
||||
ino_t ino = 0;
|
||||
struct qstr name;
|
||||
char *buf;
|
||||
diff -Naur novfs-2.0.0.444.orig/scope.c novfs-2.0.0.444/scope.c
|
||||
--- novfs-2.0.0.444.orig/scope.c 2009-04-09 14:15:42.692656325 +0000
|
||||
+++ novfs-2.0.0.444/scope.c 2009-04-09 14:45:04.925672739 +0000
|
||||
@@ -92,11 +92,20 @@
|
||||
|
||||
task = current;
|
||||
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
|
||||
+ DbgPrint("Scope_Find_Scope: %d %d %d %d\n", current_uid(),
|
||||
+ current_euid(), current_suid(), current_fsuid());
|
||||
+
|
||||
+ //scopeId = task->euid;
|
||||
+ UID_TO_SCHANDLE(scopeId, current_euid());
|
||||
+#else
|
||||
DbgPrint("Scope_Find_Scope: %d %d %d %d\n", task->uid, task->euid,
|
||||
task->suid, task->fsuid);
|
||||
|
||||
//scopeId = task->euid;
|
||||
UID_TO_SCHANDLE(scopeId, task->euid);
|
||||
+#endif
|
||||
+
|
||||
|
||||
scope = Scope_Search4Scope(scopeId, 0, 0);
|
||||
|
||||
@@ -108,17 +117,30 @@
|
||||
scope->ScopePid = task->pid;
|
||||
scope->ScopeTask = task;
|
||||
scope->ScopeHash = 0;
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
|
||||
+ scope->ScopeUid = current_euid();
|
||||
+#else
|
||||
scope->ScopeUid = task->euid;
|
||||
+#endif
|
||||
scope->ScopeUserName[0] = '\0';
|
||||
|
||||
if (!novfs_daemon_create_sessionId(&scope->SessionId)) {
|
||||
DbgPrint("Scope_Find_Scope2: %d %d %d %d\n",
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
|
||||
+ current_uid(), current_euid(),
|
||||
+ current_suid(), current_fsuid());
|
||||
+#else
|
||||
task->uid, task->euid, task->suid,
|
||||
task->fsuid);
|
||||
+#endif
|
||||
memset(scope->ScopeUserName, 0,
|
||||
sizeof(scope->ScopeUserName));
|
||||
scope->ScopeUserNameLength = 0;
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
|
||||
+ novfs_daemon_getpwuid(current_euid(),
|
||||
+#else
|
||||
novfs_daemon_getpwuid(task->euid,
|
||||
+#endif
|
||||
sizeof(scope->ScopeUserName),
|
||||
scope->ScopeUserName);
|
||||
scope->ScopeUserNameLength =
|
||||
@@ -477,8 +499,13 @@
|
||||
rscope = NULL;
|
||||
rcu_read_lock();
|
||||
for_each_process(task) {
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
|
||||
+ if ((task->cred->uid == scope->ScopeUid)
|
||||
+ || (task->cred->euid == scope->ScopeUid)) {
|
||||
+#else
|
||||
if ((task->uid == scope->ScopeUid)
|
||||
|| (task->euid == scope->ScopeUid)) {
|
||||
+#endif
|
||||
rscope = scope;
|
||||
break;
|
||||
}
|
||||
22
net-fs/novell-novfs/files/novfs-2.0.0.444-apparmor-1.patch
Normal file
22
net-fs/novell-novfs/files/novfs-2.0.0.444-apparmor-1.patch
Normal 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);
|
||||
8
net-fs/novell-novfs/metadata.xml
Normal file
8
net-fs/novell-novfs/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer>
|
||||
<email>mario.fetka@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
52
net-fs/novell-novfs/novell-novfs-2.0.0.440.0.ebuild
Normal file
52
net-fs/novell-novfs/novell-novfs-2.0.0.440.0.ebuild
Normal file
@@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
DESCRIPTION="Novell Client for Linux Filesystem"
|
||||
HOMEPAGE="http://www.novell.com"
|
||||
SRC_URI="http://ftp.mars.arge.at/n4g/novfs-${PV}.tar.bz2
|
||||
ftp://mars.arge.at/n4g/novfs-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="virtual/linux-sources"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S=${WORKDIR}/novfs-${PV}
|
||||
|
||||
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-${PV}:${WORKDIR}/novfs-${PV}:${WORKDIR}/novfs-${PV}/)"
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_PARAMS="KDIR=${KERNEL_DIR}"
|
||||
MODULESD_NOVFS_ENABLED=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
epatch ${FILESDIR}/novfs-2.0.0.444-apparmor-1.patch
|
||||
epatch ${FILESDIR}/novfs-2.0.0.444-2.6.28-1.patch
|
||||
epatch ${FILESDIR}/novfs-2.0.0.444-2.6.29-1.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
generate_modulesd
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
linux-mod_pkg_postrm
|
||||
}
|
||||
49
net-fs/novell-novfs/novell-novfs-2.0.0.440.1.ebuild
Normal file
49
net-fs/novell-novfs/novell-novfs-2.0.0.440.1.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
DESCRIPTION="Novell Client for Linux Filesystem"
|
||||
HOMEPAGE="http://www.novell.com"
|
||||
SRC_URI="http://ftp.mars.arge.at/n4g/novfs-${PV}.tar.bz2
|
||||
ftp://mars.arge.at/n4g/novfs-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="virtual/linux-sources"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S=${WORKDIR}/novfs-${PV}
|
||||
|
||||
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-${PV}:${WORKDIR}/novfs-${PV}:${WORKDIR}/novfs-${PV}/)"
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_PARAMS="KDIR=${KERNEL_DIR}"
|
||||
MODULESD_NOVFS_ENABLED=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
generate_modulesd
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
linux-mod_pkg_postrm
|
||||
}
|
||||
49
net-fs/novell-novfs/novell-novfs-2.0.0.440.2.ebuild
Normal file
49
net-fs/novell-novfs/novell-novfs-2.0.0.440.2.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
DESCRIPTION="Novell Client for Linux Filesystem"
|
||||
HOMEPAGE="http://www.novell.com"
|
||||
SRC_URI="http://ftp.disconnected-by-peer.at/n4g/novfs-${PV}.tar.bz2
|
||||
ftp://disconnected-by-peer.at/n4g/novfs-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="virtual/linux-sources"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S=${WORKDIR}/novfs-${PV}
|
||||
|
||||
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-${PV}:${WORKDIR}/novfs-${PV}:${WORKDIR}/novfs-${PV}/)"
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_PARAMS="KDIR=${KERNEL_DIR}"
|
||||
MODULESD_NOVFS_ENABLED=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
generate_modulesd
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
linux-mod_pkg_postrm
|
||||
}
|
||||
49
net-fs/novell-novfs/novell-novfs-2.0.0.440.6.ebuild
Normal file
49
net-fs/novell-novfs/novell-novfs-2.0.0.440.6.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
DESCRIPTION="Novell Client for Linux Filesystem"
|
||||
HOMEPAGE="http://www.novell.com"
|
||||
SRC_URI="http://ftp.disconnected-by-peer.at/n4g/novfs-${PV}.tar.bz2
|
||||
ftp://disconnected-by-peer.at/n4g/novfs-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="virtual/linux-sources"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S=${WORKDIR}/novfs-${PV}
|
||||
|
||||
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-${PV}:${WORKDIR}/novfs-${PV}:${WORKDIR}/novfs-${PV}/)"
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_PARAMS="KDIR=${KERNEL_DIR}"
|
||||
MODULESD_NOVFS_ENABLED=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
generate_modulesd
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
linux-mod_pkg_postrm
|
||||
}
|
||||
49
net-fs/novell-novfs/novell-novfs-2.0.0.440.7.ebuild
Normal file
49
net-fs/novell-novfs/novell-novfs-2.0.0.440.7.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
DESCRIPTION="Novell Client for Linux Filesystem"
|
||||
HOMEPAGE="http://www.novell.com"
|
||||
SRC_URI="http://ftp.disconnected-by-peer.at/n4g/novfs-${PV}.tar.bz2
|
||||
ftp://disconnected-by-peer.at/n4g/novfs-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="virtual/linux-sources"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S=${WORKDIR}/novfs-${PV}
|
||||
|
||||
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-${PV}:${WORKDIR}/novfs-${PV}:${WORKDIR}/novfs-${PV}/)"
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_PARAMS="KDIR=${KERNEL_DIR}"
|
||||
MODULESD_NOVFS_ENABLED=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
generate_modulesd
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
linux-mod_pkg_postrm
|
||||
}
|
||||
72
net-fs/novell-novfs/novell-novfs-2.0.0_p23-r2.ebuild
Normal file
72
net-fs/novell-novfs/novell-novfs-2.0.0_p23-r2.ebuild
Normal file
@@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils rpm linux-mod
|
||||
|
||||
MY_PV="${PV/_p/-}"
|
||||
|
||||
DESCRIPTION="Novell Client for Linux Filesystem"
|
||||
HOMEPAGE="http://www.novell.com"
|
||||
SRC_URI="ftp://mars.arge.at/n4g/novfs-${MY_PV}.src.rpm
|
||||
http://ftp.mars.arge.at/n4g/novfs-${MY_PV}.src.rpm
|
||||
http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/src/novfs-${MY_PV}.src.rpm"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="virtual/linux-sources"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
#BUILD_PARAMS="-C $KERNEL_DIR SUBDIRS=-${WORKDIR}/novfs-2.0.0/src"
|
||||
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-2.0.0/src:${WORKDIR}/novfs-2.0.0/src"
|
||||
BUILD_TARGETS="all"
|
||||
MODULESD_NOVFS_ENABLED=""
|
||||
|
||||
src_unpack() {
|
||||
rpm_src_unpack ${A}
|
||||
epatch "${FILESDIR}"/novell-novfs-2.0.0-vfs.patch
|
||||
epatch "${FILESDIR}"/novell-novfs-2.0.0-section_mismatch-1.patch
|
||||
|
||||
# if kernel_is eq 2 6 15
|
||||
# then
|
||||
# epatch ${FILESDIR}/novell-novfs-2.0.0-2_6_15-compat.patch
|
||||
# fi
|
||||
# if kernel_is ge 2 6 17
|
||||
# then
|
||||
# epatch ${FILESDIR}/novell-novfs-2.0.0-config_h.patch
|
||||
# fi
|
||||
# if kernel_is ge 2 6 18
|
||||
# then
|
||||
# epatch ${FILESDIR}/novell-novfs-2.0.0-generic_file_read.patch
|
||||
# fi
|
||||
# if kernel_is ge 2 6 19
|
||||
# then
|
||||
# epatch ${FILESDIR}/novell-novfs-2.0.0-i_blksize.patch
|
||||
# epatch ${FILESDIR}/novell-novfs-2.0.0-u.generic_ip.patch
|
||||
# fi
|
||||
|
||||
# epatch ${FILESDIR}/novell-novfs-2.0.0-dont_use_tasklist_lock.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
generate_modulesd
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
linux-mod_pkg_postrm
|
||||
}
|
||||
Reference in New Issue
Block a user