Cleanup tree

This commit is contained in:
geos_one
2007-04-04 15:38:22 +00:00
parent 6a9ce5c766
commit dc88aa0c93
478 changed files with 2627 additions and 6223 deletions

View File

@@ -2,6 +2,12 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
04 Apr 2007; Mario Fetka <mario-fetka@gmx.at>
-novell-ndsslp-8.7.3_p13.ebuild, -files/8.7.3_p13, files/slpuasa87.initd,
-novell-ndsslp-8.7.3_p13-r1.ebuild, novell-ndsslp-8.7.3_p13-r2.ebuild,
-files/8.7.3_p13/slpuasa, -novell-ndsslp-8.8.1_p1.ebuild:
Drop old buggy ebuild
12 Mar 2007; Mario Fetka <mario-fetka@gmx.at> +files/8.7.3_p13,
+novell-ndsslp-8.7.3_p13-r2.ebuild, +files/8.7.3_p13/slpuasa:
Gentooize Ebuild

View File

@@ -1,89 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/openslp/files/slpd-init,v 1.3 2004/07/14 23:48:29 agriffis Exp $
depend() {
need net
}
#
# Does nothing if a route exists that supports multicast traffic.
# If no routes supporting multicast traffic exists, the function
# tries to add one. A 0 is returned on success and a 1 on failure.
# One parameter must be passed in. This variable determins verbosity.
# If parameter is non-zero debugging will appear.
#
multicast_route_set() {
PING_OPTIONS_1='-c1 -w1'
PING_OPTIONS_2='-c1 -i1'
MULTICAST_ADDRESS='239.255.255.253'
TMP_FILE=/tmp/route.check
PING_ERROR_NO_ROUTE='unreachable'
MSG_FAILED_TO_FIND='Failed to Detect Multicast Route'
MSG_SUCCESS_ON_FIND='Multicast Route Enabled'
MSG_ADDING_ROUTE='Attempting to Add Multicast Route ...'
MSG_FAILED_TO_ADD=' FAILED - Route NOT Added.'
MSG_SUCCES_ON_ADD=' SUCCESS - Route Added.'
CMD_GET_INTERFACE="netstat -i | awk 'BEGIN{}(NR>2)&&(!/^lo*/){print \$1}'"
CMD_ADD_ROUTE="route add -net 224.0.0.0 netmask 240.0.0.0"
ping $PING_OPTIONS_1 $MULTICAST_ADDRESS 2> $TMP_FILE 1> /dev/null
if [ $? = 2 ]; then
ping $PING_OPTIONS_2 $MULTICAST_ADDRESS 2> $TMP_FILE 1> /dev/null
fi
grep $PING_ERROR_NO_ROUTE $TMP_FILE > /dev/null 2>&1
err_unreachable_found=$?
#If errors, add route. Otherwise, do nothing
if [ -s $TMP_FILE ] && [ $err_unreachable_found = 0 ]; then
if [ $1 != 0 ]; then
echo $MSG_FAILED_TO_FIND
echo $MSG_ADDING_ROUTE
fi
$CMD_ADD_ROUTE `eval $CMD_GET_INTERFACE` > /dev/null 2>&1
retval=$?
if [ $1 != 0 ]; then
if [ $retval = 0 ]; then
echo $MSG_SUCCES_ON_ADD
else
echo $MSG_FAILED_TO_ADD
fi
fi
else
if [ $1 != 0 ]; then
echo -n $MSG_SUCCESS_ON_FIND
fi
retval=0
fi
rm -f $TMP_FILE # Clean up
return $retval
}
checkconfig() {
multicast_route_set 0
if [ $? -ne 0 ]; then
eerror "No route available for multicast traffic!"
return 1
fi
}
start() {
checkconfig || return 1
ebegin "Starting NDS SLP services"
start-stop-daemon --start --quiet --pidfile /var/n4u/slpuasa.pid --exec /usr/bin/slpuasa
eend $?
}
stop() {
ebegin "Stopping NDS SLP services"
start-stop-daemon --stop --quiet --pidfile /var/n4u/slpuasa.pid
eend $?
}

View File

@@ -1,3 +0,0 @@
MD5 f7c70694fff356e9f172372601df1c47 c1_136e_linux.tgz 39991009
RMD160 c88b59a0366c6db442db2d30f81c993a3003cee5 c1_136e_linux.tgz 39991009
SHA256 8d433bea130bd316d71237a156d27be0cff1e7059e4ddab65e35e49cd8f9be09 c1_136e_linux.tgz 39991009

