From cec28361a51b3aa6541c71f5a479ed6e378291f8 Mon Sep 17 00:00:00 2001 From: geos_one Date: Mon, 14 Dec 2009 12:17:17 +0000 Subject: [PATCH] net-misc/novell-client-script: redigest --- .../net-misc/novell-client-script/ChangeLog | 4 + .../net-misc/novell-client-script/Manifest | 2 +- .../novell-client-script-3.0.0.2.ebuild | 104 ++++++++++++++++++ 3 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 trunk/novell4gentoo/net-misc/novell-client-script/novell-client-script-3.0.0.2.ebuild diff --git a/trunk/novell4gentoo/net-misc/novell-client-script/ChangeLog b/trunk/novell4gentoo/net-misc/novell-client-script/ChangeLog index afb1eb3c..4c215491 100644 --- a/trunk/novell4gentoo/net-misc/novell-client-script/ChangeLog +++ b/trunk/novell4gentoo/net-misc/novell-client-script/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 14 Dec 2009; Mario Fetka + +novell-client-script-3.0.0.2.ebuild: + redigest + 15 Apr 2009; Mario Fetka -novell-client-script-2.0.0_p24.ebuild, -novell-client-script-2.0.0_p27.ebuild, diff --git a/trunk/novell4gentoo/net-misc/novell-client-script/Manifest b/trunk/novell4gentoo/net-misc/novell-client-script/Manifest index 3e7e119a..bc4bec47 100644 --- a/trunk/novell4gentoo/net-misc/novell-client-script/Manifest +++ b/trunk/novell4gentoo/net-misc/novell-client-script/Manifest @@ -7,5 +7,5 @@ DIST novell-client-3.0-sled11-x86_64-CD1.iso 7968768 RMD160 9262874512d6c2ac7ae6 EBUILD novell-client-script-2.0.0_p30.ebuild 3296 RMD160 3bc4724e36174999579a167b809f3284701cd57d SHA1 16edc4828339c7f5dc16ede270ff7e354f5a0b08 SHA256 27782369d9b6ec1e1bb191db5c6c52bd06161b874855b45c5e421e3a023f5e7c EBUILD novell-client-script-2.0.0_p32.ebuild 3225 RMD160 caaa8e923ee9269ee0c0ce613b9ecf3fa26bbf44 SHA1 c2781db98a146f98c1574b23a158f9881fb41723 SHA256 b84ce72bb9af1fff4f483b565557c0c92bc5ce518eb8982a6e831f8121c0d0eb EBUILD novell-client-script-3.0.0.2.ebuild 3278 RMD160 f256b81d253212af9301ca09a301342d765e9438 SHA1 71cc34d0b05c22597d410e95cad8990680074165 SHA256 b6ed5d5fc5f612d51541fbde383c30da5c78a43cd7da24e92865ea10f49efd37 -MISC ChangeLog 2081 RMD160 1288e42dfb28440eaaea7ba83b2fcbd72806eaa3 SHA1 259946741492f171b2c5ca6b7c0b22e170f507ee SHA256 f941cf7f50099dd6e5fa053a3e7e9e87facbaeaaf99f5970ea10d653ba599985 +MISC ChangeLog 2184 RMD160 e5711aa7349c3733f0bd497badd753cb3cd3296d SHA1 9b75aea7130ee6e32bb637aae2e6652b11e168af SHA256 4b26fcd8a35270a7a7af96e7cd0ad59d4731a2458bd52dd88fe2f28f410c881b MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-misc/novell-client-script/novell-client-script-3.0.0.2.ebuild b/trunk/novell4gentoo/net-misc/novell-client-script/novell-client-script-3.0.0.2.ebuild new file mode 100644 index 00000000..fd0e43af --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-client-script/novell-client-script-3.0.0.2.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="_xf1ppPR2xA~" +NOVELL_FILE32="novell-client-3.0-sled11-i586-CD1.iso" +NOVELL_FILE64="novell-client-3.0-sled11-x86_64-CD1.iso" +RESTRICT="mirror strip" + +inherit novell eutils rpm5 pam versionator + +MY_PV=$(replace_version_separator 3 '-') + +DESCRIPTION="Novell Modules for Login Script Procssing" +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" +SLOT="0" +KEYWORDS="~x86 ~amd64" +#IUSE="linguas_cs linguas_da linguas_de linguas_en linguas_es linguas_fi linguas_fr linguas_hu linguas_it linguas_ja linguas_nb linguas_pl linguas_pt linguas_ru linguas_sk linguas_zh" +IUSE="" + +DEPEND=">=app-arch/p7zip-4.15" + +RDEPEND="virtual/libc + net-misc/novell-client-env + !dev-perl/Unicode-MAP + >=sys-libs/novell-xplatlib-1.0.3_p31 + >=sys-libs/pam-0.99.3" + +src_unpack() { + cd "${WORKDIR}" + if use x86 + then + narch=i586 + nlib=lib + 7z x "${DISTDIR}"/${NOVELL_FILE32} + elif use amd64 + then + narch=x86_64 + nlib=lib64 + 7z x "${DISTDIR}"/${NOVELL_FILE64} + fi + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm5_unpack "${WORKDIR}"/suse/${narch}/${PN}-${MY_PV}.${narch}.rpm +} + +src_compile() { :; } + +src_install() { +# for x in cs da de en es fi fr hu it ja nb pl pt ru sk zh +# do +# if use linguas_${x} +# then +# cp "${WORKDIR}"/${PN}-${MY_PV}/usr/share/locale/${x}*/LC_MESSAGES/${PN}.mo "${WORKDIR}"/${x}.mo +# domo "${WORKDIR}"/${x}.mo +# fi +# done + dosbin "${WORKDIR}"/${PN}-${MY_PV}/sbin/* + dosed 's:MAP:map:' /usr/sbin/mount.map + dopamd "${WORKDIR}"/${PN}-${MY_PV}/etc/pam.d/* +# dopamsecurity / "${WORKDIR}"/${PN}-${MY_PV}/etc/security/*.conf + dopammod "${WORKDIR}"/${PN}-${MY_PV}/${nlib}/security/* + into /opt/novell + dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/${nlib}/* + doman "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/*/* + into /opt/novell/ncl + dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/bin/* + dodoc "${WORKDIR}"/${PN}-${MY_PV}/usr/share/doc/packages/${PN}/* + insinto /opt/novell/include/ncl_script + doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/include/ncl_script/*.h + dosym map /opt/novell/ncl/bin/nwmap +} + +pkg_prerm() { + /opt/novell/ncl/bin/login_ucfg_pam +} + +pkg_postinst() { + /opt/novell/ncl/bin/login_cfg_pam +} + +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" +}