Big update across all branches

This commit is contained in:
geos_one 2007-07-09 10:53:37 +00:00
parent a26db1ff41
commit 4d840332ca
54 changed files with 35377 additions and 19 deletions

View File

@ -0,0 +1,8 @@
DIST gw702HP1lnxmulti.tar.gz 410982696 RMD160 24e8fc8d92c25278bedc914380d61369b3c1fbb0 SHA1 a9fb7071db328fe225ed7581153888994eb22d93 SHA256 13c91682a17378c872762fc9d352c539341c803c2fb93f34b1dfff3264899e6e
EBUILD novell-groupwise-admin-7.0.2_p20070524.ebuild 2751 RMD160 0f59c049246cbd6a8561a19a99e5e4909331af7a SHA1 0469ca995647c7ec2f2cda7b159a8e88a0cdbaaf SHA256 378e3ca771404c317ca27e1c01a4260edf298c72daca1f68092f21285d56dc7d
MD5 c32cffe3572b317ceb5ad7ac921ac236 novell-groupwise-admin-7.0.2_p20070524.ebuild 2751
RMD160 0f59c049246cbd6a8561a19a99e5e4909331af7a novell-groupwise-admin-7.0.2_p20070524.ebuild 2751
SHA256 378e3ca771404c317ca27e1c01a4260edf298c72daca1f68092f21285d56dc7d novell-groupwise-admin-7.0.2_p20070524.ebuild 2751
MD5 ffcffd62e623cc4125a3f650e3c7eefd files/digest-novell-groupwise-admin-7.0.2_p20070524 259
RMD160 537aa1dfa006521266bde11d4c3a03cde3222765 files/digest-novell-groupwise-admin-7.0.2_p20070524 259
SHA256 e66b646a8707f4180b97da239e60602f73321b5b214ba24663d8b57751502861 files/digest-novell-groupwise-admin-7.0.2_p20070524 259

View File

@ -0,0 +1,3 @@
MD5 0b2e3fe74f4ec26e8a3df151e2b698d3 gw702HP1lnxmulti.tar.gz 410982696
RMD160 24e8fc8d92c25278bedc914380d61369b3c1fbb0 gw702HP1lnxmulti.tar.gz 410982696
SHA256 13c91682a17378c872762fc9d352c539341c803c2fb93f34b1dfff3264899e6e gw702HP1lnxmulti.tar.gz 410982696

View File

@ -0,0 +1,64 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm java-utils-2
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Groupwise Administration ConsoleOne Snapins"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/qnlYdOI57V4~/patchfiles/gw702HP1lnxmulti.tar.gz"
LICENSE="Novell-eDir-87"
SLOT="0"
KEYWORDS="~x86"
IUSE="linguas_da linguas_de linguas_es linguas_fi linguas_fr linguas_it linguas_nl linguas_no linguas_pt linguas_sv"
DEPEND=""
RDEPEND="virtual/libc
>=virtual/jdk-1.4
>=app-admin/novell-novlc1-1.3.6_p1"
RESTRICT="nomirror nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/admin/${PN}-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
java-pkg_jarinto /usr/ConsoleOne/ConsoleOneExt
java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/ConsoleOneExt/*.jar
java-pkg_jarinto /usr/ConsoleOne/snapins/GroupWise
java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/GroupWise/*.jar
java-pkg_jarinto /usr/ConsoleOne/lib/GroupWise
java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/lib/GroupWise/*.jar
insinto /usr/ConsoleOne/help
doins -r ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/help/*
dosym . /usr/ConsoleOne/bin/lib
into /usr/ConsoleOne/bin
dolib.so ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/bin/*.so*
rm ${D}/usr/ConsoleOne/bin/lib
into /usr/ConsoleOne
dobin ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/bin/gwcheck*
insinto /usr/ConsoleOne/bin
doins ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/bin/*.fil
doins ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/bin/*.xml
doman ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/man*/*.*
use linguas_da && doman -i18n=da ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/da/*/*.*
use linguas_de && doman -i18n=de ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/de/*/*.*
use linguas_es && doman -i18n=es ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/es/*/*.*
use linguas_fi && doman -i18n=fi ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/fi/*/*.*
use linguas_fr && doman -i18n=fr ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/fr/*/*.*
use linguas_it && doman -i18n=it ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/it/*/*.*
use linguas_nl && doman -i18n=nl ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/nl/*/*.*
use linguas_no && doman -i18n=no ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/no/*/*.*
use linguas_pt && doman -i18n=pt ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/pt/*/*.*
use linguas_sv && doman -i18n=sv ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/sv/*/*.*
}

View File

@ -7,10 +7,10 @@ EBUILD novell-novlc1-1.3.6_p1-r3.ebuild 3467 RMD160 36af3ec3cb9c3c780f017de99ed1
MD5 5d0dc652ec7578a70ce7da74e535e0b8 novell-novlc1-1.3.6_p1-r3.ebuild 3467
RMD160 36af3ec3cb9c3c780f017de99ed11d165b673b88 novell-novlc1-1.3.6_p1-r3.ebuild 3467
SHA256 85710a6ba33afb19a4e4f3e5542e206f98db4487f2dd8f1f2766f5f565a4c452 novell-novlc1-1.3.6_p1-r3.ebuild 3467
EBUILD novell-novlc1-1.3.6_p1-r4.ebuild 4081 RMD160 688f55292ecc0d9ee2833b3a24e9880631d3f4e4 SHA1 4578790be8edcce155be7a180bd6e0bc71b312aa SHA256 e421baea182fe2fe2833b657dd6907d86d7c12c48f9359d439969576db9053d0
MD5 982ab3bea4d408339d2e64137cbc887c novell-novlc1-1.3.6_p1-r4.ebuild 4081
RMD160 688f55292ecc0d9ee2833b3a24e9880631d3f4e4 novell-novlc1-1.3.6_p1-r4.ebuild 4081
SHA256 e421baea182fe2fe2833b657dd6907d86d7c12c48f9359d439969576db9053d0 novell-novlc1-1.3.6_p1-r4.ebuild 4081
EBUILD novell-novlc1-1.3.6_p1-r4.ebuild 4144 RMD160 586f8afc0370adea220e8b413fb8ba1bc11cfeea SHA1 de840323233fd0410ef2191dbcb0a5e606ff33b1 SHA256 36c2e791b1015f948c1f75792f3ec064dbe0eef231f51f05b96426683ec8f43f
MD5 00c6aeadf51c7abd5baffe0249df69f0 novell-novlc1-1.3.6_p1-r4.ebuild 4144
RMD160 586f8afc0370adea220e8b413fb8ba1bc11cfeea novell-novlc1-1.3.6_p1-r4.ebuild 4144
SHA256 36c2e791b1015f948c1f75792f3ec064dbe0eef231f51f05b96426683ec8f43f novell-novlc1-1.3.6_p1-r4.ebuild 4144
MISC ChangeLog 871 RMD160 dce3eb9c9e403795af489d97966e35e666288404 SHA1 a27ce02da7b6fe1cbc0736c02e3c7ff763e24d4b SHA256 dc9e3d41e43ffed0b601b0f603c4e30a30de991f5f58a74c4ebc975d8c45ca54
MD5 cb2c4ebf413a4093b7618305427a363b ChangeLog 871
RMD160 dce3eb9c9e403795af489d97966e35e666288404 ChangeLog 871

View File

@ -84,9 +84,10 @@ src_install() {
#dosed 's%$APPHOME/jre%`java-config --jre-home`%' /usr/ConsoleOne/bin/ConsoleOne
insinto /usr/ConsoleOne/help
doins -r ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/help/*
java-pkg_dolauncher ConsoleOne --pkg_args "-libpath=/usr/ConsoleOne/ConsoleOneExt -prefdir=user.home" \
--java_args -Dapplication.home=/usr/ConsoleOne \
--main com.novell.application.console.shell.Console
java-pkg_dolauncher ConsoleOne --pkg_args "-libpath=/usr/ConsoleOne/ConsoleOneExt;/usr/ConsoleOne/bin -prefdir=user.home" \
--java_args "-Dapplication.home=/usr/ConsoleOne" \
--main com.novell.application.console.shell.Console \
--pwd /usr/ConsoleOne/bin \
# insinto /usr/ConsoleOne/bin
doicon ${WORKDIR}/Linux/ConsoleOneIcon.png

View File

@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
17 Jun 2007; Mario Fetka <mario-fetka@gmx.at>
+novell-nici-2.7.3_p5.ebuild:
Bump Nici to latest version
04 Apr 2007; Mario Fetka <mario-fetka@gmx.at>
-novell-nici-2.7.0_p001-r1.ebuild, -novell-nici-2.7.0_p001-r2.ebuild,
-novell-nici-2.7.0_p001-r3.ebuild, -novell-nici-2.7.0_p002.ebuild,

View File

@ -2,15 +2,21 @@ AUX 80novell 175 RMD160 6706cbb05c0079b008b1e35a74518b137c1842c4 SHA1 ce625b90ee
MD5 1cb295c31c8b72610363844e9ccd5138 files/80novell 175
RMD160 6706cbb05c0079b008b1e35a74518b137c1842c4 files/80novell 175
SHA256 1602e6f7016cd33476f398196f1061158d9f8f5e302b83911c92e013d6a7d81c files/80novell 175
DIST Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 RMD160 5296935f1b2b5cb0796b685f5c6bacd532f49094 SHA1 96d1df5bce5f0afb0a625084226fb347728fcffb SHA256 3433f30fed62339de2fe12426e4e4e064ec4823073d2271531d7a1009f9cdecf
DIST Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 RMD160 9b5a8704e518ac7ce1d9d03a890e77a67610cbaa SHA1 0430885f18e803bba63ec264022589c4d934ef03 SHA256 f170dad7e9774d6b55186228f0ed3de512b09255d5d19f54e86964a327b62806
DIST ss204_SLAH.tgz 30554485 RMD160 cf8088394b2380d2847315e58c332ec67196a269 SHA1 58178fbcd2aff7b609b1984bf9ad8a7fb43d786b SHA256 835bbc69905a7df74f01e4ec9d3a88db3edba34ec722eb215b94caa93f98a435
EBUILD novell-nici-2.7.2_p001.ebuild 1593 RMD160 d96ce2a8a84d393f5f59cd6bac2e65b1f8916982 SHA1 7003eee5c6967abd2e3087d457cf0f71bdc81e39 SHA256 9fde78e3b2212b33077dcf623801ae355ce7e9c3feca9d302b39188fd1b1e261
MD5 2a4fbefa1b48e12d2f0e0255a1e3fa38 novell-nici-2.7.2_p001.ebuild 1593
RMD160 d96ce2a8a84d393f5f59cd6bac2e65b1f8916982 novell-nici-2.7.2_p001.ebuild 1593
SHA256 9fde78e3b2212b33077dcf623801ae355ce7e9c3feca9d302b39188fd1b1e261 novell-nici-2.7.2_p001.ebuild 1593
MISC ChangeLog 1450 RMD160 a812b115fe5b031abf596318c98caef35fb237ee SHA1 a2227f7ab80a37f637b00d2e18bd72ffe3e73f31 SHA256 8df973f00139f41ccac963afe6981c4cc3e6112c6e99a770036c61747467e63b
MD5 66f9a50d86ea14b8f667586ce75206b9 ChangeLog 1450
RMD160 a812b115fe5b031abf596318c98caef35fb237ee ChangeLog 1450
SHA256 8df973f00139f41ccac963afe6981c4cc3e6112c6e99a770036c61747467e63b ChangeLog 1450
EBUILD novell-nici-2.7.3_p5.ebuild 1883 RMD160 d9af20c9572899e64aad20f609d4db89334111d7 SHA1 6e2961c1e29ee716150733a5920bf23c4f26c4bd SHA256 38bbea40731e525cc88d9cc46b8bb605e04c727ce6ab3de57deb454e0d4c64f1
MD5 0e983444900e6adaf5f20a662411777e novell-nici-2.7.3_p5.ebuild 1883
RMD160 d9af20c9572899e64aad20f609d4db89334111d7 novell-nici-2.7.3_p5.ebuild 1883
SHA256 38bbea40731e525cc88d9cc46b8bb605e04c727ce6ab3de57deb454e0d4c64f1 novell-nici-2.7.3_p5.ebuild 1883
MISC ChangeLog 1561 RMD160 cd974b1b02e943c33ce1c3ae3e5462b061fba46c SHA1 6f94fa42b64b140bda843482368498c8590c8717 SHA256 eb33c1ac346cbe7d693d8f11076c52191830f6c05e177e5dd1511702e2e367a4
MD5 14f19aba01c296a30597e9b75938f2f4 ChangeLog 1561
RMD160 cd974b1b02e943c33ce1c3ae3e5462b061fba46c ChangeLog 1561
SHA256 eb33c1ac346cbe7d693d8f11076c52191830f6c05e177e5dd1511702e2e367a4 ChangeLog 1561
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@ -18,3 +24,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata
MD5 23dcaed7cab008749522420e715fa905 files/digest-novell-nici-2.7.2_p001 229
RMD160 9b009c34578fadca9dd631e1af16ebd9c37ee427 files/digest-novell-nici-2.7.2_p001 229
SHA256 c78d6408747f889a89c04609c8a5b3c08306fdac38ce17f68427114aaab8e408 files/digest-novell-nici-2.7.2_p001 229
MD5 ec699dae9428f5ecd71e3b6fdc0b8405 files/digest-novell-nici-2.7.3_p5 626
RMD160 a08fca1bf3e2cb25ea5b9fb70f27de63c0e9974a files/digest-novell-nici-2.7.3_p5 626
SHA256 d20395db16f0e2a59b7411ac9ea0817b657bd9804d54da40d459a518a13b5153 files/digest-novell-nici-2.7.3_p5 626

View File

@ -0,0 +1,6 @@
MD5 476f30aa3db4de7b884b2085f89b837b Novell_Client_SLED10-i386-2007531-CD1.iso 10256384
RMD160 5296935f1b2b5cb0796b685f5c6bacd532f49094 Novell_Client_SLED10-i386-2007531-CD1.iso 10256384
SHA256 3433f30fed62339de2fe12426e4e4e064ec4823073d2271531d7a1009f9cdecf Novell_Client_SLED10-i386-2007531-CD1.iso 10256384
MD5 94c4812cfd6400e3e9360de01cb9d304 Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352
RMD160 9b5a8704e518ac7ce1d9d03a890e77a67610cbaa Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352
SHA256 f170dad7e9774d6b55186228f0ed3de512b09255d5d19f54e86964a327b62806 Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352

View File

@ -0,0 +1,62 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell NICI U.S./Worldwide (128bit) Crypto"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-i386-2007531-CD1.iso
http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-x86_64-2007531-CD1.iso"
LICENSE="Novell-eDir-88"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=app-arch/p7zip-4.15"
RDEPEND="virtual/libc
!net-misc/novell-nici"
RESTRICT="nomirror nostrip"
src_unpack() {
cd ${WORKDIR}
7z x ${DISTDIR}/Novell_Client_SLED10-i386-2007531-CD1.iso
# 7z x ${DISTDIR}/Novell_Client_SLED10-x86_64-2007531-CD1.iso
mkdir -p ${WORKDIR}/${PN}-${MY_P}
cd ${PN}-${MY_P}
rpm_unpack ${WORKDIR}/suse/i586/nici-${MY_PV}.i586.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell
dolib.so ${WORKDIR}/${PN}-${MY_P}/opt/novell/lib/*
doman ${WORKDIR}/${PN}-${MY_P}/opt/novell/man/*/*
into /usr
dosym ../../opt/novell/lib/libccs2.so /usr/lib/libccs2.so
insinto /etc/opt/novell/
doins ${WORKDIR}/${PN}-${MY_P}/etc/opt/novell/nici.cfg
dosym opt/novell/nici.cfg /etc/nici.cfg
diropts -m777
dodir /var/opt/novell/nici
exeinto /var/opt/novell/nici
doexe ${WORKDIR}/${PN}-${MY_P}/var/opt/novell/nici/primenici
doexe ${WORKDIR}/${PN}-${MY_P}/var/opt/novell/nici/nicimud
doexe ${WORKDIR}/${PN}-${MY_P}/var/opt/novell/nici/set_server_mode
insinto /var/opt/novell/nici
doins ${WORKDIR}/${PN}-${MY_P}/var/opt/novell/nici/nicifk.new
doins ${WORKDIR}/${PN}-${MY_P}/var/opt/novell/nici/xmgrcfg.wks
dodir /var/novell
dosym ../opt/novell/nici /var/novell/nici
doenvd ${FILESDIR}/80novell
}
pkg_postinst() {
/var/opt/novell/nici/primenici
}

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<catmetadata>
<longdescription lang="en">
The net-fs category contains network filesystem packages.
</longdescription>
<longdescription lang="de">
Die Kategorie net-fs enthült Netzwerkdateisysteme.
</longdescription>
<longdescription lang="es">
La categoría net-fs contiene paquetes de sistemas de ficheros en red.
</longdescription>
<longdescription lang="ja">
net-fsカテゴリーにはネットワーク・ファイルシステムのパッケージが含まれています。
</longdescription>
<longdescription lang="nl">
De net-fs categorie bevat netwerk-bestandssystemen.
</longdescription>
<longdescription lang="vi">
Nhóm net-fs chứa các gói hệ tập tin mạng.
</longdescription>
<longdescription lang="it">
La categoria net-fs contiene pacchetti per i filesystem di rete.
</longdescription>
<longdescription lang="pt">
A categoria net-fs contém pacotes para sistemas de arquivos de
rede.
</longdescription>
<longdescription lang="pl">
Kategoria net-fs zawiera pakiety związane z NFS, sieciowym systemem
plików.
</longdescription>
</catmetadata>

