From d8caf6a387a34a016962786a641b5421f7b3b529 Mon Sep 17 00:00:00 2001 From: geos_one Date: Fri, 16 Jan 2009 13:43:11 +0000 Subject: [PATCH] sys-libs/novell-xplatlib: Bump and use my rpm5 eclass --- .../sys-libs/novell-xplatlib/ChangeLog | 6 +- .../sys-libs/novell-xplatlib/Manifest | 5 +- .../novell-xplatlib-1.0.3.39.ebuild | 82 +++++++++++++++++++ 3 files changed, 91 insertions(+), 2 deletions(-) create mode 100644 trunk/novell4gentoo/sys-libs/novell-xplatlib/novell-xplatlib-1.0.3.39.ebuild diff --git a/trunk/novell4gentoo/sys-libs/novell-xplatlib/ChangeLog b/trunk/novell4gentoo/sys-libs/novell-xplatlib/ChangeLog index 088306e3..c4c8f8e7 100644 --- a/trunk/novell4gentoo/sys-libs/novell-xplatlib/ChangeLog +++ b/trunk/novell4gentoo/sys-libs/novell-xplatlib/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for sys-libs/novell-xplatlib -# 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-xplatlib-1.0.3.39.ebuild: + Bump and use my rpm5 eclass + 03 Nov 2008; Mario Fetka +novell-xplatlib-1.0.3.38.ebuild, +novell-xplatlib-1.0.4.0.3.ebuild: Bump diff --git a/trunk/novell4gentoo/sys-libs/novell-xplatlib/Manifest b/trunk/novell4gentoo/sys-libs/novell-xplatlib/Manifest index 70fe7ea5..37c65817 100644 --- a/trunk/novell4gentoo/sys-libs/novell-xplatlib/Manifest +++ b/trunk/novell4gentoo/sys-libs/novell-xplatlib/Manifest @@ -1,11 +1,14 @@ DIST Novell_Client_11.0-i386-20081003-CD1.iso 10033152 RMD160 fadcd5ad983fd7c7dc103c16dcfe9830cf0cd574 SHA1 358e219ad0bda13bbd4835342f24c1b01c5f1775 SHA256 cc84aab8c954037479ed2fa3616b76de17047341d25a2aa6210ac050023e3c00 DIST Novell_Client_11.0-x86_64-20081003-CD1.iso 10487808 RMD160 8965da596c4e339ff2b5b8d240f91a478f9ca2d5 SHA1 acb2ef899c9c593e6f16b1226ed68f54e12f7214 SHA256 81c3153f9fa435ab7251694873c9b4083b126ebae544bd30527fb8183e690789 +DIST Novell_Client_SLE11-i586-20081218-CD1.iso 8058880 RMD160 4a2a4146e82f0bb6f3f64e47f992fafcd20ce2e4 SHA1 e688c2571d90d5726928ff325e8da274f863d89f SHA256 7c3a6487879ae7846f3859e906e52811321b049667cbb04cb48fac079e6aee2e +DIST Novell_Client_SLE11-x86_64-20081218-CD1.iso 8388608 RMD160 749d45b32a1317a8e48f5c4346ea235078bab721 SHA1 7bb062942005e1316539e8b97e961c8cbb0a0c2e SHA256 cc0be51b5f3c61bd071751c26c65fd3fc0a5cea495622bbce2e811973fa70d59 DIST novell-client-2.0-SP1-sle10sp2-i386.iso 10100736 RMD160 dc9313c69a22359c9cdbb2f9105543d11a912381 SHA1 da0cfa59099a4de7d4bdc2a6390d8993c48ee00c SHA256 9c7edfcb67c6ea3a7c67c48568139b8c6dc369b106781320cf117cbda468ae70 DIST novell-client-2.0-SP1-sle10sp2-x86_64.iso 10971136 RMD160 2cf2b3c0b73b827ab4be0d74f87a9764c807c76b SHA1 91318ad4e643d2f43d47fd9fb234050d9ad62194 SHA256 789dc3bb04d8e7a7714001bce6af6ba8aba769ed32251e9cad53274322261028 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.3.38.ebuild 2431 RMD160 c4d87569710f67617d3d7b4dd2f41e36e4392db1 SHA1 bcffe7997eae703d3d85b35ed835fc37a2ccd97b SHA256 17aa6387fdd43eea2eb4de59e80506e035f5ca9ebc085af8f075e386410c301b +EBUILD novell-xplatlib-1.0.3.39.ebuild 2434 RMD160 ccc3eba5bf4ae13f0be1fae246bdda1f9cb3b065 SHA1 c4b9d803021d4bd9843d66920e31cafa61b9a37c SHA256 a562e7ec02c7892461b38d70ca9330467ec2a7512a5f98a38c4bdc9377a25ab8 EBUILD novell-xplatlib-1.0.3_p31.ebuild 2360 RMD160 c2a6a61f419a9dbafde7470aad631c9671b2d2ce SHA1 bf34e25953186945e6ffa88a60b09bfd20ed3d70 SHA256 03a0e13094dd5e80539893e676c3bf7cf3c1e6d1fe0fa402a029272cd4b00983 EBUILD novell-xplatlib-1.0.4.0.3.ebuild 2429 RMD160 1e5367e38f456967ee59623c964aa78bfacd9f61 SHA1 a3eadd5c137c0bfe03c1091f801ce7c5105a30d6 SHA256 1ada0038d9160727420cc9116e3ead5d824045de70c19f4752980919b8357015 -MISC ChangeLog 1575 RMD160 a511a6d8d4896d87caa58f7fddde4ce31fce4bf7 SHA1 d513cf1b0fd798f1a664bf301ccc9e155fb0f192 SHA256 954733194a4c5dced2ab47308555da66ac42338f6199efe87d2453a0f67fdc22 +MISC ChangeLog 1693 RMD160 061c5b6d2cac2b9af964c4f0553299f209cad817 SHA1 ff75ea89e860857e519ddf185a6a576b4580a5f3 SHA256 809f29c5106e67a7819ecb288152b1c7d1e1d2bdcdd21b637a9c9ae6f09a61be MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/sys-libs/novell-xplatlib/novell-xplatlib-1.0.3.39.ebuild b/trunk/novell4gentoo/sys-libs/novell-xplatlib/novell-xplatlib-1.0.3.39.ebuild new file mode 100644 index 00000000..0bbdc72a --- /dev/null +++ b/trunk/novell4gentoo/sys-libs/novell-xplatlib/novell-xplatlib-1.0.3.39.ebuild @@ -0,0 +1,82 @@ +# 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 versionator + +MY_PVV=$(replace_version_separator 3 '_') +MY_PV="${MY_PVV/_/-}" +MY_P="${MY_PVV/_*/}" + +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-env + >=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.1 /opt/novell/$(get_libdir)/lib${xlib}lnx.so + done + dodoc ""${WORKDIR}"/${PN}-${MY_PV}"/usr/share/doc/packages/${PN}/* +} + +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" +}