From 790466a01e220ab5f3382a4db7243a839deeaa1c Mon Sep 17 00:00:00 2001 From: geos_one Date: Mon, 3 Nov 2008 15:10:05 +0000 Subject: [PATCH] net-fs/novell-novfsd: Bump --- .../net-fs/novell-novfsd/ChangeLog | 4 + .../net-fs/novell-novfsd/Manifest | 8 +- .../novell-novfsd-3.0.0.1.5.ebuild | 131 ++++++++++++++++++ .../novell-novfsd-3.0.0.8.ebuild | 131 ++++++++++++++++++ 4 files changed, 273 insertions(+), 1 deletion(-) create mode 100644 trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-3.0.0.1.5.ebuild create mode 100644 trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-3.0.0.8.ebuild diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/ChangeLog b/trunk/novell4gentoo/net-fs/novell-novfsd/ChangeLog index dd0c2d5..b0b4f82 100644 --- a/trunk/novell4gentoo/net-fs/novell-novfsd/ChangeLog +++ b/trunk/novell4gentoo/net-fs/novell-novfsd/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 03 Nov 2008; Mario Fetka + +novell-novfsd-3.0.0.1.5.ebuild, +novell-novfsd-3.0.0.8.ebuild: + Bump + 28 Aug 2008; Mario Fetka -files/80novell-client, -files/80novell-client64, novell-novfsd-2.0.0_p29.ebuild: depend on env package diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/Manifest b/trunk/novell4gentoo/net-fs/novell-novfsd/Manifest index 1fb2677..e9e7eca 100644 --- a/trunk/novell4gentoo/net-fs/novell-novfsd/Manifest +++ b/trunk/novell4gentoo/net-fs/novell-novfsd/Manifest @@ -1,6 +1,12 @@ AUX novfsd20.initd 1621 RMD160 ac7aee732f7ad8c928cf96b60a6c4d0f99a3a0f6 SHA1 f2f7e72036e6a0f7f3cce5739fb5f971167cd05c SHA256 c7df540ee72b34ab8305d11357594df47eb9a64b8ae47fd72e5add565738e34f +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 DIST novell-client-2.0-sle10sp1-x86_64.iso 11649024 RMD160 4f3a08e9cfea2b78072ba9114ecf03b44d8da17a SHA1 f1f5c78851a66c963fef02c69d89e86a3ba12d00 SHA256 3b70e2c81ded3916771a22a5c284c0d5ac7b32b8a47207d01350f9f952fd216f EBUILD novell-novfsd-2.0.0_p29.ebuild 3689 RMD160 3413f51b7087bb53de86dba89b1093e4ab1e3fa5 SHA1 d024c6c156b4308d26343cb831d5458e2ba3fee3 SHA256 226a2ab7b586bc06e3322582e5d82350f80c182041414d45237a7fc8b9bd297e -MISC ChangeLog 1571 RMD160 4c448327509ec1ab4800be4473807f865e0b6681 SHA1 14c5d01a42a0f8d5e510f0f04b244545883ba48b SHA256 e429d0f928ae101d9d4ecd5a134c1a8c574e0b1d2ef672107256e81043a5b913 +EBUILD novell-novfsd-3.0.0.1.5.ebuild 3755 RMD160 4ce882c490f14c9e5398a60dcda5ad8d8f72861b SHA1 5bcb85257fe301536d1ae51b243531149fc703b7 SHA256 e42ff8539e36230045c30bcc17b73611921bbcebe2980076ed46368517e076ab +EBUILD novell-novfsd-3.0.0.8.ebuild 3757 RMD160 c0be399c8c9e5347e59d11e021a60e7beebde58f SHA1 e16271cd4e02b18532f322b6e60774956389c769 SHA256 b20366be5e523709900efdd213d3e20bec20f8327757993127634c447d41ad56 +MISC ChangeLog 1696 RMD160 13c33afb31666d8896d49bed20680c05bcf28edf SHA1 997a9d6d78ff4d847fb3699bb2b6d46b4ed9b421 SHA256 bcd0697bf898a6224e063f1112bf934352a7546fad4e0fe1ec87d20ab4c07217 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-3.0.0.1.5.ebuild b/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-3.0.0.1.5.ebuild new file mode 100644 index 0000000..f39b005 --- /dev/null +++ b/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-3.0.0.1.5.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="bldJIQnntfA~" +NOVELL_FILE32="novell-client-2.0-SP1-sle10sp2-i386.iso" +NOVELL_FILE64="novell-client-2.0-SP1-sle10sp2-x86_64.iso" +RESTRICT="mirror strip" + +inherit novell eutils rpm 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.5_p46 + >=net-fs/novell-novfs-2.0.0_p23 + >=app-crypt/novell-nici-2.7.3_p11" + +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() { + 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}/* + + newinitd "${FILESDIR}"/novfsd20.initd novfsd +} + +pkg_preinst() { + rc-config stop novfsd + rc-config start novell-xregd +} + +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 + + # set sane defaults + EnableSLP=1 + EnableNMAS=1 + + # check slp Support + if [ -f /etc/opt/novell/ncl/protocol.conf ]; then + cat /etc/opt/novell/ncl/protocol.conf |grep Name_Resolution_Providers 2>&1 >/dev/null + if [ $? -eq 0 ]; then + cat /etc/opt/novell/ncl/protocol.conf |grep SLP 2>&1 >/dev/null + if [ $? -ne 0 ]; then + EnableSLP=0 + fi + fi + fi + + # check nmas Support + if [ -f /etc/opt/novell/ncl/login.conf ]; then + cat /etc/opt/novell/ncl/login.conf |grep "NMAS_Authentication=false" 2>&1 >/dev/null + if [ $? -eq 0 ]; then + EnableNMAS=0 + fi + fi + + # enable xtier slp name resolution + if [ $EnableSLP -eq 1 ]; then + /opt/novell/xtier/bin/regutil -v "\client\policies\network\ip\address resolution providers\configured" "9" REG_SZ "{A18C57F8-17DA-11d1-8FFF-00A0C925D248}" + fi + + # enable xtier NMAS support + if [ $EnableNMAS -eq 1 ]; then + /opt/novell/xtier/bin/regutil -v "\Client\Policies" "Default Authentication Provider" REG_SZ "{FCB72681-D373-11d3-BC08-00A0C9EA53EF}" + fi +} + +pkg_prerm() { + rc-config stop novfsd +} + +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" +} diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-3.0.0.8.ebuild b/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-3.0.0.8.ebuild new file mode 100644 index 0000000..7666232 --- /dev/null +++ b/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-3.0.0.8.ebuild @@ -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 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.5_p46 + >=net-fs/novell-novfs-2.0.0_p23 + >=app-crypt/novell-nici-2.7.3_p11" + +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() { + 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}/* + + newinitd "${FILESDIR}"/novfsd20.initd novfsd +} + +pkg_preinst() { + rc-config stop novfsd + rc-config start novell-xregd +} + +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 + + # set sane defaults + EnableSLP=1 + EnableNMAS=1 + + # check slp Support + if [ -f /etc/opt/novell/ncl/protocol.conf ]; then + cat /etc/opt/novell/ncl/protocol.conf |grep Name_Resolution_Providers 2>&1 >/dev/null + if [ $? -eq 0 ]; then + cat /etc/opt/novell/ncl/protocol.conf |grep SLP 2>&1 >/dev/null + if [ $? -ne 0 ]; then + EnableSLP=0 + fi + fi + fi + + # check nmas Support + if [ -f /etc/opt/novell/ncl/login.conf ]; then + cat /etc/opt/novell/ncl/login.conf |grep "NMAS_Authentication=false" 2>&1 >/dev/null + if [ $? -eq 0 ]; then + EnableNMAS=0 + fi + fi + + # enable xtier slp name resolution + if [ $EnableSLP -eq 1 ]; then + /opt/novell/xtier/bin/regutil -v "\client\policies\network\ip\address resolution providers\configured" "9" REG_SZ "{A18C57F8-17DA-11d1-8FFF-00A0C925D248}" + fi + + # enable xtier NMAS support + if [ $EnableNMAS -eq 1 ]; then + /opt/novell/xtier/bin/regutil -v "\Client\Policies" "Default Authentication Provider" REG_SZ "{FCB72681-D373-11d3-BC08-00A0C9EA53EF}" + fi +} + +pkg_prerm() { + rc-config stop novfsd +} + +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" +}