View File

@ -0,0 +1,49 @@
# ChangeLog for net-fs/novell-novfs
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
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

View File

@ -0,0 +1,83 @@
AUX novell-novfs-1.2.0-dentry.patch 852 RMD160 4c92b94cc7fb30113e6ee33277425f214d371440 SHA1 86b7c066b3911cf742b948d9ccd22ed647142765 SHA256 4e434ecd6948ec1f3eef339f00674f25ebe23f730e17ec24c56fb1a9c03edd9c
MD5 754b1ae21b5ecea0870ee8868a3f9f15 files/novell-novfs-1.2.0-dentry.patch 852
RMD160 4c92b94cc7fb30113e6ee33277425f214d371440 files/novell-novfs-1.2.0-dentry.patch 852
SHA256 4e434ecd6948ec1f3eef339f00674f25ebe23f730e17ec24c56fb1a9c03edd9c files/novell-novfs-1.2.0-dentry.patch 852
AUX novell-novfs-1.2.0-dont_use_tasklist_lock.patch 701 RMD160 094e93515b6a81f53e24fbe10f004c7bae9a904a SHA1 66ec260a0a234f18c09207207e5bfd52ee10e5cf SHA256 7ed7f3e3f5df515fa0fe9afef1dbe8ad92dfe113c9d2ecab9e51ca41a7658ca7
MD5 7449d36b869699eececd3b8bc7357a97 files/novell-novfs-1.2.0-dont_use_tasklist_lock.patch 701
RMD160 094e93515b6a81f53e24fbe10f004c7bae9a904a files/novell-novfs-1.2.0-dont_use_tasklist_lock.patch 701
SHA256 7ed7f3e3f5df515fa0fe9afef1dbe8ad92dfe113c9d2ecab9e51ca41a7658ca7 files/novell-novfs-1.2.0-dont_use_tasklist_lock.patch 701
AUX novell-novfs-1.2.0-getsb-fix.patch 3606 RMD160 c0d9c72890fe6d57876ce8036e30fed166bef219 SHA1 1c310bb9dcc74d4051d47657fb01ccb99efd8897 SHA256 ad558d8fc4d19f61b7bf68052733e71c0b83743c01d7b8f9ae0d32c2824a7be1
MD5 084ca881c6014536ce1339e27ccd2d7a files/novell-novfs-1.2.0-getsb-fix.patch 3606
RMD160 c0d9c72890fe6d57876ce8036e30fed166bef219 files/novell-novfs-1.2.0-getsb-fix.patch 3606
SHA256 ad558d8fc4d19f61b7bf68052733e71c0b83743c01d7b8f9ae0d32c2824a7be1 files/novell-novfs-1.2.0-getsb-fix.patch 3606
AUX novell-novfs-1.2.0-getsb.patch 4993 RMD160 73e06868eff0d7ae06a773d4a55be51690ca20e0 SHA1 e9103ad09921bb516322ba62014e4eb114294379 SHA256 008738c15bf0af35084387c3f7852cc47db72fa2df3af3486f7ef710751beaf8
MD5 4b7233a93e7023f55fd0151f139b6410 files/novell-novfs-1.2.0-getsb.patch 4993
RMD160 73e06868eff0d7ae06a773d4a55be51690ca20e0 files/novell-novfs-1.2.0-getsb.patch 4993
SHA256 008738c15bf0af35084387c3f7852cc47db72fa2df3af3486f7ef710751beaf8 files/novell-novfs-1.2.0-getsb.patch 4993
AUX novell-novfs-1.2.0-license.patch 18620 RMD160 0685ae1d2fe1b88872f83aac50dd545a90ec0bc3 SHA1 96f47c93cd19688ef40a09c13b162ecd44e25deb SHA256 e6e2c5c13b3f4fb6225532d53c1de264d6d3994fe86277b6ab15b4910c140c35
MD5 9e1367517129a2381c4b29ba27f32052 files/novell-novfs-1.2.0-license.patch 18620
RMD160 0685ae1d2fe1b88872f83aac50dd545a90ec0bc3 files/novell-novfs-1.2.0-license.patch 18620
SHA256 e6e2c5c13b3f4fb6225532d53c1de264d6d3994fe86277b6ab15b4910c140c35 files/novell-novfs-1.2.0-license.patch 18620
AUX novell-novfs-1.2.0_to_2.0.0.patch 934748 RMD160 83cf2e11354171acc045b3571e08654e082833fc SHA1 f6982ddf4f018baaeafbc5f19457b5ed52817643 SHA256 5a53ea406ac75848301a2d4d2e6f64a2610e1be5901de7638cdac18fb1db4667
MD5 e835b754e6295e6c912284f19a53fa1e files/novell-novfs-1.2.0_to_2.0.0.patch 934748
RMD160 83cf2e11354171acc045b3571e08654e082833fc files/novell-novfs-1.2.0_to_2.0.0.patch 934748
SHA256 5a53ea406ac75848301a2d4d2e6f64a2610e1be5901de7638cdac18fb1db4667 files/novell-novfs-1.2.0_to_2.0.0.patch 934748
AUX novell-novfs-2.0.0-2_6_15-compat.patch 1076 RMD160 57db9103b3fffb4185fc1a979ecd85e63c6f56f3 SHA1 a6856987f3290baae804cbd24e6dfc05ec10b584 SHA256 79e055c4a0a2b9cf7e5e4d3ef2744af680a322ed4189831b53e497cc836faa5b
MD5 e44ee72f6d2f79b1d8978d422b43dad2 files/novell-novfs-2.0.0-2_6_15-compat.patch 1076
RMD160 57db9103b3fffb4185fc1a979ecd85e63c6f56f3 files/novell-novfs-2.0.0-2_6_15-compat.patch 1076
SHA256 79e055c4a0a2b9cf7e5e4d3ef2744af680a322ed4189831b53e497cc836faa5b files/novell-novfs-2.0.0-2_6_15-compat.patch 1076
AUX novell-novfs-2.0.0-config_h.patch 387 RMD160 c029426c8cfe7d6f8c63aefa3f94c801c8f397d8 SHA1 b43868344bc1d0d93ed12b325278a85fe49da767 SHA256 6ef79f82f4fbc2e15e0e914767166a9e7424426bc6a2a8a6597f6cc33738e17c
MD5 ce1ba8bd6c62ed620571dfd89e97eb9c files/novell-novfs-2.0.0-config_h.patch 387
RMD160 c029426c8cfe7d6f8c63aefa3f94c801c8f397d8 files/novell-novfs-2.0.0-config_h.patch 387
SHA256 6ef79f82f4fbc2e15e0e914767166a9e7424426bc6a2a8a6597f6cc33738e17c files/novell-novfs-2.0.0-config_h.patch 387
AUX novell-novfs-2.0.0-dont_use_tasklist_lock.patch 697 RMD160 a431437c46ba7ae8dd2105f785533d07c632e353 SHA1 c35467e9646d196e6a13f8edf19a266a9f42c512 SHA256 57e09616338ef0d6c8084b31eb5faf4acdcf8a2789a95462dde11e4bc7832818
MD5 d37acca52d7eed5a32fc59ce0c03027f files/novell-novfs-2.0.0-dont_use_tasklist_lock.patch 697
RMD160 a431437c46ba7ae8dd2105f785533d07c632e353 files/novell-novfs-2.0.0-dont_use_tasklist_lock.patch 697
SHA256 57e09616338ef0d6c8084b31eb5faf4acdcf8a2789a95462dde11e4bc7832818 files/novell-novfs-2.0.0-dont_use_tasklist_lock.patch 697
AUX novell-novfs-2.0.0-generic_file_read.patch 749 RMD160 5e57f0392dfa973fc94100c032463292347b883c SHA1 b2f985d366c1031fbc3d664d8933fabb61e2fe0a SHA256 9783dc6082597175af79073ec32e550210907cc7b0f1130d43cf65c9fed6d419
MD5 ad0967dafd28c60736f5bacd80431300 files/novell-novfs-2.0.0-generic_file_read.patch 749
RMD160 5e57f0392dfa973fc94100c032463292347b883c files/novell-novfs-2.0.0-generic_file_read.patch 749
SHA256 9783dc6082597175af79073ec32e550210907cc7b0f1130d43cf65c9fed6d419 files/novell-novfs-2.0.0-generic_file_read.patch 749
AUX novell-novfs-2.0.0-i_blksize.patch 2920 RMD160 8ae931e01954ee69288ece87bf67bafb81172ae3 SHA1 728aa3f689fbfe64966b78d54e85a2dd9df0ba58 SHA256 5fa30bf88f252e07481f03b2e875cfaff639d017f8f20c356930e973bf6e3740
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-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
SHA256 950b959d82a21902ac0579bbb8721fc22a0813bd4ed5e0bf1ee835b1ad8dfbca files/novell-novfs-2.0.0-u.generic_ip.patch 24168
AUX novell-novfs-2.0.0_p16-vfs.patch 524 RMD160 f80558761c3a2cff1ac4709ecc41fae4ebb8b83a SHA1 6d3654efb7620f34ef9d27e37a14529d6b24a269 SHA256 4aa2195da32e91d20d6a64282ad22cce9f3601622be2b35c15580756ad1e738b
MD5 375c66859993a01086e33561bcfcef92 files/novell-novfs-2.0.0_p16-vfs.patch 524
RMD160 f80558761c3a2cff1ac4709ecc41fae4ebb8b83a files/novell-novfs-2.0.0_p16-vfs.patch 524
SHA256 4aa2195da32e91d20d6a64282ad22cce9f3601622be2b35c15580756ad1e738b files/novell-novfs-2.0.0_p16-vfs.patch 524
DIST novell-client-1.2-SLE10.tar.gz 13963983 RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 SHA1 14278f74c8226afabc0c602bdc31d4e20acff6b9 SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241
DIST novfs-2.0.0-16.src.rpm 131164 RMD160 66fdbe1ac20e7c5a1ba03b3476354363cbef9e76 SHA1 30955ebfbb6cc534b2296ce03858a04e6a59ba2b SHA256 b74be1b71275217e52fa1fae391b0a807e3c82b0f2e9fd65af90968e32bc1491
EBUILD novell-novfs-1.2.0_p17-r2.ebuild 1489 RMD160 ceb5173d5207ef5de76a81299baaaf16c3db9ce4 SHA1 2d7a71e11c7fd9477e3546e2c0383a46e4fcdb08 SHA256 662bf378500afaa0d561f6779ef9a67c7d68a4b8215bef128b402dd976478592
MD5 656ac481e9df037933ac960dbff7055e novell-novfs-1.2.0_p17-r2.ebuild 1489
RMD160 ceb5173d5207ef5de76a81299baaaf16c3db9ce4 novell-novfs-1.2.0_p17-r2.ebuild 1489
SHA256 662bf378500afaa0d561f6779ef9a67c7d68a4b8215bef128b402dd976478592 novell-novfs-1.2.0_p17-r2.ebuild 1489
EBUILD novell-novfs-2.0.0_p16.ebuild 1519 RMD160 f8a696e1f75c60979f8e0c4df25482f8b1f0f0d2 SHA1 cc45688a00d23b685daa387d76b2847ba689758d SHA256 56021d32f2528f3170f77584e4cd0043bb8a2347009bca156562b5c6555e863b
MD5 2aabaad44f57265b0c813cbd594614c3 novell-novfs-2.0.0_p16.ebuild 1519
RMD160 f8a696e1f75c60979f8e0c4df25482f8b1f0f0d2 novell-novfs-2.0.0_p16.ebuild 1519
SHA256 56021d32f2528f3170f77584e4cd0043bb8a2347009bca156562b5c6555e863b novell-novfs-2.0.0_p16.ebuild 1519
EBUILD novell-novfs-2.0.0_p2-r1.ebuild 1776 RMD160 e4fc7ff47a9aba5dc8854faeb5b0e30917661236 SHA1 72f428d40440d611e6471c47fd0e0c7efea54e37 SHA256 c04fdfc306dc02d6eb3802bfe13263d8d5be2395dd291519c8902db416fe5911
MD5 0ddb5f95a5d00c7854c04776600e713c novell-novfs-2.0.0_p2-r1.ebuild 1776
RMD160 e4fc7ff47a9aba5dc8854faeb5b0e30917661236 novell-novfs-2.0.0_p2-r1.ebuild 1776
SHA256 c04fdfc306dc02d6eb3802bfe13263d8d5be2395dd291519c8902db416fe5911 novell-novfs-2.0.0_p2-r1.ebuild 1776
MISC ChangeLog 1859 RMD160 9971c11ee380ccff23f7034b58a1e00b79c196c0 SHA1 e064231f999a0b582871cc0e2c12612273775281 SHA256 7422b100227e58076fca7bea240e2ea5de5cd505362fa158cfaeca08d2c7584a
MD5 345ef28912afe6a094bd5774259a27b4 ChangeLog 1859
RMD160 9971c11ee380ccff23f7034b58a1e00b79c196c0 ChangeLog 1859
SHA256 7422b100227e58076fca7bea240e2ea5de5cd505362fa158cfaeca08d2c7584a ChangeLog 1859
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-novfs-1.2.0_p17-r2 277
RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-novfs-1.2.0_p17-r2 277
SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-novfs-1.2.0_p17-r2 277
MD5 f29cdd765df82535c6d72c0a1c624ce1 files/digest-novell-novfs-2.0.0_p16 247
RMD160 325482478e47b001e96e42807f6f3c9371313b4b files/digest-novell-novfs-2.0.0_p16 247
SHA256 c66115fcc6e533206a37610862b220d385959e93fd87998532ba3bbe9f613c49 files/digest-novell-novfs-2.0.0_p16 247
MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-novfs-2.0.0_p2-r1 277
RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-novfs-2.0.0_p2-r1 277
SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-novfs-2.0.0_p2-r1 277

