perl-NetPacket:moved from contrib

This commit is contained in:
blue-devil
2020-06-10 00:52:33 +03:00
parent 586ea7ee6b
commit eadbe6812b
3 changed files with 78 additions and 0 deletions
@@ -0,0 +1,25 @@
#!/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():
perlmodules.configure()
def build():
perlmodules.make()
def check():
perlmodules.make("test")
def install():
perlmodules.install()
pisitools.dodoc("LICENSE", "MANIFEST", "README*", "SIGNATURE")
@@ -0,0 +1,45 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>perl-NetPacket</Name>
<Homepage>https://metacpan.org/release/NetPacket</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>programming.language.perl</PartOf>
<License>GPL</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>assemble/disassemble network packets at the protocol level</Summary>
<Description>"NetPacket" provides a base class for a cluster of modules related to decoding and encoding of network protocols. Each "NetPacket" descendent module knows how to encode and decode packets for the network protocol it implements. Consult the documentation for the module in question for protocol-specific implementation.</Description>
<Archive sha1sum="4ccb767d5fa47dc4c7b5b2d622dc68699d6b02e3" type="targz">https://cpan.metacpan.org/authors/id/Y/YA/YANICK/NetPacket-1.7.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>perl</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>perl-NetPacket</Name>
<Summary>assemble/disassemble network packets at the protocol level</Summary>
<RuntimeDependencies>
<Dependency>perl</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>1.7.2</Version>
<Comment>Version bump.</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-NetPacket</Name>
<Summary xml:lang="tr">Protokol seviyesinde ağ paketlerini assemble/disassemble etmeye yarayan bir araç.</Summary>
<Description xml:lang="tr">NetPacket" ağ protokollerini encode/decode etmeye yarayan bir çok temel sınıf sağlayan bir perl kitaplığıdır.</Description>
</Source>
</PISI>