net-misc/novell-client-script: bump and use rpm5.eclass

This commit is contained in:
geos_one 2009-01-16 18:19:03 +00:00
parent b80f440095
commit e22e8f8683
3 changed files with 112 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# ChangeLog for net-misc/novell-client-script
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
16 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-client-script-2.0.0_p30.ebuild:
bump and use rpm5.eclass
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
+novell-client-script-2.0.0_p27.ebuild,
+novell-client-script-2.0.0_p29.ebuild:

View File

@ -1,5 +1,7 @@
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_SLE11-i586-20081218-CD1.iso 8058880 RMD160 4a2a4146e82f0bb6f3f64e47f992fafcd20ce2e4 SHA1 e688c2571d90d5726928ff325e8da274f863d89f SHA256 7c3a6487879ae7846f3859e906e52811321b049667cbb04cb48fac079e6aee2e
DIST Novell_Client_SLE11-x86_64-20081218-CD1.iso 8388608 RMD160 749d45b32a1317a8e48f5c4346ea235078bab721 SHA1 7bb062942005e1316539e8b97e961c8cbb0a0c2e SHA256 cc0be51b5f3c61bd071751c26c65fd3fc0a5cea495622bbce2e811973fa70d59
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
@ -7,5 +9,6 @@ DIST novell-client-2.0-sle10sp1-x86_64.iso 11649024 RMD160 4f3a08e9cfea2b78072ba
EBUILD novell-client-script-2.0.0_p24.ebuild 3282 RMD160 b5bf8336dac7d422d4985bf7b3881e3d940f8ca4 SHA1 bb865bc675f0777a5019813caf983152a0364fe3 SHA256 1272b93438e5c45a40618f00e404cf9a8085832054c2e27cf84f4e61176e5caf
EBUILD novell-client-script-2.0.0_p27.ebuild 3290 RMD160 8eb3de735fa0588112397f7bb9820becf9e032fb SHA1 18b90162b3280a496eca2fa49cde26bfe3c0bb98 SHA256 1e9922ad7083f4325dcc8576671b364fe8fc357620e9aad4ece1a5d120e6c456
EBUILD novell-client-script-2.0.0_p29.ebuild 3292 RMD160 334cdad4e0e6348214343e147354bd68b1e1bb19 SHA1 69fba86a7cfc508ea18d41a86dcb4b7c6a943025 SHA256 880bed40809f1ec75c55e93836c52fbf7d17d078f1134aa8ea7c0f12cbceb719
MISC ChangeLog 1608 RMD160 283c0beafda4feb31a1f3a42dea12eb7265560c3 SHA1 ca9dc4ea161e5eb61030520b58d35a1afa1f2786 SHA256 e5d40a0986f0a61d3f940e4bcf1027b6f941123ece30ad43e738d1e2b086aa37
EBUILD novell-client-script-2.0.0_p30.ebuild 3295 RMD160 1a366e33c6b1c95dbddee54663e089911e488893 SHA1 fcfae77077864e3ea9a5322a692f62487659f812 SHA256 7b7a0ceeb5bac8062bb21cb35a58883d1727198bcc4dd1aee928de0044e85f83
MISC ChangeLog 1729 RMD160 620b0f76242b66bd23bf2eb9bb28fb411ce11ca4 SHA1 7502747e885e95938faa16b5140ffaea21147386 SHA256 d544ed57c29a0dceb39d1fc0073e30a8759e8d190acb2056e0b52dc86d5a86f6
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,103 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="CuRXfXSzq7M~"
NOVELL_FILE32="Novell_Client_SLE11-i586-20081218-CD1.iso"
NOVELL_FILE64="Novell_Client_SLE11-x86_64-20081218-CD1.iso"
RESTRICT="mirror strip"
inherit novell eutils rpm5 pam
MY_PV="${PV/_p/-}"
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_CZ linguas_da_DA linguas_de linguas_en linguas_es linguas_fi_FI linguas_fr linguas_hu linguas_it linguas_ja_JP linguas_nb_NB linguas_pl linguas_pt linguas_ru linguas_sk_SK linguas_zh_CN linguas_zh_TW"
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}
rpm_unpack "${WORKDIR}"/suse/${narch}/${PN}-${MY_PV}.${narch}.rpm
}
src_compile() { :; }
src_install() {
for x in cs_CZ da_DA de en es fi_FI fr hu it ja_JP nb_NB pl pt ru sk_SK zh_CN zh_TW
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"
}