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

This commit is contained in:
geos_one 2007-11-03 18:30:38 +00:00
parent 138d4ce954
commit 50dda49bc6
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-novlstlog-8.7.3_p34-r1.ebuild:
add new download system
04 Apr 2007; Mario Fetka <mario-fetka@gmx.at>
-novell-novlstlog-8.7.3_p34.ebuild, +novell-novlstlog-8.7.3_p34-r1.ebuild,
-novell-novlstlog-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-novlstlog-8.7.3_p34-r1.ebuild 1104 RMD160 f166a4f58611202d0321aeab7c489ab442e6db50 SHA1 35fdf6767eb15bbc4dc3b5dafda7a11a7a08fa16 SHA256 651379948391f51da032f353bc60afd730bb25d1a4433b98733883c6e1c6b028
MD5 ae885647a74d23681ba866920d772191 novell-novlstlog-8.7.3_p34-r1.ebuild 1104
RMD160 f166a4f58611202d0321aeab7c489ab442e6db50 novell-novlstlog-8.7.3_p34-r1.ebuild 1104
SHA256 651379948391f51da032f353bc60afd730bb25d1a4433b98733883c6e1c6b028 novell-novlstlog-8.7.3_p34-r1.ebuild 1104
MISC ChangeLog 551 RMD160 be17f39b9d005d85601e0199a2ef899d6f6a4fec SHA1 6aaf81f65734adccbc70e797d96443ec885733fb SHA256 7a4d65d6e0bbbfec7d54d746c1f4d39f561a2dc0b75a20ded2dc0dbb0b019c61
MD5 d5c36d0f87dd8c9cbb45875f835720c2 ChangeLog 551
RMD160 be17f39b9d005d85601e0199a2ef899d6f6a4fec ChangeLog 551
SHA256 7a4d65d6e0bbbfec7d54d746c1f4d39f561a2dc0b75a20ded2dc0dbb0b019c61 ChangeLog 551
EBUILD novell-novlstlog-8.7.3_p34-r1.ebuild 1823 RMD160 0019f36077e8eba6186ffa6f6c1c999c49e15f8b SHA1 092b4e86abc8d556b78a4f90b908c1694d0bb6e2 SHA256 acd38ea55e7bf36095bbfa01647f7f776d9f8f82853113fb6a4faad9f10f16e5
MD5 a1467517652674304073a580673705b2 novell-novlstlog-8.7.3_p34-r1.ebuild 1823
RMD160 0019f36077e8eba6186ffa6f6c1c999c49e15f8b novell-novlstlog-8.7.3_p34-r1.ebuild 1823
SHA256 acd38ea55e7bf36095bbfa01647f7f776d9f8f82853113fb6a4faad9f10f16e5 novell-novlstlog-8.7.3_p34-r1.ebuild 1823
MISC ChangeLog 666 RMD160 03819b58c7600c07e4d537eb978507dddac37d8e SHA1 5d2bd7525a00dc189bfe1bd29f744cb132321211 SHA256 397b48376a0678761067ef9e3b84be98b6abc6009cbabe69cad268e64ec48b07
MD5 cc5fefa7a480e0d26363964575196055 ChangeLog 666
RMD160 03819b58c7600c07e4d537eb978507dddac37d8e ChangeLog 666
SHA256 397b48376a0678761067ef9e3b84be98b6abc6009cbabe69cad268e64ec48b07 ChangeLog 666
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 NDS Status Logger"
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"
@ -20,10 +24,7 @@ DEPEND=""
RDEPEND="virtual/libc
>=net-nds/novell-ndsbase-8.7.3_p37
>=net-nds/novell-ndsserv-8.7.3_p37
>=app-crypt/novell-nici-2.6.4_p005
!net-misc/novell-novlstlog"
RESTRICT="nomirror nostrip"
>=app-crypt/novell-nici-2.6.4_p005"
src_unpack() {
unpack ${A}
@ -42,4 +43,18 @@ src_install() {
rm ${D}/usr/lib/nds-modules/lib
insinto /usr/lib/nds-schema
doins ${WORKDIR}/${PN}-${MY_PV}/usr/lib/nds-schema/*
}
}
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"
}