View File

@ -0,0 +1,3 @@
MD5 2aab6c7358a733d1d8d9a4e893500a36 novell-client-1.2-SLE10.tar.gz 13963983
RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 novell-client-1.2-SLE10.tar.gz 13963983
SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241 novell-client-1.2-SLE10.tar.gz 13963983

View File

@ -0,0 +1,3 @@
MD5 2210f636ece0b6cd29d588ebd0f973e6 novfs-2.0.0-16.src.rpm 131164
RMD160 66fdbe1ac20e7c5a1ba03b3476354363cbef9e76 novfs-2.0.0-16.src.rpm 131164
SHA256 b74be1b71275217e52fa1fae391b0a807e3c82b0f2e9fd65af90968e32bc1491 novfs-2.0.0-16.src.rpm 131164

View File

@ -0,0 +1,3 @@
MD5 2aab6c7358a733d1d8d9a4e893500a36 novell-client-1.2-SLE10.tar.gz 13963983
RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 novell-client-1.2-SLE10.tar.gz 13963983
SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241 novell-client-1.2-SLE10.tar.gz 13963983

View File

@ -0,0 +1,21 @@
diff -uNr novfs-1.2.0.orig/novfs/daemon.c novfs-1.2.0/novfs/daemon.c
--- novfs-1.2.0.orig/novfs/daemon.c 2006-07-11 21:24:18.000000000 +0200
+++ novfs-1.2.0/novfs/daemon.c 2006-08-30 22:32:57.000000000 +0200
@@ -2784,7 +2784,7 @@
if (nd.last_type == LAST_NORM)
{
mutex_lock(&nd.dentry->d_inode->i_mutex);
- dentry = lookup_hash( &nd );
+ dentry = lookup_create( &nd, 1);
DbgPrint("local_unlink: lookup_hash 0x%p\n", dentry);
error = PTR_ERR(dentry);
@@ -2839,7 +2839,7 @@
if (nd.last_type == LAST_NORM)
{
down(&nd.dentry->d_inode->i_sem);
- dentry = lookup_hash(&nd.last, nd.dentry);
+ dentry = lookup_one_len(&nd.last, nd.dentry, sizeof(nd.last));
DbgPrint("local_unlink: lookup_hash 0x%p\n", dentry);
error = PTR_ERR(dentry);

View File

@ -0,0 +1,21 @@
diff -uNr novfs-1.2.0.orig/novfs/scope.c novfs-1.2.0/novfs/scope.c
--- novfs-1.2.0.orig/novfs/scope.c 2006-08-30 22:32:57.000000000 +0200
+++ novfs-1.2.0/novfs/scope.c 2006-10-15 16:35:47.000000000 +0200
@@ -869,7 +869,7 @@
sl = sl->next;
rscope = NULL;
- read_lock(&tasklist_lock);
+ rcu_read_lock();
for_each_process(task)
{
if ( (task->uid == scope->ScopeUid) || (task->euid == scope->ScopeUid) )
@@ -878,7 +878,7 @@
break;
}
}
- read_unlock(&tasklist_lock);
+ rcu_read_unlock();
if ( !rscope )
{
list_move( &scope->ScopeList, &cleanup );

View File

@ -0,0 +1,99 @@
diff -uNr novfs-1.2.0.orig/novfs/inode.c novfs-1.2.0/novfs/inode.c
--- novfs-1.2.0.orig/novfs/inode.c 2006-08-30 22:32:57.000000000 +0200
+++ novfs-1.2.0/novfs/inode.c 2006-10-15 16:15:58.000000000 +0200
@@ -47,7 +47,6 @@
/*===[ Include files specific to this module ]============================*/
#include "vfs.h"
-#include "conf.h"
/*===[ External data ]====================================================*/
@@ -129,8 +128,8 @@
unsigned long Novfs_internal_hash (struct qstr *name);
-#ifdef GET_SB_HAS_STRUCT_VFSMOUNT
-struct super_block * Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data, struct vfsmount *Mnt);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
+int Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data, struct vfsmount *Mnt);
#else
struct super_block * Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data);
#endif
@@ -204,7 +203,11 @@
int Novfs_notify_change(struct dentry *dentry, struct iattr *attr);
void Novfs_clear_inode(struct inode *inode);
int Novfs_show_options( struct seq_file *s, struct vfsmount *m );
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
+int Novfs_statfs(struct dentry *de, struct kstatfs *buf);
+#else
int Novfs_statfs(struct super_block *sb, struct kstatfs *buf);
+#endif
/*
* Declared control interface functions
@@ -3241,7 +3244,11 @@
}
/*++======================================================================*/
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
+int Novfs_statfs(struct dentry *de, struct kstatfs *buf)
+#else
int Novfs_statfs(struct super_block *sb, struct kstatfs *buf)
+#endif
/*
* Arguments: sb - pointer to the super_block
* buf - pointer to the statfs buffer
@@ -3257,6 +3264,9 @@
*========================================================================*/
{
uint64_t td, fd, te, fe;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
+ struct super_block *sb = de->d_sb;
+#endif
UNUSED_VARIABLE(sb);
@@ -3517,8 +3527,8 @@
}
/*++======================================================================*/
-#ifdef GET_SB_HAS_STRUCT_VFSMOUNT
-struct super_block *Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data, struct vfsmount *Mnt)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
+int Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data, struct vfsmount *Mnt)
#else
struct super_block *Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data)
#endif
@@ -3536,10 +3546,14 @@
*
*========================================================================*/
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
+ int sb;
+#else
struct super_block *sb;
+#endif
UNUSED_VARIABLE(Dev_name);
-#ifdef GET_SB_HAS_STRUCT_VFSMOUNT
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
sb = get_sb_nodev(Fstype, Flags, Data, Novfs_fill_super, Mnt);
#else
sb = get_sb_nodev(Fstype, Flags, Data, Novfs_fill_super);
diff -uNr novfs-1.2.0.orig/novfs/scope.c novfs-1.2.0/novfs/scope.c
--- novfs-1.2.0.orig/novfs/scope.c 2006-08-30 22:32:57.000000000 +0200
+++ novfs-1.2.0/novfs/scope.c 2006-10-15 16:22:55.000000000 +0200
@@ -45,11 +45,10 @@
/*===[ Include files specific to this module ]============================*/
#include "vfs.h"
-#include "conf.h"
#define LEADER signal->leader
-#ifndef TYPE_DEFINED_TASK_T
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
typedef struct task_struct task_t;
#endif

View File

@ -0,0 +1,172 @@
diff -uNr novfs-1.2.0.orig/novfs/conf novfs-1.2.0/novfs/conf
--- novfs-1.2.0.orig/novfs/conf 1970-01-01 01:00:00.000000000 +0100
+++ novfs-1.2.0/novfs/conf 2006-08-30 22:32:57.000000000 +0200
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+if [ -z "$1" ];then
+ echo "Usage: ssb linux-kernel-source-dir" >&2
+ exit 3
+fi
+
+echo > conf.h
+
+sbtdir='/tmp/sbtest'
+
+rm -fr $sbtdir || exit 3
+mkdir $sbtdir || exit 3
+
+echo "
+obj-m := sb.o
+
+all :
+ \$(MAKE) -C $1 SUBDIRS=$sbtdir modules
+" >> $sbtdir/Makefile
+
+echo "
+#include <linux/fs.h>
+int main()
+{
+ get_sb_nodev(0, 0, 0, 0, 0);
+ return 0;
+}
+" >> $sbtdir/sb.c
+
+(cd $sbtdir && make > /dev/null 2>&1)
+
+if test -e $sbtdir/sb.ko ;then
+ echo "
+#define GET_SB_HAS_STRUCT_VFSMOUNT 1
+ " >> conf.h
+fi
+
+rm -fr $sbtdir || exit 3
+mkdir $sbtdir || exit 3
+
+echo "
+obj-m := sb.o
+
+all :
+ \$(MAKE) -C $1 SUBDIRS=$sbtdir modules
+" >> $sbtdir/Makefile
+
+echo "
+#include <linux/sched.h>
+typedef struct task_struct task_t;
+" >> $sbtdir/sb.c
+
+(cd $sbtdir && make > /dev/null 2>&1)
+
+if test ! -e $sbtdir/sb.ko ;then
+ echo "
+#define TYPE_DEFINED_TASK_T 1
+ " >> conf.h
+fi
+
+rm -fr $sbtdir || exit 3
+
diff -uNr novfs-1.2.0.orig/novfs/inode.c novfs-1.2.0/novfs/inode.c
--- novfs-1.2.0.orig/novfs/inode.c 2006-07-11 21:24:18.000000000 +0200
+++ novfs-1.2.0/novfs/inode.c 2006-08-30 22:32:57.000000000 +0200
@@ -47,9 +47,11 @@
/*===[ Include files specific to this module ]============================*/
#include "vfs.h"
+#include "conf.h"
/*===[ External data ]====================================================*/
+
/*===[ External prototypes ]==============================================*/
extern int DbgPrint( char *Fmt, ... );
extern int LocalPrint( char *Fmt, ... );
@@ -126,7 +128,13 @@
struct inode *Novfs_get_inode(struct super_block *sb, int mode, int dev, uid_t uid, ino_t ino, struct qstr *name);
unsigned long Novfs_internal_hash (struct qstr *name);
-struct super_block *Novfs_get_sb (struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data);
+
+#ifdef GET_SB_HAS_STRUCT_VFSMOUNT
+struct super_block * Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data, struct vfsmount *Mnt);
+#else
+struct super_block * Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data);
+#endif
+
void Novfs_kill_sb(struct super_block *SB);
int Novfs_fill_super (struct super_block *SB, void *Data, int Silent);
@@ -3509,7 +3517,12 @@
}
/*++======================================================================*/
+#ifdef GET_SB_HAS_STRUCT_VFSMOUNT
+struct super_block *Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data, struct vfsmount *Mnt)
+#else
struct super_block *Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data)
+#endif
+
/*
* Arguments:
*
@@ -3526,7 +3539,11 @@
struct super_block *sb;
UNUSED_VARIABLE(Dev_name);
- sb = get_sb_nodev(Fstype, Flags, Data, Novfs_fill_super);
+#ifdef GET_SB_HAS_STRUCT_VFSMOUNT
+ sb = get_sb_nodev(Fstype, Flags, Data, Novfs_fill_super, Mnt);
+#else
+ sb = get_sb_nodev(Fstype, Flags, Data, Novfs_fill_super);
+#endif
DbgPrint( "Novfs_get_sb: sb=0x%x Fstype=0x%x Dev_name=%s\n", sb, Fstype, Dev_name);
diff -uNr novfs-1.2.0.orig/novfs/Makefile novfs-1.2.0/novfs/Makefile
--- novfs-1.2.0.orig/novfs/Makefile 2006-07-11 21:24:18.000000000 +0200
+++ novfs-1.2.0/novfs/Makefile 2006-08-30 22:32:57.000000000 +0200
@@ -34,12 +34,15 @@
NOVFS_VFS_SUB = 0
NOVFS_VFS_RELEASE = 17
+KERNEL_SOURCE_DIR="/usr/src/linux"
+#KERNEL_SOURCE_DIR="/usr/src/linux-2.6.18-rc4"
+
# Remove # from the following line for debug version
EXTRA_CFLAGS += -finstrument-functions
EXTRA_CFLAGS += -g
EXTRA_CFLAGS += -I.
EXTRA_CFLAGS += -I$(obj)/../include
-#EXTRA_CFLAGS += -I$(obj)/../../include
+EXTRA_CFLAGS += -I$(obj)/../../include
EXTRA_CFLAGS += -DNOVFS_VFS_MAJOR=$(NOVFS_VFS_MAJOR)
EXTRA_CFLAGS += -DNOVFS_VFS_MINOR=$(NOVFS_VFS_MINOR)
EXTRA_CFLAGS += -DNOVFS_VFS_SUB=$(NOVFS_VFS_SUB)
@@ -50,3 +53,10 @@
obj-m := novfs.o
novfs-y := inode.o proc.o profile.o daemon.o file.o scope.o nwcapi.o
+
+all:
+ ./conf $(KERNEL_SOURCE_DIR)
+ make -C $(KERNEL_SOURCE_DIR) SUBDIRS=`pwd` modules
+
+clean:
+ make -C $(KERNEL_SOURCE_DIR) SUBDIRS=`pwd` modules clean
diff -uNr novfs-1.2.0.orig/novfs/scope.c novfs-1.2.0/novfs/scope.c
--- novfs-1.2.0.orig/novfs/scope.c 2006-07-11 21:24:18.000000000 +0200
+++ novfs-1.2.0/novfs/scope.c 2006-08-30 22:32:57.000000000 +0200
@@ -45,8 +45,14 @@
/*===[ Include files specific to this module ]============================*/
#include "vfs.h"
+#include "conf.h"
#define LEADER signal->leader
+
+#ifndef TYPE_DEFINED_TASK_T
+typedef struct task_struct task_t;
+#endif
+
/*===[ External data ]====================================================*/
/*===[ External prototypes ]==============================================*/

