From 6e392f77ba5762fa5d7a8ec776ad8ca102b0ca58 Mon Sep 17 00:00:00 2001 From: geos_one Date: Tue, 26 Aug 2008 15:52:29 +0000 Subject: [PATCH] net-fs/novell-novfsd: Repoman cleanup --- .../net-fs/novell-novfsd/ChangeLog | 7 +- .../net-fs/novell-novfsd/Manifest | 41 +---- .../novell-novfsd/files/1.2.0_p8/novfsd | 69 --------- .../files/digest-novell-novfsd-1.2.0_p8-r4 | 3 - .../files/digest-novell-novfsd-2.0.0_p29 | 6 - .../net-fs/novell-novfsd/files/novfsd12.initd | 69 --------- .../novell-novfsd-1.2.0_p8-r4.ebuild | 92 ----------- .../novell-novfsd-2.0.0_p29.ebuild | 144 +++++++++--------- 8 files changed, 82 insertions(+), 349 deletions(-) delete mode 100755 trunk/novell4gentoo/net-fs/novell-novfsd/files/1.2.0_p8/novfsd delete mode 100644 trunk/novell4gentoo/net-fs/novell-novfsd/files/digest-novell-novfsd-1.2.0_p8-r4 delete mode 100644 trunk/novell4gentoo/net-fs/novell-novfsd/files/digest-novell-novfsd-2.0.0_p29 delete mode 100755 trunk/novell4gentoo/net-fs/novell-novfsd/files/novfsd12.initd delete mode 100644 trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-1.2.0_p8-r4.ebuild diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/ChangeLog b/trunk/novell4gentoo/net-fs/novell-novfsd/ChangeLog index f55a7e62..d90f7575 100644 --- a/trunk/novell4gentoo/net-fs/novell-novfsd/ChangeLog +++ b/trunk/novell4gentoo/net-fs/novell-novfsd/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for net-fs/novell-novfsd -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 26 Aug 2008; Mario Fetka -files/1.2.0_p8/novfsd, + -files/novfsd12.initd, -novell-novfsd-1.2.0_p8-r4.ebuild, + novell-novfsd-2.0.0_p29.ebuild: + Repoman cleanup + 01 Nov 2007; Mario Fetka +files/80novell-client64, +files/novfsd20.initd, +novell-novfsd-2.0.0_p29.ebuild: initial import novell client 2.0 diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/Manifest b/trunk/novell4gentoo/net-fs/novell-novfsd/Manifest index 448fbc83..f61dda4c 100644 --- a/trunk/novell4gentoo/net-fs/novell-novfsd/Manifest +++ b/trunk/novell4gentoo/net-fs/novell-novfsd/Manifest @@ -1,45 +1,8 @@ -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 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 80novell-client64 220 RMD160 8fe1dc96515fe4e0f3759c6428fecde898987840 SHA1 f3c3b7a73744944aba323d39e8f23129f328a1d7 SHA256 03376ab166cb03f7acf355ab9d4ad15b0b9b2783bf23c723d9476958f0630c46 -MD5 758eb60dd98dd4e5caa1f0f519843720 files/80novell-client64 220 -RMD160 8fe1dc96515fe4e0f3759c6428fecde898987840 files/80novell-client64 220 -SHA256 03376ab166cb03f7acf355ab9d4ad15b0b9b2783bf23c723d9476958f0630c46 files/80novell-client64 220 -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 AUX novfsd20.initd 1621 RMD160 ac7aee732f7ad8c928cf96b60a6c4d0f99a3a0f6 SHA1 f2f7e72036e6a0f7f3cce5739fb5f971167cd05c SHA256 c7df540ee72b34ab8305d11357594df47eb9a64b8ae47fd72e5add565738e34f -MD5 37cb777167e30a422196fa1439e81d95 files/novfsd20.initd 1621 -RMD160 ac7aee732f7ad8c928cf96b60a6c4d0f99a3a0f6 files/novfsd20.initd 1621 -SHA256 c7df540ee72b34ab8305d11357594df47eb9a64b8ae47fd72e5add565738e34f files/novfsd20.initd 1621 -DIST novell-client-1.2-SLE10.tar.gz 13963983 RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 SHA1 14278f74c8226afabc0c602bdc31d4e20acff6b9 SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241 DIST novell-client-2.0-sle10sp1-i386.iso 10866688 RMD160 b478e97de576987b0a3b801965dbddb4fc8d8ce0 SHA1 49d70ed6e7007b7e18468ec0b42bed6ac6b8702f SHA256 a6609aee78e90a5375fd698b571a015b3696d10ff2f11d085e4abf5b404a35d6 DIST novell-client-2.0-sle10sp1-x86_64.iso 11649024 RMD160 4f3a08e9cfea2b78072ba9114ecf03b44d8da17a SHA1 f1f5c78851a66c963fef02c69d89e86a3ba12d00 SHA256 3b70e2c81ded3916771a22a5c284c0d5ac7b32b8a47207d01350f9f952fd216f -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_p29.ebuild 3807 RMD160 563cedbd9f5ca8b5bd8e59322761e9e14d265784 SHA1 3c0e355b22f704f3103c3fde5c9c5fc0bec99ec0 SHA256 faca3d7e0202fc0428013cd01f1fcb99ba18fda0acf81769f4d876e96ff5f15d -MD5 9dd8af5226bc215def2cc984d14eee91 novell-novfsd-2.0.0_p29.ebuild 3807 -RMD160 563cedbd9f5ca8b5bd8e59322761e9e14d265784 novell-novfsd-2.0.0_p29.ebuild 3807 -SHA256 faca3d7e0202fc0428013cd01f1fcb99ba18fda0acf81769f4d876e96ff5f15d novell-novfsd-2.0.0_p29.ebuild 3807 -MISC ChangeLog 1223 RMD160 90c9e6938a884fe68a884e62c4078faeb4debc3b SHA1 be3b3ffc987fa8a964064720af6c529e86bd8099 SHA256 d04f224459a846427bba54486c6b3db2e0b5906d1e7e91c1ad9be03f6922f70e -MD5 bd955a06d252e7bcde0af133af425547 ChangeLog 1223 -RMD160 90c9e6938a884fe68a884e62c4078faeb4debc3b ChangeLog 1223 -SHA256 d04f224459a846427bba54486c6b3db2e0b5906d1e7e91c1ad9be03f6922f70e ChangeLog 1223 +EBUILD novell-novfsd-2.0.0_p29.ebuild 3792 RMD160 4685c7f9bb2ae5cb7943f57b7b9c644348de27e7 SHA1 7b32973d6423e9f085a602c67e891b899064cbb3 SHA256 024a278454d544938ec82d86b12c7c359af0b3ce7e3fed1e2211fae4db1e6d48 +MISC ChangeLog 1411 RMD160 ff152393b8b95e400967eec705a2e5234543b99d SHA1 f984493b010d9a40c107d745917914d551c4bead SHA256 12d0084eb38c23329e6d405226d993f1bdc34436f6538e2306f20cac712e4f24 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 3332466877e3a8abab8294e669c4b312 files/digest-novell-novfsd-2.0.0_p29 590 -RMD160 4674f6c84c589734b5ce983d3441b35dff1fd412 files/digest-novell-novfsd-2.0.0_p29 590 -SHA256 024a6db7c5a121d6c96d32d8371e61d6a79825ede5aca48c1ea77e9e49e939cb files/digest-novell-novfsd-2.0.0_p29 590 diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/files/1.2.0_p8/novfsd b/trunk/novell4gentoo/net-fs/novell-novfsd/files/1.2.0_p8/novfsd deleted file mode 100755 index 426af006..00000000 --- a/trunk/novell4gentoo/net-fs/novell-novfsd/files/1.2.0_p8/novfsd +++ /dev/null @@ -1,69 +0,0 @@ -#!/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) -#} \ No newline at end of file diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/files/digest-novell-novfsd-1.2.0_p8-r4 b/trunk/novell4gentoo/net-fs/novell-novfsd/files/digest-novell-novfsd-1.2.0_p8-r4 deleted file mode 100644 index 9702858d..00000000 --- a/trunk/novell4gentoo/net-fs/novell-novfsd/files/digest-novell-novfsd-1.2.0_p8-r4 +++ /dev/null @@ -1,3 +0,0 @@ -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 diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/files/digest-novell-novfsd-2.0.0_p29 b/trunk/novell4gentoo/net-fs/novell-novfsd/files/digest-novell-novfsd-2.0.0_p29 deleted file mode 100644 index 5e51de82..00000000 --- a/trunk/novell4gentoo/net-fs/novell-novfsd/files/digest-novell-novfsd-2.0.0_p29 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 8053ad010f806c412bfcc3dae251050e novell-client-2.0-sle10sp1-i386.iso 10866688 -RMD160 b478e97de576987b0a3b801965dbddb4fc8d8ce0 novell-client-2.0-sle10sp1-i386.iso 10866688 -SHA256 a6609aee78e90a5375fd698b571a015b3696d10ff2f11d085e4abf5b404a35d6 novell-client-2.0-sle10sp1-i386.iso 10866688 -MD5 3203d19a129165a4f504b394c330f897 novell-client-2.0-sle10sp1-x86_64.iso 11649024 -RMD160 4f3a08e9cfea2b78072ba9114ecf03b44d8da17a novell-client-2.0-sle10sp1-x86_64.iso 11649024 -SHA256 3b70e2c81ded3916771a22a5c284c0d5ac7b32b8a47207d01350f9f952fd216f novell-client-2.0-sle10sp1-x86_64.iso 11649024 diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/files/novfsd12.initd b/trunk/novell4gentoo/net-fs/novell-novfsd/files/novfsd12.initd deleted file mode 100755 index 93d81d87..00000000 --- a/trunk/novell4gentoo/net-fs/novell-novfsd/files/novfsd12.initd +++ /dev/null @@ -1,69 +0,0 @@ -#!/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) -#} \ No newline at end of file diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-1.2.0_p8-r4.ebuild b/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-1.2.0_p8-r4.ebuild deleted file mode 100644 index 0aed4abc..00000000 --- a/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-1.2.0_p8-r4.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# 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 -} diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-2.0.0_p29.ebuild b/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-2.0.0_p29.ebuild index 7bbcd2c2..8793a8ed 100644 --- a/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-2.0.0_p29.ebuild +++ b/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-2.0.0_p29.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ @@ -12,14 +12,14 @@ inherit novell eutils rpm MY_PV="${PV/_p/-}" DESCRIPTION="Novell Client for Linux file system deamon" -HOMEPAGE="http://www.novell.com" +HOMEPAGE="http://www.novell.com" SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32} ) - amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64} )" + amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64} )" -LICENSE="Novell-ncl-EULA" +LICENSE="Novell-NCL" SLOT="0" KEYWORDS="~x86 ~amd64" -IUSE="gtk" +IUSE="" DEPEND=">=app-arch/p7zip-4.15" @@ -30,38 +30,38 @@ RDEPEND="virtual/libc >=app-crypt/novell-nici-2.7.3_p11" src_unpack() { - cd ${WORKDIR} - if use x86 - then - narch=i586 - nlib=lib - 7z x ${DISTDIR}/${NOVELL_FILE32} - elif use amd64 - then - narch=x86_64 - nlib=lib64 - 7z x ${DISTDIR}/${NOVELL_FILE64} - fi - mkdir -p ${WORKDIR}/${PN}-${MY_PV} - cd ${PN}-${MY_PV} - rpm_unpack ${WORKDIR}/suse/${narch}/${PN}-${MY_PV}.${narch}.rpm + cd "${WORKDIR}" + if use x86 + then + narch=i586 + nlib=lib + 7z x "${DISTDIR}"/${NOVELL_FILE32} + elif use amd64 + then + narch=x86_64 + nlib=lib64 + 7z x "${DISTDIR}"/${NOVELL_FILE64} + fi + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack "${WORKDIR}"/suse/${narch}/${PN}-${MY_PV}.${narch}.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}/* - - if use x86 - then + 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}/* + + if use x86 + then doenvd "${FILESDIR}"/80novell-client - elif use amd64 - then + elif use amd64 + then doenvd "${FILESDIR}"/80novell-client64 - fi + fi newinitd "${FILESDIR}"/novfsd20.initd novfsd } @@ -72,40 +72,44 @@ pkg_preinst() { } 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 + # check if mount dir exists otherwise create it + 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 + # set sane defaults + 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 + # check slp Support + 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 + if [ $? -ne 0 ]; then EnableSLP=0 - fi + fi + 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 + # check nmas Support + 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 -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 + # enable xtier slp name resolution + if [ $EnableSLP -eq 1 ]; then + /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 + # enable xtier NMAS support + if [ $EnableNMAS -eq 1 ]; then + /opt/novell/xtier/bin/regutil -v "\Client\Policies" "Default Authentication Provider" REG_SZ "{FCB72681-D373-11d3-BC08-00A0C9EA53EF}" + fi } pkg_prerm() { @@ -113,21 +117,21 @@ pkg_prerm() { } pkg_nofetch() { - einfo "This files require you to register at ${HOMEPAGE} (free account)" - einfo "Please download following file:" - if use x86 - then - einfo " - ${NOVELL_FILE32}" - elif use amd64 - then - einfo " - ${NOVELL_FILE64}" - fi - einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}" - einfo "and place it in ${DISTDIR}" - einfo "" - einfo "To get rid of downloading files from ${HOMEPAGE}" - einfo "you can create a file /etc/portage/novell.acc" - einfo "containing the novell account infos with following commands" - einfo "# echo \"NOVELL_ACCOUNT_USERNAME=\\\"balduin\\\"\" >> /etc/portage/novell.acc" - einfo "# echo \"NOVELL_ACCOUNT_PASSWORD=\\\"derfisch\\\"\" >> /etc/portage/novell.acc" + einfo "This files require you to register at ${HOMEPAGE} (free account)" + einfo "Please download following file:" + if use x86 + then + einfo " - ${NOVELL_FILE32}" + elif use amd64 + then + einfo " - ${NOVELL_FILE64}" + fi + einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}" + einfo "and place it in ${DISTDIR}" + einfo "" + einfo "To get rid of downloading files from ${HOMEPAGE}" + einfo "you can create a file /etc/portage/novell.acc" + einfo "containing the novell account infos with following commands" + einfo "# echo \"NOVELL_ACCOUNT_USERNAME=\\\"balduin\\\"\" >> /etc/portage/novell.acc" + einfo "# echo \"NOVELL_ACCOUNT_PASSWORD=\\\"derfisch\\\"\" >> /etc/portage/novell.acc" }