Skip to content

Commit

Permalink
Update PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r committed Nov 24, 2024
1 parent 032242b commit d4864e0
Show file tree
Hide file tree
Showing 7 changed files with 312 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lists/to-release
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ansible-runner
baddns
cloudcheck
python-radixtarget
python-wordninja
xmltojson
bbot
50 changes: 50 additions & 0 deletions packages/ansible-runner/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=ansible-runner
pkgver=2.4.0.r14.g9e0eac5
pkgrel=1
pkgdesc='A tool and Python library that helps when interfacing with Ansible directly.'
arch=('any')
url='https://github.com/ansible/ansible-runner'
license=('Apache-2.0')
depends=('python' 'python-psutil' 'python-pexpect' 'python-daemon'
'python-yaml' 'python-six')
makedepends=('git' 'python-build' 'python-pip')
source=("git+https://github.com/ansible/$pkgname.git")
sha512sums=('SKIP')

pkgver() {
cd $pkgname

( set -o pipefail
git describe --long --tags --abbrev=7 2>/dev/null |
sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "%s.%s" "$(git rev-list --count HEAD)" \
"$(git rev-parse --short=7 HEAD)"
)
}

build() {
cd $pkgname

python -m build --wheel --outdir="$startdir/dist"
}

package() {
cd $pkgname

pip install \
--verbose \
--disable-pip-version-check \
--no-warn-script-location \
--ignore-installed \
--no-compile \
--no-deps \
--root="$pkgdir" \
--prefix=/usr \
--no-index \
--find-links="file://$startdir/dist" \
$pkgname
}

52 changes: 52 additions & 0 deletions packages/baddns/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=baddns
pkgver=v1.4.13.r0.g0c8d6e9
pkgrel=1
pkgdesc='Check subdomains for subdomain takeovers and other DNS tomfoolery.'
arch=('any')
groups=('blackarch' 'blackarch-recon')
url='https://github.com/blacklanternsecurity/baddns'
license=('GPL-3.0-or-later')
depends=('python' 'python-colorama' 'python-dateutil' 'python-dnspython'
'python-httpx' 'python-tldextract' 'python-whois'
'python-yaml')
makedepends=('git' 'python-build' 'python-pip')
source=("git+https://github.com/blacklanternsecurity/$pkgname.git")
sha512sums=('SKIP')

pkgver() {
cd $pkgname

( set -o pipefail
git describe --long --tags --abbrev=7 2>/dev/null |
sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "%s.%s" "$(git rev-list --count HEAD)" \
"$(git rev-parse --short=7 HEAD)"
)
}

build() {
cd $pkgname

python -m build --wheel --outdir="$startdir/dist"
}

package() {
cd $pkgname

pip install \
--verbose \
--disable-pip-version-check \
--no-warn-script-location \
--ignore-installed \
--no-compile \
--no-deps \
--root="$pkgdir" \
--prefix=/usr \
--no-index \
--find-links="file://$startdir/dist" \
$pkgname
}

51 changes: 51 additions & 0 deletions packages/cloudcheck/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=cloudcheck
pkgver=670.f8f54ce
pkgrel=1
pkgdesc='Check whether an IP address or hostname belongs to popular cloud providers.'
arch=('any')
groups=('blackarch' 'blackarch-recon')
url='https://github.com/blacklanternsecurity/cloudcheck'
license=('GPL-3.0-or-later')
depends=('python' 'python-httpx' 'python-pydantic' 'python-radixtarget'
'python-regex')
makedepends=('git' 'python-build' 'python-pip')
source=("git+https://github.com/blacklanternsecurity/$pkgname.git")
sha512sums=('SKIP')

pkgver() {
cd $pkgname

( set -o pipefail
git describe --long --tags --abbrev=7 2>/dev/null |
sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "%s.%s" "$(git rev-list --count HEAD)" \
"$(git rev-parse --short=7 HEAD)"
)
}

build() {
cd $pkgname

python -m build --wheel --outdir="$startdir/dist"
}

