initial commit

Package-Manager: portage-2.2.8-r1
RepoMan-Options: --force
This commit is contained in:
Mario Fetka 2014-08-16 21:18:18 +02:00
parent 330818d34c
commit 22c80d6055
2 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST eDirectory_88SP8_Linux_x86_64.tar.gz 115981881 SHA256 69946393b9f6cd82593eb943a62bc6773688239de1b12388765ea2b60f0431c9 SHA512 e8030463f4404aeb33e9b4b85f4da91275ff8beebf480cb8a267e6340a7209f10aef2f060b0c24f7fb18ba457fd3211b6c71748b281888ca46919d1df227b627 WHIRLPOOL 603ef881ba4a7c84d1e670b5a39205a54f56daacd8253d09017209b204f15fc06397e764e4d7a2aac69e3c88c13bf3ef5882d4837382fc6e6d2c2e4caa797449
EBUILD netiq-edirectory-jclnt-8.8.8.1.ebuild 1899 SHA256 e56ec307ac20afbcfd9fcbb862dfef99ea73abaffeebd9b38976e2094595d9ce SHA512 6d27b019f94e1f56c2e064da95bad2529a3f76a110c4e66f7cd1beb212b855824bcecc4e6472cbcfd509310f4e1ce1c135407b0d4de8faa1dcc58773ab8b4149 WHIRLPOOL cd89dd93cd6e9579ce2e0f76bf45b5e10b968db167ca46fc23ff38ba36e033570a5b085cc418bcd9e56a733944b45060b979346b149de97f11d245e8ad384946

View File

@ -0,0 +1,62 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
NOVELL_BUILDID="oHdJl37wCb0~"
NOVELL_FILE="eDirectory_88SP8_Linux_x86_64.tar.gz"
RESTRICT="mirror strip"
USE_RPMOFFSET_ONLY="1"
inherit novell eutils rpm java-utils-2 versionator
MY_PVV=$(replace_version_separator 3 '-')
MY_PV="${MY_PVV/_p/_}"
DESCRIPTION="This Package contains NetIQ extensions to LDAP runtime and Security libraries (Client NICI)"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE}"
LICENSE="Novell-eDir-88"
SLOT="8.8"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc"
src_unpack() {
cd "${WORKDIR}"
unpack ${A}
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
narch=x86_64
nlib=lib64
rpm_unpack ../work/eDirectory/setup/novell-edirectory-jclnt-${MY_PV}.${narch}.rpm
}
src_compile() { :; }
src_install() {
dosym . /opt/novell/eDirectory/$(get_libdir)/jclnt/$(get_libdir)
into /opt/novell/eDirectory/$(get_libdir)/jclnt
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/jclnt/*
rm "${D}"/opt/novell/eDirectory/$(get_libdir)/jclnt/$(get_libdir)
}
pkg_nofetch() {
einfo "This files require you to register at ${HOMEPAGE} (free account)"
einfo "Please download following file(s):"
einfo " - ${NOVELL_FILE}"
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}"
einfo "and place them 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"
}