summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoranthraxx2015-07-10 02:28:47 +0200
committeranthraxx2015-07-10 02:28:47 +0200
commit26ee832572eb08b07b6ea6cb54457efca0ee2de2 (patch)
tree61cab8271b466b4af0b7bb0be3d4e5c3aff08f7b
downloadaur-26ee832572eb08b07b6ea6cb54457efca0ee2de2.tar.gz
addpkg: peda-git 45.d0bd978-2
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD46
-rw-r--r--peda.install7
3 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4cd96911050
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = peda-git
+ pkgdesc = PEDA - Python Exploit Development Assistance for GDB
+ pkgver = 45.d0bd978
+ pkgrel = 2
+ url = https://github.com/longld/peda
+ install = peda.install
+ arch = any
+ license = Creative Commons
+ makedepends = git
+ depends = gdb
+ depends = python2
+ source = git+http://github.com/longld/peda
+ md5sums = SKIP
+
+pkgname = peda-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0755f27c744
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Christian Rebischke <echo Q2hyaXMuUmViaXNjaGtlQGdtYWlsLmNvbQo= | base64 -d>
+
+pkgname=peda-git
+pkgver=45.d0bd978
+pkgrel=2
+pkgdesc="PEDA - Python Exploit Development Assistance for GDB"
+arch=('any')
+url="https://github.com/longld/peda"
+license=('Creative Commons')
+depends=( 'gdb' 'python2')
+makedepends=('git')
+source=('git+http://github.com/longld/peda')
+md5sums=('SKIP')
+install="peda.install"
+
+pkgver() {
+ cd peda
+ printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+
+package() {
+ install -D -m755 "${srcdir}/peda/peda.py" \
+ "${pkgdir}/usr/share/peda/peda.py"
+ install -D -m644 "${srcdir}/peda/LICENSE" \
+ "${pkgdir}/usr/share/peda/LICENSE"
+ install -D -m644 "${srcdir}/peda/README" \
+ "${pkgdir}/usr/share/peda/README"
+ install -D -m755 "${srcdir}/peda/lib/config.py" \
+ "${pkgdir}/usr/share/peda/lib/config.py"
+ install -D -m755 "${srcdir}/peda/lib/nasm.py" \
+ "${pkgdir}/usr/share/peda/lib/nasm.py"
+ install -D -m755 "${srcdir}/peda/lib/shellcode.py" \
+ "${pkgdir}/usr/share/peda/lib/shellcode.py"
+ install -D -m755 "${srcdir}/peda/lib/skeleton.py" \
+ "${pkgdir}/usr/share/peda/lib/skeleton.py"
+ install -D -m755 "${srcdir}/peda/lib/utils.py" \
+ "${pkgdir}/usr/share/peda/lib/utils.py"
+
+
+
+
+}
+
+
+# vim:set ts=2 sts=2 sw=2 et
diff --git a/peda.install b/peda.install
new file mode 100644
index 00000000000..db928ac654c
--- /dev/null
+++ b/peda.install
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+post_install(){
+ echo "[+] Please enable PEDA with: echo 'source /usr/share/peda/peda.py' >> .gdbinit"
+ echo "[+] To execute PEDA just execute GDB and enjoy :)"
+}
+