package() {
cd $pkgname

pip install \
--verbose \
--disable-pip-version-check \
--no-warn-script-location \
--ignore-installed \
--no-compile \
--no-deps \
--root="$pkgdir" \
--prefix=/usr \
--no-index \
--find-links="file://$startdir/dist" \
$pkgname
}

51 changes: 51 additions & 0 deletions packages/python-radixtarget/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-radixtarget
_pkgname=${pkgname#python-}
pkgver=50.34d0585
pkgrel=1
pkgdesc='Performant radix implementation designed for quick lookups of IP addresses/networks and DNS hostnames.'
arch=('any')
groups=('blackarch' 'blackarch-recon')
url='https://github.com/blacklanternsecurity/radixtarget'
license=('GPL-3.0-or-later')
depends=('python')
makedepends=('git' 'python-build' 'python-pip')
source=("git+https://github.com/blacklanternsecurity/$_pkgname.git")
sha512sums=('SKIP')

pkgver() {
cd $_pkgname

( set -o pipefail
git describe --long --tags --abbrev=7 2>/dev/null |
sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "%s.%s" "$(git rev-list --count HEAD)" \
"$(git rev-parse --short=7 HEAD)"
)
}

build() {
cd $_pkgname

python -m build --wheel --outdir="$startdir/dist"
}

package() {
cd $_pkgname

pip install \
--verbose \
--disable-pip-version-check \
--no-warn-script-location \
--ignore-installed \
--no-compile \
--no-deps \
--root="$pkgdir" \
--prefix=/usr \
--no-index \
--find-links="file://$startdir/dist" \
$_pkgname
}

51 changes: 51 additions & 0 deletions packages/python-wordninja/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-wordninja
_pkgname=${pkgname#python-}
pkgver=19.0421d14
pkgrel=1
pkgdesc='Probabilistically split concatenated words using NLP based on English Wikipedia unigram frequencies.'
arch=('any')
groups=('blackarch' 'blackarch-misc')
url='https://github.com/keredson/wordninja'
license=('MIT')
depends=('python')
makedepends=('git' 'python-build' 'python-pip')
source=("git+https://github.com/keredson/$_pkgname.git")
sha512sums=('SKIP')

pkgver() {
cd $_pkgname

( set -o pipefail
git describe --long --tags --abbrev=7 2>/dev/null |
sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "%s.%s" "$(git rev-list --count HEAD)" \
"$(git rev-parse --short=7 HEAD)"
)
}

build() {
cd $_pkgname

python -m build --wheel --outdir="$startdir/dist"
}

package() {
cd $_pkgname

pip install \
--verbose \
--disable-pip-version-check \
--no-warn-script-location \
--ignore-installed \
--no-compile \
--no-deps \
--root="$pkgdir" \
--prefix=/usr \
--no-index \
--find-links="file://$startdir/dist" \
$_pkgname
}

50 changes: 50 additions & 0 deletions packages/xmltojson/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=xmltojson
pkgver=22.dee0fc7
pkgrel=1
pkgdesc='CLI tool and Python module to convert XML to JSON.'
arch=('any')
groups=('blackarch' 'blackarch-misc')
url='https://github.com/shanahanjrs/xmltojson'
license=('Apache-2.0')
depends=('python' 'python-xmltodict')
makedepends=('git' 'python-build' 'python-pip')
source=("git+https://github.com/shanahanjrs/$pkgname.git")
sha512sums=('SKIP')

pkgver() {
cd $pkgname

( set -o pipefail
git describe --long --tags --abbrev=7 2>/dev/null |
sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "%s.%s" "$(git rev-list --count HEAD)" \
"$(git rev-parse --short=7 HEAD)"
)
}

build() {
cd $pkgname

python -m build --wheel --outdir="$startdir/dist"
}

package() {
cd $pkgname

pip install \
--verbose \
--disable-pip-version-check \
--no-warn-script-location \
--ignore-installed \
--no-compile \
--no-deps \
--root="$pkgdir" \
--prefix=/usr \
--no-index \
--find-links="file://$startdir/dist" \
$pkgname
}

0 comments on commit d4864e0

Please sign in to comment.