From 0e393d138ab417ea428c7b324519ca1b4225b4c3 Mon Sep 17 00:00:00 2001 From: geos_one Date: Tue, 27 Jan 2009 20:02:15 +0000 Subject: [PATCH] net-fs/novell-novfs: 2.6.28 support --- .../net-fs/novell-novfs/ChangeLog | 6 ++++- .../net-fs/novell-novfs/Manifest | 5 +++-- .../files/novfs-2.0.0.444-2.6.28-1.patch | 22 +++++++++++++++++++ .../novell-novfs-2.0.0.444.ebuild | 3 ++- 4 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 trunk/novell4gentoo/net-fs/novell-novfs/files/novfs-2.0.0.444-2.6.28-1.patch diff --git a/trunk/novell4gentoo/net-fs/novell-novfs/ChangeLog b/trunk/novell4gentoo/net-fs/novell-novfs/ChangeLog index 3f89ac9e..a206bafe 100644 --- a/trunk/novell4gentoo/net-fs/novell-novfs/ChangeLog +++ b/trunk/novell4gentoo/net-fs/novell-novfs/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for net-fs/novell-novfs -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 27 Jan 2009; Mario Fetka + +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 +files/novfs-2.0.0.444-apparmor-1.patch, novell-novfs-2.0.0.444.ebuild: add build with apparmor diff --git a/trunk/novell4gentoo/net-fs/novell-novfs/Manifest b/trunk/novell4gentoo/net-fs/novell-novfs/Manifest index 6a185f80..b2172fc1 100644 --- a/trunk/novell4gentoo/net-fs/novell-novfs/Manifest +++ b/trunk/novell4gentoo/net-fs/novell-novfs/Manifest @@ -1,12 +1,13 @@ 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 681 RMD160 e03e815ff385cba710594c4daf726bdbf4c04072 SHA1 8cdd1de12e6d8ae495e98dd75f155c38e52f5057 SHA256 c484d089ae52a8425a3229fbe6b6365fcc32d3eb107e3317292c22263af78728 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 927 RMD160 431136c917e6c7c94a0a411ced621e5cb8b3fc31 SHA1 bfef1e5c05f3f1f787e26ceed374c4613471fa37 SHA256 2be85395871a33fefe5e4855fb514b722e61537a59068c1a38640094db43576c +EBUILD novell-novfs-2.0.0.444.ebuild 978 RMD160 c0ab7ca6ceb4d8e3e284d3a1ec73a198a38890b7 SHA1 9c595198727eafa69741c05fa557e4a8cbac5070 SHA256 2b0aa390e12aede3a0350cc13e379855385e6d43f84d63da25c84c479571712d EBUILD novell-novfs-2.0.0_p23-r2.ebuild 1656 RMD160 e32d855e9ec2e3da63fcff498daadd3cf9496ffb SHA1 efbb12cde7c034d3bb06e2a008d492ee8db1dd3a SHA256 ad6321bb3e4ca534fd0abe389bceb0901a3f7f9fcd6daaa3eeec4652b04bf7ea -MISC ChangeLog 4959 RMD160 b19503f1be5e916bbe4a45d53d3231d596dbf82a SHA1 a9c96a0c805709e10c3adde40a28a57e26d1b78c SHA256 1774058a79b8b5165f5ee80a641ab3533a1db6b9858c50be9c32e2533818d366 +MISC ChangeLog 5100 RMD160 9f2bd69508f769c5ad8d79cf57caa6877816416b SHA1 a7837ca0e82d64a8ebf4a92b85ecefe5ccbce508 SHA256 3ee69ab3369e61fee7a329e5e72312b69320bdea149469b70987ef51a9f7425e MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-fs/novell-novfs/files/novfs-2.0.0.444-2.6.28-1.patch b/trunk/novell4gentoo/net-fs/novell-novfs/files/novfs-2.0.0.444-2.6.28-1.patch new file mode 100644 index 00000000..b89a6f8f --- /dev/null +++ b/trunk/novell4gentoo/net-fs/novell-novfs/files/novfs-2.0.0.444-2.6.28-1.patch @@ -0,0 +1,22 @@ +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: make it work with >= 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 19:55:37.012343752 +0000 ++++ novfs-2.0.0.444/inode.c 2009-01-27 19:57:23.171092328 +0000 +@@ -1887,7 +1887,11 @@ + SetPageUptodate(page); + unlock_page(page); + if (!pagevec_add(plru_pvec, page)) ++ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28) ++ ____pagevec_lru_add(plru_pvec); ++ #else + __pagevec_lru_add(plru_pvec); ++ #endif + data += PAGE_CACHE_SIZE; + } + return; diff --git a/trunk/novell4gentoo/net-fs/novell-novfs/novell-novfs-2.0.0.444.ebuild b/trunk/novell4gentoo/net-fs/novell-novfs/novell-novfs-2.0.0.444.ebuild index f82d8cf6..b037e995 100644 --- a/trunk/novell4gentoo/net-fs/novell-novfs/novell-novfs-2.0.0.444.ebuild +++ b/trunk/novell4gentoo/net-fs/novell-novfs/novell-novfs-2.0.0.444.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ @@ -30,6 +30,7 @@ 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 } src_compile() {