app-crypt/novell-nici: initial import novell client 2.0
This commit is contained in:
parent
e600b29e70
commit
f7f1b0441a
@ -2,6 +2,10 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
01 Nov 2007; Mario Fetka <mario-fetka@gmx.at> +files/80novell64,
|
||||
+novell-nici-2.7.3_p12.ebuild:
|
||||
initial import novell client 2.0
|
||||
|
||||
04 Apr 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
-novell-nici-2.7.0_p001-r1.ebuild, -novell-nici-2.7.0_p001-r2.ebuild,
|
||||
-novell-nici-2.7.0_p001-r3.ebuild, -novell-nici-2.7.2_p001.ebuild:
|
||||
|
@ -2,6 +2,10 @@ AUX 80novell 175 RMD160 6706cbb05c0079b008b1e35a74518b137c1842c4 SHA1 ce625b90ee
|
||||
MD5 1cb295c31c8b72610363844e9ccd5138 files/80novell 175
|
||||
RMD160 6706cbb05c0079b008b1e35a74518b137c1842c4 files/80novell 175
|
||||
SHA256 1602e6f7016cd33476f398196f1061158d9f8f5e302b83911c92e013d6a7d81c files/80novell 175
|
||||
AUX 80novell64 215 RMD160 d304cf813f3377e6fbb7b6bc4a8705590bd28afa SHA1 048891321018e5f7beb1bfc97883b9f2fa72ee6b SHA256 3806ba4709b79d940c2271af9607be295e97dd13c3bc889f95dec1a7d577f3d5
|
||||
MD5 1042c6a1a384e99fea540ed91569750f files/80novell64 215
|
||||
RMD160 d304cf813f3377e6fbb7b6bc4a8705590bd28afa files/80novell64 215
|
||||
SHA256 3806ba4709b79d940c2271af9607be295e97dd13c3bc889f95dec1a7d577f3d5 files/80novell64 215
|
||||
DIST novell-client-2.0-sle10sp1-i386.iso 10866688 RMD160 b478e97de576987b0a3b801965dbddb4fc8d8ce0 SHA1 49d70ed6e7007b7e18468ec0b42bed6ac6b8702f SHA256 a6609aee78e90a5375fd698b571a015b3696d10ff2f11d085e4abf5b404a35d6
|
||||
DIST novell-client-2.0-sle10sp1-x86_64.iso 11649024 RMD160 4f3a08e9cfea2b78072ba9114ecf03b44d8da17a SHA1 f1f5c78851a66c963fef02c69d89e86a3ba12d00 SHA256 3b70e2c81ded3916771a22a5c284c0d5ac7b32b8a47207d01350f9f952fd216f
|
||||
DIST ss203_SLAH.tgz 29858301 RMD160 42c998c5117ca3f5508cf266b07c69141252c57d SHA1 90bcac7db94a335565dd2a9d5ec621014d3ef307 SHA256 bf26dbacff50917d7a4b4e640ffdfbfa6ebb04168bc28716040d8047dd7f359e
|
||||
@ -22,10 +26,10 @@ EBUILD novell-nici-2.7.3_p12.ebuild 3757 RMD160 ae38d26d5605ebb7dc299b6a18aa6294
|
||||
MD5 7147b759815fcf17958e02af9d8d0e52 novell-nici-2.7.3_p12.ebuild 3757
|
||||
RMD160 ae38d26d5605ebb7dc299b6a18aa629477cea96d novell-nici-2.7.3_p12.ebuild 3757
|
||||
SHA256 2e6a66e13015b65cf819df7f8334200674ea274da8c3c612f93bd89fa2148026 novell-nici-2.7.3_p12.ebuild 3757
|
||||
MISC ChangeLog 1414 RMD160 be4c61bbca13863ea046c464bf247137aa6bbe81 SHA1 127b111cbfcbd0198e415fc0fcbfc7d4b7031675 SHA256 aa5893cb438a095d420089fb9ac8ef415f65178d890f106a812cdac70977ced2
|
||||
MD5 31f831029119838fd2b2d01b26804659 ChangeLog 1414
|
||||
RMD160 be4c61bbca13863ea046c464bf247137aa6bbe81 ChangeLog 1414
|
||||
SHA256 aa5893cb438a095d420089fb9ac8ef415f65178d890f106a812cdac70977ced2 ChangeLog 1414
|
||||
MISC ChangeLog 1550 RMD160 9c5a9ef67e9d9c6af9ba0ee2b7f403e7d7c82e7c SHA1 a9794f927f4c636a6d4bd667d328b90231974b73 SHA256 ecd87823f3f883ca4d1a6963232fb5310df347c48cb90004d41c05de92584b6f
|
||||
MD5 ef5ba21f2974efb3205d18a17066a753 ChangeLog 1550
|
||||
RMD160 9c5a9ef67e9d9c6af9ba0ee2b7f403e7d7c82e7c ChangeLog 1550
|
||||
SHA256 ecd87823f3f883ca4d1a6963232fb5310df347c48cb90004d41c05de92584b6f ChangeLog 1550
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
|
||||
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
|
||||
|
@ -0,0 +1,5 @@
|
||||
NOVELL_DIR=/opt/novell
|
||||
PATH=/opt/novell/bin
|
||||
ROOTPATH=/opt/novell/bin:/opt/novell/sbin
|
||||
LDPATH=/opt/novell/lib64:/opt/novell/lib32
|
||||
PRELINK_PATH_MASK=/opt/novell/lib64:/opt/novell/lib32:/opt/novell/bin:/opt/novell/sbin
|
@ -0,0 +1,6 @@
|
||||
MD5 8053ad010f806c412bfcc3dae251050e novell-client-2.0-sle10sp1-i386.iso 10866688
|
||||
RMD160 b478e97de576987b0a3b801965dbddb4fc8d8ce0 novell-client-2.0-sle10sp1-i386.iso 10866688
|
||||
SHA256 a6609aee78e90a5375fd698b571a015b3696d10ff2f11d085e4abf5b404a35d6 novell-client-2.0-sle10sp1-i386.iso 10866688
|
||||
MD5 3203d19a129165a4f504b394c330f897 novell-client-2.0-sle10sp1-x86_64.iso 11649024
|
||||
RMD160 4f3a08e9cfea2b78072ba9114ecf03b44d8da17a novell-client-2.0-sle10sp1-x86_64.iso 11649024
|
||||
SHA256 3b70e2c81ded3916771a22a5c284c0d5ac7b32b8a47207d01350f9f952fd216f novell-client-2.0-sle10sp1-x86_64.iso 11649024
|
@ -0,0 +1,137 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
NOVELL_BUILDID="pvOi9l3qYn4~"
|
||||
NOVELL_FILE32="novell-client-2.0-sle10sp1-i386.iso"
|
||||
NOVELL_FILE64="novell-client-2.0-sle10sp1-x86_64.iso"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
inherit novell eutils rpm multilib
|
||||
|
||||
MY_PV="${PV/_p/-}"
|
||||
|
||||
DESCRIPTION="Novell NICI U.S./Worldwide (128bit) Crypto"
|
||||
HOMEPAGE="http://www.novell.com"
|
||||
SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32} )
|
||||
amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64} )"
|
||||
|
||||
LICENSE="Novell-ncl-EULA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-arch/p7zip-4.15"
|
||||
|
||||
RDEPEND="virtual/libc"
|
||||
|
||||
src_unpack() {
|
||||
cd ${WORKDIR}
|
||||
if use x86
|
||||
then
|
||||
narch=i586
|
||||
nlib=lib
|
||||
|
||||
7z x ${DISTDIR}/${NOVELL_FILE32}
|
||||
mkdir -p ${WORKDIR}/${PN}-${MY_P}
|
||||
cd ${PN}-${MY_P}
|
||||
rpm_unpack ${WORKDIR}/suse/${narch}/nici-${MY_PV}.${narch}.rpm
|
||||
elif use amd64
|
||||
then
|
||||
narch=x86_64
|
||||
nlib=lib64
|
||||
|
||||
7z x ${DISTDIR}/${NOVELL_FILE64}
|
||||
mkdir -p ${WORKDIR}/${PN}-${MY_P}
|
||||
cd ${PN}-${MY_P}
|
||||
rpm_unpack ${WORKDIR}/suse/${narch}/nici64-${MY_PV}.${narch}.rpm
|
||||
|
||||
if has_multilib_profile
|
||||
then
|
||||
rpm_unpack ${WORKDIR}/suse/i586/nici-${MY_PV}.i586.rpm
|
||||
fi
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
into /opt/novell
|
||||
|
||||
if use x86
|
||||
then
|
||||
dolib.so ${WORKDIR}/${PN}-${MY_P}/opt/novell/${nlib}/*
|
||||
elif has_multilib_profile
|
||||
then
|
||||
dolib.so ${WORKDIR}/${PN}-${MY_P}/opt/novell/${nlib}/*
|
||||
ABI="x86" dolib.so ${WORKDIR}/${PN}-${MY_P}/opt/novell/lib/*
|
||||
ABI="x86" dosym ../../opt/novell/$(get_libdir)/libccs2.so /usr/$(get_libdir)/libccs2.so
|
||||
else
|
||||
dolib.so ${WORKDIR}/${PN}-${MY_P}/opt/novell/${nlib}/*
|
||||
fi
|
||||
|
||||
doman ${WORKDIR}/${PN}-${MY_P}/opt/novell/man/*/*
|
||||
|
||||
into /usr
|
||||
dosym ../../opt/novell/$(get_libdir)/libccs2.so /usr/$(get_libdir)/libccs2.so
|
||||
|
||||
insinto /etc/opt/novell/
|
||||
doins ${WORKDIR}/${PN}-${MY_P}/etc/opt/novell/nici*.cfg
|
||||
|
||||
if use x86 || has_multilib_profile
|
||||
then
|
||||
dosym opt/novell/nici.cfg /etc/nici.cfg
|
||||
fi
|
||||
|
||||
diropts -m777
|
||||
dodir /var/opt/novell/nici
|
||||
exeinto /var/opt/novell/nici
|
||||
doexe ${WORKDIR}/${PN}-${MY_P}/var/opt/novell/nici/primenici*
|
||||
doexe ${WORKDIR}/${PN}-${MY_P}/var/opt/novell/nici/nicimud*
|
||||
doexe ${WORKDIR}/${PN}-${MY_P}/var/opt/novell/nici/set_server_mode*
|
||||
|
||||
insinto /var/opt/novell/nici
|
||||
doins ${WORKDIR}/${PN}-${MY_P}/var/opt/novell/nici/nicifk.new
|
||||
doins ${WORKDIR}/${PN}-${MY_P}/var/opt/novell/nici/xmgrcfg.wks
|
||||
dodir /var/novell
|
||||
dosym ../opt/novell/nici /var/novell/nici
|
||||
|
||||
if use x86
|
||||
then
|
||||
doenvd ${FILESDIR}/80novell
|
||||
elif use amd64
|
||||
then
|
||||
doenvd ${FILESDIR}/80novell64
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use x86
|
||||
then
|
||||
/var/opt/novell/nici/primenici
|
||||
elif use amd64
|
||||
then
|
||||
/var/opt/novell/nici/primenici64
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
||||
einfo "Please download following file:"
|
||||
if use x86
|
||||
then
|
||||
einfo " - ${NOVELL_FILE32}"
|
||||
elif use amd64
|
||||
then
|
||||
einfo " - ${NOVELL_FILE64}"
|
||||
fi
|
||||
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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user