intial commit

This commit is contained in:
Mario Fetka 2014-08-16 21:42:01 +02:00
parent 588ccf92a7
commit 5259b9a9bc
12 changed files with 73 additions and 3 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-expat-8.8.8.1.ebuild 1741 SHA256 5b091f80d2c52e41cda16528ad6d628ce407740f7b0031490f496089d21f3c73 SHA512 db652a6c962100092509727e29d65a41a267cce0c5ae258f0b62d0d70b31bd454939fbcb52b36475644800d9995baa5079a17a5bc5398050783137efbabff927 WHIRLPOOL d5594d99743af1a7f70052c824ac4c086915f8e2ee540b995c5a6a55e55bd0e5d6c3cd4d2f2c98a32917ed97fe59bfa2350debbc8e7e07ab4f6615a2a929d4e1

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>mario.fetka@gmail.com</email>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,60 @@
# 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-expat-${MY_PV}.${narch}.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/eDirectory
dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*.so*
}
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"
}

View File

@ -25,7 +25,7 @@ IUSE=""
DEPEND="" DEPEND=""
RDEPEND="virtual/libc" RDEPEND=">=app-crypt/netiq-nici-2.7.7"
src_unpack() { src_unpack() {
cd "${WORKDIR}" cd "${WORKDIR}"

View File

@ -28,7 +28,7 @@ DEPEND=""
RDEPEND="virtual/libc RDEPEND="virtual/libc
>=virtual/jre-1.6 >=virtual/jre-1.6
>=app-crypt/netiq-nici-2.7.7 >=app-crypt/netiq-nici-2.7.7
net-nds/netiq-edir-env" net-nds/netiq-edirectory-env"
src_unpack() { src_unpack() {
cd "${WORKDIR}" cd "${WORKDIR}"

View File

@ -27,7 +27,7 @@ DEPEND=""
RDEPEND="virtual/libc RDEPEND="virtual/libc
net-nds/netiq-ndsbase:8.8 net-nds/netiq-ndsbase:8.8
net-nds/netiq-edir-env" net-nds/netiq-edirectory-env"
src_unpack() { src_unpack() {
cd "${WORKDIR}" cd "${WORKDIR}"