app-crypt/novell-nici: Bump

This commit is contained in:
geos_one 2008-11-03 14:41:49 +00:00
parent e4514e00f4
commit 58765fb124
3 changed files with 139 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
+novell-nici-2.7.4.3.ebuild:
Bump
09 Sep 2008; Mario Fetka <mario.fetka@gmail.com>
+novell-nici-2.7.4.0.7.ebuild:
Bump to 2.0 sp1

View File

@ -1,3 +1,5 @@
DIST Novell_Client_11.0-i386-20081003-CD1.iso 10033152 RMD160 fadcd5ad983fd7c7dc103c16dcfe9830cf0cd574 SHA1 358e219ad0bda13bbd4835342f24c1b01c5f1775 SHA256 cc84aab8c954037479ed2fa3616b76de17047341d25a2aa6210ac050023e3c00
DIST Novell_Client_11.0-x86_64-20081003-CD1.iso 10487808 RMD160 8965da596c4e339ff2b5b8d240f91a478f9ca2d5 SHA1 acb2ef899c9c593e6f16b1226ed68f54e12f7214 SHA256 81c3153f9fa435ab7251694873c9b4083b126ebae544bd30527fb8183e690789
DIST novell-client-2.0-SP1-sle10sp2-i386.iso 10100736 RMD160 dc9313c69a22359c9cdbb2f9105543d11a912381 SHA1 da0cfa59099a4de7d4bdc2a6390d8993c48ee00c SHA256 9c7edfcb67c6ea3a7c67c48568139b8c6dc369b106781320cf117cbda468ae70
DIST novell-client-2.0-SP1-sle10sp2-x86_64.iso 10971136 RMD160 2cf2b3c0b73b827ab4be0d74f87a9764c807c76b SHA1 91318ad4e643d2f43d47fd9fb234050d9ad62194 SHA256 789dc3bb04d8e7a7714001bce6af6ba8aba769ed32251e9cad53274322261028
DIST novell-client-2.0-sle10sp1-i386.iso 10866688 RMD160 b478e97de576987b0a3b801965dbddb4fc8d8ce0 SHA1 49d70ed6e7007b7e18468ec0b42bed6ac6b8702f SHA256 a6609aee78e90a5375fd698b571a015b3696d10ff2f11d085e4abf5b404a35d6
@ -6,5 +8,6 @@ DIST ss206_SLAH.tgz 31143941 RMD160 6dbfa508a374c2b5139cc45214e9ad1a17919791 SHA
EBUILD novell-nici-2.7.2_p001.ebuild 1688 RMD160 9cb6e827fd8f65800e703286cb858db81253fc2a SHA1 2170f431a15f84b90e05f527a3c66ad0ca4362e8 SHA256 1509e990a854d1edf37edb9055fb77a589bc6517b0921f5d77605a8a49cb256b
EBUILD novell-nici-2.7.3_p12.ebuild 3579 RMD160 ff8c0d7da8da1398b3836df7ddc14f13e2ad4a69 SHA1 1bcdd21d9f21b515bc90fd54d060cca9b89628b3 SHA256 351253f8e39fe023eb67889b4e7245ad03f26cf1a07588054e38c0b37fb2da96
EBUILD novell-nici-2.7.4.0.7.ebuild 3645 RMD160 c6cf146cd1e2ab11768157124785a31ee20a78c2 SHA1 b41c6409a49454c9cde204870e78c174635da11a SHA256 969b190b31e8fc84d2411d9a246522ad698b8ee39d20186444919e092ff6e40d
MISC ChangeLog 2535 RMD160 c669da270da7c15d836bd16335f5fa529e519d21 SHA1 437eb7880a4289e37c744da18299040404631fbb SHA256 09b54497175940a794402fe2d338b1d9d5e989daeae5b44f55e3085ac902b72e
EBUILD novell-nici-2.7.4.3.ebuild 3638 RMD160 cbf1015bc3020bc32a1ae16796876f177c6b265b SHA1 46471ea9b9292b2f7a843bccc5d6c540b6076020 SHA256 ca463cc648f8c2543589115b7326edd52fca9b69c8659ad9dc92368f6ab6d6bd
MISC ChangeLog 2625 RMD160 7ce3a3377abc8b8847d886909713afa820bd12ad SHA1 10c679d4d13e889d9d57abd020f898fa5a50c982 SHA256 c189dd11956769ad9d88076f1381e33437244b28e61ca3b744b2f9bd8fee7f88
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,131 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="N848u3D7BjQ~"
NOVELL_FILE32="Novell_Client_11.0-i386-20081003-CD1.iso"
NOVELL_FILE64="Novell_Client_11.0-x86_64-20081003-CD1.iso"
RESTRICT="mirror strip"
inherit novell eutils rpm multilib versionator
MY_PVV=$(replace_version_separator 3 '-')
MY_PV="${MY_PVV/_p/-}"
DESCRIPTION="Novell NICI U.S./Worldwide (128bit) Crypto"
HOMEPAGE="http://www.novell.com"
SRC_URI="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"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=app-arch/p7zip-4.15"
RDEPEND="virtual/libc
net-nds/novell-env"
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
}
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"
}