net-fs/novell-novfsd: cleanup
This commit is contained in:
parent
7665a480de
commit
64ca525ccd
@ -2,6 +2,10 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
09 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
-novell-novfsd-3.0.0.15.ebuild:
|
||||
cleanup
|
||||
|
||||
07 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
-novell-novfsd-3.0.0.11-r1.ebuild, -novell-novfsd-3.0.0.14.ebuild:
|
||||
cleanup
|
||||
|
@ -2,9 +2,6 @@ AUX 50_novfsd.sh 1157 RMD160 6990703083869b442b7836bd11055068622c32a4 SHA1 adc4b
|
||||
AUX novfsd20.initd 1744 RMD160 fefb48332e29886d7dac478302a5d2086fd446d4 SHA1 7c1307c77d3999a8ba4947e73d8c909343829ccd SHA256 4eabb54173901292823edd2d81d50fe00f8be5d090071711fbf6d77e6e011b03
|
||||
DIST novell-client-2.0-sp2-patch2-sle11-i586.iso 7997440 RMD160 e65eb47b944800d92ca4e37f3397e325f97034ab SHA1 10388020720829678b39fa73ce113d1edb16fd5b SHA256 3df7fd33504543cbbd0cef9a1917c3b9979c70f0ad27643d80daba7e28523021
|
||||
DIST novell-client-2.0-sp2-patch2-sle11-x86_64.iso 7976960 RMD160 f81ab1c343291b428a05230e33e306679825a027 SHA1 9d13af47bf0dd34576ecaa8ff16f7e34bc5bf485 SHA256 7e985f980a3cc197fb9dc0017d4c72e4be61709b894080825315cf0c84b705be
|
||||
DIST novell-client-3.0-sled11-i586-CD1.iso 7987200 RMD160 b98b4cb79ddfbd7fe6dc3442288ef71fac6baef3 SHA1 a15b18e570d32e3c0b3ae8f7cdb51c233214ee45 SHA256 59dba7ed244811c645b52c4b8476c725b771064e1ff43c33f37001f01c7584ed
|
||||
DIST novell-client-3.0-sled11-x86_64-CD1.iso 7968768 RMD160 9262874512d6c2ac7ae63b2ed108d097194741b5 SHA1 ef1987e0f71f4775d2e3b5d342fdeacd4f9ca3db SHA256 3223dc757e1788222d95c1b3353b9b156072d1b3a027b6fa4b71007b6aae4a05
|
||||
EBUILD novell-novfsd-3.0.0.15.ebuild 2682 RMD160 34129eae30c6baa9b13de0805976857e8c905a11 SHA1 208cc32e80d7173eaab50b1ec4d5e95f813fdd6c SHA256 b7e7292fb2146fbf92b8045b625747c81b4192acd25d154d73e962cd6e64c3cf
|
||||
EBUILD novell-novfsd-3.0.0.16.ebuild 2717 RMD160 80e039832daa4848fa356b0558f604878130c955 SHA1 855798fa6aa23fb317143672fa87de9ddfce347a SHA256 7dde1f6ba9731056543753a489e485ab926b899ba387c9cd7991f8a125635f7b
|
||||
MISC ChangeLog 3532 RMD160 b552e1120d551c836e2d619983a7584e4ef404e2 SHA1 0ba3b28eb3bb30bfdbeea7acc7c7a859513c3b6e SHA256 7020f44ed5f9a5b1c1bec2becaeccdb659945a94eb9f337537d4648ac74409e0
|
||||
MISC ChangeLog 3628 RMD160 533b64481555cbd6d449fabce428c7703f7fa896 SHA1 7da1b1eaa725ec18bab55b2934fd57e170174251 SHA256 356a05f0fdebe71e6eedddcfb2c33a47fa9a85464af26f9d2deb3e0420208705
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2010 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 versionator
|
||||
|
||||
MY_PVV=$(replace_version_separator 3 '-')
|
||||
MY_PV="${MY_PVV/_p/-}"
|
||||
|
||||
DESCRIPTION="Novell Client for Linux file system deamon"
|
||||
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=""
|
||||
|
||||
DEPEND=">=app-arch/p7zip-4.15"
|
||||
|
||||
RDEPEND="virtual/libc
|
||||
net-misc/novell-client-env
|
||||
>=sys-devel/gcc-4.1
|
||||
>=net-nds/novell-xtier-base-3.1.6.12
|
||||
>=app-crypt/novell-nici-2.7.4.6"
|
||||
|
||||
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() {
|
||||
into /opt/novell/ncl
|
||||
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/bin/*
|
||||
# newbin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/bin/Debug/novfsd novfsd-Debug
|
||||
dodoc "${WORKDIR}"/${PN}-${MY_PV}/usr/share/doc/packages/${PN}/*
|
||||
exeinto /etc/opt/novell/xtier/xregd/init/
|
||||
doexe "${FILESDIR}"/*.sh
|
||||
|
||||
newinitd "${FILESDIR}"/novfsd20.initd novfsd
|
||||
keepdir /var/opt/novell/run
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# check if mount dir exists otherwise create it
|
||||
if [ ! -d /var/opt/novell/nclmnt ]; then
|
||||
einfo "Creating mount point /var/opt/novell/nclmnt"
|
||||
mkdir -p -m 777 /var/opt/novell/nclmnt
|
||||
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