add sdidiag
This commit is contained in:
parent
1e73cfa08a
commit
b93d60a002
2
trunk/novell4gentoo/app-crypt/novell-sdidiag/Manifest
Normal file
2
trunk/novell4gentoo/app-crypt/novell-sdidiag/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST sdidiag-2-2.i586.rpm 135668 RMD160 1bbc857fff05d11697d5ab2cc3566acc8b8ba518 SHA1 1a840c525e62527004614568f7d30f52d80ff64a SHA256 0693f311520bfb2aecd361dc11607f682423fee144dd9ecdd12654481111583e
|
||||||
|
EBUILD novell-sdidiag-2.2.ebuild 1636 RMD160 a404bbe97b3510be4e0130f4ad83c65b4770b058 SHA1 6da4bed41b2904749efea9a10d28a933b80a39ad SHA256 c556761877ddaf732ebee7d411d4a44f336b75298b592ef4a078b36437b711b9
|
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright 1999-2009 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
|
||||||
|
NOVELL_BUILDID="UHtCwrcer5c~"
|
||||||
|
NOVELL_FILE32="patchfiles/sdidiag-2-2.i586.rpm"
|
||||||
|
RESTRICT="mirror strip"
|
||||||
|
|
||||||
|
inherit novell eutils rpm versionator
|
||||||
|
|
||||||
|
MY_PV=$(replace_version_separator 1 '-')
|
||||||
|
|
||||||
|
DESCRIPTION="Novell Modules for Login Script Procssing"
|
||||||
|
HOMEPAGE="http://www.novell.com"
|
||||||
|
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}"
|
||||||
|
|
||||||
|
LICENSE="Novell-eDir-87"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~x86 ~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=">=app-arch/p7zip-4.15"
|
||||||
|
|
||||||
|
RDEPEND="virtual/libc
|
||||||
|
>=app-crypt/novell-nici-2.7.3_p12
|
||||||
|
net-misc/novell-ntls:8.7
|
||||||
|
net-nds/novell-ndsbase:8.7
|
||||||
|
sys-libs/libstdc++-v3"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
|
||||||
|
cd ${PN}-${MY_PV}
|
||||||
|
rpm_unpack ../distdir/sdidiag-${MY_PV}.i586.rpm
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() { :; }
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
into /opt/novell
|
||||||
|
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/bin/*
|
||||||
|
}
|
||||||
|
|
||||||
|
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"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user