From f6bd259951999fbb99d6e6435b912cfd743ebb1a Mon Sep 17 00:00:00 2001 From: geos_one Date: Thu, 16 Nov 2006 22:40:38 +0000 Subject: [PATCH] Try to get slp browse running ! But still not found result small updates to the novell client --- .../net-misc/novell-client-config/ChangeLog | 10 ++++ .../net-misc/novell-client-config/Manifest | 36 ++++++++++++ .../files/80novell-client | 6 ++ .../digest-novell-client-config-1.2.0_p12 | 3 + .../files/file_browser.conf | 10 ++++ .../novell-client-config/files/login.conf | 8 +++ .../novell-client-config/files/map.conf | 4 ++ .../novell-client-config/files/protocol.conf | 7 +++ .../novell-client-config/files/tray_app.conf | 17 ++++++ .../novell-client-config/metadata.xml | 5 ++ .../novell-client-config-1.2.0_p12.ebuild | 56 +++++++++++++++++++ .../net-misc/novell-client/ChangeLog | 4 ++ .../net-misc/novell-client/Manifest | 15 +++-- .../files/digest-novell-client-1.2.0_p2-r4 | 3 + .../novell-client-1.2.0_p2-r4.ebuild | 54 ++++++++++++++++++ 15 files changed, 234 insertions(+), 4 deletions(-) create mode 100644 trunk/novell4gentoo/net-misc/novell-client-config/ChangeLog create mode 100644 trunk/novell4gentoo/net-misc/novell-client-config/Manifest create mode 100644 trunk/novell4gentoo/net-misc/novell-client-config/files/80novell-client create mode 100644 trunk/novell4gentoo/net-misc/novell-client-config/files/digest-novell-client-config-1.2.0_p12 create mode 100644 trunk/novell4gentoo/net-misc/novell-client-config/files/file_browser.conf create mode 100644 trunk/novell4gentoo/net-misc/novell-client-config/files/login.conf create mode 100644 trunk/novell4gentoo/net-misc/novell-client-config/files/map.conf create mode 100644 trunk/novell4gentoo/net-misc/novell-client-config/files/protocol.conf create mode 100644 trunk/novell4gentoo/net-misc/novell-client-config/files/tray_app.conf create mode 100644 trunk/novell4gentoo/net-misc/novell-client-config/metadata.xml create mode 100644 trunk/novell4gentoo/net-misc/novell-client-config/novell-client-config-1.2.0_p12.ebuild create mode 100644 trunk/novell4gentoo/net-misc/novell-client/files/digest-novell-client-1.2.0_p2-r4 create mode 100644 trunk/novell4gentoo/net-misc/novell-client/novell-client-1.2.0_p2-r4.ebuild diff --git a/trunk/novell4gentoo/net-misc/novell-client-config/ChangeLog b/trunk/novell4gentoo/net-misc/novell-client-config/ChangeLog new file mode 100644 index 00000000..7e7747ae --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-client-config/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/novell-client-config +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 16 Nov 2006; Mario Fetka + +novell-client-config-1.2.0_p12.ebuild, +files/file_browser.conf, + +files/login.conf, +files/map.conf, +files/protocol.conf, + +files/tray_app.conf: + Initial Version of default Config for the Novell Client + diff --git a/trunk/novell4gentoo/net-misc/novell-client-config/Manifest b/trunk/novell4gentoo/net-misc/novell-client-config/Manifest new file mode 100644 index 00000000..b4edd8aa --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-client-config/Manifest @@ -0,0 +1,36 @@ +AUX 80novell-client 188 RMD160 c9f5ccaabd23f441d1dde94480cd1f90e3ba671e SHA1 3993c2ebed7b8acb6684823ee7cb3de4b604e129 SHA256 f42dce4698590bcf9233c7c4c6507ca42401f96dfa77ddb1cdbf4a58da6bc1c5 +MD5 895a867f6ea7abf1e943df77a265c2e9 files/80novell-client 188 +RMD160 c9f5ccaabd23f441d1dde94480cd1f90e3ba671e files/80novell-client 188 +SHA256 f42dce4698590bcf9233c7c4c6507ca42401f96dfa77ddb1cdbf4a58da6bc1c5 files/80novell-client 188 +AUX file_browser.conf 228 RMD160 17ba80fab84d999736781c0d57b3d56fad048bc4 SHA1 0add8d536f4e40b1e2bc5b717603a6e7f6b566ce SHA256 859c990957f1ee2e9433e02e3d82ff8c0ff0adbbec079f506686fe54ba16c70a +MD5 94e0b04608dd05631835f1e2bc65a4e2 files/file_browser.conf 228 +RMD160 17ba80fab84d999736781c0d57b3d56fad048bc4 files/file_browser.conf 228 +SHA256 859c990957f1ee2e9433e02e3d82ff8c0ff0adbbec079f506686fe54ba16c70a files/file_browser.conf 228 +AUX login.conf 157 RMD160 b64c994d432617fbbef5bf90fdf39d62d92c7f7b SHA1 2d92de93f9c17c9399c544aac320573bc0bd3c5f SHA256 f73dbc85f58b1f490619af5bf523a3080a9545fd1800a0cdd786f45a8335d146 +MD5 b66f21c25d84ccb0189e990bcc2c0440 files/login.conf 157 +RMD160 b64c994d432617fbbef5bf90fdf39d62d92c7f7b files/login.conf 157 +SHA256 f73dbc85f58b1f490619af5bf523a3080a9545fd1800a0cdd786f45a8335d146 files/login.conf 157 +AUX map.conf 70 RMD160 7282038822ca43aa8a6dd7fc97011040cd974850 SHA1 a2b7a85777778ed5ee0fd63851b001594ec95b26 SHA256 fef50cace34626e96153c8ccaa171343d31594c0140201effe8429c495e175b1 +MD5 db1573dcf60def9f66a2265b6f63eff4 files/map.conf 70 +RMD160 7282038822ca43aa8a6dd7fc97011040cd974850 files/map.conf 70 +SHA256 fef50cace34626e96153c8ccaa171343d31594c0140201effe8429c495e175b1 files/map.conf 70 +AUX protocol.conf 130 RMD160 1d8c50f5d51e1e4891165668861ce65b766e5877 SHA1 c63c8f936a48796eb6c00e142ae7e13ddab654a3 SHA256 50714fb34d9512effd7a58d31cfab5657809707fa666e1f272ae13f9a812782f +MD5 791af5358479b6ded17f578eaf62b962 files/protocol.conf 130 +RMD160 1d8c50f5d51e1e4891165668861ce65b766e5877 files/protocol.conf 130 +SHA256 50714fb34d9512effd7a58d31cfab5657809707fa666e1f272ae13f9a812782f files/protocol.conf 130 +AUX tray_app.conf 402 RMD160 785eea3a5e234f6a45de7dbce22c9849f5332adb SHA1 52b7b667da4be0946b16f8c507647475d6664b73 SHA256 c1c338fef2dfabb62d0d7ac4bae3acd94c42ae339e1dbfecc3ea30bb0655f9d8 +MD5 de92ac1f01db5f32aa861e47d38de5cc files/tray_app.conf 402 +RMD160 785eea3a5e234f6a45de7dbce22c9849f5332adb files/tray_app.conf 402 +SHA256 c1c338fef2dfabb62d0d7ac4bae3acd94c42ae339e1dbfecc3ea30bb0655f9d8 files/tray_app.conf 402 +DIST novell-client-1.2-SLE10.tar.gz 13963983 RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 SHA1 14278f74c8226afabc0c602bdc31d4e20acff6b9 SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241 +EBUILD novell-client-config-1.2.0_p12.ebuild 1831 RMD160 b514ec0e78b5f106f39f7b68242ee6ed66146cf1 SHA1 9b4baff236272f5ef1e3adb51961216eed42d19c SHA256 6847b631cec0f8d4c7ec1f91d714798f1d7c173b1900e106e1387fcde59b312c +MD5 dfd6a5c63ebccbdcf1c2b4f6b4d9ce42 novell-client-config-1.2.0_p12.ebuild 1831 +RMD160 b514ec0e78b5f106f39f7b68242ee6ed66146cf1 novell-client-config-1.2.0_p12.ebuild 1831 +SHA256 6847b631cec0f8d4c7ec1f91d714798f1d7c173b1900e106e1387fcde59b312c novell-client-config-1.2.0_p12.ebuild 1831 +MISC ChangeLog 389 RMD160 2cace2dbea70ca5a5f200cd5828ffb0f92477f57 SHA1 877ed3c98cf29c24cbcf5afc242542ce94497bfe SHA256 8b5c1f26650fbc405e45f35f9c4607afb8bef776bc7012aa3b4c4e75ab02d945 +MD5 472f875d83381fd3ea6d54b251bcd551 ChangeLog 389 +RMD160 2cace2dbea70ca5a5f200cd5828ffb0f92477f57 ChangeLog 389 +SHA256 8b5c1f26650fbc405e45f35f9c4607afb8bef776bc7012aa3b4c4e75ab02d945 ChangeLog 389 +MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-client-config-1.2.0_p12 277 +RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-client-config-1.2.0_p12 277 +SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-client-config-1.2.0_p12 277 diff --git a/trunk/novell4gentoo/net-misc/novell-client-config/files/80novell-client b/trunk/novell4gentoo/net-misc/novell-client-config/files/80novell-client new file mode 100644 index 00000000..53f45461 --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-client-config/files/80novell-client @@ -0,0 +1,6 @@ +NOVELL_CLIENT_DIR=/opt/novell/ncl +PATH=/opt/novell/ncl/bin +ROOTPATH=/opt/novell/ncl/bin +MANPATH=/opt/novell/man +LDPATH=/opt/novell/lib +PRELINK_PATH_MASK=/opt/novell/lib:/opt/novell/ncl/bin \ No newline at end of file diff --git a/trunk/novell4gentoo/net-misc/novell-client-config/files/digest-novell-client-config-1.2.0_p12 b/trunk/novell4gentoo/net-misc/novell-client-config/files/digest-novell-client-config-1.2.0_p12 new file mode 100644 index 00000000..9702858d --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-client-config/files/digest-novell-client-config-1.2.0_p12 @@ -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 diff --git a/trunk/novell4gentoo/net-misc/novell-client-config/files/file_browser.conf b/trunk/novell4gentoo/net-misc/novell-client-config/files/file_browser.conf new file mode 100644 index 00000000..ecd0e001 --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-client-config/files/file_browser.conf @@ -0,0 +1,10 @@ +# File Browser defaults +Navigation_Panel_Icon=true; +Novell_Properties=true; +Purge_Novell_Files=true; +Salvage_Novell_Files=true; +File_Folder_Information=true; +Novell_Rights=true; +Volume_Information=true; +Volume_Statistics=true; + diff --git a/trunk/novell4gentoo/net-misc/novell-client-config/files/login.conf b/trunk/novell4gentoo/net-misc/novell-client-config/files/login.conf new file mode 100644 index 00000000..86575eae --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-client-config/files/login.conf @@ -0,0 +1,8 @@ +# Login defaults +NMAS_Authentication=true +Clear_Username=false +Advanced_Button=true +Integrated_Login=true +Display_Results=true +Default_Tree= +Default_Context= \ No newline at end of file diff --git a/trunk/novell4gentoo/net-misc/novell-client-config/files/map.conf b/trunk/novell4gentoo/net-misc/novell-client-config/files/map.conf new file mode 100644 index 00000000..0ff29371 --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-client-config/files/map.conf @@ -0,0 +1,4 @@ +# Map defaults +Map_Link_Default_Location=%HOME +First_Network_Drive=F + diff --git a/trunk/novell4gentoo/net-misc/novell-client-config/files/protocol.conf b/trunk/novell4gentoo/net-misc/novell-client-config/files/protocol.conf new file mode 100644 index 00000000..1e7a8bd2 --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-client-config/files/protocol.conf @@ -0,0 +1,7 @@ +# Protocol defaults +Name_Resolution_Providers=DNS,NCP,SLP +Signature_Level=1 +DHCP_Tree=false +DHCP_Context=false +DHCP_Server=false + diff --git a/trunk/novell4gentoo/net-misc/novell-client-config/files/tray_app.conf b/trunk/novell4gentoo/net-misc/novell-client-config/files/tray_app.conf new file mode 100644 index 00000000..9dc8d4ef --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-client-config/files/tray_app.conf @@ -0,0 +1,17 @@ +# Tray Application defaults +Launch_Tray_App=true +Novell_Login=true +Novell_Logout=true +Novell_Connections=true +Change_Password=true +Novell_Map_Directory=true +Disconnect_Novell_Mapped_Directory=true +Novell_Utilities=true +Novell_Client_Documentation=true +User_Administration=true +User_Preferences=true + +# Dont use the following Function +# we are on gentoo SuSE Yast2 is not present +System_Settings=false + diff --git a/trunk/novell4gentoo/net-misc/novell-client-config/metadata.xml b/trunk/novell4gentoo/net-misc/novell-client-config/metadata.xml new file mode 100644 index 00000000..7e328698 --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-client-config/metadata.xml @@ -0,0 +1,5 @@ + + + +maintainer-wanted + diff --git a/trunk/novell4gentoo/net-misc/novell-client-config/novell-client-config-1.2.0_p12.ebuild b/trunk/novell4gentoo/net-misc/novell-client-config/novell-client-config-1.2.0_p12.ebuild new file mode 100644 index 00000000..40c1c6ba --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-client-config/novell-client-config-1.2.0_p12.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2006 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 Configuration" +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="Novell-NCL" +SLOT="0" +KEYWORDS="~x86" +IUSE="gtk" + +DEPEND="" + +RDEPEND="virtual/libc + >=app-crypt/novell-nici-2.7.0_p001 + >=net-misc/novell-client-script-1.2.0_p38 + >=net-nds/novell-xtier-base-3.1.4_p4" + +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/yast2-novell-client-${MY_PV}.i586.rpm +} + +src_compile() { :; } + +src_install() { + chmod 755 "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/ncl/bin + mkdir -p "${WORKDIR}/${PN}-${MY_PV}"/etc/opt/novell/ncl + cp "${FILESDIR}"/*.conf "${WORKDIR}/${PN}-${MY_PV}"/etc/opt/novell/ncl + chmod -R +r "${WORKDIR}/${PN}-${MY_PV}"/etc/opt + rm -rf "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/ncl/bin/install_yast_icons + rm -rf "${WORKDIR}/${PN}-${MY_PV}"/usr/share/YaST2 + rm -rf "${WORKDIR}/${PN}-${MY_PV}"/usr/share/applications + mv "${WORKDIR}/${PN}-${MY_PV}"/usr/share/doc/packages/yast2-novell-client "${WORKDIR}/${PN}-${MY_PV}"/usr/share/doc/${P} + mv "${WORKDIR}/${PN}-${MY_PV}"/etc "${D}"/ || die "mv etc" + mv "${WORKDIR}/${PN}-${MY_PV}"/opt "${D}"/ || die "mv opt" + mv "${WORKDIR}/${PN}-${MY_PV}"/usr "${D}"/ || die "mv usr" + + insinto /etc/env.d + doins "${FILESDIR}"/80novell-client +} + +pkg_postinst(){ + einfo "Please run /opt/novell/ncl/bin/ncl_conf_xtier to import the config defaults" + einfo " from /etc/opt/novell/ncl/*.conf into the xtier registry Server" +} diff --git a/trunk/novell4gentoo/net-misc/novell-client/ChangeLog b/trunk/novell4gentoo/net-misc/novell-client/ChangeLog index 33f24f4b..0d067fc5 100644 --- a/trunk/novell4gentoo/net-misc/novell-client/ChangeLog +++ b/trunk/novell4gentoo/net-misc/novell-client/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 16 Nov 2006; Mario Fetka + +novell-client-1.2.0_p2-r4.ebuild: + Add Dependency for default Config + 18 Oct 2006; Mario Fetka files/80novell-client, +novell-client-1.2.0_p2-r3.ebuild: Add Novell Packages to PRELINK_MASK_PATH. diff --git a/trunk/novell4gentoo/net-misc/novell-client/Manifest b/trunk/novell4gentoo/net-misc/novell-client/Manifest index 366a5950..fcb2c7ed 100644 --- a/trunk/novell4gentoo/net-misc/novell-client/Manifest +++ b/trunk/novell4gentoo/net-misc/novell-client/Manifest @@ -15,10 +15,14 @@ EBUILD novell-client-1.2.0_p2-r3.ebuild 1544 RMD160 77519ae5c59ed1b2f059196aee39 MD5 acfaf592c14342d8df0f6a32fdf193d1 novell-client-1.2.0_p2-r3.ebuild 1544 RMD160 77519ae5c59ed1b2f059196aee39b7dab2172e14 novell-client-1.2.0_p2-r3.ebuild 1544 SHA256 c22854f4c89797432c1d7fa17ef4b2eb79b2bf2070ea9fed473c2b3b0b9f68a3 novell-client-1.2.0_p2-r3.ebuild 1544 -MISC ChangeLog 586 RMD160 4734e3eb71d2975e461803c9946bcd58f202f8dd SHA1 8a2db9439834ac6b7cea168ea0c75dad9c8af311 SHA256 b7a7c9a7915bede3f9fbc07a8bc78cb7885a5ffb4160156c00fc7151775796bf -MD5 069fe7e5e9620bd653004ce4a54e4a5c ChangeLog 586 -RMD160 4734e3eb71d2975e461803c9946bcd58f202f8dd ChangeLog 586 -SHA256 b7a7c9a7915bede3f9fbc07a8bc78cb7885a5ffb4160156c00fc7151775796bf ChangeLog 586 +EBUILD novell-client-1.2.0_p2-r4.ebuild 1587 RMD160 91ae4bc4a49d0c5bedb936083bccd9f9587cd75d SHA1 49f1d45e164da4d8973b2aaa01a8b21e62eb317e SHA256 0a342ec8e7e56353520314a83dd7c7000f2b26ac82cd4e988fd45ce4355546e5 +MD5 b534d4a454368a27b2cf40d79f07e7ad novell-client-1.2.0_p2-r4.ebuild 1587 +RMD160 91ae4bc4a49d0c5bedb936083bccd9f9587cd75d novell-client-1.2.0_p2-r4.ebuild 1587 +SHA256 0a342ec8e7e56353520314a83dd7c7000f2b26ac82cd4e988fd45ce4355546e5 novell-client-1.2.0_p2-r4.ebuild 1587 +MISC ChangeLog 708 RMD160 34bc2056121d2c4f9cbb2972182681e692df323c SHA1 a469d066a19df74ae92cacabfe0f873d7803c7ac SHA256 bced18976cfca855a077e62a49bfb2700d0f7ae7a85ba25f1aac1104e193f32e +MD5 30aed5fcabce91f5c24131ceeceb0ec9 ChangeLog 708 +RMD160 34bc2056121d2c4f9cbb2972182681e692df323c ChangeLog 708 +SHA256 bced18976cfca855a077e62a49bfb2700d0f7ae7a85ba25f1aac1104e193f32e ChangeLog 708 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 @@ -32,3 +36,6 @@ SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/di MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-client-1.2.0_p2-r3 277 RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-client-1.2.0_p2-r3 277 SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-client-1.2.0_p2-r3 277 +MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-client-1.2.0_p2-r4 277 +RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-client-1.2.0_p2-r4 277 +SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-client-1.2.0_p2-r4 277 diff --git a/trunk/novell4gentoo/net-misc/novell-client/files/digest-novell-client-1.2.0_p2-r4 b/trunk/novell4gentoo/net-misc/novell-client/files/digest-novell-client-1.2.0_p2-r4 new file mode 100644 index 00000000..9702858d --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-client/files/digest-novell-client-1.2.0_p2-r4 @@ -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 diff --git a/trunk/novell4gentoo/net-misc/novell-client/novell-client-1.2.0_p2-r4.ebuild b/trunk/novell4gentoo/net-misc/novell-client/novell-client-1.2.0_p2-r4.ebuild new file mode 100644 index 00000000..6683dfd6 --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-client/novell-client-1.2.0_p2-r4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils rpm + +MY_PV="${PV/_p/-}" + +DESCRIPTION="Novell Modules for Login Script Procssing" +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="Novell-NCL" +SLOT="0" +KEYWORDS="~x86" +IUSE="gtk" + +DEPEND="" + +RDEPEND="virtual/libc + >=app-crypt/novell-nici-2.7.0_p001 + >=net-misc/novell-client-script-1.2.0_p38 + >=net-misc/novell-client-config-1.2.0_p12 + >=sys-auth/novell-nmasclient-3.2.0_p9 + >=net-fs/novell-novfs-1.2.0_p17 + >=net-fs/novell-novfsd-1.2.0_p8 + >=kde-misc/novell-qtgui-1.2.0_p323 + >=kde-misc/novell-ui-base-1.2.0_p323 + >=sys-libs/novell-xplatlib-1.0.2_p5 + >=net-nds/novell-xtier-base-3.1.4_p4 + >=sys-auth/novell-nmasclient-3.2.0_p9" + +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() { + chmod 755 "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/ncl/bin + chmod -R 755 "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/man + rm -rf "${WORKDIR}/${PN}-${MY_PV}"/etc + mv "${WORKDIR}/${PN}-${MY_PV}"/usr/share/doc/packages/${PN} "${WORKDIR}/${PN}-${MY_PV}"/usr/share/doc/${P} + mv "${WORKDIR}/${PN}-${MY_PV}"/opt "${D}"/ || die "mv opt" + mv "${WORKDIR}/${PN}-${MY_PV}"/usr "${D}"/ || die "mv usr" + + insinto /etc/env.d + doins "${FILESDIR}"/80novell-client +} \ No newline at end of file