app-crypt/novell-pkiserver: multilib support

This commit is contained in:
geos_one 2009-01-17 12:16:28 +00:00
parent b9a3480d6e
commit 7916e3ccd8
3 changed files with 82 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# ChangeLog for app-crypt/novell-pkiserver
# 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-pkiserver-3.3.0.1.20080625_p2150-r2.ebuild:
multilib support
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-pkiserver-3.3.0.1.20080625_p2150-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-pkiserver-3.3.0.1.20080625_p2150-r1.ebuild 2508 RMD160 6721e17dc4bf16d9395c1731ef69e9bf3774924f SHA1 0ebd70ff4f0bef3a8951090a0c3bb3d0b41f3492 SHA256 0dd11a73802f23d86dc2aaa05daa90ce0152c828f9381231471ef95167c34708
EBUILD novell-pkiserver-3.3.0.1.20080625_p2150-r2.ebuild 2667 RMD160 ae3884b7d6f17680cf2e967750af1bef14ce246e SHA1 399eaf50bbe2b10c10902d065d2dd2aedfa78e66 SHA256 943738de63815d5e795ed43f557475849f0c11c7ec735bbc283a2595ec0ef045
EBUILD novell-pkiserver-3.3.0.1.20080625_p2150.ebuild 2450 RMD160 66b7d2a3eb85e65cc20d6a652911959aabb2c82f SHA1 473626b2e4d1decc3e3a5e20ae32b723816e1b0b SHA256 6153a65ca4883fca11b774d334b9317da7867e45891902592ee630b30c91b288
MISC ChangeLog 2159 RMD160 ccff87e81d26285c1d81b357c4489ebebb225de1 SHA1 b66a89c1a756b7d5bacf217403b66d006616dfe7 SHA256 8d0d8da92200a809667f11e8bc9857ae042720e5732b780dbe96a6dd1cf7a044
MISC ChangeLog 2284 RMD160 af7fee01e2fa28cb76164f4371d35fb9ed551c4b SHA1 891f83613925c26728055df9dfcc5ea02647f961 SHA256 917657fe01e78de44c2a83e3c829ad42aa44154594e8d37ea453513f27ab0c26
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,75 @@
# 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 versionator multilib
MY_PVV=$(replace_version_separator 4 '-')
MY_PV="${MY_PVV/_p/_}"
DESCRIPTION="Novell Certificate Server"
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="linguas_fr_FR linguas_ja linguas_ja_JP linguas_zh_CN linguas_zh_TW"
DEPEND="!app-crypt/novell-pkiserver:0
!app-crypt/novell-pkiserver:8.8"
RDEPEND="virtual/libc
x86? ( sys-libs/lib-compat )
amd64? ( app-emulation/emul-linux-x86-compat )
>=app-crypt/novell-nici-2.7.3_p001
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/NOVLpkis-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
into /usr
dosbin "${WORKDIR}"/${PN}-${MY_PV}/usr/sbin/*
dosym . /usr/$(get_libdir)/nds-modules/$(get_libdir)
into /usr/$(get_libdir)/nds-modules
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds-modules/*
rm "${D}"/usr/$(get_libdir)/nds-modules/$(get_libdir)
insinto /usr/lib/nds-schema
doins "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds-schema/*
doman "${WORKDIR}"/${PN}-${MY_PV}/usr/man/*/*.*
use linguas_fr_FR && doman -i18n=fr_FR "${WORKDIR}"/${PN}-${MY_PV}/usr/man/fr_FR/*/*.*
use linguas_ja && doman -i18n=ja "${WORKDIR}"/${PN}-${MY_PV}/usr/man/ja/*/*.*
use linguas_ja_JP && doman -i18n=ja_JP.eucJP "${WORKDIR}"/${PN}-${MY_PV}/usr/man/ja_JP.eucJP/*/*.*
use linguas_zh_CN && doman -i18n=zh_CN "${WORKDIR}"/${PN}-${MY_PV}/usr/man/zh_CN/*/*.*
use linguas_zh_TW && doman -i18n=zh_TW.Big5 "${WORKDIR}"/${PN}-${MY_PV}/usr/man/zh_TW.Big5/*/*.*
}
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"
}