app-crypt/novell-npkiapi: multilib support

This commit is contained in:
geos_one 2009-01-17 12:08:23 +00:00
parent 554ac6a2e4
commit b9a3480d6e
3 changed files with 73 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# ChangeLog for app-crypt/novell-npkiapi
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
17 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-npkiapi-3.3.0.1.20080710_p1008-r2.ebuild:
multilib support
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-npkiapi-3.3.0.1.20080710_p1008-r1.ebuild:
correct blocking slot's

View File

@ -1,6 +1,7 @@
AUX 80novell-edir 268 RMD160 d67c5b1235cc2833cb5d13e9083e0cc312e1b55e SHA1 5402e607959e0c9ed9da3f9756ba709c780f8dc8 SHA256 6951e52fddfa7973a8ea99acfecfd758a9104de25f5a81b0b3efb439c9eab619
DIST ss206_SLAH.tgz 31143941 RMD160 6dbfa508a374c2b5139cc45214e9ad1a17919791 SHA1 98916a96c7e5232a8deb3c2a9919e645f4bb1fdc SHA256 513faf240d85b189a64a1e88f9fdb08ee273c1f44e2bf0b51d9611fc9e4f3838
EBUILD novell-npkiapi-3.3.0.1.20080710_p1008-r1.ebuild 1824 RMD160 13cd06c20cc79b28cb1136feda38b0962a0019f3 SHA1 868d4e51eb75d78d07bc7aa3ffeaab13495a81f2 SHA256 be01c504b6a73533f7f905021e4f86f2df523a3b11188009f40860061a6cea40
EBUILD novell-npkiapi-3.3.0.1.20080710_p1008-r2.ebuild 1933 RMD160 e8ae9ff2f3eee5d6d9361583302867014464146c SHA1 98be0534846a49fea5993798355f6729f790c968 SHA256 a0623c846296fa2c4d67cf6da6f619ebc4bbb5cc8032d8e15e44eb41ec5eec84
EBUILD novell-npkiapi-3.3.0.1.20080710_p1008.ebuild 1790 RMD160 a646c059584ba8acf9da40521f0403419aa96a4e SHA1 98fad7dfa3de34c7ff98c8db328e1fcad9d3374a SHA256 5e3628af925dd846c543c213f37bac839974638ca413aa8863452993c933f0b1
MISC ChangeLog 2462 RMD160 2be7f44fa8c3cf47fc1ab3277d3ac63eb507d9ea SHA1 ba402a7aa7a53b33b8cd1f14d09f772d2dd3572b SHA256 be35e968cead3416cfada4a95d32e01a85e35f17d7c84ec7116aece94fbe517b
MISC ChangeLog 2585 RMD160 3fd245973fa31385a5c4cdc39a8c9bd3d25f0235 SHA1 86fc1b6fbe5bfe643fd00529b25b3ed61890fced SHA256 86fea1e23d545b70baef557a610a6392ca8ad030a65f146a227cfd84c395c001
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,66 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
NOVELL_BUILDID="LYlbZMAom6k~"
NOVELL_FILE32="patchfiles/ss206_SLAH.tgz"
RESTRICT="mirror strip"
inherit novell eutils rpm java-utils-2 versionator multilib
MY_PVV=$(replace_version_separator 4 '-')
MY_PV="${MY_PVV/_p/_}"
DESCRIPTION="Novell Public Key Infrastructure Services"
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="8.7"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="!app-crypt/novell-npkiapi:0
!app-crypt/novell-npkiapi:8.8"
RDEPEND="virtual/libc
>=virtual/jdk-1.4
x86? ( sys-libs/lib-compat )
amd64? ( app-emulation/emul-linux-x86-compat )
>=app-crypt/novell-nici-2.7.3_p001
app-crypt/novell-npkit:8.7
net-nds/novell-nldapsdk:8.7
net-nds/novell-ndsbase:8.7"
src_unpack() {
unpack ${A}
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack "${WORKDIR}"/Linux/eDir87x/NOVLpkia-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/*.so*
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/*.jar
}
pkg_nofetch() {
einfo "This files require you to register at ${HOMEPAGE} (free account)"
einfo "Please download following file:"
einfo " - ${NOVELL_FILE32}"
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"
}