View File

@@ -1,3 +0,0 @@
MD5 414399d86aa3e7e6fba34937e69e59d3 c1_136f-linux.tar.gz 39985363
RMD160 f6a18cd0c9802c41ae35fb587e08f807776de92f c1_136f-linux.tar.gz 39985363
SHA256 1263d8e3610719d9f353ac43501b596bfcef126c24f749af8cee1247148927a9 c1_136f-linux.tar.gz 39985363

View File

@@ -1,3 +0,0 @@
MD5 5e222bb7471083fd0acb10b19336a460 20060526_0800_Linux_88-SP1_FINAL.tar.gz 109712298
RMD160 b261bbc31cb8cb5483b18892355f8e90ed65c90c 20060526_0800_Linux_88-SP1_FINAL.tar.gz 109712298
SHA256 01d4696942e07b2db8da0a057b9cad9ed477e35a7ca3f35e508f56622ecdba7d 20060526_0800_Linux_88-SP1_FINAL.tar.gz 109712298

View File

@@ -4,9 +4,7 @@
# $Header: /var/cvsroot/gentoo-x86/net-libs/openslp/files/slpd-init,v 1.3 2004/07/14 23:48:29 agriffis Exp $
depend() {
before ndsd
need net
after slpd
need net
}
#

View File

@@ -1,37 +0,0 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Service Location Protokol"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cache.novell.com/prot/brBWU2uxSiM~/c1_136f-linux.tar.gz"
LICENSE="Novell-eDir-87"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc
!net-misc/novell-ndsslp"
RESTRICT="fetch nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/Linux/NDSslp-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
rm -rf "${WORKDIR}/${PN}-${MY_PV}"/etc/init.d || die "rm -rf etc/init.d"
mv "${WORKDIR}/${PN}-${MY_PV}"/etc "${D}"/ || die "mv etc"
mv "${WORKDIR}/${PN}-${MY_PV}"/usr "${D}"/ || die "mv usr"
mv "${WORKDIR}/${PN}-${MY_PV}"/var "${D}"/ || die "mv var"
exeinto /etc/init.d
newexe ${FILESDIR}/slpuasa87.initd slpuasa
}

View File

@@ -37,5 +37,5 @@ src_install() {
insinto /usr/share/nwlocale
doins ${WORKDIR}/${PN}-${MY_PV}/usr/share/nwlocale/*
doinitd ${FILESDIR}/${PV}/slpuasa
newinitd ${FILESDIR}/slpuasa87.initd slpuasa
}

View File

@@ -1,37 +0,0 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Service Location Protokol"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://supportfiles.novell.com/support/pub/allupdates/c1_136e_linux.tgz"
LICENSE="Novell-eDir-87"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc
!net-misc/novell-ndsslp"
RESTRICT="fetch nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/Linux/NDSslp-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
rm -rf "${WORKDIR}/${PN}-${MY_PV}"/etc/init.d || die "rm -rf etc/init.d"
mv "${WORKDIR}/${PN}-${MY_PV}"/etc "${D}"/ || die "mv etc"
mv "${WORKDIR}/${PN}-${MY_PV}"/usr "${D}"/ || die "mv usr"
mv "${WORKDIR}/${PN}-${MY_PV}"/var "${D}"/ || die "mv var"
exeinto /etc/init.d
newexe ${FILESDIR}/slpuasa87.initd slpuasa
}

View File

@@ -1,36 +0,0 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Service Location Protokol"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cache.novell.com/prot/cK697ew-SfQ~/20060526_0800_Linux_88-SP1_FINAL.tar.gz"
LICENSE="Novell-eDir-88"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc"
RESTRICT="nomirror nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/eDirectory/setup/novell-NDSslp-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
rm -rf "${WORKDIR}/${PN}-${MY_PV}"/etc/init.d || die "rm -rf etc/init.d"
mv "${WORKDIR}/${PN}-${MY_PV}"/etc "${D}"/ || die "mv etc"
mv "${WORKDIR}/${PN}-${MY_PV}"/usr "${D}"/ || die "mv usr"
mv "${WORKDIR}/${PN}-${MY_PV}"/var "${D}"/ || die "mv var"
exeinto /etc/init.d
newexe ${FILESDIR}/slpuasa87.initd slpuasa
}