View File

@ -0,0 +1,347 @@
diff -uNr novfs-1.2.0.orig/LICENSE novfs-1.2.0/LICENSE
--- novfs-1.2.0.orig/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ novfs-1.2.0/LICENSE 2006-08-30 22:32:57.000000000 +0200
@@ -0,0 +1,343 @@
+"Use of the novfs source code is governed by the terms of the GPL:"
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
+

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,31 @@
--- novfs-2.0.0/src/vfs.h.orig 2007-02-18 13:09:59.000000000 +0100
+++ novfs-2.0.0/src/vfs.h 2007-02-18 13:07:14.000000000 +0100
@@ -70,7 +70,7 @@
#define IOC_SESSION 0x4a540003
#define IOC_DEBUGPRINT 0x4a540004
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
#define D_CHILD d_u.d_child
#define AS_TREE_LOCK(l) read_lock_irq(l)
#define AS_TREE_UNLOCK(l) read_unlock_irq(l)
--- novfs-2.0.0/src/daemon.c.orig 2007-02-18 13:06:44.000000000 +0100
+++ novfs-2.0.0/src/daemon.c 2007-02-18 13:12:00.000000000 +0100
@@ -2769,7 +2769,7 @@
error = -EISDIR;
if (nd.last_type == LAST_NORM)
{
- mutex_lock(&nd.dentry->d_inode->i_mutex);
+ down(&nd.dentry->d_inode->i_sem);
dentry = lookup_create( &nd, 1);
DbgPrint("local_unlink: lookup_hash 0x%p\n", dentry);
@@ -2792,7 +2792,7 @@
}
dput(dentry);
}
- mutex_unlock(&nd.dentry->d_inode->i_mutex);
+ up(&nd.dentry->d_inode->i_sem);
}
path_release(&nd);

View File

@ -0,0 +1,12 @@
Index: novfs-2.0.0/src/inode.c
===================================================================
--- novfs-2.0.0.orig/src/inode.c
+++ novfs-2.0.0/src/inode.c
@@ -29,7 +29,6 @@
/*===[ Include files specific to Linux ]==================================*/
#include <linux/module.h>
-#include <linux/config.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/dcache.h>

View File

