From aa97d0a467912027665eb5e3ac531f969819662f Mon Sep 17 00:00:00 2001 From: geos_one Date: Fri, 16 Jan 2009 13:40:25 +0000 Subject: [PATCH] sys-auth/novell-nmasclient: Bump and use my rpm5 eclass --- .../sys-auth/novell-nmasclient/ChangeLog | 6 +- .../sys-auth/novell-nmasclient/Manifest | 4 +- .../novell-nmasclient-3.4.0_p21.ebuild | 110 ++++++++++++++++++ 3 files changed, 117 insertions(+), 3 deletions(-) create mode 100644 trunk/novell4gentoo/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p21.ebuild diff --git a/trunk/novell4gentoo/sys-auth/novell-nmasclient/ChangeLog b/trunk/novell4gentoo/sys-auth/novell-nmasclient/ChangeLog index c8e1be40..362634af 100644 --- a/trunk/novell4gentoo/sys-auth/novell-nmasclient/ChangeLog +++ b/trunk/novell4gentoo/sys-auth/novell-nmasclient/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for sys-auth/novell-nmasclient -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 16 Jan 2009; Mario Fetka + +novell-nmasclient-3.4.0_p21.ebuild: + Bump and use my rpm5 eclass + 03 Nov 2008; Mario Fetka +novell-nmasclient-3.4.0_p20.ebuild, +novell-nmasclient-3.4.0_p20-r1.ebuild: diff --git a/trunk/novell4gentoo/sys-auth/novell-nmasclient/Manifest b/trunk/novell4gentoo/sys-auth/novell-nmasclient/Manifest index 86c9fddb..f3555776 100644 --- a/trunk/novell4gentoo/sys-auth/novell-nmasclient/Manifest +++ b/trunk/novell4gentoo/sys-auth/novell-nmasclient/Manifest @@ -11,6 +11,6 @@ DIST novell-client-2.0-sle10sp1-x86_64.iso 11649024 RMD160 4f3a08e9cfea2b78072ba EBUILD novell-nmasclient-3.4.0_p17.ebuild 3093 RMD160 4fe555b56dd9d9499e9667b628b5e0ea1e2acb87 SHA1 9f02529f586939d2c8edb5c5646d2c5b11fd5090 SHA256 f7ae06218033a326df8e2979e95820b0dccdc966c21cbb15ceafaaa39130de85 EBUILD novell-nmasclient-3.4.0_p20-r1.ebuild 3103 RMD160 c6ac69a7c9a87a46a306fd08f25c9e8cc0132f05 SHA1 aca1adbe6455b86256aa7bdfc935bade31dfde61 SHA256 5761645043d7e014c33c03d6e9ed10ae74a52b8c794780789083a73cbba26cd7 EBUILD novell-nmasclient-3.4.0_p20.ebuild 3101 RMD160 2e42c45ca0c2c62c3a79ccf34079cd7dfb7cdefa SHA1 037cd94fb7926961544c6edbb2dc3dd076dcac3a SHA256 3e95275685247a9f57a99dc985aa221ba8ce7507f86e48dd4fb615b878de14e1 -EBUILD novell-nmasclient-3.4.0_p21.ebuild 3106 RMD160 c64761f01c64d8f189e9c0e135d1b76662cd4c9c SHA1 9691c9b0132f160ab989be10a33f6ea5c06b21df SHA256 da15fda3f3cf0ce36e98610ad43f0e03dc85c3b2bf80e050b2bd8d9fa80b6398 -MISC ChangeLog 1209 RMD160 e38799790fee21c10f69ecf264c5d73cbc016567 SHA1 23e0217b33069278be97d0a6c01c985e6d6bd1eb SHA256 2671f88f937b700b6ce51261273a96b19936bc74be3682332f88442a1e4ef85c +EBUILD novell-nmasclient-3.4.0_p21.ebuild 3106 RMD160 8138824ddc20218fbb54afec3a1e11366f070dff SHA1 fff741219a0eb9ae642054a4f67559430cf72500 SHA256 136a722019361cd363c61dd7222ab10d1c5c3c41e4707177a62e8160e7066936 +MISC ChangeLog 1330 RMD160 7f2164015ec3d3f817f9366675a6ccb722330f71 SHA1 e6bbe51e4db0951b53acf7bc97ead812ecf04e76 SHA256 6a05f39209953813f53e9f979d3d74aabbb7af97e3562fc0d22e1c65f7318828 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p21.ebuild b/trunk/novell4gentoo/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p21.ebuild new file mode 100644 index 00000000..0f875467 --- /dev/null +++ b/trunk/novell4gentoo/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p21.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="CuRXfXSzq7M~" +NOVELL_FILE32="Novell_Client_SLE11-i586-20081218-CD1.iso" +NOVELL_FILE64="Novell_Client_SLE11-x86_64-20081218-CD1.iso" +RESTRICT="mirror strip" + +inherit novell eutils rpm5 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/${NOVELL_BUILDID}/${NOVELL_FILE32} ) + multilib? ( 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" +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):" + if use x86 + then + einfo " - ${NOVELL_FILE32}" + elif use amd64 + then + einfo " - ${NOVELL_FILE64}" + if use multilib + then + einfo " - ${NOVELL_FILE32}" + fi + fi + einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}" + einfo "and place them 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" +}