From 2748c8fefd607dccb81669bded682ab84ebbbff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Fri, 25 Mar 2016 15:12:51 +0200 Subject: [PATCH] libpcap builddep for ppp --- network/analyzer/libpcap/actions.py | 31 ++++++++++++ network/analyzer/libpcap/pspec.xml | 62 +++++++++++++++++++++++ network/analyzer/libpcap/translations.xml | 15 ++++++ 3 files changed, 108 insertions(+) create mode 100644 network/analyzer/libpcap/actions.py create mode 100644 network/analyzer/libpcap/pspec.xml create mode 100644 network/analyzer/libpcap/translations.xml diff --git a/network/analyzer/libpcap/actions.py b/network/analyzer/libpcap/actions.py new file mode 100644 index 0000000000..a7b14aa3ef --- /dev/null +++ b/network/analyzer/libpcap/actions.py @@ -0,0 +1,31 @@ +#!/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 autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + shelltools.export("CFLAGS", "%s -fPIC" % get.CFLAGS()) + autotools.autoreconf("-vfi") + autotools.configure("--enable-ipv6 \ + --enable-bluetooth") + +def build(): + autotools.make("all") + autotools.make("shared") + +def install(): + autotools.rawInstall('DESTDIR="%s"' % get.installDIR()) + + # No static libs + pisitools.remove("/usr/lib/*.a") + + # it is needed for ppd etc. + pisitools.insinto("/usr/include", "pcap-int.h") + + pisitools.dodoc("CHANGES", "CREDITS", "README*", "VERSION", "TODO") diff --git a/network/analyzer/libpcap/pspec.xml b/network/analyzer/libpcap/pspec.xml new file mode 100644 index 0000000000..8136d5bdec --- /dev/null +++ b/network/analyzer/libpcap/pspec.xml @@ -0,0 +1,62 @@ + + + + + + libpcap + http://www.tcpdump.org/ + + PisiLinux Community + admins@pisilinux.org + + BSD + library + A system-independent library for user-level network packet capture + libpcap (Packet CAPture) provides a portable framework for low-level network monitoring. Applications include network statistics collection, security monitoring, network debugging, etc. + http://www.tcpdump.org/release/libpcap-1.5.1.tar.gz + + bluez + libnl-devel + + + + + + + + + libpcap + + bluez + libnl + + + /usr/lib + /usr/share/doc + /usr/share/man + + + + + libpcap-devel + Development files for libpcap + + libpcap + + + /usr/bin/pcap-config + /usr/include + /usr/share/man/man3 + + + + + + 2013-11-26 + 1.5.1 + First release + Richard de Bruin + richdb@pisilinux.org + + + diff --git a/network/analyzer/libpcap/translations.xml b/network/analyzer/libpcap/translations.xml new file mode 100644 index 0000000000..4d7588a9bf --- /dev/null +++ b/network/analyzer/libpcap/translations.xml @@ -0,0 +1,15 @@ + + + + libpcap + Kullanıcı seviyesinde ağ paketi yakalamak için bir sistem bağımsız kitaplığı + libpcap (Packet CAPture) düşük-seviye ağların izlenmesi için kullanılan bir kitaplıktır. Ağ istatistikleri, güvenlik izleyicisi, ağ hata gözleme gibi uygulamalar genellikle bu kitaplığı kullanır. + libpcap (Packet CAPture) fourni un cadre de développement portable pour la surveillance réseau de bas niveau. On peut l'utiliser pour collecter des statistiques réseau, surveiller la sécurité, corriger le réseau, etc. + libpcap (Packet CAPture) facilita un framework portable para monitoreo de redes a a bajo nivel. Aplicaciones abarcan sistemas de estadísticas de red, monitoreo de seguridad, depuración de red, etc. + + + + libpcap-devel + libpcap için geliştirme dosyaları + +