net-misc/novell-client-script: initial import novell client 2.0
This commit is contained in:
parent
ba8f84c920
commit
50f8f4c0c3
@ -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/80novell-client64,
|
||||
+novell-client-script-2.0.0_p24.ebuild:
|
||||
initial import novell client 2.0
|
||||
|
||||
04 Apr 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
-novell-client-script-1.2.0_p38-r2.ebuild,
|
||||
-novell-client-script-1.2.0_p38-r3.ebuild:
|
||||
|
@ -2,15 +2,25 @@ AUX 80novell-client 164 RMD160 1873d6c60904a7c729f0e7ed9f5a21ac7dd6bbe8 SHA1 240
|
||||
MD5 6768ec207bdfb38f47d151aba0105d05 files/80novell-client 164
|
||||
RMD160 1873d6c60904a7c729f0e7ed9f5a21ac7dd6bbe8 files/80novell-client 164
|
||||
SHA256 dafe1812e1005f625deba9bcc6e60f3623c7ddd633e584c6a4533f7836af691f files/80novell-client 164
|
||||
AUX 80novell-client64 220 RMD160 8fe1dc96515fe4e0f3759c6428fecde898987840 SHA1 f3c3b7a73744944aba323d39e8f23129f328a1d7 SHA256 03376ab166cb03f7acf355ab9d4ad15b0b9b2783bf23c723d9476958f0630c46
|
||||
MD5 758eb60dd98dd4e5caa1f0f519843720 files/80novell-client64 220
|
||||
RMD160 8fe1dc96515fe4e0f3759c6428fecde898987840 files/80novell-client64 220
|
||||
SHA256 03376ab166cb03f7acf355ab9d4ad15b0b9b2783bf23c723d9476958f0630c46 files/80novell-client64 220
|
||||
DIST novell-client-1.2-SLE10.tar.gz 13963983 RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 SHA1 14278f74c8226afabc0c602bdc31d4e20acff6b9 SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241
|
||||
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
|
||||
EBUILD novell-client-script-1.2.0_p38-r4.ebuild 2029 RMD160 9b2016ddbcff69c245d2adff7b74a64bd1bb981d SHA1 cb37af546a59df6ff8bc6449f133e8d201d38b5f SHA256 be2a0cbbb9c6d4e71a1f5b13e8d79ad0bad4f9063f2ede6ef70c69fffc6edc6b
|
||||
MD5 44d0ae98a4e296f8d3e0e554f191564b novell-client-script-1.2.0_p38-r4.ebuild 2029
|
||||
RMD160 9b2016ddbcff69c245d2adff7b74a64bd1bb981d novell-client-script-1.2.0_p38-r4.ebuild 2029
|
||||
SHA256 be2a0cbbb9c6d4e71a1f5b13e8d79ad0bad4f9063f2ede6ef70c69fffc6edc6b novell-client-script-1.2.0_p38-r4.ebuild 2029
|
||||
MISC ChangeLog 990 RMD160 41ddb060b179632fdfe10f967ab77127c98f0b26 SHA1 0c0f4225a090cb38f190645df6a03fed74723f53 SHA256 4fa1e5f36d9d9940576911af89c8bcc5a60b78b36d18ecb1ae66c2759025bd9d
|
||||
MD5 183b5505746691878e3b7956e70da2a3 ChangeLog 990
|
||||
RMD160 41ddb060b179632fdfe10f967ab77127c98f0b26 ChangeLog 990
|
||||
SHA256 4fa1e5f36d9d9940576911af89c8bcc5a60b78b36d18ecb1ae66c2759025bd9d ChangeLog 990
|
||||
EBUILD novell-client-script-2.0.0_p24.ebuild 3571 RMD160 a884248862ebedbf3f2ecf5ac933f9d1b34cd3db SHA1 db7d00119e29ad9f2f8b18938b070734e28d4dcd SHA256 11c36810e491495ba799cffe94b680c5b7d6edb00eea2047b1dc8f392e8d4b87
|
||||
MD5 e0736633ce110ff3df66e8d73c885bd4 novell-client-script-2.0.0_p24.ebuild 3571
|
||||
RMD160 a884248862ebedbf3f2ecf5ac933f9d1b34cd3db novell-client-script-2.0.0_p24.ebuild 3571
|
||||
SHA256 11c36810e491495ba799cffe94b680c5b7d6edb00eea2047b1dc8f392e8d4b87 novell-client-script-2.0.0_p24.ebuild 3571
|
||||
MISC ChangeLog 1142 RMD160 6993acccd71211c62956c8716d3bef3a471f3189 SHA1 95a639eb4a57b68f795f2315f5f4696edb778a76 SHA256 791af25fe9c4e1cfb699a27e837787dfb491456f6d567a43b8ee90f09049a2c2
|
||||
MD5 46bfa123729d25639999a54c76e165df ChangeLog 1142
|
||||
RMD160 6993acccd71211c62956c8716d3bef3a471f3189 ChangeLog 1142
|
||||
SHA256 791af25fe9c4e1cfb699a27e837787dfb491456f6d567a43b8ee90f09049a2c2 ChangeLog 1142
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
|
||||
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
|
||||
@ -18,3 +28,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata
|
||||
MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-client-script-1.2.0_p38-r4 277
|
||||
RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-client-script-1.2.0_p38-r4 277
|
||||
SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-client-script-1.2.0_p38-r4 277
|
||||
MD5 3332466877e3a8abab8294e669c4b312 files/digest-novell-client-script-2.0.0_p24 590
|
||||
RMD160 4674f6c84c589734b5ce983d3441b35dff1fd412 files/digest-novell-client-script-2.0.0_p24 590
|
||||
SHA256 024a6db7c5a121d6c96d32d8371e61d6a79825ede5aca48c1ea77e9e49e939cb files/digest-novell-client-script-2.0.0_p24 590
|
||||
|
@ -0,0 +1,5 @@
|
||||
NOVELL_CLIENT_DIR=/opt/novell/ncl
|
||||
PATH=/opt/novell/ncl/bin
|
||||
ROOTPATH=/opt/novell/ncl/bin
|
||||
LDPATH=/opt/novell/ncl/lib32:/opt/novell/ncl/lib64
|
||||
PRELINK_PATH_MASK=/opt/novell/ncl/lib32:/opt/novell/ncl/lib64:/opt/novell/ncl/bin
|
@ -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,109 @@
|
||||
# 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 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-EULA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="gtk 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
|
||||
!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
|
||||
if use x86
|
||||
then
|
||||
doenvd "${FILESDIR}"/80novell-client
|
||||
elif use amd64
|
||||
then
|
||||
doenvd "${FILESDIR}"/80novell-client64
|
||||
fi
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user