Skip to content

Commit

Permalink
multiple: fixes + pkgrel++.
Browse files Browse the repository at this point in the history
  • Loading branch information
noptrix committed Aug 31, 2023
1 parent 8f3c67b commit ec895aa
Show file tree
Hide file tree
Showing 41 changed files with 352 additions and 207 deletions.
4 changes: 2 additions & 2 deletions packages/activedirectoryenum/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pkgname=activedirectoryenum
_pkgname=ActiveDirectoryEnumeration
__pkgname=ActiveDirectoryEnum
pkgver=0.5.0
pkgrel=5
pkgrel=4
epoch=1
pkgdesc='Enumerate AD through LDAP.'
arch=('any')
Expand All @@ -19,7 +19,7 @@ depends=('python' 'python-cffi' 'python-click' 'python-cryptography'
'python-pycparser' 'python-pycryptodomex' 'python-pyopenssl'
'python-six' 'python-termcolor' 'python-werkzeug' 'bloodhound-python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$__pkgname-$pkgver.tar.gz")
source=("https://files.pythonhosted.org/packages/source/${__pkgname::1}/$__pkgname/$__pkgname-$pkgver.tar.gz")
sha512sums=('0c69b466979af1f8acd94aaf0b66ad0d6342419738ab9a04c46dffb018fa27486b9e6a6810c1fabe342cbebbaf1f438dbbe11b30bb6385d23a44376c590df951')

build() {
Expand Down
4 changes: 2 additions & 2 deletions packages/angr-management/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pkgname=angr-management
pkgver=9.1.11752
pkgrel=3
pkgrel=2
groups=('blackarch' 'blackarch-binary' 'blackarch-disassembler'
'blackarch-reversing')
pkgdesc='This is the GUI for angr.'
Expand All @@ -17,7 +17,7 @@ depends=('angr' 'python' 'python-websocket-client' 'python-pyzmq' 'ipython'
'python-sqlalchemy' 'python-pyxdg' 'python-jupyter_client'
'python-pyqodeng-core')
makedepends=('git' 'python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$pkgname-$pkgver.tar.gz")
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha512sums=('53162c0ccc3eed4ba4eb6ce214542d7653dbdd0c87c741cbeaa278e2a293ceb047702a1739d960f156c6252ffd54b3ed57870f82499b09fd4a4473fbd9f26dca')

build() {
Expand Down
4 changes: 2 additions & 2 deletions packages/angr/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pkgname=angr
pkgver=9.1.11752
pkgrel=6
pkgrel=5
epoch=1
groups=('blackarch' 'blackarch-binary' 'blackarch-disassembler'
'blackarch-reversing')
Expand All @@ -21,7 +21,7 @@ depends=('python' 'python-capstone' 'python-networkx' 'python-rpyc'
'python-protobuf' 'python-itanium-demangler' 'python-cppheaderparser'
'python-sympy' 'python-nampa')
makedepends=('git' 'python-setuptools' 'python-pip' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$pkgname-$pkgver.tar.gz")
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha512sums=('a0e1069d38bd756ccb520c48d9b14d348c5306326686adf1841ca3d626b5606e20f3fb0ea273da0d11cc1d09ee255d5690e4385b82810fce654180b5ee4bbb73')

prepare() {
Expand Down
4 changes: 2 additions & 2 deletions packages/aztarna/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pkgname=aztarna
pkgver=1.2.1
pkgrel=5
pkgrel=4
pkgdesc='A footprinting tool for ROS and SROS systems.'
arch=('any')
url='https://github.com/aliasrobotics/aztarna'
Expand All @@ -22,7 +22,7 @@ depends=('python' 'python-aiohttp' 'python-aiohttp-xmlrpc' 'python-argcomplete'
'python-sphinxcontrib-websupport' 'python-urllib3' 'python-uvloop'
'python-xlsxwriter' 'python-property')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$pkgname-$pkgver.tar.gz"
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz"
'setup.py.patch')
sha512sums=('66738d7d5911cd19a1e2eb68750b57223e0ca46b82c190d6a6f2aaeec9e1755636712925391958d5ec669f639cbb761ecef38470bdfcd835ebbeed87823cad9b'
'b656a7a2bda9d1baf7bc0972e4bbf0b9e83aadfcd0ad1ed8ec31fdacbfdc882913cba6f90ec7a53506c5a679f8eb9af40c56926b1a81820d5f5b515e439c2167')
Expand Down
4 changes: 2 additions & 2 deletions packages/bandicoot/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

pkgname=bandicoot
pkgver=0.6.0
pkgrel=6
pkgrel=5
arch=('any')
pkgdesc='A toolbox to analyze mobile phone metadata.'
groups=('blackarch' 'blackarch-mobile')
url='https://pypi.org/project/bandicoot/#files'
depends=('python')
makedepends=('python-setuptools')
license=('MIT')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$pkgname-$pkgver.tar.gz")
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha512sums=('05e56d361c5fe1b9e1a3bba72084e50f8451ee2448b06794483a3cfea4c45f37d0096f7b23fca1428d3660feba74c2414d1f1dde2a235c48e0218dee2525ec97')

build() {
Expand Down
2 changes: 1 addition & 1 deletion packages/buster/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pkgname=buster
pkgver=92.131437e
pkgrel=8
pkgrel=7
pkgdesc='Find emails of a person and return info associated with them.'
groups=('blackarch' 'blackarch-social' 'blackarch-recon')
arch=('any')
Expand Down
7 changes: 3 additions & 4 deletions packages/camover/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

pkgname=camover
pkgver=90.7b02cf1
pkgrel=2
pkgrel=1
pkgdesc='A camera exploitation tool that allows to disclosure network camera admin password.'
groups=('blackarch' 'blackarch-exploitation')
arch=('any')
url='https://github.com/EntySec/camover'
license=('MIT')
depends=('python' 'python-requests' 'python-shodan')
depends=('python' 'python-requests' 'python-shodan' 'python-badges')
makedepends=('git' 'python-setuptools')
source=("$pkgname::git+https://github.com/EntySec/camover.git")
sha512sums=('SKIP')
Expand All @@ -31,7 +31,6 @@ package() {

python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build

install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md \
TERMS_OF_SERVICE
install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
}

6 changes: 3 additions & 3 deletions packages/chipsec/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# See COPYING for license details.

pkgname=chipsec
pkgver=1932.757e1f04
pkgrel=2
pkgver=1938.2b531e67
pkgrel=1
epoch=4
pkgdesc='Platform Security Assessment Framework.'
groups=('blackarch' 'blackarch-hardware' 'blackarch-binary' 'blackarch-forensic'
Expand All @@ -12,7 +12,7 @@ arch=('x86_64' 'aarch64')
url='https://github.com/chipsec/chipsec'
license=('GPL2')
depends=('dkms' 'libelf' 'nasm' 'python' 'python-lxml')
makedepends=('git' 'python-setuptools')
makedepends=('git' 'python-setuptools' 'linux-headers')
optdepends=('linux-headers' 'linux-lts-headers' 'linux-hardened-headers'
'linux-rt-headers' 'linux-rt-lts-headers' 'linux-zen-headers')
source=("git+https://github.com/chipsec/$pkgname.git")
Expand Down
12 changes: 6 additions & 6 deletions packages/clairvoyance/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
# See COPYING for license details.

pkgname=clairvoyance
pkgver=2.0.6
pkgver=2.5.2
_pyver=3.11
pkgrel=4
pkgrel=1
pkgdesc='Obtain GraphQL API Schema even if the introspection is not enabled.'
arch=('any')
groups=('blackarch' 'blackarch-webapp' 'blackarch-recon' 'blackarch-scanner')
url='https://github.com/nikitastupin/clairvoyance'
license=('Apache')
depends=('python' 'python-asyncio' 'python-aiohttp')
license=('MIT')
depends=('python' 'python-asyncio' 'python-aiohttp' 'python-rich')
makedepends=('python-build' 'python-pip')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha512sums=('3ded3beb9ff71a33daaca54e45364b64e9bda7ee47aa3e8539d5ad3843bbcb17bcfa4147d353d8df30a2d2b22f1d60cc1600c6869f3c9cccf097b0b46afa6656')
sha512sums=('5cc2199098a95f7776582cd2c4100bbc7675608cc46fafb1202d56d812812a73d01fba76583e1a038f986fa4aa3e60fd1d9478958cabdecf0b52dc2d3ea2abf0')

build() {
cd "$pkgname-$pkgver"
Expand All @@ -35,6 +35,6 @@ package() {
--prefix=/usr \
--no-index \
--find-links="file://$startdir/dist" \
"$pkgname"
$pkgname
}

4 changes: 2 additions & 2 deletions packages/conpot/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pkgname=conpot
pkgver=0.6.0
_pyver=3.11
pkgrel=9
pkgrel=7
pkgdesc='ICS honeypot with the goal to collect intelligence about the motives and methods of adversaries targeting industrial control systems.'
url='https://pypi.org/project/Conpot/'
groups=('blackarch' 'blackarch-honeypot')
Expand All @@ -20,7 +20,7 @@ depends=('python-gevent' 'python-pysnmp' 'python-pysmi' 'python-lxml'
makedepends=('python' 'python-distribute' 'python-setuptools')
license=('GPL2')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$pkgname-$pkgver.tar.gz")
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha512sums=('ed0246d68c3cb8a8e108e8a64e109ebfc62df90ca01343cda41cd4d05a972b23f6ec8d8ddf23696fbe38d554c5f1e819e6525075dde265c71617ab7549e74ef2')

build() {
Expand Down
4 changes: 2 additions & 2 deletions packages/cookiejar/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

pkgname=cookiejar
pkgver=0.0.3
pkgrel=5
pkgrel=4
pkgdesc='Cookiecutter templates discovery and management.'
arch=('any')
url='https://pypi.org/project/cookiejar/#files'
license=('BSD')
depends=('python' 'python-pager' 'python-cookiecutter')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$pkgname-$pkgver.tar.gz")
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha512sums=('833a2d7903787b7058d8326f95460de9ee05ec03142076660d966a17728a5ab504061d008bd9ad9f8d27155e949a4c8d7aaeb5f8eed4a2546dc0625291944188')

build() {
Expand Down
7 changes: 4 additions & 3 deletions packages/drupwn/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@

pkgname=drupwn
pkgver=59.8186732
pkgrel=5
pkgrel=4
epoch=1
pkgdesc='Drupal enumeration & exploitation tool.'
groups=('blackarch' 'blackarch-webapp' 'blackarch-exploitation' 'blackarch-scanner')
groups=('blackarch' 'blackarch-webapp' 'blackarch-exploitation'
'blackarch-scanner')
arch=('any')
url='https://github.com/immunIT/drupwn'
license=('GPL3')
depends=('python' 'python-argparse' 'python-requests' 'python-prompt_toolkit'
'python-veryprettytable' 'python-pysocks')
makedepends=('git')
makedepends=('git' 'python-setuptools')
source=("git+https://github.com/immunIT/$pkgname.git")
sha512sums=('SKIP')

Expand Down
21 changes: 16 additions & 5 deletions packages/exabgp/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# See COPYING for license details.

pkgname=exabgp
pkgver=5060.5dfb106d
pkgrel=2
pkgver=5062.90e0b81d
pkgrel=1
groups=('blackarch' 'blackarch-networking' 'blackarch-defensive')
pkgdesc='The BGP swiss army knife of networking.'
arch=('any')
url='https://github.com/Exa-Networks/exabgp'
license=('custom:unknown')
depends=('python' 'python-ipaddr' 'python-nose' 'python-psutil')
makedepends=('git' 'python-setuptools')
makedepends=('git' 'python-pip' 'python-build' 'python-wheel')
backup=('etc/exabgp.conf')
source=("git+https://github.com/Exa-Networks/$pkgname.git"
"$pkgname.service")
Expand All @@ -26,13 +26,24 @@ pkgver() {
build() {
cd $pkgname

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

package() {
cd $pkgname

python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
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

install -Dm 644 "$srcdir/$pkgname.service" \
"$pkgdir/usr/lib/systemd/system/$pkgname.service"
Expand Down
2 changes: 1 addition & 1 deletion packages/gdbgui/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

pkgname=gdbgui
pkgver=431.9138473
pkgrel=3
pkgrel=2
epoch=1
pkgdesc='Browser-based gdb frontend using Flask and JavaScript to visually debug C, C++, Go, or Rust.'
groups=('blackarch' 'blackarch-debugger' 'blackarch-binary')
Expand Down
33 changes: 17 additions & 16 deletions packages/grammarinator/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@

pkgname=grammarinator
pkgver=254.da9ef71
pkgrel=2
pkgrel=1
pkgdesc='A random test generator / fuzzer that creates test cases according to an input ANTLR v4 grammar.'
groups=('blackarch' 'blackarch-fuzzer' 'blackarch-misc')
arch=('any')
url='https://github.com/renatahodovan/grammarinator'
license=('MIT')
depends=('python' 'autopep8' 'python-antlerinator' 'python-jinja'
'python-antlr4')
makedepends=('git' 'python-setuptools' 'python-poetry')
makedepends=('git' 'python-pip' 'python-wheel' 'python-build'
'java-environment')
source=("git+https://github.com/renatahodovan/$pkgname.git")
#source=("git+https://github.com/renatahodovan/$pkgname.git#commit=7dace5450b7136d641d065f649b406a22ef4d7f7")
sha512sums=('SKIP')

pkgver() {
Expand All @@ -22,27 +22,28 @@ pkgver() {
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

prepare() {
cd $pkgname

#sed -i 's|antlerinator==4.9|antlerinator|g' setup.py
}

build() {
cd $pkgname

poetry build
cd dist
mkdir -p gram_dir
tar zxvf "$pkgname-*.tar.gz" -C gram_dir/
python -m build --wheel --outdir="$startdir/dist"
}

package() {
cd "$pkgname/dist/gram_dir/$pkgname"-*
cd $pkgname

python setup.py install --root="$pkgdir" --prefix=/usr -O1
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

cd "$srcdir/$pkgname"
install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README.rst RELNOTES.rst
install -Dm 644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Expand Down
16 changes: 4 additions & 12 deletions packages/intelmq/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# See COPYING for license details.

pkgname=intelmq
pkgver=3.1.0.rc1.r17.g122e3a386
pkgrel=3
pkgver=3.2.1.r3.ga86a587bb
pkgrel=1
pkgdesc='A tool for collecting and processing security feeds using a message queuing protocol.'
arch=('any')
groups=('blackarch' 'blackarch-misc')
Expand All @@ -13,23 +13,15 @@ depends=('python' 'python-dnspython' 'python-psutil' 'python-dateutil'
'python-termstyle' 'python-pytz' 'python-redis' 'python-requests'
'python-ruamel-yaml' 'python-psycopg2')
makedepends=('git' 'python-setuptools')
source=("git+https://github.com/certtools/$pkgname.git"
'setup.py.patch')
sha512sums=('SKIP'
'692e7ece47dca57fc41a580f759d2d313f9c299bf01ef807aecea1bd9d76e1394d0e004056788b4e9bde4c845fe75c1d95137667ca26a6680b35430570d27fc8')
source=("git+https://github.com/certtools/$pkgname.git")
sha512sums=('SKIP')

pkgver() {
cd $pkgname

git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
cd $pkgname

patch -p0 < ../setup.py.patch
}

build() {
cd $pkgname

Expand Down
Loading

0 comments on commit ec895aa

Please sign in to comment.