From 45a55059644e162a085903cfa6b7221eb355a7d4 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 3 Nov 2007 18:18:12 +0000 Subject: [PATCH] net-nds/novell-nldapsdk: add new download system --- .../net-nds/novell-nldapsdk/ChangeLog | 4 +++ .../net-nds/novell-nldapsdk/Manifest | 16 +++++----- .../novell-nldapsdk-8.7.3.9_p51-r1.ebuild | 29 ++++++++++++++----- 3 files changed, 34 insertions(+), 15 deletions(-) diff --git a/trunk/novell4gentoo/net-nds/novell-nldapsdk/ChangeLog b/trunk/novell4gentoo/net-nds/novell-nldapsdk/ChangeLog index 1e736277..92d722d5 100644 --- a/trunk/novell4gentoo/net-nds/novell-nldapsdk/ChangeLog +++ b/trunk/novell4gentoo/net-nds/novell-nldapsdk/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 03 Nov 2007; Mario Fetka + novell-nldapsdk-8.7.3.9_p51-r1.ebuild: + add new download system + 04 Apr 2007; Mario Fetka -novell-nldapsdk-8.7.3_p34.ebuild, -novell-nldapsdk-8.7.3.8_p45.ebuild, -novell-nldapsdk-8.7.3.9_p51.ebuild, -novell-nldapsdk-8.8.1_p7.ebuild: diff --git a/trunk/novell4gentoo/net-nds/novell-nldapsdk/Manifest b/trunk/novell4gentoo/net-nds/novell-nldapsdk/Manifest index e2989b9c..0c2990e3 100644 --- a/trunk/novell4gentoo/net-nds/novell-nldapsdk/Manifest +++ b/trunk/novell4gentoo/net-nds/novell-nldapsdk/Manifest @@ -3,14 +3,14 @@ MD5 d0a246ae85af9fc908fc1252769c2110 files/80novell-edir 303 RMD160 64062683170df6b99c1a4c42045a6f912ac5b6c6 files/80novell-edir 303 SHA256 adf68d10cf4426db1e1747250fc4a42408117435f2c63db38b49f9ac81c33242 files/80novell-edir 303 DIST edir8739.tgz 253601538 RMD160 42ad5d41ddae828fcb68b94fb55b4dff738ebe5f SHA1 d359c1afa354e43a085d34332000b7977dee01e1 SHA256 4023eebaf7d8cfba661a2fa22596d95572c0d0f65b439b1c1c527e55ac934068 -EBUILD novell-nldapsdk-8.7.3.9_p51-r1.ebuild 748 RMD160 17bc71072da6e6726209e73cd9530733c71fc351 SHA1 4fabe53ef906019f5e3466bd1576cdb763965726 SHA256 e79bf048c348a069d94ee0bb72d4178e1b39f0be72bedf639c7429844c25e6e2 -MD5 8ae3e5d01687332edd347346536a5967 novell-nldapsdk-8.7.3.9_p51-r1.ebuild 748 -RMD160 17bc71072da6e6726209e73cd9530733c71fc351 novell-nldapsdk-8.7.3.9_p51-r1.ebuild 748 -SHA256 e79bf048c348a069d94ee0bb72d4178e1b39f0be72bedf639c7429844c25e6e2 novell-nldapsdk-8.7.3.9_p51-r1.ebuild 748 -MISC ChangeLog 843 RMD160 b23c29954003754ab095c0b5148d785087d0304d SHA1 4546d1c5ad2035f95288cc65c78e15ffe53d6576 SHA256 d7d95a79add0cfb37a22dab5097148c2e95cbd7e13821b8f249307853788d73f -MD5 fb4657330d9e2bfee31d05abd0b85e39 ChangeLog 843 -RMD160 b23c29954003754ab095c0b5148d785087d0304d ChangeLog 843 -SHA256 d7d95a79add0cfb37a22dab5097148c2e95cbd7e13821b8f249307853788d73f ChangeLog 843 +EBUILD novell-nldapsdk-8.7.3.9_p51-r1.ebuild 1468 RMD160 6386c56bf7526b33e8c8f1cb8b78fa8977ecbf1e SHA1 b8ef6fe94135cff6889a76145ee3ddbf9183ebea SHA256 335b3c7521735b66377a48b477fef49e0b77f61e0db9625273ae1d9f7f2e11b3 +MD5 70705ba7bce753b8597551079dacbc39 novell-nldapsdk-8.7.3.9_p51-r1.ebuild 1468 +RMD160 6386c56bf7526b33e8c8f1cb8b78fa8977ecbf1e novell-nldapsdk-8.7.3.9_p51-r1.ebuild 1468 +SHA256 335b3c7521735b66377a48b477fef49e0b77f61e0db9625273ae1d9f7f2e11b3 novell-nldapsdk-8.7.3.9_p51-r1.ebuild 1468 +MISC ChangeLog 959 RMD160 67ae1380e7cf8db3cc85009132105eb7ae83d805 SHA1 0fd830b0abffd10a9891d00a07425199144a844b SHA256 dd565a50a7a61573d3e0d7c65acf4661f87290f6ced1e8d3e4a37371f34eb8b6 +MD5 986fd8cb1311579e9da026e9daba99ee ChangeLog 959 +RMD160 67ae1380e7cf8db3cc85009132105eb7ae83d805 ChangeLog 959 +SHA256 dd565a50a7a61573d3e0d7c65acf4661f87290f6ced1e8d3e4a37371f34eb8b6 ChangeLog 959 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 diff --git a/trunk/novell4gentoo/net-nds/novell-nldapsdk/novell-nldapsdk-8.7.3.9_p51-r1.ebuild b/trunk/novell4gentoo/net-nds/novell-nldapsdk/novell-nldapsdk-8.7.3.9_p51-r1.ebuild index e4467cee..eec1d2d7 100644 --- a/trunk/novell4gentoo/net-nds/novell-nldapsdk/novell-nldapsdk-8.7.3.9_p51-r1.ebuild +++ b/trunk/novell4gentoo/net-nds/novell-nldapsdk/novell-nldapsdk-8.7.3.9_p51-r1.ebuild @@ -2,13 +2,17 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit eutils rpm +NOVELL_BUILDID="rla0JKRFbt4~" +NOVELL_FILE32="patchfiles/edir8739.tgz" +RESTRICT="mirror strip" + +inherit novell eutils rpm MY_PV="${PV/_p/-}" DESCRIPTION="Novell LDAP SDK Libraries" HOMEPAGE="http://www.novell.com" -SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/rla0JKRFbt4~/patchfiles/edir8739.tgz" +SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}" LICENSE="Novell-eDir-87" SLOT="0" @@ -17,10 +21,7 @@ IUSE="" DEPEND="" -RDEPEND="virtual/libc - !net-misc/novell-nldapsdk" - -RESTRICT="nomirror nostrip" +RDEPEND="virtual/libc" src_unpack() { unpack ${A} @@ -34,4 +35,18 @@ src_compile() { :; } src_install() { into /usr dolib ${WORKDIR}/${PN}-${MY_PV}/usr/lib/* -} \ No newline at end of file +} + +pkg_nofetch() { + einfo "This files require you to register at ${HOMEPAGE} (free account)" + einfo "Please download following file:" + einfo " - ${NOVELL_FILE32}" + 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" +}