This commit is contained in:
Mario Fetka
2014-08-16 09:01:13 +02:00
parent ab666604a2
commit 4492b6ea57
182 changed files with 7524 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
# ChangeLog for net-libs/novell-ndsslp
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
07 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
-novell-ndsslp-8.7.3_p13-r4.ebuild, -novell-ndsslp-8.7.3_p13-r5.ebuild:
cleanup
12 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-ndsslp-8.7.3.13.ebuild:
make consistent naming and add amd64 support
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-ndsslp-8.7.3_p13-r5.ebuild:
correct blocking slot's
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-ndsslp-8.7.3_p13-r5.ebuild:
add Blocking Slot's
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
+novell-ndsslp-8.7.3_p13-r5.ebuild:
Bump
26 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
-novell-ndsslp-8.7.3_p13-r2.ebuild, novell-ndsslp-8.7.3_p13-r4.ebuild:
Repoman cleanup
03 Nov 2007; Mario Fetka <mario-fetka@gmx.at>
+novell-ndsslp-8.7.3_p13-r4.ebuild:
add new download system
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
17 Nov 2006; Mario Fetka <mario-fetka@gmx.at>
+novell-ndsslp-8.7.3_p13-r1.ebuild:
Update c1 1.3.6f
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at>
novell-ndsslp-8.7.3_p13.ebuild, novell-ndsslp-8.8.1_p1.ebuild,
+metadata.xml:
Correct minor Typos
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at> ChangeLog:
Initial ndsslp ChangeLog

View File

@@ -0,0 +1,5 @@
AUX slpuasa87.initd 2348 SHA256 184719510ba3fc826e8f1e3ece52e3ad1119d62aab02ccb03b1f65e6f15fbfa5 SHA512 f024f457bde3254d918d76a4a1df11bd521509e4633a073c7efeac4e61010ee0652c76f1f156ab54659dc48183a72c13b9bdb464e1523173f14a7b7c38785452 WHIRLPOOL 94c8cff2486787fb0252a7022f57d8113784a19a3dd3147993ea8486ad57cbc27fd444b0f37069e58d768101c7feadcd3febd9dcd5cb3919f123a849d0edf3c9
DIST c1_136h-linux.tar.gz 41771356 SHA256 481c20119c0d84659a25a5f79e32740b27c7ffa69d4ac1ce810aeebbae211a2b
EBUILD netiq-ndsslp-8.7.3.13.ebuild 1905 SHA256 241ed57b821485cc30940e7aac22f01375792ff5fc45e03a7c9d266899f653ef SHA512 0cabcd82e469bed6acc99b01848d3f1882f8ff81771ee175c42a7a19279210cfc39e9f781f4201c63ff1dc3c8f116b7f59a81c07ee33eeed6edd0baa71ea2587 WHIRLPOOL a0541fda7f641094f0353d3bafd8099014e00737023e7ec53fafbf02edb1b60015c22007a04cc3e9da084f0ff7a7a6fbe59aee173210d48a82d1e738d74627db
MISC ChangeLog 1749 SHA256 3a576688e5539fd14a53379cb56ae265f73b58ee9f007c748361b55bac07e5d1 SHA512 c6256fbfbe823b2944d8175efa79bb4a1f39e0eae48f418355c07f9b974fef31c1e1b52cef08118a04b8f075ec19a608883b61024053ecd1b5a117f30a6dce56 WHIRLPOOL 59d40997455e3e744672f9dec12d72dfc674349b4d3dd0f5f03ceca36d6485ceec7bfca8fda6dd4429bd3a1d17732633c0e2c08b11ccb128287864b5fd432119
MISC metadata.xml 170 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 SHA512 c011e0dc20997640fdaf4dbdd0493106446df3ff753040a8ffc638cea0512a535bce9e1c4d2969e708993529c473d9dc17c59804c15a0eee2b0a7e9854b65143 WHIRLPOOL b33b91daccf2a989c728257c6372f7f8a7481bd72af841bf3c76e6625750d6f5e0d31c942fe88368fc016edcc5be954656c488b6d44ea00e4fe0caaec1bdd41e

View File

@@ -0,0 +1,89 @@
#!/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

@@ -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,64 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
NOVELL_BUILDID="-a_gSRIUOK0~"
NOVELL_FILE32="c1_136h-linux.tar.gz"
RESTRICT="mirror strip"
inherit novell eutils rpm versionator
MY_PV=$(replace_version_separator 3 '-')
DESCRIPTION="Novell Service Location Protokol"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}"
LICENSE="Novell-eDir-87"
SLOT="8.7"
KEYWORDS="~x86 ~amd64"
IUSE="linguas_fr"
DEPEND=""
RDEPEND="virtual/libc"
src_unpack() {
unpack ${A}
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ../work/Linux/NDSslp-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
insinto /etc
doins "${WORKDIR}"/${PN}-${MY_PV}/etc/*.conf
into /usr
dobin "${WORKDIR}"/${PN}-${MY_PV}/usr/bin/*
dolib "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/*
doman "${WORKDIR}"/${PN}-${MY_PV}/usr/man/*/*.gz
use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/usr/man/fr/*/*.gz
insinto /usr/share/nwlocale
doins "${WORKDIR}"/${PN}-${MY_PV}/usr/share/nwlocale/*
newinitd "${FILESDIR}"/slpuasa87.initd slpuasa
}
pkg_nofetch() {
einfo "This files require you to register at ${HOMEPAGE} (free account)"
einfo "Please download following file:"
einfo " - ${NOVELL_FILE32}"
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"
}