From e7932b6c55d7121f4c349f08019e42c0714b6704 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 3 Nov 2007 18:13:52 +0000 Subject: [PATCH] net-nds/novell-ndsmasv: add new download system --- .../net-nds/novell-ndsmasv/ChangeLog | 4 +++ .../net-nds/novell-ndsmasv/Manifest | 16 ++++++------ .../novell-ndsmasv-8.7.3.9_p1-r1.ebuild | 26 +++++++++++++++---- 3 files changed, 33 insertions(+), 13 deletions(-) diff --git a/trunk/novell4gentoo/net-nds/novell-ndsmasv/ChangeLog b/trunk/novell4gentoo/net-nds/novell-ndsmasv/ChangeLog index 97b8c48..cea58a7 100644 --- a/trunk/novell4gentoo/net-nds/novell-ndsmasv/ChangeLog +++ b/trunk/novell4gentoo/net-nds/novell-ndsmasv/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 03 Nov 2007; Mario Fetka + novell-ndsmasv-8.7.3.9_p1-r1.ebuild: + add new download system + 04 Apr 2007; Mario Fetka -novell-ndsmasv-8.7.3_p34.ebuild, -novell-ndsmasv-8.7.3.7_p35.ebuild, -novell-ndsmasv-8.7.3.9_p1.ebuild, -novell-ndsmasv-8.8.1_p7.ebuild: diff --git a/trunk/novell4gentoo/net-nds/novell-ndsmasv/Manifest b/trunk/novell4gentoo/net-nds/novell-ndsmasv/Manifest index ffab021..f1727f2 100644 --- a/trunk/novell4gentoo/net-nds/novell-ndsmasv/Manifest +++ b/trunk/novell4gentoo/net-nds/novell-ndsmasv/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-ndsmasv-8.7.3.9_p1-r1.ebuild 1024 RMD160 fc5a11605f26c30f915a1afa5c39f5dff35c7cb3 SHA1 d30409d8d6e5ddab41cf107d4fc960b887a4c843 SHA256 736e1fb918c7ca5a217748c46298779e3bfc5b3f4825b95ba82a04d878dea7ae -MD5 d4a973f0a8e18611485d0a7d6089dc5e novell-ndsmasv-8.7.3.9_p1-r1.ebuild 1024 -RMD160 fc5a11605f26c30f915a1afa5c39f5dff35c7cb3 novell-ndsmasv-8.7.3.9_p1-r1.ebuild 1024 -SHA256 736e1fb918c7ca5a217748c46298779e3bfc5b3f4825b95ba82a04d878dea7ae novell-ndsmasv-8.7.3.9_p1-r1.ebuild 1024 -MISC ChangeLog 829 RMD160 abea168a85b49cda2ae454ae734b6694bf904dd5 SHA1 57624ebc1b48ab78aab994288806c7207144dcd9 SHA256 5caa4439cc3ce7697893970e369dc54ef1ae7a546005a293af8e9533f169d46a -MD5 a1c6024a650b4827a74adb8564db08ec ChangeLog 829 -RMD160 abea168a85b49cda2ae454ae734b6694bf904dd5 ChangeLog 829 -SHA256 5caa4439cc3ce7697893970e369dc54ef1ae7a546005a293af8e9533f169d46a ChangeLog 829 +EBUILD novell-ndsmasv-8.7.3.9_p1-r1.ebuild 1771 RMD160 fef0a420403c445a35f1ce638068cc83233fe2db SHA1 9e37566cfa631b93b714a40cf30cc32b2b9c6127 SHA256 449ab115cb9a42f3e260f5e3f629b476c48017264045d4cb52fcbcacf0ddfa02 +MD5 f2e912f78ed00e20871e62445d4d363e novell-ndsmasv-8.7.3.9_p1-r1.ebuild 1771 +RMD160 fef0a420403c445a35f1ce638068cc83233fe2db novell-ndsmasv-8.7.3.9_p1-r1.ebuild 1771 +SHA256 449ab115cb9a42f3e260f5e3f629b476c48017264045d4cb52fcbcacf0ddfa02 novell-ndsmasv-8.7.3.9_p1-r1.ebuild 1771 +MISC ChangeLog 943 RMD160 23481e60711d05b969608f3720540c74024a2814 SHA1 a8114ccddec651c8806aedbea825f8c86ffa7aa5 SHA256 7f4b7a855001d71c44e762ca16f395a1165db7ad9795da3094c4d19bd67b8b05 +MD5 944d6847fde34a58dcd7bf1afb72d708 ChangeLog 943 +RMD160 23481e60711d05b969608f3720540c74024a2814 ChangeLog 943 +SHA256 7f4b7a855001d71c44e762ca16f395a1165db7ad9795da3094c4d19bd67b8b05 ChangeLog 943 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-ndsmasv/novell-ndsmasv-8.7.3.9_p1-r1.ebuild b/trunk/novell4gentoo/net-nds/novell-ndsmasv/novell-ndsmasv-8.7.3.9_p1-r1.ebuild index 815fe35..61e7151 100644 --- a/trunk/novell4gentoo/net-nds/novell-ndsmasv/novell-ndsmasv-8.7.3.9_p1-r1.ebuild +++ b/trunk/novell4gentoo/net-nds/novell-ndsmasv/novell-ndsmasv-8.7.3.9_p1-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 Mandatory Access Service" 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" @@ -21,8 +25,6 @@ RDEPEND="virtual/libc >=net-nds/novell-ndsserv-8.7.3.9_p22 !net-misc/novell-ndsmasv" -RESTRICT="nomirror nostrip" - src_unpack() { unpack ${A} mkdir -p ${WORKDIR}/${PN}-${MY_PV} @@ -40,4 +42,18 @@ src_install() { rm ${D}/usr/lib/nds-modules/lib insinto /usr/lib/nds-schema doins ${WORKDIR}/${PN}-${MY_PV}/usr/lib/nds-schema/* -} \ 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" +}