delete old
This commit is contained in:
@@ -1,54 +0,0 @@
|
||||
# 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
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
AUX slpuasa87.initd 2348 RMD160 115e108e8765ef6f3397b9c1642043f9fb6b8993 SHA1 6ff0e1e7b70bf70fe1e017dcfc3d65c763bb2707 SHA256 184719510ba3fc826e8f1e3ece52e3ad1119d62aab02ccb03b1f65e6f15fbfa5
|
||||
DIST c1_136h-linux.tar.gz 41771356 RMD160 0c2b8ac9309962492936a5c988ec519103bad0f2 SHA1 de6525532a5b89b0872c129a54bb82e8f2e08aec SHA256 481c20119c0d84659a25a5f79e32740b27c7ffa69d4ac1ce810aeebbae211a2b
|
||||
EBUILD novell-ndsslp-8.7.3.13.ebuild 1959 RMD160 d0a3d4d9d1d39a9f844394a1517b54e7593aa801 SHA1 8b744d7e4312e89c3af28549d6af39a990a7580f SHA256 eb30c4d8daa4bdfa0ff850d3b8d683a81c8e63bfd7fbed33964d3f002a1ada08
|
||||
MISC ChangeLog 1749 RMD160 0cb89d8fcd8278370d4ed00bf88b0e28ccf50f48 SHA1 bb64f08349fa7aff63afb594df4a8d9b64fa1f16 SHA256 3a576688e5539fd14a53379cb56ae265f73b58ee9f007c748361b55bac07e5d1
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
@@ -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 $?
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>maintainer-wanted</herd>
|
||||
</pkgmetadata>
|
||||
@@ -1,65 +0,0 @@
|
||||
# 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="!net-libs/novell-ndsslp:0
|
||||
!net-libs/novell-ndsslp:8.8"
|
||||
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user