python3-PyShellCode:first pisi release

This commit is contained in:
blue-devil
2020-01-18 18:47:58 +03:00
parent 318e907adc
commit 5fc0fb428a
3 changed files with 85 additions and 0 deletions
@@ -0,0 +1,21 @@
#!/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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
pisitools.dosed("CMakeLists.txt","--prefix=\$\{CMAKE_INSTALL_PREFIX\}","--prefix=DESTDIR=%s" % get.installDIR())
cmaketools.configure()
def build():
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("README*", "LICENSE")
@@ -0,0 +1,56 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-PyShellCode</Name>
<Homepage>https://github.com/thomaskeck/PyShellCode/</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<License>GPL3</License>
<PartOf>programming.language.python3</PartOf>
<IsA>library</IsA>
<Summary>Execute ShellCode / "Inline-Assembler" in Python</Summary>
<Description>Execute ShellCode in Python. In other words, allows to use "inline assembler" in Python.</Description>
<Archive sha1sum="70b8e0fed951aa14ac16f048ef79c00eaf352ef3" type="targz">https://github.com/thomaskeck/PyShellCode/archive/v1.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>cmake</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-PyShellCode</Name>
<Summary>Execute ShellCode / "Inline-Assembler" in Python</Summary>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/lib/python3*</Path>
<Path fileType="doc">/usr/share/doc/python3-PyShellCode</Path>
</Files>
</Package>
<Package>
<Name>python3-PyShellCode-devel</Name>
<Summary>Development headers for the python3-PyShellCode module</Summary>
<RuntimeDependencies>
<Dependency release="current">python3-PyShellCode</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-01-09</Date>
<Version>1.0</Version>
<Comment>First Pisi 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>python3-PyShellCode</Name>
<Summary xml:lang="tr">Python3 ile shellcode koşmanızı sağlar</Summary>
<Description xml:lang="tr">python3-PyShellCode, python3 içerisinde assembly(NASM sözdizimi ile) ya da shellkod koşmanızı sağlar.</Description>
</Source>
</PISI>