initial commit

Package-Manager: portage-2.2.8-r1
RepoMan-Options: --force
This commit is contained in:
Mario Fetka 2014-08-17 07:45:57 +02:00
parent a406edb104
commit f1c174a06b
4 changed files with 92 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# ChangeLog for net-nds/netiq-edirectory-xdaslog
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*netiq-edirectory-xdaslog-8.8.8.1 (17 Aug 2014)
17 Aug 2014; Mario Fetka <mario.fetka@gmail.com> +metadata.xml,
+netiq-edirectory-xdaslog-8.8.8.1.ebuild:
initial commit

View File

@ -0,0 +1,4 @@
DIST eDirectory_88SP8_Linux_x86_64.tar.gz 115981881 SHA256 69946393b9f6cd82593eb943a62bc6773688239de1b12388765ea2b60f0431c9 SHA512 e8030463f4404aeb33e9b4b85f4da91275ff8beebf480cb8a267e6340a7209f10aef2f060b0c24f7fb18ba457fd3211b6c71748b281888ca46919d1df227b627 WHIRLPOOL 603ef881ba4a7c84d1e670b5a39205a54f56daacd8253d09017209b204f15fc06397e764e4d7a2aac69e3c88c13bf3ef5882d4837382fc6e6d2c2e4caa797449
EBUILD netiq-edirectory-xdaslog-8.8.8.1.ebuild 2275 SHA256 b2b15057a2b8f15ac2c467b791dd512d6a0f8b47485c95774f2719ce303c3c54 SHA512 4660beae9c3586231c775c24bc7d73abcc3af68e015b3d78207da17a917d76288417d0760d87ea942427d4f2aff88bd4b759c87d850a208392b568f20002cd67 WHIRLPOOL 63116d39d5c713fe4bc0c519f7cc6002847bc717a52ba5acbdff120d2b00d77130d514b4c9f35075e54ec9ad38a3b4d61521a334f40e77f9c7bab8c33d323b22
MISC ChangeLog 309 SHA256 85b10f380c1b5b25d8f2146d153c29f33b6f1d38567262f5fc4d569c63dc823c SHA512 2241e21218d50bdc86feb6bbd62e4c24d4c33df382da9d2a16d0608a15c26e20aea32bb412d1a18b374127ee8b1dec32b63ae2401c3f3367d02f612b52345896 WHIRLPOOL 370e7982f9067769df8e4808f38d5be5aab74780fe56ed3511a06bc9d66788782cf69d0afb6bfc8a5efbd5a07128bf121a4ae8f553de7613ba85540a92c7cffe
MISC metadata.xml 226 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2 SHA512 5912920d8f6e9ee5126fb0aaa5717a562feb009cc59b759c6a6eaa909900b19e95e51e3aa7f32fdf2e77073b19878830b97947148e3adeff3b49e7555cfe29e9 WHIRLPOOL c07e2ddb648893f1e9c422e07b0b73a6d0f7e1c9501200b6fcc9d25fe68c3b05fe4f3523e6844067eeca6969973a44004e1ba8a6fa725591a1916648bd2d4834

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,71 @@
# 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"
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="dev-libs/netiq-edirectory-expat:8.8
net-nds/netiq-edirectory-xdaslog:8.8
net-nds/netiq-ndsbase:8.8
"
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-xdaslog-${MY_PV}.${narch}.rpm
rpm_unpack ../work/eDirectory/setup/novell-edirectory-xdaslog-conf-${MY_PV}.noarch.rpm
}
src_compile() { :; }
src_install() {
dosym . /opt/novell/eDirectory/$(get_libdir)/apr/$(get_libdir)
into /opt/novell/eDirectory/$(get_libdir)/apr
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/apr/*
rm "${D}"/opt/novell/eDirectory/$(get_libdir)/apr/$(get_libdir)
into /opt/novell/eDirectory
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*
insinto /etc/opt/novell/eDirectory/conf
doins "${WORKDIR}"/${PN}-${MY_PV}/etc/opt/novell/eDirectory/conf/*.*
}
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"
}