@ -0,0 +1,21 @@
diff -uNr novfs-1.2.0.orig/novfs/scope.c novfs-1.2.0/novfs/scope.c
--- novfs-1.2.0.orig/src/scope.c 2006-08-30 22:32:57.000000000 +0200
+++ novfs-1.2.0/src/scope.c 2006-10-15 16:35:47.000000000 +0200
@@ -869,7 +869,7 @@
sl = sl->next;
rscope = NULL;
- read_lock(&tasklist_lock);
+ rcu_read_lock();
for_each_process(task)
{
if ( (task->uid == scope->ScopeUid) || (task->euid == scope->ScopeUid) )
@@ -878,7 +878,7 @@
break;
}
}
- read_unlock(&tasklist_lock);
+ rcu_read_unlock();
if ( !rscope )
{
list_move( &scope->ScopeList, &cleanup );

View File

@ -0,0 +1,22 @@
Index: novfs-2.0.0/src/inode.c
===================================================================
--- novfs-2.0.0.orig/src/inode.c
+++ novfs-2.0.0/src/inode.c
@@ -1629,7 +1629,7 @@ ssize_t Novfs_f_read(struct file *file,
!(file->f_flags & O_DIRECT) &&
id->CacheFlag )
{
- totalread = generic_file_read(file, buf, len, off);
+ totalread = do_sync_read(file, buf, len, off);
}
else
{
@@ -1693,7 +1693,7 @@ ssize_t Novfs_f_write(struct file *file,
!(file->f_flags & O_DIRECT) &&
id->CacheFlag )
{
- totalwrite = generic_file_write(file, buf, len, off);
+ totalwrite = do_sync_write(file, buf, len, off);
}
else
{

View File

@ -0,0 +1,67 @@
---
src/inode.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
Index: novfs-2.0.0/src/inode.c
===================================================================
--- novfs-2.0.0.orig/src/inode.c
+++ novfs-2.0.0/src/inode.c
@@ -1731,7 +1731,7 @@ ssize_t Novfs_f_write(struct file *file,
if (offset > i_size_read(inode))
{
i_size_write(inode, offset);
- inode->i_blocks = (offset + inode->i_blksize - 1) >> inode->i_blkbits;
+ inode->i_blocks = (offset + inode->i_sb->s_blocksize - 1) >> inode->i_blkbits;
}
inode->i_mtime = inode->i_atime = CURRENT_TIME;
id->Flags |= UPDATE_INODE;
@@ -2913,12 +2913,12 @@ void update_inode(struct inode *Inode, P
Inode->i_ctime = Info->ctime;
Inode->i_mtime = Info->mtime;
- if (Inode->i_size && Inode->i_blksize)
+ if (Inode->i_size && Inode->i_sb->s_blocksize)
{
Inode->i_blocks = (u_long)(Info->size >> (loff_t)Inode->i_blkbits);
- Inode->i_bytes = Info->size & (Inode->i_blksize - 1);
+ Inode->i_bytes = Info->size & (Inode->i_sb->s_blocksize - 1);
- DbgPrint("update_inode: i_blksize=%d\n", Inode->i_blksize);
+ DbgPrint("update_inode: i_blksize=%d\n", Inode->i_sb->s_blocksize);
DbgPrint("update_inode: i_blkbits=%d\n", Inode->i_blkbits);
DbgPrint("update_inode: i_blocks=%d\n", Inode->i_blocks);
DbgPrint("update_inode: i_bytes=%d\n", Inode->i_bytes);
@@ -3604,7 +3604,7 @@ int Novfs_i_getattr(struct vfsmount *mnt
kstat->atime = inode->i_atime;
kstat->mtime = inode->i_mtime;
kstat->ctime = inode->i_ctime;
- kstat->blksize = inode->i_blksize;
+ kstat->blksize = inode->i_sb->s_blocksize;
kstat->blocks = inode->i_blocks;
if (inode->i_bytes)
{
@@ -3909,7 +3909,6 @@ struct inode *Novfs_get_inode(struct sup
inode->i_mode = mode;
inode->i_uid = Uid;
inode->i_gid = 0;
- inode->i_blksize = sb->s_blocksize;
inode->i_blkbits = sb->s_blocksize_bits;
inode->i_blocks = 0;
inode->i_rdev = 0;
@@ -3962,7 +3961,6 @@ struct inode *Novfs_get_inode(struct sup
case S_IFDIR:
inode->i_op = &Novfs_inode_operations;
inode->i_fop = &Novfs_dir_operations;
- inode->i_blksize = 0;
inode->i_blkbits = 0;
break;
@@ -3973,7 +3971,7 @@ struct inode *Novfs_get_inode(struct sup
DbgPrint("Novfs_get_inode: size=%lld\n", inode->i_size);
DbgPrint("Novfs_get_inode: mode=0%o\n", inode->i_mode);
- DbgPrint("Novfs_get_inode: i_blksize=%d\n", inode->i_blksize);
+ DbgPrint("Novfs_get_inode: i_blksize=%d\n", inode->i_sb->s_blocksize);
DbgPrint("Novfs_get_inode: i_blkbits=%d\n", inode->i_blkbits);
DbgPrint("Novfs_get_inode: i_blocks=%d\n", inode->i_blocks);
DbgPrint("Novfs_get_inode: i_bytes=%d\n", inode->i_bytes);

View File

@ -0,0 +1,609 @@
---
src/inode.c | 194 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 97 insertions(+), 97 deletions(-)
Index: novfs-2.0.0/src/inode.c
===================================================================
--- novfs-2.0.0.orig/src/inode.c
+++ novfs-2.0.0/src/inode.c
@@ -422,9 +422,9 @@ int Novfs_Remove_from_Root(char *RemoveN
dentry = d_lookup( Novfs_root, &name);
if (dentry)
{
- if (dentry->d_inode && dentry->d_inode->u.generic_ip)
+ if (dentry->d_inode && dentry->d_inode->i_private)
{
- ((PINODE_DATA)(dentry->d_inode->u.generic_ip))->Scope = NULL;
+ ((PINODE_DATA)(dentry->d_inode->i_private))->Scope = NULL;
}
dput(dentry);
}
@@ -535,9 +535,9 @@ int Novfs_Add_to_Root2(char *AddName)
inode->i_mtime = CURRENT_TIME;
if ( !Novfs_d_add(Novfs_root, entry, inode, 1))
{
- if (inode->u.generic_ip)
+ if (inode->i_private)
{
- ((PINODE_DATA)inode->u.generic_ip)->Flags = USER_INODE;
+ ((PINODE_DATA)inode->i_private)->Flags = USER_INODE;
}
PRINT_DENTRY("After Novfs_d_add", entry);
}
@@ -651,7 +651,7 @@ int verify_dentry( struct dentry *dentry
if ( dentry && dentry->d_parent &&
(dir = dentry->d_parent->d_inode) &&
- (id = dir->u.generic_ip) )
+ (id = dir->i_private) )
{
parent = dget_parent(dentry);
@@ -675,7 +675,7 @@ int verify_dentry( struct dentry *dentry
/*
* Values don't match so update.
*/
- ((PINODE_DATA)inode->u.generic_ip)->Flags |= UPDATE_INODE;
+ ((PINODE_DATA)inode->i_private)->Flags |= UPDATE_INODE;
}
ctime = get_jiffies_64() - ctime;
@@ -776,9 +776,9 @@ int verify_dentry( struct dentry *dentry
id->Flags &= ~UPDATE_INODE;
dentry->d_inode->i_flags &= ~S_DEAD;
- if (dentry->d_inode->u.generic_ip)
+ if (dentry->d_inode->i_private)
{
- ((PINODE_DATA)dentry->d_inode->u.generic_ip)->Scope = id->Scope;
+ ((PINODE_DATA)dentry->d_inode->i_private)->Scope = id->Scope;
}
}
}
@@ -877,9 +877,9 @@ int Novfs_d_add(struct dentry *Parent, s
Novfs_Free(buf);
}
- if ( Parent && Parent->d_inode && Parent->d_inode->u.generic_ip)
+ if ( Parent && Parent->d_inode && Parent->d_inode->i_private)
{
- id = (PINODE_DATA)Parent->d_inode->u.generic_ip;
+ id = (PINODE_DATA)Parent->d_inode->i_private;
}
if (id && id->Scope)
@@ -891,7 +891,7 @@ int Novfs_d_add(struct dentry *Parent, s
scope = Scope_Get_ScopefromPath( d );
}
- ((PINODE_DATA)i->u.generic_ip)->Scope = scope;
+ ((PINODE_DATA)i->i_private)->Scope = scope;
d->d_time = jiffies+(File_update_timeout*HZ);
if (a)
@@ -944,7 +944,7 @@ int Novfs_d_revalidate(struct dentry *de
if ( dentry->d_inode &&
dentry->d_parent &&
(dir = dentry->d_parent->d_inode) &&
- (id = dir->u.generic_ip) )
+ (id = dir->i_private) )
{
/*
* Check timer to see if in valid time limit
@@ -1399,15 +1399,15 @@ int Novfs_dir_readdir(struct file * file
{
if (!file->private_data)
{
- if ( inode && inode->u.generic_ip )
+ if ( inode && inode->i_private )
{
- sessionId = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ sessionId = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
if (0 == sessionId)
{
- ((PINODE_DATA)inode->u.generic_ip)->Scope = Scope_Get_ScopefromPath(file->f_dentry);
- sessionId = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ ((PINODE_DATA)inode->i_private)->Scope = Scope_Get_ScopefromPath(file->f_dentry);
+ sessionId = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
}
- uid = Scope_Get_Uid(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ uid = Scope_Get_Uid(((PINODE_DATA)inode->i_private)->Scope);
}
else
{
@@ -1501,9 +1501,9 @@ int Novfs_dir_readdir(struct file * file
struct inode *dinode = file->private_data;
PINODE_DATA id = (PINODE_DATA)((char *)file->private_data+sizeof(struct inode));
- dinode->u.generic_ip = id;
+ dinode->i_private = id;
- id->Scope = ((PINODE_DATA)inode->u.generic_ip)->Scope;
+ id->Scope = ((PINODE_DATA)inode->i_private)->Scope;
id->Flags = 0;
INIT_LIST_HEAD( &id->DirCache );
init_MUTEX( &id->DirCacheLock );
@@ -1616,7 +1616,7 @@ ssize_t Novfs_f_read(struct file *file,
if ( file->f_dentry &&
(inode = file->f_dentry->d_inode) &&
- (id = (PINODE_DATA)inode->u.generic_ip))
+ (id = (PINODE_DATA)inode->i_private))
{
DbgPrint("Novfs_f_read(0x%x 0x%p %d %lld %.*s)\n",
@@ -1685,7 +1685,7 @@ ssize_t Novfs_f_write(struct file *file,
if ( file->f_dentry &&
(inode = file->f_dentry->d_inode) &&
- (id = file->f_dentry->d_inode->u.generic_ip) )
+ (id = file->f_dentry->d_inode->i_private) )
{
DbgPrint("Novfs_f_write(0x%x %d %lld %.*s)\n", (unsigned long)file->private_data, len, offset, file->f_dentry->d_name.len, file->f_dentry->d_name.name);
@@ -1844,9 +1844,9 @@ int Novfs_f_open(struct inode *inode, st
DbgPrint("Novfs_f_open: %.*s f_flags=0%o f_mode=0%o i_mode=0%o\n", file->f_dentry->d_name.len, file->f_dentry->d_name.name, file->f_flags, file->f_mode, inode->i_mode);
}
- if (inode && inode->u.generic_ip)
+ if (inode && inode->i_private)
{
- id = (PINODE_DATA)file->f_dentry->d_inode->u.generic_ip;
+ id = (PINODE_DATA)file->f_dentry->d_inode->i_private;
session = Scope_Get_SessionId(id->Scope);
if (0 == session)
{
@@ -1888,7 +1888,7 @@ int Novfs_f_open(struct inode *inode, st
ino = 0;
if (Novfs_get_entry(dir, &file->f_dentry->d_name, &ino, info))
{
- ((PINODE_DATA)inode->u.generic_ip)->Flags |= UPDATE_INODE;
+ ((PINODE_DATA)inode->i_private)->Flags |= UPDATE_INODE;
}
Novfs_unlock_inode_cache(dir);
@@ -1956,7 +1956,7 @@ int Novfs_f_release(struct inode *inode,
file->f_dentry->d_name.name,
(unsigned long)file->private_data);
- if ( file->f_dentry->d_inode && (id = file->f_dentry->d_inode->u.generic_ip))
+ if ( file->f_dentry->d_inode && (id = file->f_dentry->d_inode->i_private))
{
session = Scope_Get_SessionId(id->Scope);
if (0 == session)
@@ -2109,13 +2109,13 @@ int Novfs_a_writepage(struct page* page,
{
int retCode = -EFAULT;
struct inode *inode = page->mapping->host;
- PINODE_DATA id = inode->u.generic_ip;
+ PINODE_DATA id = inode->i_private;
loff_t pos = ((loff_t)page->index << PAGE_CACHE_SHIFT);
session_t session=0;
DATA_LIST dlst[2];
size_t len = PAGE_CACHE_SIZE;
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
page_cache_get(page);
@@ -2185,10 +2185,10 @@ int Novfs_a_writepages(struct address_sp
{
DbgPrint(" Inode=0x%x Ino=%d\n", inode, inode->i_ino);
- if (inode->u.generic_ip)
+ if (inode->i_private)
{
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
- fh = ((PINODE_DATA)inode->u.generic_ip)->FileHandle;
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
+ fh = ((PINODE_DATA)inode->i_private)->FileHandle;
}
}
@@ -2427,13 +2427,13 @@ int Novfs_a_readpage(struct file *file,
{
DbgPrint(" Inode=0x%x Ino=%d", inode, inode->i_ino);
- if (inode->u.generic_ip)
+ if (inode->i_private)
{
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)inode->u.generic_ip)->Scope = Scope_Get_ScopefromPath( file->f_dentry );
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ ((PINODE_DATA)inode->i_private)->Scope = Scope_Get_ScopefromPath( file->f_dentry );
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
}
}
}
@@ -2519,13 +2519,13 @@ int Novfs_a_readpages(struct file *file,
{
DbgPrint(" Inode=0x%x Ino=%d\n", inode, inode->i_ino);
- if (inode->u.generic_ip)
+ if (inode->i_private)
{
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)inode->u.generic_ip)->Scope = Scope_Get_ScopefromPath( file->f_dentry );
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ ((PINODE_DATA)inode->i_private)->Scope = Scope_Get_ScopefromPath( file->f_dentry );
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
}
}
}
@@ -2653,13 +2653,13 @@ int Novfs_a_prepare_write(struct file *f
*/
if (file->f_dentry && file->f_dentry->d_inode)
{
- if (file->f_dentry->d_inode->u.generic_ip)
+ if (file->f_dentry->d_inode->i_private)
{
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)inode->u.generic_ip)->Scope = Scope_Get_ScopefromPath( file->f_dentry );
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ ((PINODE_DATA)inode->i_private)->Scope = Scope_Get_ScopefromPath( file->f_dentry );
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
}
}
}
@@ -2741,7 +2741,7 @@ int Novfs_a_commit_write(struct file *fi
size_t len = to - offset;
DbgPrint("Novfs_a_commit_write: File=0x%p Page=0x%p offset=0x%x To=%u filesize=%lld\n", file, page, offset, to, i_size_read(file->f_dentry->d_inode));
- if (file->f_dentry->d_inode && (id = file->f_dentry->d_inode->u.generic_ip))
+ if (file->f_dentry->d_inode && (id = file->f_dentry->d_inode->i_private))
{
session = Scope_Get_SessionId(id->Scope);
if (0 == session)
@@ -2836,13 +2836,13 @@ int Novfs_i_create(struct inode *dir, st
if (mode | S_IFREG)
{
- if (dir->u.generic_ip)
+ if (dir->i_private)
{
- session = Scope_Get_SessionId( ((PINODE_DATA)dir->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId( ((PINODE_DATA)dir->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)dir->u.generic_ip)->Scope = Scope_Get_ScopefromPath( dentry );
- session = Scope_Get_SessionId(((PINODE_DATA)dir->u.generic_ip)->Scope);
+ ((PINODE_DATA)dir->i_private)->Scope = Scope_Get_ScopefromPath( dentry );
+ session = Scope_Get_SessionId(((PINODE_DATA)dir->i_private)->Scope);
}
buf = (char *)Novfs_Malloc(PATH_LENGTH_BUFFER, GFP_KERNEL);
@@ -2859,7 +2859,7 @@ int Novfs_i_create(struct inode *dir, st
{
if (dentry->d_inode)
{
- ((PINODE_DATA)dentry->d_inode->u.generic_ip)->Flags |= UPDATE_INODE;
+ ((PINODE_DATA)dentry->d_inode->i_private)->Flags |= UPDATE_INODE;
}
}
}
@@ -2951,7 +2951,7 @@ struct dentry * Novfs_i_lookup(struct in
DbgPrint("Novfs_i_lookup: dir 0x%x %d name %.*s hash %d inode 0x%0p\n", dir, dir->i_ino, dentry->d_name.len, dentry->d_name.name, dentry->d_name.hash, dentry->d_inode);
- if (dir && (id = dir->u.generic_ip) )
+ if (dir && (id = dir->i_private) )
{
retVal = 0;
if ( IS_ROOT( dentry ))
@@ -3066,13 +3066,13 @@ int Novfs_i_unlink(struct inode *dir, st
if ( inode )
{
DbgPrint("Novfs_i_unlink: dir=0x%x dir->i_ino=%d inode=0x%x ino=%d\n", dir, dir->i_ino, inode, inode->i_ino);
- if (inode->u.generic_ip)
+ if (inode->i_private)
{
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)inode->u.generic_ip)->Scope = Scope_Get_ScopefromPath( dentry );
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ ((PINODE_DATA)inode->i_private)->Scope = Scope_Get_ScopefromPath( dentry );
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
}
buf = (char *)Novfs_Malloc(PATH_LENGTH_BUFFER, GFP_KERNEL);
@@ -3142,16 +3142,16 @@ int Novfs_i_mkdir(struct inode *dir, str
mode |= S_IFDIR;
mode &= (S_IFMT | S_IRWXU);
- if ( dir->u.generic_ip )
+ if ( dir->i_private )
{
- session = Scope_Get_SessionId( ((PINODE_DATA)dir->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId( ((PINODE_DATA)dir->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)dir->u.generic_ip)->Scope = Scope_Get_ScopefromPath( dentry );
- session = Scope_Get_SessionId(((PINODE_DATA)dir->u.generic_ip)->Scope);
+ ((PINODE_DATA)dir->i_private)->Scope = Scope_Get_ScopefromPath( dentry );
+ session = Scope_Get_SessionId(((PINODE_DATA)dir->i_private)->Scope);
}
- uid = Scope_Get_Uid( ((PINODE_DATA)dir->u.generic_ip)->Scope);
+ uid = Scope_Get_Uid( ((PINODE_DATA)dir->i_private)->Scope);
buf = (char *)Novfs_Malloc(PATH_LENGTH_BUFFER, GFP_KERNEL);
if (buf)
{
@@ -3170,7 +3170,7 @@ int Novfs_i_mkdir(struct inode *dir, str
if (inode)
{
update_inode(inode, &info);
- ((PINODE_DATA)inode->u.generic_ip)->Flags &= ~UPDATE_INODE;
+ ((PINODE_DATA)inode->i_private)->Flags &= ~UPDATE_INODE;
dentry->d_time = jiffies+(File_update_timeout*HZ);
@@ -3238,9 +3238,9 @@ int Novfs_i_mknod(struct inode *dir, str
return(-EACCES);
}
- if ( ((PINODE_DATA)dir->u.generic_ip) )
+ if ( ((PINODE_DATA)dir->i_private) )
{
- uid = Scope_Get_Uid( ((PINODE_DATA)dir->u.generic_ip)->Scope);
+ uid = Scope_Get_Uid( ((PINODE_DATA)dir->i_private)->Scope);
if (mode & (S_IFREG | S_IFDIR))
{
inode = Novfs_get_inode(dir->i_sb, mode, dev, uid, 0, &dentry->d_name);
@@ -3344,27 +3344,27 @@ int Novfs_i_rename(struct inode *odir, s
if ( !Novfs_d_strcmp(&newname, &oldname))
{
- if ( od->d_inode && od->d_inode->u.generic_ip )
+ if ( od->d_inode && od->d_inode->i_private )
{
- if (nd->d_inode && nd->d_inode->u.generic_ip)
+ if (nd->d_inode && nd->d_inode->i_private)
{
- session = Scope_Get_SessionId(((PINODE_DATA)ndir->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId(((PINODE_DATA)ndir->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)ndir->u.generic_ip)->Scope = Scope_Get_ScopefromPath( nd );
- session = Scope_Get_SessionId(((PINODE_DATA)ndir->u.generic_ip)->Scope);
+ ((PINODE_DATA)ndir->i_private)->Scope = Scope_Get_ScopefromPath( nd );
+ session = Scope_Get_SessionId(((PINODE_DATA)ndir->i_private)->Scope);
}
retCode = Novfs_Delete(newpath, S_ISDIR(nd->d_inode->i_mode), session);
}
- session = Scope_Get_SessionId(((PINODE_DATA)ndir->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId(((PINODE_DATA)ndir->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)ndir->u.generic_ip)->Scope = Scope_Get_ScopefromPath( nd );
- session = Scope_Get_SessionId(((PINODE_DATA)ndir->u.generic_ip)->Scope);
+ ((PINODE_DATA)ndir->i_private)->Scope = Scope_Get_ScopefromPath( nd );
+ session = Scope_Get_SessionId(((PINODE_DATA)ndir->i_private)->Scope);
}
retCode = Novfs_Rename_File(
S_ISDIR(od->d_inode->i_mode),
@@ -3458,13 +3458,13 @@ int Novfs_i_setattr(struct dentry *dentr
return(-EACCES);
}
- if (inode && inode->u.generic_ip)
+ if (inode && inode->i_private)
{
- session = Scope_Get_SessionId( ((PINODE_DATA)inode->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId( ((PINODE_DATA)inode->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)inode->u.generic_ip)->Scope = Scope_Get_ScopefromPath( dentry );
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ ((PINODE_DATA)inode->i_private)->Scope = Scope_Get_ScopefromPath( dentry );
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
}
buf = (char *)Novfs_Malloc(PATH_LENGTH_BUFFER, GFP_KERNEL);
@@ -3513,7 +3513,7 @@ int Novfs_i_setattr(struct dentry *dentr
if ( !(retVal = Novfs_Set_Attr(path, attr, session) ) )
{
- ((PINODE_DATA)inode->u.generic_ip)->Flags |= UPDATE_INODE;
+ ((PINODE_DATA)inode->i_private)->Flags |= UPDATE_INODE;
if (ia_valid & ATTR_ATIME)
inode->i_atime = attr->ia_atime;
@@ -3563,7 +3563,7 @@ int Novfs_i_getattr(struct vfsmount *mnt
!IS_ROOT(dentry->d_parent) )
{
session = 0;
- id = dentry->d_inode->u.generic_ip;
+ id = dentry->d_inode->i_private;
if (id && (id->Flags & UPDATE_INODE) )
{
@@ -3744,9 +3744,9 @@ void Novfs_clear_inode(struct inode *ino
{
InodeCount--;
- if ( inode->u.generic_ip )
+ if ( inode->i_private )
{
- PINODE_DATA id=inode->u.generic_ip;
+ PINODE_DATA id=inode->i_private;
DbgPrint("Novfs_clear_inode: inode=0x%x ino=%d Scope=0x%p Name=%s\n", inode, inode->i_ino, id->Scope, id->Name);
@@ -3757,8 +3757,8 @@ void Novfs_clear_inode(struct inode *ino
up( &InodeList_lock );
- Novfs_Free(inode->u.generic_ip);
- inode->u.generic_ip = NULL;
+ Novfs_Free(inode->i_private);
+ inode->i_private = NULL;
remove_inode_hash( inode );
@@ -3921,12 +3921,12 @@ struct inode *Novfs_get_inode(struct sup
DbgPrint("Novfs_get_inode: Inode=0x%p I_ino=%d len=%d\n", inode, inode->i_ino, name->len);
- if (NULL != (inode->u.generic_ip = Novfs_Malloc(sizeof(INODE_DATA)+name->len, GFP_KERNEL)))
+ if (NULL != (inode->i_private = Novfs_Malloc(sizeof(INODE_DATA)+name->len, GFP_KERNEL)))
{
PINODE_DATA id;
- id = inode->u.generic_ip;
+ id = inode->i_private;
- DbgPrint("Novfs_get_inode: u.generic_ip 0x%p\n", id);
+ DbgPrint("Novfs_get_inode: i_private 0x%p\n", id);
id->Scope = NULL;
id->Flags = 0;
@@ -4343,7 +4343,7 @@ int Novfs_lock_inode_cache( struct inode
int retVal = 0;
DbgPrint("Novfs_lock_inode_cache: 0x%p\n", i);
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
down( &id->DirCacheLock );
retVal = 1;
@@ -4369,7 +4369,7 @@ void Novfs_unlock_inode_cache( struct in
{
PINODE_DATA id;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
up( &id->DirCacheLock );
}
@@ -4397,7 +4397,7 @@ int Novfs_enumerate_inode_cache( struct
int retVal = -1;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
if ( (NULL == iteration) || (NULL == *iteration) )
{
@@ -4456,7 +4456,7 @@ int Novfs_get_entry( struct inode *i, st
char *n="<NULL>";
int nl=6;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
if (name && name->len)
{
@@ -4545,7 +4545,7 @@ int Novfs_get_entry_time( struct inode *
char *n="<NULL>";
int nl=6;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
if (name && name->len)
{
@@ -4605,7 +4605,7 @@ int Novfs_get_remove_entry( struct inode
int retVal = -1;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
l = id->DirCache.next;
@@ -4653,7 +4653,7 @@ void Novfs_invalidate_inode_cache( struc
PDIR_CACHE dc;
struct list_head *l;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
list_for_each(l, &id->DirCache)
{
@@ -4690,7 +4690,7 @@ PDIR_CACHE Novfs_lookup_inode_cache( str
int nl=6;
int hash=0;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
if (name && name->name)
{
@@ -4768,7 +4768,7 @@ int Novfs_lookup_validate( struct inode
char *n="<NULL>";
int nl=6;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
if (name && name->len)
{
@@ -4815,7 +4815,7 @@ int Novfs_add_inode_entry(
PDIR_CACHE new;
int retVal = -ENOMEM;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
new = Novfs_Malloc(sizeof(DIR_CACHE)+name->len, GFP_KERNEL);
if (new)
@@ -4888,7 +4888,7 @@ int Novfs_update_entry( struct inode *i,
char mtime_buf[32];
char ctime_buf[32];
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
if (name && name->len)
@@ -4966,7 +4966,7 @@ void Novfs_remove_inode_entry( struct in
char *n="<NULL>";
int nl=6;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
dc = Novfs_lookup_inode_cache( i, name, ino );
if (dc)
@@ -5015,7 +5015,7 @@ void Novfs_free_invalid_entries( struct
PDIR_CACHE dc;
struct list_head *l;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
list_for_each( l, &id->DirCache )
{
@@ -5057,7 +5057,7 @@ void Novfs_free_inode_cache( struct inod
PDIR_CACHE dc;
struct list_head *l;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
list_for_each( l, &id->DirCache )
{
@@ -5109,7 +5109,7 @@ Novfs_dump_inode_cache(int argc, const c
kdb_printf("Inode: 0x%p\n", inode);
if (inode)
{
- id = inode->u.generic_ip;
+ id = inode->i_private;
kdb_printf("INODE_DATA: 0x%p\n", id);
if ( id && id->DirCache.next )

View 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,22)
// Version of 2.6.20 changed the number of
// parameters passed to vfs_unlink.
error = vfs_unlink(nd.dentry->d_inode, dentry, nd.mnt);

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>maintainer-wanted</herd>
</pkgmetadata>

View File

@ -0,0 +1,58 @@
# Copyright 1999-2006 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="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cache.novell.com/prot/2JyMn7sWP_Q~/novell-client-1.2-SLE10.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/linux-sources
!net-misc/novell-novfs"
RESTRICT="nomirror fetch"
BUILD_PARAMS="-C $KERNEL_DIR SUBDIRS=${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src/novfs"
MODULE_NAMES="novfs(novfs:${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src/novfs:${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src/novfs"
BUILD_TARGETS="modules"
MODULESD_NOVFS_ENABLED=""
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/ncl_build_711/NCL_disk/novell/i586/${PN}-${MY_PV}.i586.rpm
cd ${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src
epatch ${FILESDIR}/novell-novfs-1.2.0-dentry.patch
epatch ${FILESDIR}/novell-novfs-1.2.0-getsb.patch
epatch ${FILESDIR}/novell-novfs-1.2.0-getsb-fix.patch
epatch ${FILESDIR}/novell-novfs-1.2.0-dont_use_tasklist_lock.patch
epatch ${FILESDIR}/novell-novfs-1.2.0-license.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
}

View File

@ -0,0 +1,70 @@
# 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="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-${PV}-vfs.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
}

View File

@ -0,0 +1,74 @@
# 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="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/2JyMn7sWP_Q~/novell-client-1.2-SLE10.tar.gz"
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}/${PN}-${MY_PV}/opt/novell/ncl/src/src"
MODULE_NAMES="novfs(novfs:${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src/src:${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src/src"
BUILD_TARGETS="modules"
MODULESD_NOVFS_ENABLED=""
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/ncl_build_711/NCL_disk/novell/i586/${PN}-1.2.0-17.i586.rpm
cd ${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src
epatch ${FILESDIR}/novell-novfs-1.2.0_to_2.0.0.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
}

View File

@ -0,0 +1,30 @@
# ChangeLog for net-fs/novell-novfsd
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
04 Apr 2007; Mario Fetka <mario-fetka@gmx.at> files/1.2.0_p8/novfsd,
-novell-novfsd-1.2.0_p8-r2.ebuild, -novell-novfsd-1.2.0_p8-r3.ebuild:
Drop old buggy ebuild & remove unmount on shutdown
28 Feb 2007; Mario Fetka <mario-fetka@gmx.at> files/1.2.0_p8/novfsd:
Correct Init Script
18 Feb 2007; Mario Fetka <mario-fetka@gmx.at> +files/1.2.0_p8,
+novell-novfsd-1.2.0_p8-r4.ebuild, +files/1.2.0_p8/novfsd:
Gentooize ebuild
18 Oct 2006; Mario Fetka <mario-fetka@gmx.at> files/80novell-client,
+novell-novfsd-1.2.0_p8-r3.ebuild:
Add Novell Packages to PRELINK_MASK_PATH.
05 Oct 2006; Mario Fetka <mario-fetka@gmx.at> files/novfsd12.initd,
+novell-novfsd-1.2.0_p8-r2.ebuild:
Correct init script (need slpd)
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at>
novell-novfsd-1.2.0_p8-r1.ebuild, +metadata.xml:
Correct Typo
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at> ChangeLog:
Initial novfsd ChangeLog

View File

@ -0,0 +1,41 @@
AUX 1.2.0_p8/novfsd 1628 RMD160 ba0bbcb1c10b421bd140ebf9763ab34d8f1f7009 SHA1 d1b7b4a1e3b1c2c482b1a46d8576c42f65327088 SHA256 6cbd1892e12e808b6a85d97d1963fb654c19b219ea56841b8670299ad866cf64
MD5 66df6690373c032f2d784c05f99fadd4 files/1.2.0_p8/novfsd 1628
RMD160 ba0bbcb1c10b421bd140ebf9763ab34d8f1f7009 files/1.2.0_p8/novfsd 1628
SHA256 6cbd1892e12e808b6a85d97d1963fb654c19b219ea56841b8670299ad866cf64 files/1.2.0_p8/novfsd 1628
AUX 2.0.0_p20/novfsd 1628 RMD160 ba0bbcb1c10b421bd140ebf9763ab34d8f1f7009 SHA1 d1b7b4a1e3b1c2c482b1a46d8576c42f65327088 SHA256 6cbd1892e12e808b6a85d97d1963fb654c19b219ea56841b8670299ad866cf64
MD5 66df6690373c032f2d784c05f99fadd4 files/2.0.0_p20/novfsd 1628
RMD160 ba0bbcb1c10b421bd140ebf9763ab34d8f1f7009 files/2.0.0_p20/novfsd 1628
SHA256 6cbd1892e12e808b6a85d97d1963fb654c19b219ea56841b8670299ad866cf64 files/2.0.0_p20/novfsd 1628
AUX 80novell-client 164 RMD160 1873d6c60904a7c729f0e7ed9f5a21ac7dd6bbe8 SHA1 24062ff92599c586746073694b6410ec038cbbc1 SHA256 dafe1812e1005f625deba9bcc6e60f3623c7ddd633e584c6a4533f7836af691f
MD5 6768ec207bdfb38f47d151aba0105d05 files/80novell-client 164
RMD160 1873d6c60904a7c729f0e7ed9f5a21ac7dd6bbe8 files/80novell-client 164
SHA256 dafe1812e1005f625deba9bcc6e60f3623c7ddd633e584c6a4533f7836af691f files/80novell-client 164
AUX novfsd12.initd 1637 RMD160 006d31b10ddadab31a622e829ef33a2790e4944e SHA1 199e371f23314df769fdd7d189fa5327a6a1a9a1 SHA256 d75be3c7c6ed8980e4a68f38ff1192fe7f8fc1436f96c8437578a6694a0530f2
MD5 8085e12ccc118e3bc49a0b86e38d8a66 files/novfsd12.initd 1637
RMD160 006d31b10ddadab31a622e829ef33a2790e4944e files/novfsd12.initd 1637
SHA256 d75be3c7c6ed8980e4a68f38ff1192fe7f8fc1436f96c8437578a6694a0530f2 files/novfsd12.initd 1637
DIST Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 RMD160 5296935f1b2b5cb0796b685f5c6bacd532f49094 SHA1 96d1df5bce5f0afb0a625084226fb347728fcffb SHA256 3433f30fed62339de2fe12426e4e4e064ec4823073d2271531d7a1009f9cdecf
DIST Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 RMD160 9b5a8704e518ac7ce1d9d03a890e77a67610cbaa SHA1 0430885f18e803bba63ec264022589c4d934ef03 SHA256 f170dad7e9774d6b55186228f0ed3de512b09255d5d19f54e86964a327b62806
DIST novell-client-1.2-SLE10.tar.gz 13963983 RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 SHA1 14278f74c8226afabc0c602bdc31d4e20acff6b9 SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241
EBUILD novell-novfsd-1.2.0_p8-r4.ebuild 2289 RMD160 f47bc69bebd197c1c4425b6326c05a4a4c1c33f9 SHA1 1fe8ea8ba09efdbce5a9b66c4a909840cde75be6 SHA256 e40a43bf2d654897b288414d38e43778589a88eb4d64b38982a2c96f13bf9927
MD5 74ff5e88a0137262dcffc354810a403b novell-novfsd-1.2.0_p8-r4.ebuild 2289
RMD160 f47bc69bebd197c1c4425b6326c05a4a4c1c33f9 novell-novfsd-1.2.0_p8-r4.ebuild 2289
SHA256 e40a43bf2d654897b288414d38e43778589a88eb4d64b38982a2c96f13bf9927 novell-novfsd-1.2.0_p8-r4.ebuild 2289
EBUILD novell-novfsd-2.0.0_p20.ebuild 2557 RMD160 59712859f5d878a629db293e84a23d3df72a13bb SHA1 f299996881b7af9ed0382255058049c4e587ea66 SHA256 33ef2079a28c189bb549f5ed5e5b843505b9e28bca1509628dd1c44bcaf71915
MD5 fc5cb38b7aca220f9dc6fa5670dc5f58 novell-novfsd-2.0.0_p20.ebuild 2557
RMD160 59712859f5d878a629db293e84a23d3df72a13bb novell-novfsd-2.0.0_p20.ebuild 2557
SHA256 33ef2079a28c189bb549f5ed5e5b843505b9e28bca1509628dd1c44bcaf71915 novell-novfsd-2.0.0_p20.ebuild 2557
MISC ChangeLog 1055 RMD160 aee855e40d41eb2bf922201ef35a48ce5b78f39f SHA1 8e1ebb33119c5fc3f12b6b4967f4952928d3efc3 SHA256 4757a31de7f39403b9c55eb51dd5302f4f571d4484188f28215b927f41c14406
MD5 5cdebf972f303ed85432dd38f79004e3 ChangeLog 1055
RMD160 aee855e40d41eb2bf922201ef35a48ce5b78f39f ChangeLog 1055
SHA256 4757a31de7f39403b9c55eb51dd5302f4f571d4484188f28215b927f41c14406 ChangeLog 1055
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-novfsd-1.2.0_p8-r4 277
RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-novfsd-1.2.0_p8-r4 277
SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-novfsd-1.2.0_p8-r4 277
MD5 ec699dae9428f5ecd71e3b6fdc0b8405 files/digest-novell-novfsd-2.0.0_p20 626
RMD160 a08fca1bf3e2cb25ea5b9fb70f27de63c0e9974a files/digest-novell-novfsd-2.0.0_p20 626
SHA256 d20395db16f0e2a59b7411ac9ea0817b657bd9804d54da40d459a518a13b5153 files/digest-novell-novfsd-2.0.0_p20 626

View File

@ -0,0 +1,69 @@
#!/sbin/runscript
NOVFS_MOUNT_PATH=/var/opt/novell/nclmnt
export XTIER_CODE_PAGE=`locale charmap`
export NCPL_DO_NOT_OVERWRITE_OPENLOG=1
depend() {
before xdm
need net
after novell-xregd
}
#checkconfig() {
# if [ ! -e ${NDSD_CONFIGFILE} ] ; then
# eerror "Novell eDirectory server has not been configured."
# return 1
# fi
#}
start() {
export XTIER_CODE_PAGE=`locale charmap`
export NCPL_DO_NOT_OVERWRITE_OPENLOG=1
ebegin "Loading novell novfs kernel module"
#Try and start novfs
modprobe novfs
lsmod |grep novfs 2>&1 >/dev/null
eend $?
ebegin "Mounting novell novfs"
#Mount our filesystem
mount -t novfs novfs $NOVFS_MOUNT_PATH
eend $?
EnableNMAS=1
if [ -f /etc/opt/novell/ncl/login.conf ]; then
cat /etc/opt/novell/ncl/login.conf |grep "NMAS_Authentication=false" 2>&1 >/dev/null
if [ $? -eq 0 ]; then
EnableNMAS=0
fi
fi
if [ $EnableNMAS -eq 0 ]; then
ebegin "Starting novell novfs daemon with NMAS-Authentication"
start-stop-daemon --start --quiet --exec /opt/novell/ncl/bin/novfsd -- -m
else
ebegin "Starting Novell novfs daemon"
start-stop-daemon --start --quiet --exec /opt/novell/ncl/bin/novfsd
fi
eend $?
}
stop() {
ebegin "Stopping Novell novfs daemon"
start-stop-daemon --stop --quiet --name novfsd
eend $?
# ebegin "unMounting novell novfs"
# umount $NOVFS_MOUNT_PATH 2>/dev/null
#Check to see if mount point is still mounted
# mount | grep novfs 2>&1 > /dev/null
# eend $?
# ebegin "unLoading novell novfs kernel module"
# rmmod novfs
# eend $?
}
#restart() {
# (Commands necessary to restart the service)
#}

View File

@ -0,0 +1,69 @@
#!/sbin/runscript
NOVFS_MOUNT_PATH=/var/opt/novell/nclmnt
export XTIER_CODE_PAGE=`locale charmap`
export NCPL_DO_NOT_OVERWRITE_OPENLOG=1
depend() {
before xdm
need net
after novell-xregd
}
#checkconfig() {
# if [ ! -e ${NDSD_CONFIGFILE} ] ; then
# eerror "Novell eDirectory server has not been configured."
# return 1
# fi
#}
start() {
export XTIER_CODE_PAGE=`locale charmap`
export NCPL_DO_NOT_OVERWRITE_OPENLOG=1
ebegin "Loading novell novfs kernel module"
#Try and start novfs
modprobe novfs
lsmod |grep novfs 2>&1 >/dev/null
eend $?
ebegin "Mounting novell novfs"
#Mount our filesystem
mount -t novfs novfs $NOVFS_MOUNT_PATH
eend $?
EnableNMAS=1
if [ -f /etc/opt/novell/ncl/login.conf ]; then
cat /etc/opt/novell/ncl/login.conf |grep "NMAS_Authentication=false" 2>&1 >/dev/null
if [ $? -eq 0 ]; then
EnableNMAS=0
fi
fi
if [ $EnableNMAS -eq 0 ]; then
ebegin "Starting novell novfs daemon with NMAS-Authentication"
start-stop-daemon --start --quiet --exec /opt/novell/ncl/bin/novfsd -- -m
else
ebegin "Starting Novell novfs daemon"
start-stop-daemon --start --quiet --exec /opt/novell/ncl/bin/novfsd
fi
eend $?
}
stop() {
ebegin "Stopping Novell novfs daemon"
start-stop-daemon --stop --quiet --name novfsd
eend $?
# ebegin "unMounting novell novfs"
# umount $NOVFS_MOUNT_PATH 2>/dev/null
#Check to see if mount point is still mounted
# mount | grep novfs 2>&1 > /dev/null
# eend $?
# ebegin "unLoading novell novfs kernel module"
# rmmod novfs
# eend $?
}
#restart() {
# (Commands necessary to restart the service)
#}

View File

@ -0,0 +1,5 @@
NOVELL_CLIENT_DIR=/opt/novell/ncl
PATH=/opt/novell/ncl/bin
ROOTPATH=/opt/novell/ncl/bin
LDPATH=/opt/novell/lib
PRELINK_PATH_MASK=/opt/novell/lib:/opt/novell/ncl/bin

View File

@ -0,0 +1,3 @@
MD5 2aab6c7358a733d1d8d9a4e893500a36 novell-client-1.2-SLE10.tar.gz 13963983
RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 novell-client-1.2-SLE10.tar.gz 13963983
SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241 novell-client-1.2-SLE10.tar.gz 13963983

View File

@ -0,0 +1,6 @@
MD5 476f30aa3db4de7b884b2085f89b837b Novell_Client_SLED10-i386-2007531-CD1.iso 10256384
RMD160 5296935f1b2b5cb0796b685f5c6bacd532f49094 Novell_Client_SLED10-i386-2007531-CD1.iso 10256384
SHA256 3433f30fed62339de2fe12426e4e4e064ec4823073d2271531d7a1009f9cdecf Novell_Client_SLED10-i386-2007531-CD1.iso 10256384
MD5 94c4812cfd6400e3e9360de01cb9d304 Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352
RMD160 9b5a8704e518ac7ce1d9d03a890e77a67610cbaa Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352
SHA256 f170dad7e9774d6b55186228f0ed3de512b09255d5d19f54e86964a327b62806 Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352

View File

@ -0,0 +1,69 @@
#!/sbin/runscript
NOVFS_MOUNT_PATH=/var/opt/novell/nclmnt
export XTIER_CODE_PAGE=`locale charmap`
export NCPL_DO_NOT_OVERWRITE_OPENLOG=1
depend() {
before xdm
need net slpd
after novell-xregd
}
#checkconfig() {
# if [ ! -e ${NDSD_CONFIGFILE} ] ; then
# eerror "Novell eDirectory server has not been configured."
# return 1
# fi
#}
start() {
export XTIER_CODE_PAGE=`locale charmap`
export NCPL_DO_NOT_OVERWRITE_OPENLOG=1
ebegin "Loading novell novfs kernel module"
#Try and start novfs
modprobe novfs
lsmod |grep novfs 2>&1 >/dev/null
eend $?
ebegin "Mounting novell novfs"
#Mount our filesystem
mount -t novfs novfs $NOVFS_MOUNT_PATH
eend $?
EnableNMAS=1
if [ -f /etc/opt/novell/ncl/login.conf ]; then
cat /etc/opt/novell/ncl/login.conf |grep "NMAS_Authentication=false" 2>&1 >/dev/null
if [ $? -eq 0 ]; then
EnableNMAS=0
fi
fi
if [ $EnableNMAS -eq 0 ]; then
ebegin "Starting novell novfs daemon with NMAS-Authentication"
start-stop-daemon --start --quiet --exec /opt/novell/ncl/bin/novfsd -- -m
else
ebegin "Starting novell novfs daemon"
start-stop-daemon --start --quiet --exec /opt/novell/ncl/bin/novfsd
fi
eend $?
}
stop() {
ebegin "Stopping Novell eDirectory server"
start-stop-daemon --stop --quiet --name novfsd
eend $?
# ebegin "unMounting novell novfs"
# umount $NOVFS_MOUNT_PATH 2>/dev/null
#Check to see if mount point is still mounted
# mount | grep novfs 2>&1 > /dev/null
# eend $?
# ebegin "unLoading novell novfs kernel module"
# rmmod novfs
eend $?
}
#restart() {
# (Commands necessary to restart the service)
#}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>maintainer-wanted</herd>
</pkgmetadata>

View File

@ -0,0 +1,92 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Client for Linux file system deamon"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/2JyMn7sWP_Q~/novell-client-1.2-SLE10.tar.gz"
LICENSE="Novell-NCL"
SLOT="0"
KEYWORDS="~x86"
IUSE="gtk"
DEPEND=""
RDEPEND="virtual/libc
>=sys-devel/gcc-4.1
>=net-nds/novell-xtier-base-3.1.4
net-fs/novell-novfs
!net-misc/novell-novfsd"
RESTRICT="nomirror nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/ncl_build_711/NCL_disk/novell/i586/${PN}-${MY_PV}.i586.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/ncl
dobin ${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/bin/*
newbin ${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/bin/Debug/novfsd novfsd-Debug
dodoc ${WORKDIR}/${PN}-${MY_PV}/usr/share/doc/packages/${PN}/*
doenvd "${FILESDIR}"/80novell-client
doinitd "${FILESDIR}/${PV}"/novfsd
}
pkg_preinst() {
rc-config stop novfsd
rc-config start novell-xregd
}
pkg_postinst() {
if [ ! -d /var/opt/novell/nclmnt ]; then
einfo "Creating mount point /var/opt/novell/nclmnt"
mkdir -p -m 777 /var/opt/novell/nclmnt
fi
EnableSLP=1
EnableNMAS=1
if [ -f /etc/opt/novell/ncl/protocol.conf ]; then
cat /etc/opt/novell/ncl/protocol.conf |grep Name_Resolution_Providers 2>&1 >/dev/null
if [ $? -eq 0 ]; then
cat /etc/opt/novell/ncl/protocol.conf |grep SLP 2>&1 >/dev/null
if [ $? -ne 0 ]; then
EnableSLP=0
fi
fi
fi
if [ -f /etc/opt/novell/ncl/login.conf ]; then
cat /etc/opt/novell/ncl/login.conf |grep "NMAS_Authentication=false" 2>&1 >/dev/null
if [ $? -eq 0 ]; then
EnableNMAS=0
fi
fi
if [ $EnableSLP -eq 1 ]; then
# enable xtier slp name resolution
/opt/novell/xtier/bin/regutil -v "\client\policies\network\ip\address resolution providers\configured" "9" REG_SZ "{A18C57F8-17DA-11d1-8FFF-00A0C925D248}"
fi
if [ $EnableNMAS -eq 1 ]; then
# enable xtier NMAS support
/opt/novell/xtier/bin/regutil -v "\Client\Policies" "Default Authentication Provider" REG_SZ "{FCB72681-D373-11d3-BC08-00A0C9EA53EF}"
fi
}
pkg_prerm() {
rc-config stop novfsd
}

View File

@ -0,0 +1,95 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Client for Linux file system deamon"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-i386-2007531-CD1.iso
http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-x86_64-2007531-CD1.iso"
LICENSE="Novell-NCL"
SLOT="0"
KEYWORDS="~x86"
IUSE="gtk"
DEPEND=""
RDEPEND="virtual/libc
>=sys-devel/gcc-4.1
>=net-nds/novell-xtier-base-3.1.4
net-fs/novell-novfs
!net-misc/novell-novfsd"
RESTRICT="nomirror nostrip"
src_unpack() {
cd ${WORKDIR}
7z x ${DISTDIR}/Novell_Client_SLED10-i386-2007531-CD1.iso
# 7z x ${DISTDIR}/Novell_Client_SLED10-x86_64-2007531-CD1.iso
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/suse/i586/${PN}-${MY_PV}.i586.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/ncl
dobin ${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/bin/*
newbin ${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/bin/Debug/novfsd novfsd-Debug
dodoc ${WORKDIR}/${PN}-${MY_PV}/usr/share/doc/packages/${PN}/*
doenvd "${FILESDIR}"/80novell-client
doinitd "${FILESDIR}/${PV}"/novfsd
}
pkg_preinst() {
rc-config stop novfsd
rc-config start novell-xregd
}
pkg_postinst() {
if [ ! -d /var/opt/novell/nclmnt ]; then
einfo "Creating mount point /var/opt/novell/nclmnt"
mkdir -p -m 777 /var/opt/novell/nclmnt
fi
EnableSLP=1
EnableNMAS=1
if [ -f /etc/opt/novell/ncl/protocol.conf ]; then
cat /etc/opt/novell/ncl/protocol.conf |grep Name_Resolution_Providers 2>&1 >/dev/null
if [ $? -eq 0 ]; then
cat /etc/opt/novell/ncl/protocol.conf |grep SLP 2>&1 >/dev/null
if [ $? -ne 0 ]; then
EnableSLP=0
fi
fi
fi
if [ -f /etc/opt/novell/ncl/login.conf ]; then
cat /etc/opt/novell/ncl/login.conf |grep "NMAS_Authentication=false" 2>&1 >/dev/null
if [ $? -eq 0 ]; then
EnableNMAS=0
fi
fi
if [ $EnableSLP -eq 1 ]; then
# enable xtier slp name resolution
/opt/novell/xtier/bin/regutil -v "\client\policies\network\ip\address resolution providers\configured" "9" REG_SZ "{A18C57F8-17DA-11d1-8FFF-00A0C925D248}"
fi
if [ $EnableNMAS -eq 1 ]; then
# enable xtier NMAS support
/opt/novell/xtier/bin/regutil -v "\Client\Policies" "Default Authentication Provider" REG_SZ "{FCB72681-D373-11d3-BC08-00A0C9EA53EF}"
fi
}
pkg_prerm() {
rc-config stop novfsd
}

View File

@ -1,13 +1,18 @@
DIST gw702HP1aclnxmulti.tar.gz 136232170 RMD160 4d9665e7507b628a919d8a779490dff5e2d2cc10 SHA1 667156526406a45622fb897877ae597dd7e52738 SHA256 4fb44d16a5dbbe47037fc46a8124a35175324cebb7f1c6c6cc11de375d15b5c9
DIST gw702HP1clnxmulti.tar.gz 68138753 RMD160 42acc93e9d9b791e83027806df3c449b4502b09a SHA1 5edb8bff146f24587818bc17ab651ebededd24c0 SHA256 dd7cdbc57e65fb296791125fc83ddd3fd75b85f4acf17a2bd885c0c08930edbf
DIST gw702betaclnxm.tar.gz 57107850 RMD160 a5988e3d22c3303ebfa2e7081d3d106763071351 SHA1 047bbf6ca0e4d4b0518a942a1b2822bc2457f730 SHA256 cff3171de8a37e85e01174cb959112a55ae648415af9d0779f31a398a50139f1
DIST gw702clnxmulti.tar.gz 136223742 RMD160 a18acf44924e4e48273604d3a8dfcd58e3722910 SHA1 727d871e94629e13334acda640a433dd6ea7bf43 SHA256 c81bfee241f27e98ad79d9feaf9eac1129874203b4cd0deec4faccd7e8b0e24f
EBUILD novell-groupwise-gwclient-7.0.2_p20070228.ebuild 1714 RMD160 b0453ba0a180a641cf17b0a0d25a0de8119c061f SHA1 8d6130f7a0f9ba500d2a3c6ba4370c79b576dfbf SHA256 b66d8f7c446364fdfe9c490c55e662a70628f6382165f436caa227d4b07472d2
MD5 8e8ac9ae18674a4d35f52b1366d6d0fa novell-groupwise-gwclient-7.0.2_p20070228.ebuild 1714
RMD160 b0453ba0a180a641cf17b0a0d25a0de8119c061f novell-groupwise-gwclient-7.0.2_p20070228.ebuild 1714
SHA256 b66d8f7c446364fdfe9c490c55e662a70628f6382165f436caa227d4b07472d2 novell-groupwise-gwclient-7.0.2_p20070228.ebuild 1714
EBUILD novell-groupwise-gwclient-7.0.2_p20070406.ebuild 4445 RMD160 c621c622f65d161ace63250f07c4e1fdf787321d SHA1 f1cb4e6c1ca4395b95e67f1827994a91271ae49c SHA256 948a08e91a35f7c8899d5f2999ebc1c30c4d4400063cf08717d054f43f2ecef7
MD5 1f6f6703f4e90e4ac267fddaef4c9d7f novell-groupwise-gwclient-7.0.2_p20070406.ebuild 4445
RMD160 c621c622f65d161ace63250f07c4e1fdf787321d novell-groupwise-gwclient-7.0.2_p20070406.ebuild 4445
SHA256 948a08e91a35f7c8899d5f2999ebc1c30c4d4400063cf08717d054f43f2ecef7 novell-groupwise-gwclient-7.0.2_p20070406.ebuild 4445
EBUILD novell-groupwise-gwclient-7.0.2_p20070524-r1.ebuild 4448 RMD160 5c7bacb785229d19be14c54fed9ee20394b1ddf2 SHA1 baf8b9b3b4cba6de003d69be3dd975161faf0bc4 SHA256 403039cc910d1e82b3a3af21995f01cc249228119828df71f7f20715a4451de1
MD5 0538f538f1c87ecfa9d96b40fe42b83e novell-groupwise-gwclient-7.0.2_p20070524-r1.ebuild 4448
RMD160 5c7bacb785229d19be14c54fed9ee20394b1ddf2 novell-groupwise-gwclient-7.0.2_p20070524-r1.ebuild 4448
SHA256 403039cc910d1e82b3a3af21995f01cc249228119828df71f7f20715a4451de1 novell-groupwise-gwclient-7.0.2_p20070524-r1.ebuild 4448
EBUILD novell-groupwise-gwclient-7.0.2_p20070606-r1.ebuild 4449 RMD160 6b88dc7a76e0afcaaeeac68e1de5f9a304600cb8 SHA1 a3a7e372d8fa4b2acf0a17c856106024c64572ed SHA256 117456c79541044ebb9143be771781093dc8402f39bce37b9275f24c7477bf9d
MD5 ce82ba6be7bdde44dae88a5240a3274c novell-groupwise-gwclient-7.0.2_p20070606-r1.ebuild 4449
RMD160 6b88dc7a76e0afcaaeeac68e1de5f9a304600cb8 novell-groupwise-gwclient-7.0.2_p20070606-r1.ebuild 4449
SHA256 117456c79541044ebb9143be771781093dc8402f39bce37b9275f24c7477bf9d novell-groupwise-gwclient-7.0.2_p20070606-r1.ebuild 4449
MISC ChangeLog 1750 RMD160 817532a0ccaaf07f7b3f0f3161df4db447176682 SHA1 dd48fb76a9fc6da11b26d4b7e69b7b2c0c481ea2 SHA256 ebb725b64d7132f964f3ca59df7befc10f1c0f98a61bd257c1de42da1343972b
MD5 4bcbff1ab210cf772be0fdb1fdcc853a ChangeLog 1750
RMD160 817532a0ccaaf07f7b3f0f3161df4db447176682 ChangeLog 1750
@ -19,6 +24,9 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata
MD5 72d0995967de4cd991e0a7f0a016996b files/digest-novell-groupwise-gwclient-7.0.2_p20070228 250
RMD160 6c1d623fa9ce0618d59ec9a8487c6a4b996b7a8f files/digest-novell-groupwise-gwclient-7.0.2_p20070228 250
SHA256 fe30848fa2b84323c88ffeb324ba24a41451e2cd054c1e07fc11c33d6cecefef files/digest-novell-groupwise-gwclient-7.0.2_p20070228 250
MD5 8f0b43ce44491b7fbd9b7f685a52205c files/digest-novell-groupwise-gwclient-7.0.2_p20070406 253
RMD160 b37b76c5c31a311a0cbbf620171ed0971bd24855 files/digest-novell-groupwise-gwclient-7.0.2_p20070406 253
SHA256 d8f500130b860674954d5882ecb1ecc5fd0f12a7e1c9ea85fb08597891ff49f2 files/digest-novell-groupwise-gwclient-7.0.2_p20070406 253
MD5 9be3a3d19e55a83e4aee449622ebbeeb files/digest-novell-groupwise-gwclient-7.0.2_p20070524-r1 259
RMD160 b5a9b82aca0d87fe151fe68c1f368df8ceccb3cf files/digest-novell-groupwise-gwclient-7.0.2_p20070524-r1 259
SHA256 d38bdb9b0f2babcca58fd21ee44b15fcc9344d5a362d3b5e54b0a75885b2816a files/digest-novell-groupwise-gwclient-7.0.2_p20070524-r1 259
MD5 763e6c662c179e602fefa3064096d5b4 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r1 265
RMD160 d5df0f3ebb6c5326c8ca158f668a3aac043dff76 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r1 265
SHA256 9d916e6b25b3ea464a4611c16ebe4945f0dbef9fcd5289e16736c261278d1f36 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r1 265

View File

@ -0,0 +1 @@
n4g-experimental

View File

@ -0,0 +1,24 @@
# ChangeLog for sys-auth/novell-nmasclient
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
04 Apr 2007; Mario Fetka <mario-fetka@gmx.at>
-novell-nmasclient-3.2.0_p9-r1.ebuild,
-novell-nmasclient-3.2.0_p9-r2.ebuild:
Drop old buggy Ebuild
18 Feb 2007; Mario Fetka <mario-fetka@gmx.at>
+novell-nmasclient-3.2.0_p9-r3.ebuild:
Gentoolize ebuild
18 Oct 2006; Mario Fetka <mario-fetka@gmx.at> files/80novell-nmasclient,
+novell-nmasclient-3.2.0_p9-r2.ebuild:
Add Novell Packages to PRELINK_MASK_PATH.
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at>
novell-nmasclient-3.2.0_p9-r1.ebuild, +metadata.xml:
Correct Minor Typo
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at> ChangeLog:
Initial nmasclient ChangeLog

View File

@ -0,0 +1,29 @@
AUX 80novell-nmasclient 224 RMD160 804252e857ecc4bbe8ca86cb55eb799cde41183c SHA1 1de26f9349aa4322493c1208ee283116a41b9f7a SHA256 f30c6930152e8923df12f590f723e0369f7c3e8045a9c1445361ddc328ea8999
MD5 c5b6025ca11fa0ba7f0ce9adcd06aa8a files/80novell-nmasclient 224
RMD160 804252e857ecc4bbe8ca86cb55eb799cde41183c files/80novell-nmasclient 224
SHA256 f30c6930152e8923df12f590f723e0369f7c3e8045a9c1445361ddc328ea8999 files/80novell-nmasclient 224
DIST Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 RMD160 5296935f1b2b5cb0796b685f5c6bacd532f49094 SHA1 96d1df5bce5f0afb0a625084226fb347728fcffb SHA256 3433f30fed62339de2fe12426e4e4e064ec4823073d2271531d7a1009f9cdecf
DIST Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 RMD160 9b5a8704e518ac7ce1d9d03a890e77a67610cbaa SHA1 0430885f18e803bba63ec264022589c4d934ef03 SHA256 f170dad7e9774d6b55186228f0ed3de512b09255d5d19f54e86964a327b62806
DIST novell-client-1.2-SLE10.tar.gz 13963983 RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 SHA1 14278f74c8226afabc0c602bdc31d4e20acff6b9 SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241
EBUILD novell-nmasclient-3.2.0_p9-r3.ebuild 926 RMD160 6f1160c56e08cf33a82d34b755aabc2637e7953c SHA1 118f2f1babcde6732b5cc680b27ba0c099305e92 SHA256 81daa1bffba06efd568bd7d5ad70209e7703a5e50b8108cdfeeff370c3bb7959
MD5 05c94f880acc3088f1995d3d65b76b44 novell-nmasclient-3.2.0_p9-r3.ebuild 926
RMD160 6f1160c56e08cf33a82d34b755aabc2637e7953c novell-nmasclient-3.2.0_p9-r3.ebuild 926
SHA256 81daa1bffba06efd568bd7d5ad70209e7703a5e50b8108cdfeeff370c3bb7959 novell-nmasclient-3.2.0_p9-r3.ebuild 926
EBUILD novell-nmasclient-3.4.0_p10.ebuild 1195 RMD160 d38ea0e85e964e5aede5885ef80fd01d05143876 SHA1 4774d56ac77055d5a307676ddc009e831173545e SHA256 7a2295c9166fe17cff582553ecc8cd4725086e520a774c485d348be246dd777b
MD5 1947ca0f1d00134d0be39f6e82d56cf0 novell-nmasclient-3.4.0_p10.ebuild 1195
RMD160 d38ea0e85e964e5aede5885ef80fd01d05143876 novell-nmasclient-3.4.0_p10.ebuild 1195
SHA256 7a2295c9166fe17cff582553ecc8cd4725086e520a774c485d348be246dd777b novell-nmasclient-3.4.0_p10.ebuild 1195
MISC ChangeLog 769 RMD160 33653a9210df281868929ea7b22a759e573923b7 SHA1 2e6665552b55f973316d52ea8f6e27ed72c9fb4c SHA256 56b1ca49c52345157a24d6e47d8797fcae6de346d08ec5f5ccaba2d230f688ce
MD5 9c68d56de9ebf397a5924299e3454a11 ChangeLog 769
RMD160 33653a9210df281868929ea7b22a759e573923b7 ChangeLog 769
SHA256 56b1ca49c52345157a24d6e47d8797fcae6de346d08ec5f5ccaba2d230f688ce ChangeLog 769
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-nmasclient-3.2.0_p9-r3 277
RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-nmasclient-3.2.0_p9-r3 277
SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-nmasclient-3.2.0_p9-r3 277
MD5 ec699dae9428f5ecd71e3b6fdc0b8405 files/digest-novell-nmasclient-3.4.0_p10 626
RMD160 a08fca1bf3e2cb25ea5b9fb70f27de63c0e9974a files/digest-novell-nmasclient-3.4.0_p10 626
SHA256 d20395db16f0e2a59b7411ac9ea0817b657bd9804d54da40d459a518a13b5153 files/digest-novell-nmasclient-3.4.0_p10 626

View File

@ -0,0 +1,5 @@
NOVELL_NMASCLIENT_DIR=/opt/novell/nmas/client
PATH=/opt/novell/nmas/client/bin
ROOTPATH=/opt/novell/nmas/client/bin
LDPATH=/opt/novell/nmas/client/lib
PRELINK_PATH_MASK=/opt/novell/nmas/client/lib:/opt/novell/nmas/client/bin

View File

@ -0,0 +1,3 @@
MD5 2aab6c7358a733d1d8d9a4e893500a36 novell-client-1.2-SLE10.tar.gz 13963983
RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 novell-client-1.2-SLE10.tar.gz 13963983
SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241 novell-client-1.2-SLE10.tar.gz 13963983

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>maintainer-wanted</herd>
</pkgmetadata>

View File

@ -0,0 +1,34 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell NMAS Client for Linux"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/2JyMn7sWP_Q~/novell-client-1.2-SLE10.tar.gz"
LICENSE="Novell-NCL"
SLOT="0"
KEYWORDS="~x86"
IUSE="gtk"
DEPEND=""
RDEPEND="virtual/libc
!net-misc/novell-nmasclient"
RESTRICT="nomirror nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/ncl_build_711/NCL_disk/novell/i386/${PN}-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/nmas/client/
dobin ${WORKDIR}/${PN}-${MY_PV}/opt/novell/nmas/client/bin/*
dolib.so ${WORKDIR}/${PN}-${MY_PV}/opt/novell/nmas/client/lib/*
doenvd "${FILESDIR}"/80novell-nmasclient
}

View File

@ -0,0 +1,38 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell NMAS Client for Linux"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-i386-2007531-CD1.iso
http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-x86_64-2007531-CD1.iso"
LICENSE="Novell-NCL"
SLOT="0"
KEYWORDS="~x86"
IUSE="gtk"
DEPEND=""
RDEPEND="virtual/libc
!net-misc/novell-nmasclient"
RESTRICT="nomirror nostrip"
src_unpack() {
cd ${WORKDIR}
7z x ${DISTDIR}/Novell_Client_SLED10-i386-2007531-CD1.iso
# 7z x ${DISTDIR}/Novell_Client_SLED10-x86_64-2007531-CD1.iso
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/suse/i586/${PN}-${MY_PV}.i586.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/nmas/client/
dobin ${WORKDIR}/${PN}-${MY_PV}/opt/novell/nmas/client/bin/*
dolib.so ${WORKDIR}/${PN}-${MY_PV}/opt/novell/nmas/client/lib/*
doenvd "${FILESDIR}"/80novell-nmasclient
}

View File

@ -0,0 +1,6 @@
Update initd
-- Diese und die folgenden Zeilen werden ignoriert --
M irtrans-irserver/files/irtrans-server.initd
M irtrans-irserver/Manifest
M irtrans-irserver/irtrans-irserver-5.8.01.ebuild

View File

@ -0,0 +1 @@
n4g