initial commit

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

View File

@ -0,0 +1,9 @@
# ChangeLog for net-nds/netiq-edirectory-xdasinstrument
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*netiq-edirectory-xdasinstrument-8.8.8.1 (17 Aug 2014)
17 Aug 2014; Mario Fetka <mario.fetka@gmail.com> +metadata.xml,
+netiq-edirectory-xdasinstrument-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-xdasinstrument-8.8.8.1.ebuild 2104 SHA256 854ce98c1d71d9b5d510a474e2315d709f75cf82260b8aa8bbf7c05dcb3c172d SHA512 555702676b3254d22be3383c2590c1e71184d0000ea94ab3e6681922ad6cbc53d294d73238a03d8053e6ff7a841aa3ff1e9dc68c06b9c47c040d4bf36a6a8d6e WHIRLPOOL 5f3c8fd24ad40a5ccf21c781fc29c7b43c2c2485397b0f4677d4fd03dfbaeea164cdba133cb8582c0282a98f36791e7a8aa24fec7ff84b1f6b1341b2aef4198b
MISC ChangeLog 330 SHA256 a6fe724d7bcf33d42d5e07734397e94d0e9e46aaed85227b771a2bd236fdcad3 SHA512 f26afe72b545bbb47efd8492176125a1fe3ec095019f36d256fca91ce35e82287f181d0f32e63157f671041ad23fc9250e9c372ddfa2a4e29e734d88d0e76830 WHIRLPOOL df8dc3af51a10c3fb0d17c7ddee44e5e407a0a0fb6c44e1095bcc77edfc32b82868e8bd6921d51acb8be9f8cb4f61b5c76726137d42661bf5d8dca85482939df
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,68 @@
# 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="NetIQ Mandatory Access Service"
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
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-xdasinstrument-${MY_PV}.${narch}.rpm
}
src_compile() { :; }
src_install() {
dosym . /opt/novell/eDirectory/$(get_libdir)/nds-modules/$(get_libdir)
into /opt/novell/eDirectory/$(get_libdir)/nds-modules
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/*
rm "${D}"/opt/novell/eDirectory/$(get_libdir)/nds-modules/$(get_libdir)
insinto /opt/novell/eDirectory/$(get_libdir)/nds-schema
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-schema/*
}
pkg_nofetch() {
einfo "This files require you to register at ${HOMEPAGE} (free account)"
einfo "Please download following file:"
einfo " - ${NOVELL_FILE}"
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"
}