diff --git a/network/analyzer/libpcap/pspec.xml b/network/analyzer/libpcap/pspec.xml index 8949d9e6ac..3f47dbb7ba 100644 --- a/network/analyzer/libpcap/pspec.xml +++ b/network/analyzer/libpcap/pspec.xml @@ -1,3 +1,4 @@ + diff --git a/network/analyzer/openslp/actions.py b/network/analyzer/openslp/actions.py new file mode 100644 index 0000000000..99af2b03e6 --- /dev/null +++ b/network/analyzer/openslp/actions.py @@ -0,0 +1,34 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + shelltools.export("CFLAGS", "%s -fPIC -fno-strict-aliasing -fPIE -DPIE " % get.CFLAGS()) + shelltools.export("LDFLAGS", "%s -pie -Wl,-z,now" % get.LDFLAGS()) + + autotools.autoreconf("-fi") + + autotools.configure("--disable-static \ + --disable-dependency-tracking \ + --disable-rpath \ + --localstatedir=/var \ + --enable-slpv1 \ + --enable-slpv2-security") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make("all docs") + +def install(): + autotools.install() + + pisitools.dohtml("doc/doc/html/*") + pisitools.dodoc("AUTHORS", "FAQ", "ChangeLog", "NEWS", "README", "THANKS") diff --git a/network/analyzer/openslp/files/slpd-init b/network/analyzer/openslp/files/slpd-init new file mode 100644 index 0000000000..c74d9bceb9 --- /dev/null +++ b/network/analyzer/openslp/files/slpd-init @@ -0,0 +1,91 @@ +#!/sbin/runscript +# Copyright © 2005 TUBITAK/UEKAE +# Licensed under the GNU General Public License, version 2. +# See the file http://www.gnu.org/copyleft/gpl.txt. +# +# Original work belongs Gentoo Linux + +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 slpd" + start-stop-daemon --start --quiet --background --exec /usr/sbin/slpd + eend $? +} + +stop() { + ebegin "Stopping slpd" + start-stop-daemon --stop --quiet --pidfile /run/slpd.pid + eend $? +} diff --git a/network/analyzer/openslp/pspec.xml b/network/analyzer/openslp/pspec.xml new file mode 100644 index 0000000000..6e73a20cfd --- /dev/null +++ b/network/analyzer/openslp/pspec.xml @@ -0,0 +1,79 @@ + + + + + + openslp + http://www.openslp.org/ + + PisiLinux Community + admins@pisilinux.org + + BSD + service + An open-source implementation of Service Location Protocol + Service Location Protocol is an IETF standards track protocol that provides a framework to allow networking applications to discover the existence, location, and configuration of networked services in enterprise networks. + mirrors://sourceforge/openslp/openslp-2.0.0.tar.gz + + zlib-devel + openssl-devel + doxygen + + + + + openslp + + openssl + + + /etc/slp.conf + /usr/bin + /usr/lib + /usr/share/doc + /usr/share/doc/openslp/html/IntroductionToSLP + /usr/share/doc/openslp/html/UsersGuide + /usr/share/doc/openslp/html/faq* + /var/log + + + + + openslp-server + OpenSLP server daemon + openslp-server contains ths OpenSLP server daemon to dynamically register services. + + openssl + openslp + + + /etc/slp.reg + /etc/slp.spi + /usr/sbin/slpd + + + + + openslp-devel + Development files for openslp + + openslp + zlib-devel + openssl-devel + + + /usr/include + /usr/share/doc/openslp/html/ProgrammersGuide + + + + + + 2014-02-01 + 2.0.0 + First release + Alihan Öztürk + alihan@pisilinux.org + + + diff --git a/network/analyzer/openslp/translations.xml b/network/analyzer/openslp/translations.xml new file mode 100644 index 0000000000..c46ffb7533 --- /dev/null +++ b/network/analyzer/openslp/translations.xml @@ -0,0 +1,21 @@ + + + + openslp + Servis Yer Protokolünün (Service Location Protocol - SLP) bir açık kaynak uyarlaması + SLP (Service Location Protocol – Hizmet Yer Protokolu), ağlara bağlı hizmetlerin bulunabilmesi için gereken altyapıyı sağlar. + Le Service Location Protocol (Protocole de Localisation de Service) est un protocole standard de recherche de l'IETF fournissant un framework (cadre de développement) pour permettre aux application résau de découvrir l'existence, la localisation et la configuration de services réseaux au sein des réseaux d'entreprises. + Service Location Protocol es un protocolo según estándar IETF, que provee un framework que permite a aplicaciones descubrir la existencia, locación y configuración de servicios de red en redes empresariales. + + + + openslp-devel + openslp için geliştirme dosyaları + + + + openslp-server + OpenSLP hizmet sunucusu + openslp-server, dinamik hizmet kaydı için gerekli OpenSLP sunucusunu içerir. + + diff --git a/pisi-index.xml b/pisi-index.xml index 8937cb9744..7a9b630410 100644 --- a/pisi-index.xml +++ b/pisi-index.xml @@ -16344,6 +16344,87 @@ Bu Skype SILK codec ve Xiph.Org 's Celt codec teknolojisi dahil RFC 6716 ol + + + openslp + http://www.openslp.org/ + + PisiLinux Community + admins@pisilinux.org + + BSD + service + network.analyzer + An open-source implementation of Service Location Protocol + Servis Yer Protokolünün (Service Location Protocol - SLP) bir açık kaynak uyarlaması + Le Service Location Protocol (Protocole de Localisation de Service) est un protocole standard de recherche de l'IETF fournissant un framework (cadre de développement) pour permettre aux application résau de découvrir l'existence, la localisation et la configuration de services réseaux au sein des réseaux d'entreprises. + Service Location Protocol is an IETF standards track protocol that provides a framework to allow networking applications to discover the existence, location, and configuration of networked services in enterprise networks. + SLP (Service Location Protocol – Hizmet Yer Protokolu), ağlara bağlı hizmetlerin bulunabilmesi için gereken altyapıyı sağlar. + Service Location Protocol es un protocolo según estándar IETF, que provee un framework que permite a aplicaciones descubrir la existencia, locación y configuración de servicios de red en redes empresariales. + mirrors://sourceforge/openslp/openslp-2.0.0.tar.gz + + zlib-devel + openssl-devel + doxygen + + network/analyzer/openslp/pspec.xml + + + openslp + + openssl + + + /etc/slp.conf + /usr/bin + /usr/lib + /usr/share/doc + /usr/share/doc/openslp/html/IntroductionToSLP + /usr/share/doc/openslp/html/UsersGuide + /usr/share/doc/openslp/html/faq* + /var/log + + + + openslp-server + OpenSLP server daemon + OpenSLP hizmet sunucusu + openslp-server contains ths OpenSLP server daemon to dynamically register services. + openslp-server, dinamik hizmet kaydı için gerekli OpenSLP sunucusunu içerir. + + openssl + openslp + + + /etc/slp.reg + /etc/slp.spi + /usr/sbin/slpd + + + + openslp-devel + Development files for openslp + openslp için geliştirme dosyaları + + openslp + zlib-devel + openssl-devel + + + /usr/include + /usr/share/doc/openslp/html/ProgrammersGuide + + + + + 2014-02-01 + 2.0.0 + First release + Alihan Öztürk + alihan@pisilinux.org + + + rrdtool diff --git a/pisi-index.xml.sha1sum b/pisi-index.xml.sha1sum index 7c215a4e31..bc264f92ae 100644 --- a/pisi-index.xml.sha1sum +++ b/pisi-index.xml.sha1sum @@ -1 +1 @@ -7a5a72b41651ddcf2f3728bed4c62048a713c461 \ No newline at end of file +088d529e3260b7a2bf5723d56fef815a366dd381 \ No newline at end of file diff --git a/pisi-index.xml.xz b/pisi-index.xml.xz index 31b7c45217..6a5f971274 100644 Binary files a/pisi-index.xml.xz and b/pisi-index.xml.xz differ diff --git a/pisi-index.xml.xz.sha1sum b/pisi-index.xml.xz.sha1sum index d92dc90e81..27777451d4 100644 --- a/pisi-index.xml.xz.sha1sum +++ b/pisi-index.xml.xz.sha1sum @@ -1 +1 @@ -3235c742d739f81f0bf1a1d440a9653ed6758e11 \ No newline at end of file +2e137b34962b3b5b632b03820588d30ff7be92ef \ No newline at end of file