net-nds/novell-ndscommon: add new download system

This commit is contained in:
geos_one 2007-11-03 18:11:09 +00:00
parent 7255613f3c
commit 81e4e74933
3 changed files with 34 additions and 15 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
03 Nov 2007; Mario Fetka <mario-fetka@gmx.at>
novell-ndscommon-8.7.3_p37-r1.ebuild:
add new download system
04 Apr 2007; Mario Fetka <mario-fetka@gmx.at>
-novell-ndscommon-8.7.3_p34.ebuild, -novell-ndscommon-8.7.3_p34-r1.ebuild,
-novell-ndscommon-8.7.3_p37.ebuild, -novell-ndscommon-8.8.1_p7.ebuild:

View File

@ -3,14 +3,14 @@ MD5 d0a246ae85af9fc908fc1252769c2110 files/80novell-edir 303
RMD160 64062683170df6b99c1a4c42045a6f912ac5b6c6 files/80novell-edir 303
SHA256 adf68d10cf4426db1e1747250fc4a42408117435f2c63db38b49f9ac81c33242 files/80novell-edir 303
DIST eDir_873_linux_full.tar.gz 100502582 RMD160 c7e4ce732a2f1caec45031b4727eff71b0546e1f SHA1 5b14b89766a37cff868143e91619efa82844adb4 SHA256 609abda0346ed77cc510df60172007a5a2e9d1cb6ea70c77a0b1b44c6c9bf507
EBUILD novell-ndscommon-8.7.3_p37-r1.ebuild 993 RMD160 d9f345fbf7b8c6346545d964f025428941246d19 SHA1 b46885b1252492a92e935a4421f2f50ede15f54d SHA256 a93c5a86922cc4350a54636c66d04b37c5cca6bb9ba4fff0fab3ab5c6815a57f
MD5 3601f6429cd563c67e2af625b28fa59e novell-ndscommon-8.7.3_p37-r1.ebuild 993
RMD160 d9f345fbf7b8c6346545d964f025428941246d19 novell-ndscommon-8.7.3_p37-r1.ebuild 993
SHA256 a93c5a86922cc4350a54636c66d04b37c5cca6bb9ba4fff0fab3ab5c6815a57f novell-ndscommon-8.7.3_p37-r1.ebuild 993
MISC ChangeLog 843 RMD160 5de3a3a6ef2141359759d172d92f6984ce705c6b SHA1 7f0f2b7db28f86a44cdc0357b7111d279341d39f SHA256 89819fb50931656fd4955abdadb911a1748f6e7bfeef006664d337ce35d3213b
MD5 d741bf7b432b6888416fc8d7aae86611 ChangeLog 843
RMD160 5de3a3a6ef2141359759d172d92f6984ce705c6b ChangeLog 843
SHA256 89819fb50931656fd4955abdadb911a1748f6e7bfeef006664d337ce35d3213b ChangeLog 843
EBUILD novell-ndscommon-8.7.3_p37-r1.ebuild 1712 RMD160 9206b67375cd846ae54a3018b6ade82cd4400460 SHA1 26932e78c16fa88147b4bb62fa402d08292509ec SHA256 5900f31db1c87989b2e76fb034b61b198412630acfdac7ee6bb99a79030c92ae
MD5 67fd2048c21d65a3a1aa03b712d49b16 novell-ndscommon-8.7.3_p37-r1.ebuild 1712
RMD160 9206b67375cd846ae54a3018b6ade82cd4400460 novell-ndscommon-8.7.3_p37-r1.ebuild 1712
SHA256 5900f31db1c87989b2e76fb034b61b198412630acfdac7ee6bb99a79030c92ae novell-ndscommon-8.7.3_p37-r1.ebuild 1712
MISC ChangeLog 958 RMD160 0c9058131cfeb55e2d42ba5e1887388fa57f10d9 SHA1 ed5f788a1b31fe56e5db15073bc2039e418cc263 SHA256 458721cb6767efe187138d20b2c19a90728c28f2efe5d657b1b8077dc0057f59
MD5 b2a78f71d5bb2f350f235a255341c41a ChangeLog 958
RMD160 0c9058131cfeb55e2d42ba5e1887388fa57f10d9 ChangeLog 958
SHA256 458721cb6767efe187138d20b2c19a90728c28f2efe5d657b1b8077dc0057f59 ChangeLog 958
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170

View File

@ -2,13 +2,17 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
NOVELL_BUILDID="G4YlRnymPtU~"
NOVELL_FILE32="eDir_873_linux_full.tar.gz"
RESTRICT="mirror strip"
inherit novell eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Directory User Agent"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/G4YlRnymPtU~/eDir_873_linux_full.tar.gz"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}"
LICENSE="Novell-eDir-87"
SLOT="0"
@ -18,10 +22,7 @@ IUSE="linguas_fr linguas_ja"
DEPEND=""
RDEPEND="virtual/libc
>=net-nds/novell-ndsbase-8.7.3_p37
!net-misc/novell-ndscommon"
RESTRICT="nomirror nostrip"
>=net-nds/novell-ndsbase-8.7.3_p37"
src_unpack() {
unpack ${A}
@ -38,3 +39,17 @@ src_install() {
use linguas_fr && doman -i18n=fr ${WORKDIR}/${PN}-${MY_PV}/usr/man/fr/*/*.gz
use linguas_ja && doman -i18n=ja ${WORKDIR}/${PN}-${MY_PV}/usr/man/ja/*/*.gz
}
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"
}