From 409bc17f17bfcebb5f8f58a573b58cfca866c612 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sun, 18 Feb 2007 17:10:05 +0000 Subject: [PATCH] gentooize ebuild & move out non novell ebuild --- .../www-client/metadata.xml | 0 .../www-client/prozilla/ChangeLog | 0 .../www-client/prozilla/Manifest | 0 .../prozilla/files/digest-prozilla-2.0.4 | 0 .../prozilla/files/prozilla-2.0.4-gcc4.patch | 0 .../www-client/prozilla/metadata.xml | 0 .../www-client/prozilla/prozilla-2.0.4.ebuild | 0 .../net-fs/novell-novfsd/ChangeLog | 6 +- .../net-fs/novell-novfsd/Manifest | 19 +++- .../novell-novfsd/files/1.2.0_p8/novfsd | 69 ++++++++++++++ .../files/digest-novell-novfsd-1.2.0_p8-r4 | 3 + .../novell-novfsd-1.2.0_p8-r4.ebuild | 91 +++++++++++++++++++ .../novell-xtier-base-3.1.4_p4-r4.ebuild | 2 +- 13 files changed, 184 insertions(+), 6 deletions(-) rename trunk/{novell4gentoo => linamh}/www-client/metadata.xml (100%) rename trunk/{novell4gentoo => linamh}/www-client/prozilla/ChangeLog (100%) rename trunk/{novell4gentoo => linamh}/www-client/prozilla/Manifest (100%) rename trunk/{novell4gentoo => linamh}/www-client/prozilla/files/digest-prozilla-2.0.4 (100%) rename trunk/{novell4gentoo => linamh}/www-client/prozilla/files/prozilla-2.0.4-gcc4.patch (100%) rename trunk/{novell4gentoo => linamh}/www-client/prozilla/metadata.xml (100%) rename trunk/{novell4gentoo => linamh}/www-client/prozilla/prozilla-2.0.4.ebuild (100%) create mode 100755 trunk/novell4gentoo/net-fs/novell-novfsd/files/1.2.0_p8/novfsd create mode 100644 trunk/novell4gentoo/net-fs/novell-novfsd/files/digest-novell-novfsd-1.2.0_p8-r4 create mode 100644 trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-1.2.0_p8-r4.ebuild diff --git a/trunk/novell4gentoo/www-client/metadata.xml b/trunk/linamh/www-client/metadata.xml similarity index 100% rename from trunk/novell4gentoo/www-client/metadata.xml rename to trunk/linamh/www-client/metadata.xml diff --git a/trunk/novell4gentoo/www-client/prozilla/ChangeLog b/trunk/linamh/www-client/prozilla/ChangeLog similarity index 100% rename from trunk/novell4gentoo/www-client/prozilla/ChangeLog rename to trunk/linamh/www-client/prozilla/ChangeLog diff --git a/trunk/novell4gentoo/www-client/prozilla/Manifest b/trunk/linamh/www-client/prozilla/Manifest similarity index 100% rename from trunk/novell4gentoo/www-client/prozilla/Manifest rename to trunk/linamh/www-client/prozilla/Manifest diff --git a/trunk/novell4gentoo/www-client/prozilla/files/digest-prozilla-2.0.4 b/trunk/linamh/www-client/prozilla/files/digest-prozilla-2.0.4 similarity index 100% rename from trunk/novell4gentoo/www-client/prozilla/files/digest-prozilla-2.0.4 rename to trunk/linamh/www-client/prozilla/files/digest-prozilla-2.0.4 diff --git a/trunk/novell4gentoo/www-client/prozilla/files/prozilla-2.0.4-gcc4.patch b/trunk/linamh/www-client/prozilla/files/prozilla-2.0.4-gcc4.patch similarity index 100% rename from trunk/novell4gentoo/www-client/prozilla/files/prozilla-2.0.4-gcc4.patch rename to trunk/linamh/www-client/prozilla/files/prozilla-2.0.4-gcc4.patch diff --git a/trunk/novell4gentoo/www-client/prozilla/metadata.xml b/trunk/linamh/www-client/prozilla/metadata.xml similarity index 100% rename from trunk/novell4gentoo/www-client/prozilla/metadata.xml rename to trunk/linamh/www-client/prozilla/metadata.xml diff --git a/trunk/novell4gentoo/www-client/prozilla/prozilla-2.0.4.ebuild b/trunk/linamh/www-client/prozilla/prozilla-2.0.4.ebuild similarity index 100% rename from trunk/novell4gentoo/www-client/prozilla/prozilla-2.0.4.ebuild rename to trunk/linamh/www-client/prozilla/prozilla-2.0.4.ebuild diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/ChangeLog b/trunk/novell4gentoo/net-fs/novell-novfsd/ChangeLog index d942fa7..aeff14f 100644 --- a/trunk/novell4gentoo/net-fs/novell-novfsd/ChangeLog +++ b/trunk/novell4gentoo/net-fs/novell-novfsd/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for net-fs/novell-novfsd -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 18 Feb 2007; Mario Fetka +files/1.2.0_p8, + +novell-novfsd-1.2.0_p8-r4.ebuild, +files/1.2.0_p8/novfsd: + Gentooize ebuild + 18 Oct 2006; Mario Fetka files/80novell-client, +novell-novfsd-1.2.0_p8-r3.ebuild: Add Novell Packages to PRELINK_MASK_PATH. diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/Manifest b/trunk/novell4gentoo/net-fs/novell-novfsd/Manifest index fdbca93..3b1f27a 100644 --- a/trunk/novell4gentoo/net-fs/novell-novfsd/Manifest +++ b/trunk/novell4gentoo/net-fs/novell-novfsd/Manifest @@ -1,3 +1,7 @@ +AUX 1.2.0_p8/novfsd 1637 RMD160 006d31b10ddadab31a622e829ef33a2790e4944e SHA1 199e371f23314df769fdd7d189fa5327a6a1a9a1 SHA256 d75be3c7c6ed8980e4a68f38ff1192fe7f8fc1436f96c8437578a6694a0530f2 +MD5 8085e12ccc118e3bc49a0b86e38d8a66 files/1.2.0_p8/novfsd 1637 +RMD160 006d31b10ddadab31a622e829ef33a2790e4944e files/1.2.0_p8/novfsd 1637 +SHA256 d75be3c7c6ed8980e4a68f38ff1192fe7f8fc1436f96c8437578a6694a0530f2 files/1.2.0_p8/novfsd 1637 AUX 80novell-client 188 RMD160 c9f5ccaabd23f441d1dde94480cd1f90e3ba671e SHA1 3993c2ebed7b8acb6684823ee7cb3de4b604e129 SHA256 f42dce4698590bcf9233c7c4c6507ca42401f96dfa77ddb1cdbf4a58da6bc1c5 MD5 895a867f6ea7abf1e943df77a265c2e9 files/80novell-client 188 RMD160 c9f5ccaabd23f441d1dde94480cd1f90e3ba671e files/80novell-client 188 @@ -15,10 +19,14 @@ EBUILD novell-novfsd-1.2.0_p8-r3.ebuild 2525 RMD160 a55d4388ffaa61c5a093b6164653 MD5 24799e49efff6c40e464b19615564a3b novell-novfsd-1.2.0_p8-r3.ebuild 2525 RMD160 a55d4388ffaa61c5a093b61646530ed3e264ac32 novell-novfsd-1.2.0_p8-r3.ebuild 2525 SHA256 cca98072be7f2bcac38762be91cb6beaf5d563a827cdca6b36a59ffe8841dd75 novell-novfsd-1.2.0_p8-r3.ebuild 2525 -MISC ChangeLog 618 RMD160 8a82eb6e002b8e9de00ee0097bba02ef981f1a53 SHA1 b4d6859af53751a03fb173ea987a37010fb14e78 SHA256 6b7939b0327064893266727c805b4c5d86e6e9eeef0fe43f4efb1323d17eac0a -MD5 bf5a0b4b4cd80da6c15622e72078714f ChangeLog 618 -RMD160 8a82eb6e002b8e9de00ee0097bba02ef981f1a53 ChangeLog 618 -SHA256 6b7939b0327064893266727c805b4c5d86e6e9eeef0fe43f4efb1323d17eac0a ChangeLog 618 +EBUILD novell-novfsd-1.2.0_p8-r4.ebuild 2210 RMD160 233ffe0b75bce75b1849ecc7dece8ff01b23220a SHA1 fa334c4ea70009d01f8892d7ef82642059cb68dc SHA256 cbeb2ffc63aa196b6cf2979d6ef2e04b137eef792ff34f8262f867568a8193e3 +MD5 df58e4ecee4b1dead480885ba3a14d89 novell-novfsd-1.2.0_p8-r4.ebuild 2210 +RMD160 233ffe0b75bce75b1849ecc7dece8ff01b23220a novell-novfsd-1.2.0_p8-r4.ebuild 2210 +SHA256 cbeb2ffc63aa196b6cf2979d6ef2e04b137eef792ff34f8262f867568a8193e3 novell-novfsd-1.2.0_p8-r4.ebuild 2210 +MISC ChangeLog 764 RMD160 7b2884af307c4dfd8fa77611d80a7c3dd8ff5ea8 SHA1 ad555f74edbd77e3a09e5645b2daa9446955f8ea SHA256 39727a1c0a084a02b4a9d9229d5d786740993a1ca6102a23cc72436fc14f6edc +MD5 fd0da278aeea83e847a2f648be8fec8c ChangeLog 764 +RMD160 7b2884af307c4dfd8fa77611d80a7c3dd8ff5ea8 ChangeLog 764 +SHA256 39727a1c0a084a02b4a9d9229d5d786740993a1ca6102a23cc72436fc14f6edc ChangeLog 764 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 @@ -29,3 +37,6 @@ SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/di MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-novfsd-1.2.0_p8-r3 277 RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-novfsd-1.2.0_p8-r3 277 SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-novfsd-1.2.0_p8-r3 277 +MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-novfsd-1.2.0_p8-r4 277 +RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-novfsd-1.2.0_p8-r4 277 +SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-novfsd-1.2.0_p8-r4 277 diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/files/1.2.0_p8/novfsd b/trunk/novell4gentoo/net-fs/novell-novfsd/files/1.2.0_p8/novfsd new file mode 100755 index 0000000..93d81d8 --- /dev/null +++ b/trunk/novell4gentoo/net-fs/novell-novfsd/files/1.2.0_p8/novfsd @@ -0,0 +1,69 @@ +#!/sbin/runscript + +NOVFS_MOUNT_PATH=/var/opt/novell/nclmnt +export XTIER_CODE_PAGE=`locale charmap` +export NCPL_DO_NOT_OVERWRITE_OPENLOG=1 + +depend() { + before xdm + need net slpd + after novell-xregd +} + +#checkconfig() { +# if [ ! -e ${NDSD_CONFIGFILE} ] ; then +# eerror "Novell eDirectory server has not been configured." +# return 1 +# fi +#} + +start() { + export XTIER_CODE_PAGE=`locale charmap` + export NCPL_DO_NOT_OVERWRITE_OPENLOG=1 + + ebegin "Loading novell novfs kernel module" + #Try and start novfs + modprobe novfs + lsmod |grep novfs 2>&1 >/dev/null + eend $? + ebegin "Mounting novell novfs" + #Mount our filesystem + mount -t novfs novfs $NOVFS_MOUNT_PATH + eend $? + + EnableNMAS=1 + 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 + + if [ $EnableNMAS -eq 0 ]; then + ebegin "Starting novell novfs daemon with NMAS-Authentication" + start-stop-daemon --start --quiet --exec /opt/novell/ncl/bin/novfsd -- -m + else + ebegin "Starting novell novfs daemon" + start-stop-daemon --start --quiet --exec /opt/novell/ncl/bin/novfsd + fi + + eend $? +} + +stop() { + ebegin "Stopping Novell eDirectory server" + start-stop-daemon --stop --quiet --name novfsd + eend $? +# ebegin "unMounting novell novfs" +# umount $NOVFS_MOUNT_PATH 2>/dev/null + #Check to see if mount point is still mounted +# mount | grep novfs 2>&1 > /dev/null +# eend $? +# ebegin "unLoading novell novfs kernel module" +# rmmod novfs + eend $? +} + +#restart() { +# (Commands necessary to restart the service) +#} \ No newline at end of file diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/files/digest-novell-novfsd-1.2.0_p8-r4 b/trunk/novell4gentoo/net-fs/novell-novfsd/files/digest-novell-novfsd-1.2.0_p8-r4 new file mode 100644 index 0000000..9702858 --- /dev/null +++ b/trunk/novell4gentoo/net-fs/novell-novfsd/files/digest-novell-novfsd-1.2.0_p8-r4 @@ -0,0 +1,3 @@ +MD5 2aab6c7358a733d1d8d9a4e893500a36 novell-client-1.2-SLE10.tar.gz 13963983 +RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 novell-client-1.2-SLE10.tar.gz 13963983 +SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241 novell-client-1.2-SLE10.tar.gz 13963983 diff --git a/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-1.2.0_p8-r4.ebuild b/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-1.2.0_p8-r4.ebuild new file mode 100644 index 0000000..e428d72 --- /dev/null +++ b/trunk/novell4gentoo/net-fs/novell-novfsd/novell-novfsd-1.2.0_p8-r4.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils rpm + +MY_PV="${PV/_p/-}" + +DESCRIPTION="Novell Client for Linux file system deamon" +HOMEPAGE="http://www.novell.com" +SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/2JyMn7sWP_Q~/novell-client-1.2-SLE10.tar.gz" + +LICENSE="Novell-NCL" +SLOT="0" +KEYWORDS="~x86" +IUSE="gtk" + +DEPEND="" + +RDEPEND="virtual/libc + >=sys-devel/gcc-4.1 + >=net-nds/novell-xtier-core-3.1.4 + net-fs/novell-novfs + !net-misc/novell-novfsd" + +RESTRICT="nomirror nostrip" + +src_unpack() { + unpack ${A} + mkdir -p ${WORKDIR}/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ${WORKDIR}/ncl_build_711/NCL_disk/novell/i586/${PN}-${MY_PV}.i586.rpm +} + +src_compile() { :; } + +src_install() { + into /opt/novell/ncl + dobin ${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/bin/* + dodoc ${WORKDIR}/${PN}-${MY_PV}/usr/share/doc/packages/${PN}/* + + doenvd "${FILESDIR}"/80novell-client + + doinitd "${FILESDIR}/${PV}"/novfsd +} + +pkg_preinst() { + rc-config stop novfsd + rc-config start novell-xregd +} + +pkg_postinst() { +if [ ! -d /var/opt/novell/nclmnt ]; then + einfo "Creating mount point /var/opt/novell/nclmnt" + mkdir -p -m 777 /var/opt/novell/nclmnt +fi + +EnableSLP=1 +EnableNMAS=1 + +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 + +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 + +if [ $EnableSLP -eq 1 ]; then +# enable xtier slp name resolution +/opt/novell/xtier/bin/regutil -v "\client\policies\network\ip\address resolution providers\configured" "9" REG_SZ "{A18C57F8-17DA-11d1-8FFF-00A0C925D248}" +fi + +if [ $EnableNMAS -eq 1 ]; then +# enable xtier NMAS support +/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 +} diff --git a/trunk/novell4gentoo/net-nds/novell-xtier-base/novell-xtier-base-3.1.4_p4-r4.ebuild b/trunk/novell4gentoo/net-nds/novell-xtier-base/novell-xtier-base-3.1.4_p4-r4.ebuild index 327b7fc..d37ec20 100644 --- a/trunk/novell4gentoo/net-nds/novell-xtier-base/novell-xtier-base-3.1.4_p4-r4.ebuild +++ b/trunk/novell4gentoo/net-nds/novell-xtier-base/novell-xtier-base-3.1.4_p4-r4.ebuild @@ -8,7 +8,7 @@ MY_PV="${PV/_p/-}" DESCRIPTION="Novell Xtier Base" HOMEPAGE="http://www.novell.com" -SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cache.novell.com/prot/2JyMn7sWP_Q~/novell-client-1.2-SLE10.tar.gz +SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/2JyMn7sWP_Q~/novell-client-1.2-SLE10.tar.gz http://download.opensuse.org/distribution/SL-10.1/inst-source/suse/i586/binutils-2.16.91.0.5-18.i586.rpm" LICENSE="Novell-NCL"