From d90ebaeb0e7f5cefed6ebf4a351ec9406431c38b Mon Sep 17 00:00:00 2001 From: geos_one Date: Thu, 1 Nov 2007 10:53:32 +0000 Subject: [PATCH] sys-libs/novell-xplatlib: initial import novell client 2.0 --- .../sys-libs/novell-xplatlib/ChangeLog | 4 + .../sys-libs/novell-xplatlib/Manifest | 21 ++++- .../sys-libs/novell-xplatlib/files/80novell64 | 5 ++ .../files/digest-novell-xplatlib-1.0.3_p31 | 6 ++ .../novell-xplatlib-1.0.3_p31.ebuild | 88 +++++++++++++++++++ 5 files changed, 120 insertions(+), 4 deletions(-) create mode 100644 trunk/novell4gentoo/sys-libs/novell-xplatlib/files/80novell64 create mode 100644 trunk/novell4gentoo/sys-libs/novell-xplatlib/files/digest-novell-xplatlib-1.0.3_p31 create mode 100644 trunk/novell4gentoo/sys-libs/novell-xplatlib/novell-xplatlib-1.0.3_p31.ebuild diff --git a/trunk/novell4gentoo/sys-libs/novell-xplatlib/ChangeLog b/trunk/novell4gentoo/sys-libs/novell-xplatlib/ChangeLog index 20bae96..859bd6e 100644 --- a/trunk/novell4gentoo/sys-libs/novell-xplatlib/ChangeLog +++ b/trunk/novell4gentoo/sys-libs/novell-xplatlib/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 01 Nov 2007; Mario Fetka +files/80novell64, + +novell-xplatlib-1.0.3_p31.ebuild: + initial import novell client 2.0 + 04 Apr 2007; Mario Fetka -novell-xplatlib-1.0.2_p5-r2.ebuild, -novell-xplatlib-1.0.2_p5-r3.ebuild: Drop old buggy Ebuild diff --git a/trunk/novell4gentoo/sys-libs/novell-xplatlib/Manifest b/trunk/novell4gentoo/sys-libs/novell-xplatlib/Manifest index ef07195..120c7ba 100644 --- a/trunk/novell4gentoo/sys-libs/novell-xplatlib/Manifest +++ b/trunk/novell4gentoo/sys-libs/novell-xplatlib/Manifest @@ -2,15 +2,25 @@ AUX 80novell 175 RMD160 6706cbb05c0079b008b1e35a74518b137c1842c4 SHA1 ce625b90ee MD5 1cb295c31c8b72610363844e9ccd5138 files/80novell 175 RMD160 6706cbb05c0079b008b1e35a74518b137c1842c4 files/80novell 175 SHA256 1602e6f7016cd33476f398196f1061158d9f8f5e302b83911c92e013d6a7d81c files/80novell 175 +AUX 80novell64 215 RMD160 d304cf813f3377e6fbb7b6bc4a8705590bd28afa SHA1 048891321018e5f7beb1bfc97883b9f2fa72ee6b SHA256 3806ba4709b79d940c2271af9607be295e97dd13c3bc889f95dec1a7d577f3d5 +MD5 1042c6a1a384e99fea540ed91569750f files/80novell64 215 +RMD160 d304cf813f3377e6fbb7b6bc4a8705590bd28afa files/80novell64 215 +SHA256 3806ba4709b79d940c2271af9607be295e97dd13c3bc889f95dec1a7d577f3d5 files/80novell64 215 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-xplatlib-1.0.2_p5-r4.ebuild 1095 RMD160 0217dfc99047ad5875d870881ecff9143be5f0c2 SHA1 f635bf49380fd77c9ef5c2af14b37bff8823a58a SHA256 a04e502f8bb4f56f7d83318cd9490a87b68fff047879e66ff7a3d436644d569e MD5 676b893a5815de214cbd60e10ffa5014 novell-xplatlib-1.0.2_p5-r4.ebuild 1095 RMD160 0217dfc99047ad5875d870881ecff9143be5f0c2 novell-xplatlib-1.0.2_p5-r4.ebuild 1095 SHA256 a04e502f8bb4f56f7d83318cd9490a87b68fff047879e66ff7a3d436644d569e novell-xplatlib-1.0.2_p5-r4.ebuild 1095 -MISC ChangeLog 1014 RMD160 3b85c00988ec5c02cac97b43977ea301b4a4ad2e SHA1 dc4311f841d8eb156e3a69b70259a85c0b4bf28d SHA256 e8185ad7523e830cc178875bdaab02c48c89e39927d1231b337abf8c0157f820 -MD5 8ed3b1224dd1dc32f4b49851835ecb9c ChangeLog 1014 -RMD160 3b85c00988ec5c02cac97b43977ea301b4a4ad2e ChangeLog 1014 -SHA256 e8185ad7523e830cc178875bdaab02c48c89e39927d1231b337abf8c0157f820 ChangeLog 1014 +EBUILD novell-xplatlib-1.0.3_p31.ebuild 2656 RMD160 3253b2c47de076a95bdf02c835546da110b9c844 SHA1 47abf7f0d97922e400e46d25a762be70be619309 SHA256 6d0cdf206ff48b941457668f770badcfb96865e87d42a3433d1a39ae6014876d +MD5 9ce804b3918be706452006a7acae266f novell-xplatlib-1.0.3_p31.ebuild 2656 +RMD160 3253b2c47de076a95bdf02c835546da110b9c844 novell-xplatlib-1.0.3_p31.ebuild 2656 +SHA256 6d0cdf206ff48b941457668f770badcfb96865e87d42a3433d1a39ae6014876d novell-xplatlib-1.0.3_p31.ebuild 2656 +MISC ChangeLog 1154 RMD160 bcde4829d737fb0b1720e14b0293046acf4d2d53 SHA1 e0378ce5454e42f0547aa8f3c58623b2f39f0c55 SHA256 8ee8b252210186d7c769f366ac0544525a186aaefcf202ac5b8a394b339b9071 +MD5 75b867a363adf6f4df8f4e15d3d152c0 ChangeLog 1154 +RMD160 bcde4829d737fb0b1720e14b0293046acf4d2d53 ChangeLog 1154 +SHA256 8ee8b252210186d7c769f366ac0544525a186aaefcf202ac5b8a394b339b9071 ChangeLog 1154 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-xplatlib-1.0.2_p5-r4 277 RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-xplatlib-1.0.2_p5-r4 277 SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-xplatlib-1.0.2_p5-r4 277 +MD5 3332466877e3a8abab8294e669c4b312 files/digest-novell-xplatlib-1.0.3_p31 590 +RMD160 4674f6c84c589734b5ce983d3441b35dff1fd412 files/digest-novell-xplatlib-1.0.3_p31 590 +SHA256 024a6db7c5a121d6c96d32d8371e61d6a79825ede5aca48c1ea77e9e49e939cb files/digest-novell-xplatlib-1.0.3_p31 590 diff --git a/trunk/novell4gentoo/sys-libs/novell-xplatlib/files/80novell64 b/trunk/novell4gentoo/sys-libs/novell-xplatlib/files/80novell64 new file mode 100644 index 0000000..2d8dd9e --- /dev/null +++ b/trunk/novell4gentoo/sys-libs/novell-xplatlib/files/80novell64 @@ -0,0 +1,5 @@ +NOVELL_DIR=/opt/novell +PATH=/opt/novell/bin +ROOTPATH=/opt/novell/bin:/opt/novell/sbin +LDPATH=/opt/novell/lib64:/opt/novell/lib32 +PRELINK_PATH_MASK=/opt/novell/lib64:/opt/novell/lib32:/opt/novell/bin:/opt/novell/sbin \ No newline at end of file diff --git a/trunk/novell4gentoo/sys-libs/novell-xplatlib/files/digest-novell-xplatlib-1.0.3_p31 b/trunk/novell4gentoo/sys-libs/novell-xplatlib/files/digest-novell-xplatlib-1.0.3_p31 new file mode 100644 index 0000000..5e51de8 --- /dev/null +++ b/trunk/novell4gentoo/sys-libs/novell-xplatlib/files/digest-novell-xplatlib-1.0.3_p31 @@ -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-libs/novell-xplatlib/novell-xplatlib-1.0.3_p31.ebuild b/trunk/novell4gentoo/sys-libs/novell-xplatlib/novell-xplatlib-1.0.3_p31.ebuild new file mode 100644 index 0000000..8ec2bbc --- /dev/null +++ b/trunk/novell4gentoo/sys-libs/novell-xplatlib/novell-xplatlib-1.0.3_p31.ebuild @@ -0,0 +1,88 @@ +# 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 eutils rpm + +MY_PV="${PV/_p/-}" +MY_P="${PV/_p*/}" + +DESCRIPTION="Novell XPLAT Libraries" +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} )" + +LICENSE="Novell-ncl-EULA" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=app-arch/p7zip-4.15" + +RDEPEND="virtual/libc + >=net-nds/novell-xtier-base-3.1.5_p46 + >=net-nds/novell-xtier-xplat-3.1.5_p46" + +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 +} + +src_compile() { :; } + +src_install() { + into /opt/novell + dolib.so "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/${nlib}/* + for xlib in cal cln clx loc ncp net + do + dosym lib${xlib}lnx.so.${MY_P} /opt/novell/${get_libdir}/lib${xlib}lnx.so.1 + dosym lib${xlib}lnx.so.${MY_P} /opt/novell/${get_libdir}/lib${xlib}lnx.so + done + dodoc "${WORKDIR}/${PN}-${MY_PV}"/usr/share/doc/packages/${PN}/* + + if use x86 + then + doenvd "${FILESDIR}"/80novell + elif use amd64 + then + doenvd "${FILESDIR}"/80novell64 + fi +} + +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" +}