From 1e7fbfc84c0959eae839bc13feaac15147a2b093 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 4 Aug 2007 21:30:50 +0000 Subject: [PATCH] amd64 nmasclient with multilib support --- .../sys-auth/novell-nmasclient/ChangeLog | 4 + .../sys-auth/novell-nmasclient/Manifest | 11 +++ .../files/80novell-nmasclient64 | 5 ++ .../files/digest-novell-nmasclient-3.4.0_p10 | 6 ++ .../digest-novell-nmasclient-3.4.0_p10-r1 | 6 ++ .../novell-nmasclient-3.4.0_p10-r1.ebuild | 84 +++++++++++++++++++ 6 files changed, 116 insertions(+) create mode 100644 branches/experimental/sys-auth/novell-nmasclient/files/80novell-nmasclient64 create mode 100644 branches/experimental/sys-auth/novell-nmasclient/files/digest-novell-nmasclient-3.4.0_p10 create mode 100644 branches/experimental/sys-auth/novell-nmasclient/files/digest-novell-nmasclient-3.4.0_p10-r1 create mode 100644 branches/experimental/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p10-r1.ebuild diff --git a/branches/experimental/sys-auth/novell-nmasclient/ChangeLog b/branches/experimental/sys-auth/novell-nmasclient/ChangeLog index 39e4b64..d751565 100644 --- a/branches/experimental/sys-auth/novell-nmasclient/ChangeLog +++ b/branches/experimental/sys-auth/novell-nmasclient/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 04 Aug 2007; Mario Fetka + +files/80novell-nmasclient64, +novell-nmasclient-3.4.0_p10-r1.ebuild: + make nmasclient multilib aware + 04 Apr 2007; Mario Fetka -novell-nmasclient-3.2.0_p9-r1.ebuild, -novell-nmasclient-3.2.0_p9-r2.ebuild: diff --git a/branches/experimental/sys-auth/novell-nmasclient/Manifest b/branches/experimental/sys-auth/novell-nmasclient/Manifest index d8af875..2b49633 100644 --- a/branches/experimental/sys-auth/novell-nmasclient/Manifest +++ b/branches/experimental/sys-auth/novell-nmasclient/Manifest @@ -2,6 +2,10 @@ 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_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 @@ -9,6 +13,10 @@ EBUILD novell-nmasclient-3.2.0_p9-r3.ebuild 926 RMD160 6f1160c56e08cf33a82d34b75 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-r1.ebuild 2505 RMD160 e58d0b117e98b7dcea6fb6c0423e60fdf298ce99 SHA1 e2a99d11f51865dc0cb7db3488976d975eae6bf8 SHA256 6a26520dfccdf896bd0cf1613ac266322829cfbd3febd6ce28eea39430e879f7 +MD5 e1043c72867d12122bfea26de1f28a79 novell-nmasclient-3.4.0_p10-r1.ebuild 2505 +RMD160 e58d0b117e98b7dcea6fb6c0423e60fdf298ce99 novell-nmasclient-3.4.0_p10-r1.ebuild 2505 +SHA256 6a26520dfccdf896bd0cf1613ac266322829cfbd3febd6ce28eea39430e879f7 novell-nmasclient-3.4.0_p10-r1.ebuild 2505 EBUILD novell-nmasclient-3.4.0_p10.ebuild 1222 RMD160 4091306b5f09c6270f71300703675389bdee06c2 SHA1 950e4ea13667909981979b78a63b22b45b76d74a SHA256 bd6b4051f904c73aef58fccf478200f92ab82ec9c1ac8a0bdb0dc8fab86c384f MD5 e6470c5c823917bb6272c7c3df771148 novell-nmasclient-3.4.0_p10.ebuild 1222 RMD160 4091306b5f09c6270f71300703675389bdee06c2 novell-nmasclient-3.4.0_p10.ebuild 1222 @@ -27,3 +35,6 @@ SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/di 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 +MD5 ec699dae9428f5ecd71e3b6fdc0b8405 files/digest-novell-nmasclient-3.4.0_p10-r1 626 +RMD160 a08fca1bf3e2cb25ea5b9fb70f27de63c0e9974a files/digest-novell-nmasclient-3.4.0_p10-r1 626 +SHA256 d20395db16f0e2a59b7411ac9ea0817b657bd9804d54da40d459a518a13b5153 files/digest-novell-nmasclient-3.4.0_p10-r1 626 diff --git a/branches/experimental/sys-auth/novell-nmasclient/files/80novell-nmasclient64 b/branches/experimental/sys-auth/novell-nmasclient/files/80novell-nmasclient64 new file mode 100644 index 0000000..b681a6b --- /dev/null +++ b/branches/experimental/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/branches/experimental/sys-auth/novell-nmasclient/files/digest-novell-nmasclient-3.4.0_p10 b/branches/experimental/sys-auth/novell-nmasclient/files/digest-novell-nmasclient-3.4.0_p10 new file mode 100644 index 0000000..3dc529b --- /dev/null +++ b/branches/experimental/sys-auth/novell-nmasclient/files/digest-novell-nmasclient-3.4.0_p10 @@ -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 diff --git a/branches/experimental/sys-auth/novell-nmasclient/files/digest-novell-nmasclient-3.4.0_p10-r1 b/branches/experimental/sys-auth/novell-nmasclient/files/digest-novell-nmasclient-3.4.0_p10-r1 new file mode 100644 index 0000000..3dc529b --- /dev/null +++ b/branches/experimental/sys-auth/novell-nmasclient/files/digest-novell-nmasclient-3.4.0_p10-r1 @@ -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 diff --git a/branches/experimental/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p10-r1.ebuild b/branches/experimental/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p10-r1.ebuild new file mode 100644 index 0000000..6939e42 --- /dev/null +++ b/branches/experimental/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p10-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils rpm multilib + +MY_PV="${PV/_p/-}" + +DESCRIPTION="Novell NMAS Client for Linux" +HOMEPAGE="http://www.novell.com" +SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-i386-2007531-CD1.iso ) + multilib? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-i386-2007531-CD1.iso ) + amd64? ( 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=">=app-arch/p7zip-4.15" + +RDEPEND="virtual/libc + >=app-crypt/novell-nici-2.7.3_p5-r1" + +RESTRICT="nomirror strip" + +src_unpack() { + cd ${WORKDIR} + if use x86 + then + narch=i586 + nlib=lib + + 7z x ${DISTDIR}/Novell_Client_SLED10-i386-2007531-CD1.iso + 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_Client_SLED10-i386-2007531-CD1.iso + fi + 7z x -y ${DISTDIR}/Novell_Client_SLED10-x86_64-2007531-CD1.iso + 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 +} \ No newline at end of file