Move to root

This commit is contained in:
Mario Fetka
2012-01-14 09:45:05 +01:00
parent d884fb4a6d
commit 5253d3ea35
482 changed files with 0 additions and 578 deletions

View File

@@ -0,0 +1,108 @@
# ChangeLog for net-fs/novell-novfsd
# 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
07 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
+novell-novfsd-3.0.0.16.ebuild, -novell-novfsd-3.0.1.0.11.ebuild:
Bump
11 Jun 2010; Mario Fetka <mario.fetka@gmail.com>
novell-novfsd-3.0.0.11-r1.ebuild, novell-novfsd-3.0.0.14.ebuild,
novell-novfsd-3.0.0.15.ebuild, novell-novfsd-3.0.1.0.11.ebuild:
remove depend on novfs
16 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-novfsd-3.0.1.0.11.ebuild:
Bump
13 Dec 2009; Mario Fetka <mario.fetka@gmail.com> files/novfsd20.initd:
correct the init script for the shutdown problem
12 Dec 2009; Mario Fetka <mario.fetka@gmail.com> files/novfsd20.initd:
add lazy unmount in init script
09 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
novell-novfsd-3.0.0.15.ebuild, files/novfsd20.initd:
novfsd now with pidfile
09 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
novell-novfsd-3.0.0.15.ebuild:
correct typo
09 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-novfsd-3.0.0.15.ebuild:
Bump
03 Sep 2009; Mario Fetka <mario.fetka@gmail.com>
novell-novfsd-3.0.0.14.ebuild:
correct dependency
10 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
-novell-novfsd-2.0.0_p29.ebuild, -novell-novfsd-3.0.0.1.5.ebuild,
-novell-novfsd-3.0.0.8.ebuild, -novell-novfsd-3.0.0.11.ebuild,
+novell-novfsd-3.0.0.14.ebuild:
Updated to new release drop old
09 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
novell-novfsd-3.0.0.11-r1.ebuild:
correct rpm_unpack
20 Jan 2009; Mario Fetka <mario.fetka@gmail.com> +files/50_novfsd.sh,
+novell-novfsd-3.0.0.11-r1.ebuild:
new config system
16 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-novfsd-3.0.0.11.ebuild:
Bump and use my rpm5 eclass
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
+novell-novfsd-3.0.0.1.5.ebuild, +novell-novfsd-3.0.0.8.ebuild:
Bump
28 Aug 2008; Mario Fetka <mario.fetka@gmail.com> -files/80novell-client,
-files/80novell-client64, novell-novfsd-2.0.0_p29.ebuild:
depend on env package
26 Aug 2008; Mario Fetka <mario.fetka@gmail.com> -files/1.2.0_p8/novfsd,
-files/novfsd12.initd, -novell-novfsd-1.2.0_p8-r4.ebuild,
novell-novfsd-2.0.0_p29.ebuild:
Repoman cleanup
01 Nov 2007; Mario Fetka <mario-fetka@gmx.at> +files/80novell-client64,
+files/novfsd20.initd, +novell-novfsd-2.0.0_p29.ebuild:
initial import novell client 2.0
04 Apr 2007; Mario Fetka <mario-fetka@gmx.at> files/1.2.0_p8/novfsd,
-novell-novfsd-1.2.0_p8-r2.ebuild, -novell-novfsd-1.2.0_p8-r3.ebuild:
Drop old buggy ebuild & remove unmount on shutdown
28 Feb 2007; Mario Fetka <mario-fetka@gmx.at> files/1.2.0_p8/novfsd:
Correct Init Script
18 Feb 2007; Mario Fetka <mario-fetka@gmx.at> +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 <mario-fetka@gmx.at> files/80novell-client,
+novell-novfsd-1.2.0_p8-r3.ebuild:
Add Novell Packages to PRELINK_MASK_PATH.
05 Oct 2006; Mario Fetka <mario-fetka@gmx.at> files/novfsd12.initd,
+novell-novfsd-1.2.0_p8-r2.ebuild:
Correct init script (need slpd)
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at>
novell-novfsd-1.2.0_p8-r1.ebuild, +metadata.xml:
Correct Typo
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at> ChangeLog:
Initial novfsd ChangeLog

View File

@@ -0,0 +1,7 @@
AUX 50_novfsd.sh 1157 RMD160 6990703083869b442b7836bd11055068622c32a4 SHA1 adc4b602fa5193e99c98cac06d9d58d83321927c SHA256 c5835263a5d754df3c6f1a4264b8e0238078bee54fe81b1226601c98a7f391c9
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
EBUILD novell-novfsd-3.0.0.16.ebuild 2717 RMD160 80e039832daa4848fa356b0558f604878130c955 SHA1 855798fa6aa23fb317143672fa87de9ddfce347a SHA256 7dde1f6ba9731056543753a489e485ab926b899ba387c9cd7991f8a125635f7b
MISC ChangeLog 3628 RMD160 533b64481555cbd6d449fabce428c7703f7fa896 SHA1 7da1b1eaa725ec18bab55b2934fd57e170174251 SHA256 356a05f0fdebe71e6eedddcfb2c33a47fa9a85464af26f9d2deb3e0420208705
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@@ -0,0 +1,39 @@
# add novfs registry entries
einfo "add novfsd registry"
# 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
einfo "enable SLP"
/opt/novell/xtier/bin/regutil -v "\client\policies\network\ip\address resolution providers\configured" "9" REG_SZ "{A18C57F8-17DA-11d1-8FFF-00A0C925D248}"
eend $?
fi
# enable xtier NMAS support
if [ $EnableNMAS -eq 1 ]; then
einfo "enable NMAS"
/opt/novell/xtier/bin/regutil -v "\Client\Policies" "Default Authentication Provider" REG_SZ "{FCB72681-D373-11d3-BC08-00A0C9EA53EF}"
eend $?
fi

View File

@@ -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() {
need net
before xdm
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 --pidfile /var/opt/novell/run/novfsd.pid -- -m
else
ebegin "Starting Novell novfs daemon"
start-stop-daemon --start --quiet --exec /opt/novell/ncl/bin/novfsd --pidfile /var/opt/novell/run/novfsd.pid
fi
eend $?
}
stop() {
ebegin "Stopping Novell novfs daemon"
start-stop-daemon --stop --signal 9 --quiet --pidfile /var/opt/novell/run/novfsd.pid
eend $?
ebegin "unMounting novell novfs"
umount -l $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)
#}

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>maintainer-wanted</herd>
</pkgmetadata>

View File

@@ -0,0 +1,91 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="6Dvlz12hewI~"
NOVELL_FILE32="novell-client-2.0-sp2-patch2-sle11-i586.iso"
NOVELL_FILE64="novell-client-2.0-sp2-patch2-sle11-x86_64.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}/patchfiles/${NOVELL_FILE32} )
amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/patchfiles/${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"
}