Merge pull request #1316 from ertugerata/master

libpcap opps.
This commit is contained in:
Ertuğrul Erata
2016-03-25 15:37:38 +02:00
7 changed files with 450 additions and 284 deletions
+31
View File
@@ -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")
+61
View File
@@ -0,0 +1,61 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libpcap</Name>
<Homepage>http://www.tcpdump.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>A system-independent library for user-level network packet capture</Summary>
<Description>libpcap (Packet CAPture) provides a portable framework for low-level network monitoring. Applications include network statistics collection, security monitoring, network debugging, etc.</Description>
<Archive sha1sum="3f31a7706c1487fca36b8379e511965a8d7cbd70" type="targz">http://www.tcpdump.org/release/libpcap-1.7.4.tar.gz</Archive>
<BuildDependencies>
<Dependency>bluez-libs-devel</Dependency>
<Dependency>libnl-devel</Dependency>
</BuildDependencies>
<Patches>
<!--<Patch>libpcap-1.1-cross-linux.patch</Patch>-->
<!--<Patch level="1">libpcap-1.1.1-ignore-ENODEV.patch</Patch>-->
</Patches>
</Source>
<Package>
<Name>libpcap</Name>
<RuntimeDependencies>
<Dependency>bluez</Dependency>
<Dependency>libnl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>libpcap-devel</Name>
<Summary>Development files for libpcap</Summary>
<RuntimeDependencies>
<Dependency release="current">libpcap</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/pcap-config</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-03-25</Date>
<Version>1.7.4</Version>
<Comment>First release</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libpcap</Name>
<Summary xml:lang="tr">Kullanıcı seviyesinde ağ paketi yakalamak için bir sistem bağımsız kitaplığı</Summary>
<Description xml:lang="tr">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.</Description>
<Description xml:lang="fr">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.</Description>
<Description xml:lang="es">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.</Description>
</Source>
<Package>
<Name>libpcap-devel</Name>
<Summary xml:lang="tr">libpcap için geliştirme dosyaları</Summary>
</Package>
</PISI>
+341 -282
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
d4ce29ed4f83cc71038f127ccc49a74bf423a7b9
29a957af057dab551739b2f17e0763109d964291
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
4422fdbe8ae9955cdec4b0c625ddf607f35fc70f
2beb3812e47939d612d4ba00382dda5fa4055578