From bb407fc3790ade4187cb84cffb288cd744b48359 Mon Sep 17 00:00:00 2001 From: geos_one Date: Thu, 1 Nov 2007 10:51:06 +0000 Subject: [PATCH] sys-auth/novell-nmasclient: initial import novell client 2.0 --- .../sys-auth/novell-nmasclient/ChangeLog | 4 + .../sys-auth/novell-nmasclient/Manifest | 21 +++- .../files/80novell-nmasclient64 | 5 + .../files/digest-novell-nmasclient-3.4.0_p17 | 6 + .../novell-nmasclient-3.4.0_p17.ebuild | 104 ++++++++++++++++++ 5 files changed, 136 insertions(+), 4 deletions(-) create mode 100644 trunk/novell4gentoo/sys-auth/novell-nmasclient/files/80novell-nmasclient64 create mode 100644 trunk/novell4gentoo/sys-auth/novell-nmasclient/files/digest-novell-nmasclient-3.4.0_p17 create mode 100644 trunk/novell4gentoo/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p17.ebuild diff --git a/trunk/novell4gentoo/sys-auth/novell-nmasclient/ChangeLog b/trunk/novell4gentoo/sys-auth/novell-nmasclient/ChangeLog index 39e4b643..c867e5ca 100644 --- a/trunk/novell4gentoo/sys-auth/novell-nmasclient/ChangeLog +++ b/trunk/novell4gentoo/sys-auth/novell-nmasclient/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 01 Nov 2007; Mario Fetka + +files/80novell-nmasclient64, +novell-nmasclient-3.4.0_p17.ebuild: + initial import novell client 2.0 + 04 Apr 2007; Mario Fetka -novell-nmasclient-3.2.0_p9-r1.ebuild, -novell-nmasclient-3.2.0_p9-r2.ebuild: diff --git a/trunk/novell4gentoo/sys-auth/novell-nmasclient/Manifest b/trunk/novell4gentoo/sys-auth/novell-nmasclient/Manifest index 48167686..1d9574a9 100644 --- a/trunk/novell4gentoo/sys-auth/novell-nmasclient/Manifest +++ b/trunk/novell4gentoo/sys-auth/novell-nmasclient/Manifest @@ -2,15 +2,25 @@ AUX 80novell-nmasclient 224 RMD160 804252e857ecc4bbe8ca86cb55eb799cde41183c SHA1 MD5 c5b6025ca11fa0ba7f0ce9adcd06aa8a files/80novell-nmasclient 224 RMD160 804252e857ecc4bbe8ca86cb55eb799cde41183c files/80novell-nmasclient 224 SHA256 f30c6930152e8923df12f590f723e0369f7c3e8045a9c1445361ddc328ea8999 files/80novell-nmasclient 224 +AUX 80novell-nmasclient64 288 RMD160 06117f95845084c85ab32efbe9e68a17adcce285 SHA1 ca2b2f0824795b8878ad03ad85a47bb06a364344 SHA256 e88434c5fd93939c04356ac99dee523ea0bfc4303edfb3045fb1db1fcc8eb3e2 +MD5 79822561186e98c750277eaa44497134 files/80novell-nmasclient64 288 +RMD160 06117f95845084c85ab32efbe9e68a17adcce285 files/80novell-nmasclient64 288 +SHA256 e88434c5fd93939c04356ac99dee523ea0bfc4303edfb3045fb1db1fcc8eb3e2 files/80novell-nmasclient64 288 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-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 -MISC ChangeLog 769 RMD160 33653a9210df281868929ea7b22a759e573923b7 SHA1 2e6665552b55f973316d52ea8f6e27ed72c9fb4c SHA256 56b1ca49c52345157a24d6e47d8797fcae6de346d08ec5f5ccaba2d230f688ce -MD5 9c68d56de9ebf397a5924299e3454a11 ChangeLog 769 -RMD160 33653a9210df281868929ea7b22a759e573923b7 ChangeLog 769 -SHA256 56b1ca49c52345157a24d6e47d8797fcae6de346d08ec5f5ccaba2d230f688ce ChangeLog 769 +EBUILD novell-nmasclient-3.4.0_p17.ebuild 3119 RMD160 5010d36ac4f303d7c3530f8587bcc048af2feafa SHA1 b141673db0eb324d7b8d0faa65c87b79539218a8 SHA256 c2b518905ab7bd2eb9c562a2e98702d854d53cbf74c1608e861f552f4f42fb07 +MD5 7601389a8f661d19e91dc40cd0a4b0c4 novell-nmasclient-3.4.0_p17.ebuild 3119 +RMD160 5010d36ac4f303d7c3530f8587bcc048af2feafa novell-nmasclient-3.4.0_p17.ebuild 3119 +SHA256 c2b518905ab7bd2eb9c562a2e98702d854d53cbf74c1608e861f552f4f42fb07 novell-nmasclient-3.4.0_p17.ebuild 3119 +MISC ChangeLog 922 RMD160 61c5593e73f819a24ad22bb0adeee23b2b79026d SHA1 c04fc1d5fb92c763d6863c6a3018987c2cc4db93 SHA256 56f92fc2480eede664271266a91452868c0c339e2932e634fb82b6e67c5dcf3b +MD5 3055e3264d6ef73e5f0e70db27d02196 ChangeLog 922 +RMD160 61c5593e73f819a24ad22bb0adeee23b2b79026d ChangeLog 922 +SHA256 56f92fc2480eede664271266a91452868c0c339e2932e634fb82b6e67c5dcf3b ChangeLog 922 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 @@ -18,3 +28,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata 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 3332466877e3a8abab8294e669c4b312 files/digest-novell-nmasclient-3.4.0_p17 590 +RMD160 4674f6c84c589734b5ce983d3441b35dff1fd412 files/digest-novell-nmasclient-3.4.0_p17 590 +SHA256 024a6db7c5a121d6c96d32d8371e61d6a79825ede5aca48c1ea77e9e49e939cb files/digest-novell-nmasclient-3.4.0_p17 590 diff --git a/trunk/novell4gentoo/sys-auth/novell-nmasclient/files/80novell-nmasclient64 b/trunk/novell4gentoo/sys-auth/novell-nmasclient/files/80novell-nmasclient64 new file mode 100644 index 00000000..b681a6b9 --- /dev/null +++ b/trunk/novell4gentoo/sys-auth/novell-nmasclient/files/80novell-nmasclient64 @@ -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/lib32:/opt/novell/nmas/client/lib64 +PRELINK_PATH_MASK=/opt/novell/nmas/client/lib32:/opt/novell/nmas/client/lib64:/opt/novell/nmas/client/bin \ No newline at end of file diff --git a/trunk/novell4gentoo/sys-auth/novell-nmasclient/files/digest-novell-nmasclient-3.4.0_p17 b/trunk/novell4gentoo/sys-auth/novell-nmasclient/files/digest-novell-nmasclient-3.4.0_p17 new file mode 100644 index 00000000..5e51de82 --- /dev/null +++ b/trunk/novell4gentoo/sys-auth/novell-nmasclient/files/digest-novell-nmasclient-3.4.0_p17 @@ -0,0 +1,6 @@ +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/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p17.ebuild b/trunk/novell4gentoo/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p17.ebuild new file mode 100644 index 00000000..aaf747b2 --- /dev/null +++ b/trunk/novell4gentoo/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p17.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="pvOi9l3qYn4~" +NOVELL_FILE32="novell-client-2.0-sle10sp1-i386.iso" +NOVELL_FILE64="novell-client-2.0-sle10sp1-x86_64.iso" +RESTRICT="mirror strip" + +inherit novell eutils rpm multilib + +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/${NOVELL_BUILDID}/${NOVELL_FILE32} + amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64} )" + +LICENSE="Novell-ncl-EULA" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=app-arch/p7zip-4.15" + +RDEPEND="virtual/libc + >=app-crypt/novell-nici-2.7.3_p12" + +src_unpack() { + cd ${WORKDIR} + if use x86 + then + narch=i586 + nlib=lib + + 7z x ${DISTDIR}/${NOVELL_FILE32} + mkdir -p ${WORKDIR}/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ${WORKDIR}/suse/${narch}/${PN}-${MY_PV}.${narch}.rpm + elif use amd64 + then + narch=x86_64 + nlib=lib64 + + if has_multilib_profile + then + 7z x ${DISTDIR}/${NOVELL_FILE32} + fi + 7z x -y ${DISTDIR}/${NOVELL_FILE64} + mkdir -p ${WORKDIR}/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ${WORKDIR}/suse/${narch}/${PN}-${MY_PV}.${narch}.rpm + + if has_multilib_profile + then + rpm_unpack ${WORKDIR}/suse/i586/${PN}-${MY_PV}.i586.rpm + fi + + fi +} + +src_compile() { :; } + +src_install() { + into /opt/novell/nmas/client/ + dobin ${WORKDIR}/${PN}-${MY_PV}/opt/novell/nmas/client/bin/* + + if use x86 + then + dolib.so ${WORKDIR}/${PN}-${MY_PV}/opt/novell/nmas/client/${nlib}/* + elif has_multilib_profile + then + dolib.so ${WORKDIR}/${PN}-${MY_PV}/opt/novell/nmas/client/${nlib}/* + ABI="x86" dolib.so ${WORKDIR}/${PN}-${MY_PV}/opt/novell/nmas/client/lib/* + else + dolib.so ${WORKDIR}/${PN}-${MY_PV}/opt/novell/nmas/client/${nlib}/* + fi + + if use x86 + then + doenvd "${FILESDIR}"/80novell-nmasclient + elif use amd64 + then + doenvd "${FILESDIR}"/80novell-nmasclient64 + fi +} + +pkg_nofetch() { + einfo "This files require you to register at ${HOMEPAGE} (free account)" + einfo "Please download following file(s):" + einfo " - ${NOVELL_FILE32}" + if 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" +}