diff options
author | Sofiane Hamlaoui | 2020-09-16 04:56:21 +0200 |
---|---|---|
committer | Sofiane Hamlaoui | 2020-09-16 04:56:21 +0200 |
commit | 4052d018e1ea557c92e07a59aa7a35402961904d (patch) | |
tree | 7b0558030cce9438c1ae99c9cc09cbadbe4395bf | |
download | aur-4052d018e1ea557c92e07a59aa7a35402961904d.tar.gz |
FirstPackage
-rw-r--r-- | .SRCINFO | 36 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3ffde0a3ecc1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,36 @@ +pkgbase = lockdoor + pkgdesc = A penetration testing framework with cyber security resources + pkgver = 2.2.4 + pkgrel = 1 + url = http://github.com/SofianeHamaloui/Lockdoor-Framework + arch = any + license = GPL3 + depends = python + depends = python-pip + depends = python-requests + depends = python2 + depends = python2-pip + depends = gcc + depends = ruby + depends = php + depends = git + depends = wget + depends = curl + depends = netcat + depends = subversion + depends = jre-openjdk + depends = make + depends = automake + depends = gcc + depends = linux-headers + depends = gzip + depends = rsync + depends = wget + provides = openra-ca + conflicts = lockdoor-framework + options = !strip + source = lockdoor-framework::git+https://github.com/Lockdoor-Framework/Lockdoor-Framework + sha256sums = SKIP + +pkgname = lockdoor + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..718b4a538266 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Sofiane Hamlaoui <s0fianehaml40u1 at gmail dot com> + +pkgname=lockdoor +_pkgname=lockdoor-framework +pkgver=2.2.4 +pkgrel=1 +pkgdesc="A penetration testing framework with cyber security resources" +url="http://github.com/SofianeHamaloui/Lockdoor-Framework" +arch=('any') +license=('GPL3') +depends=('python' 'python-pip' 'python-requests' 'python2' 'python2-pip' 'gcc' 'ruby' 'php' 'git' 'wget' 'curl' 'netcat' 'subversion' 'jre-openjdk' 'make' 'automake' 'gcc' 'linux-headers' 'gzip' 'rsync' 'wget') +optdepends=() +optdepends=() +makedepends=() +provides=('openra-ca') +options=(!strip) +conflicts=("${_pkgname}") +source=("${_pkgname}::git+https://github.com/Lockdoor-Framework/Lockdoor-Framework") +sha256sums=(SKIP) + +pkgver() { + ver=$(curl -s -L https://raw.githubusercontent.com/SofianeHamlaoui/Lockdoor-Framework/master/VERSION) + printf "$ver" +} + +package() { + install -Dm755 "${srcdir}/${_pkgname}/lockdoor" "${pkgdir}/usr/bin/lockdoor" + mkdir -p ${pkgdir}/usr/bin/lockdoors + rsync -a "${srcdir}/${_pkgname}/lockdoors" "${pkgdir}/usr/bin/" + mkdir -p ${pkgdir}/opt/sofiane/ + rsync -a "${srcdir}/${_pkgname}/pentest" "${pkgdir}/opt/sofiane/" +} |