perl-Net-RawIP:moved from contrib
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import perlmodules
|
||||
|
||||
WorkDir = "%s-%s" % (get.srcNAME()[5:], get.srcVERSION())
|
||||
|
||||
def setup():
|
||||
# suppress compiler warnings
|
||||
pisitools.cflags.add("-Wno-implicit-function-declaration -Wno-deprecated-declarations -Wno-cpp")
|
||||
perlmodules.configure()
|
||||
# fix runpath analysis
|
||||
pisitools.dosed("Makefile","LD_RUN_PATH=\"\$\(LD_RUN_PATH\)\"", "")
|
||||
|
||||
def build():
|
||||
perlmodules.make()
|
||||
|
||||
def check():
|
||||
perlmodules.make("test")
|
||||
|
||||
def install():
|
||||
perlmodules.install()
|
||||
|
||||
pisitools.dodoc("MANIFEST", "README*")
|
||||
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>perl-Net-RawIP</Name>
|
||||
<Homepage>http://search.cpan.org/dist/Net-RawIP/</Homepage>
|
||||
<Packager>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Packager>
|
||||
<PartOf>programming.language.perl</PartOf>
|
||||
<License>Artistic</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Perl extension to manipulate raw IP packets with interface to libpcap</Summary>
|
||||
<Description>Net::RawIP, a perl module can to manipulate raw IP packets, with an optional feature for manipulating Ethernet headers.</Description>
|
||||
<Archive sha1sum="e1e2a85374436e314bce7cfb091415ebf72e6fba" type="targz">http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/Net-RawIP-0.25.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>perl</Dependency>
|
||||
<Dependency>libpcap-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>perl-Net-RawIP</Name>
|
||||
<Summary>Perl extension to manipulate raw IP packets with interface to libpcap</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>perl</Dependency>
|
||||
<Dependency>libpcap</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>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2020-01-08</Date>
|
||||
<Version>0.25</Version>
|
||||
<Comment>First release.</Comment>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>perl-Net-RawIP</Name>
|
||||
<Summary xml:lang="tr">Raw IP adreslerini libpcap ile değiştirmeye yarayan perl eklentisi.</Summary>
|
||||
<Description xml:lang="tr">Net::RawIP, ham IP paketlerini ve ethernet başlıklarını değiştirebilen bir perl modülüdür.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user