net-fs/novell-novfs: Fix section warnings
This commit is contained in:
parent
3425fb600e
commit
2b79b17de6
@ -2,6 +2,11 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
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
|
||||
|
@ -42,6 +42,10 @@ AUX novell-novfs-2.0.0-i_blksize.patch 2920 RMD160 8ae931e01954ee69288ece87bf67b
|
||||
MD5 763e227d6b1ba5218633a2bc5d08402b files/novell-novfs-2.0.0-i_blksize.patch 2920
|
||||
RMD160 8ae931e01954ee69288ece87bf67bafb81172ae3 files/novell-novfs-2.0.0-i_blksize.patch 2920
|
||||
SHA256 5fa30bf88f252e07481f03b2e875cfaff639d017f8f20c356930e973bf6e3740 files/novell-novfs-2.0.0-i_blksize.patch 2920
|
||||
AUX novell-novfs-2.0.0-section_mismatch-1.patch 1943 RMD160 e6a025066d935ff69669b67eb77157a6cb96c525 SHA1 0caa5ee241ed56cd52741815192659612eefae2b SHA256 38b1be3c3b61c15212063af75cfbd84ac46b4aab8248a11c9ec121a5496a86d6
|
||||
MD5 e01e6b6064f80d50788b08949d34ef07 files/novell-novfs-2.0.0-section_mismatch-1.patch 1943
|
||||
RMD160 e6a025066d935ff69669b67eb77157a6cb96c525 files/novell-novfs-2.0.0-section_mismatch-1.patch 1943
|
||||
SHA256 38b1be3c3b61c15212063af75cfbd84ac46b4aab8248a11c9ec121a5496a86d6 files/novell-novfs-2.0.0-section_mismatch-1.patch 1943
|
||||
AUX novell-novfs-2.0.0-u.generic_ip.patch 24168 RMD160 37046de7e80c853327f2865f45f05458970feea9 SHA1 01b9aada0bdcd411e9b152c65b6fcdc591b3dd9b SHA256 950b959d82a21902ac0579bbb8721fc22a0813bd4ed5e0bf1ee835b1ad8dfbca
|
||||
MD5 95fe1b20b61bda4152c6140ef7b07241 files/novell-novfs-2.0.0-u.generic_ip.patch 24168
|
||||
RMD160 37046de7e80c853327f2865f45f05458970feea9 files/novell-novfs-2.0.0-u.generic_ip.patch 24168
|
||||
@ -83,14 +87,18 @@ EBUILD novell-novfs-2.0.0_p21.ebuild 1567 RMD160 644cbde8827a8c0e8cc8917f71da023
|
||||
MD5 525561b1b411637d66b89a3edaf5f49e novell-novfs-2.0.0_p21.ebuild 1567
|
||||
RMD160 644cbde8827a8c0e8cc8917f71da0230398e90ab novell-novfs-2.0.0_p21.ebuild 1567
|
||||
SHA256 465879be7fab05a9212f24337c3d8d888fb3880964eadb9312c43382822d5c2f novell-novfs-2.0.0_p21.ebuild 1567
|
||||
EBUILD novell-novfs-2.0.0_p22-r1.ebuild 1684 RMD160 944a9e110178af87b7832f6675f65a2a257792a9 SHA1 1c91171d647799bdb41ce14dacd91c8cc613dbd0 SHA256 3e1625404da5c99493fa4e2702ad7ccbf1e718aaa8638ccfa1255f07f379f5cb
|
||||
MD5 549de538b6cd21a142c1f1c4d6850295 novell-novfs-2.0.0_p22-r1.ebuild 1684
|
||||
RMD160 944a9e110178af87b7832f6675f65a2a257792a9 novell-novfs-2.0.0_p22-r1.ebuild 1684
|
||||
SHA256 3e1625404da5c99493fa4e2702ad7ccbf1e718aaa8638ccfa1255f07f379f5cb novell-novfs-2.0.0_p22-r1.ebuild 1684
|
||||
EBUILD novell-novfs-2.0.0_p22.ebuild 1620 RMD160 fce1ac752f6f770ccf1a11afd011c682a4c7e810 SHA1 389cb05285586a67d67bfa10072fe33b6a6dbb68 SHA256 af7888ea6527ac777c5086998eb6976b45321b5583e82488c0b38327c4c759c4
|
||||
MD5 2509c13ab57faec4156f19b04f1c1d77 novell-novfs-2.0.0_p22.ebuild 1620
|
||||
RMD160 fce1ac752f6f770ccf1a11afd011c682a4c7e810 novell-novfs-2.0.0_p22.ebuild 1620
|
||||
SHA256 af7888ea6527ac777c5086998eb6976b45321b5583e82488c0b38327c4c759c4 novell-novfs-2.0.0_p22.ebuild 1620
|
||||
MISC ChangeLog 2226 RMD160 b1e95015fd2ab6030e0a8ad291eb1f5bb80d1737 SHA1 8857bc643f9e2e3240d8f8e2fd11ec9ecdc6cb84 SHA256 f64bf75caa83dad9126142aadc257ad253c0ce0189b6cf534247dcd8d0c76633
|
||||
MD5 ce1c55fd225a594eff45bc30e2c7d883 ChangeLog 2226
|
||||
RMD160 b1e95015fd2ab6030e0a8ad291eb1f5bb80d1737 ChangeLog 2226
|
||||
SHA256 f64bf75caa83dad9126142aadc257ad253c0ce0189b6cf534247dcd8d0c76633 ChangeLog 2226
|
||||
MISC ChangeLog 2389 RMD160 22011e8e28c190a991be28e2fcc3345efa8905fa SHA1 f9a65808da8ab6affc8dd97f26c0fa083acf69f7 SHA256 f61d13bcd85df3f1d85961a358338b3c29163e58d0f7d07b8a2767d7703b3ffa
|
||||
MD5 d754740b912395708a2162dda2858e3a ChangeLog 2389
|
||||
RMD160 22011e8e28c190a991be28e2fcc3345efa8905fa ChangeLog 2389
|
||||
SHA256 f61d13bcd85df3f1d85961a358338b3c29163e58d0f7d07b8a2767d7703b3ffa ChangeLog 2389
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
|
||||
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
|
||||
@ -113,3 +121,6 @@ SHA256 0bb4ca4dc96987758a14a312da94dc242e9610d13ff24d92c8c1a836cd62afe6 files/di
|
||||
MD5 affe3e9cf9b578e2a8f797e4f0a6e083 files/digest-novell-novfs-2.0.0_p22 247
|
||||
RMD160 91fa4dfff2bd501da3087a76752eca2c8921aa45 files/digest-novell-novfs-2.0.0_p22 247
|
||||
SHA256 08e9ca883498795bcec22c91f3ea2508198b27a61e387bbd10136cb1435d6d3f files/digest-novell-novfs-2.0.0_p22 247
|
||||
MD5 affe3e9cf9b578e2a8f797e4f0a6e083 files/digest-novell-novfs-2.0.0_p22-r1 247
|
||||
RMD160 91fa4dfff2bd501da3087a76752eca2c8921aa45 files/digest-novell-novfs-2.0.0_p22-r1 247
|
||||
SHA256 08e9ca883498795bcec22c91f3ea2508198b27a61e387bbd10136cb1435d6d3f files/digest-novell-novfs-2.0.0_p22-r1 247
|
||||
|
@ -0,0 +1,3 @@
|
||||
MD5 d1c7490b11edd12386f0274f780afc61 novfs-2.0.0-22.src.rpm 132595
|
||||
RMD160 5db33f3dfdaac16b561c192b944d81d75fd51825 novfs-2.0.0-22.src.rpm 132595
|
||||
SHA256 73484ed5a55d1f97ceed8a8a1f5a5a40e71f696d09a3ffe74efa30e594ce1cc7 novfs-2.0.0-22.src.rpm 132595
|
@ -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:
|
||||
*
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2007 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
|
||||
!net-misc/novell-novfs"
|
||||
|
||||
RESTRICT="nomirror"
|
||||
|
||||
#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
|
||||
}
|
Loading…
Reference in New Issue
Block a user