Big update across all branches
This commit is contained in:
30
branches/experimental/net-fs/novell-novfsd/ChangeLog
Normal file
30
branches/experimental/net-fs/novell-novfsd/ChangeLog
Normal 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
|
||||
|
||||
41
branches/experimental/net-fs/novell-novfsd/Manifest
Normal file
41
branches/experimental/net-fs/novell-novfsd/Manifest
Normal 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
|
||||
69
branches/experimental/net-fs/novell-novfsd/files/1.2.0_p8/novfsd
Executable file
69
branches/experimental/net-fs/novell-novfsd/files/1.2.0_p8/novfsd
Executable 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)
|
||||
#}
|
||||
69
branches/experimental/net-fs/novell-novfsd/files/2.0.0_p20/novfsd
Executable file
69
branches/experimental/net-fs/novell-novfsd/files/2.0.0_p20/novfsd
Executable 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)
|
||||
#}
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
69
branches/experimental/net-fs/novell-novfsd/files/novfsd12.initd
Executable file
69
branches/experimental/net-fs/novell-novfsd/files/novfsd12.initd
Executable 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)
|
||||
#}
|
||||
5
branches/experimental/net-fs/novell-novfsd/metadata.xml
Normal file
5
branches/experimental/net-fs/novell-novfsd/metadata.xml
Normal 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>
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user