First Real Checkin

This commit is contained in:
geos_one
2006-08-08 23:20:17 +00:00
parent c177ebf699
commit 68ddb35f39
333 changed files with 7357 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
AUX slpuasa87.initd 2367 RMD160 c85137ca4057563bcc592c25951b552dea21fa95 SHA1 e4602cfa84ffe1114d8513c62a61f8ca7fbd9754 SHA256 38eb410a99b9bf0419c18e2eea700832ea42edd0702d48b003b8123b27c146c8
MD5 b8daba8316c4228e38f6ce6be7bb9515 files/slpuasa87.initd 2367
RMD160 c85137ca4057563bcc592c25951b552dea21fa95 files/slpuasa87.initd 2367
SHA256 38eb410a99b9bf0419c18e2eea700832ea42edd0702d48b003b8123b27c146c8 files/slpuasa87.initd 2367
DIST c1_136e_linux.tgz 39991009 RMD160 c88b59a0366c6db442db2d30f81c993a3003cee5 SHA1 e63be33d0654b5cf3619e409d8f401cd35ce0563 SHA256 8d433bea130bd316d71237a156d27be0cff1e7059e4ddab65e35e49cd8f9be09
DIST novell-NDSslp-8.8-1.i386.rpm 403745
EBUILD novell-ndsslp-8.7.3_p13.ebuild 1103 RMD160 ae14866493cc2577303036a2a58bfa2bf57d752e SHA1 e064787bcc364a44b1539143b4f97a895ff6e565 SHA256 2b0077ebfb338a19f71fd9b911b79a22c5deb78d84037bf6d316d8a09004608a
MD5 7464f82fe5ab0cf88a3e9f09cd032277 novell-ndsslp-8.7.3_p13.ebuild 1103
RMD160 ae14866493cc2577303036a2a58bfa2bf57d752e novell-ndsslp-8.7.3_p13.ebuild 1103
SHA256 2b0077ebfb338a19f71fd9b911b79a22c5deb78d84037bf6d316d8a09004608a novell-ndsslp-8.7.3_p13.ebuild 1103
EBUILD novell-ndsslp-8.8.1.ebuild 978 RMD160 41a8e768b40320eb8109bebdf35d69c36509b420 SHA1 4b4fbf2c4cdef299834a7fe5d267c2ef9a9c56f5 SHA256 54a47f052553c62d50f8a3be24d00aef3c58a2c896588c9e147bf88dcc199719
MD5 83c453285e8e92d70d3fec125b6b2ef4 novell-ndsslp-8.8.1.ebuild 978
RMD160 41a8e768b40320eb8109bebdf35d69c36509b420 novell-ndsslp-8.8.1.ebuild 978
SHA256 54a47f052553c62d50f8a3be24d00aef3c58a2c896588c9e147bf88dcc199719 novell-ndsslp-8.8.1.ebuild 978
MD5 ae04eb2d7d237585cb21f7f1af47ca9c files/digest-novell-ndsslp-8.7.3_p13 238
RMD160 160901ed5170612e31aaf0275cbba509bd9d74bf files/digest-novell-ndsslp-8.7.3_p13 238
SHA256 3fdadacdba6a338c95b94f501de20a2123995f0315c97094bc5b3205a0ab281a files/digest-novell-ndsslp-8.7.3_p13 238
MD5 5435119c35015f0b54baaf51dfdad9c0 files/digest-novell-ndsslp-8.8.1 73
RMD160 e320c6047b1182a3540b1bcbd99a5964d11a402e files/digest-novell-ndsslp-8.8.1 73
SHA256 7e42c5220fe6f99f97bd88b76ac71b45fac88156aa8555779a7f15fa16f27e16 files/digest-novell-ndsslp-8.8.1 73

View File

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

View File

@@ -0,0 +1 @@
MD5 c4ae4695066c848953099e3a799679fb novell-NDSslp-8.8-1.i386.rpm 403745

View File

@@ -0,0 +1,91 @@
#!/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() {
before ndsd
need net
after slpd
}
#
# 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

@@ -0,0 +1,39 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/novell-ndsslp/novell-ndsslp-8.7.3.13.ebuild,v 0.1 2005/11/06 15:17:50 Mario Fetka $
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"
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

@@ -0,0 +1,36 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/novell-ndsslp/novell-ndsslp-8.8.1.ebuild,v 0.1 2005/11/06 15:17:50 Mario Fetka $
inherit eutils rpm
MY_P="novell-NDSslp-8.8-1.i386.rpm"
DESCRIPTION="Novell Service Location Protokol"
HOMEPAGE="http://www.novell.com"
SRC_URI="${MY_P}"
LICENSE="Novell"
SLOT="0"
KEYWORDS="*-"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc"
RESTRICT="fetch nostrip"
src_unpack() {
rpm_src_unpack
}
src_compile() { :; }
src_install() {
mv "${WORKDIR}"/etc "${D}"/ || die "mv etc"
mv "${WORKDIR}"/usr "${D}"/ || die "mv usr"
mv "${WORKDIR}"/var "${D}"/ || die "mv var"
}
pkg_nofetch() {
einfo "Please download the appropriate ConsoleOne archive (c1_136e-linux.tar.gz)"
einfo "from http://download.novell.com/Download?buildid=AULI_HA9i4A~ (requires a Novell registration)"
einfo "extract the ${SRC_URI} file into the ${DISTDIR} directory"
}