net-misc/novell-ntls: multilib support

This commit is contained in:
geos_one 2009-01-17 05:46:27 +00:00
parent dc576b6685
commit 009c256a4f
3 changed files with 68 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# ChangeLog for net-misc/novell-ntls
# 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-ntls-2.0.2.0_p070927-r3.ebuild:
multilib support
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-ntls-2.0.2.0_p070927-r2.ebuild:
correct blocking slot's

View File

@ -1,5 +1,6 @@
DIST ss206_SLAH.tgz 31143941 RMD160 6dbfa508a374c2b5139cc45214e9ad1a17919791 SHA1 98916a96c7e5232a8deb3c2a9919e645f4bb1fdc SHA256 513faf240d85b189a64a1e88f9fdb08ee273c1f44e2bf0b51d9611fc9e4f3838
EBUILD novell-ntls-2.0.2.0_p070927-r1.ebuild 1586 RMD160 f5a14aec539cf5662e5e9b1a9594cff7bc8cefec SHA1 8a675b78f95b368a006f32ed88ad9f7dcb278c5c SHA256 f44f9fdda5d7a929c8013784a6e6fe578168d7cd4b7b26dde4b17387ece5b581
EBUILD novell-ntls-2.0.2.0_p070927-r2.ebuild 1648 RMD160 0885fc77799c8ac066dbd2929798a5b6c280289b SHA1 8c1c16a4175668b49f48f49b85caa52b5368dd0e SHA256 9b75d6e2df38e245e6c158808d4935de03487e98d58735bfb9956b2465ba24b8
MISC ChangeLog 1866 RMD160 3d5a98f6b37bfe5ad129f21aae5ad68370fb9e6c SHA1 f4e89895a3f7cbaff4f854ce9f5e1c38101ad573 SHA256 bf8d1ae898125415c75633372b794305f1c331b07e3f1dd17b8934dbe0606a3d
EBUILD novell-ntls-2.0.2.0_p070927-r3.ebuild 1700 RMD160 2877b26e7fa0dc933782fbf15bdf1e03e4dc9817 SHA1 2d4bd07b72c120b0733a9b0be18051bb2ee68cb3 SHA256 da17763a4df76bac7be5b4a21b9acdeb86ba6dd8bb1239e9e89f30bc7b97773d
MISC ChangeLog 1979 RMD160 15361742293d6c812cb30b51db3b0fa28438423f SHA1 b677cd7d1d95ac2023aae6bb6f55bade7145d05b SHA256 0848ac761f0ffe4cccb60e00bf5d000764054c4058804dbae9bbbbc233734a9d
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,61 @@
# 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 multilib
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Transport Security Layer"
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-88"
SLOT="8.7"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="!net-misc/novell-ntls:0
!net-misc/novell-ntls:8.8"
RDEPEND="virtual/libc
net-nds/novell-env
>=app-crypt/novell-nici-2.7.3_p001"
src_unpack() {
unpack ${A}
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack "${WORKDIR}"/Linux/eDir87x/novell-ntls-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
into /usr
dolib "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/*
into /opt/novell
dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/lib/*
}
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"
}