Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lists/to-release
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sr-71
1 change: 1 addition & 0 deletions lists/to-remove
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lrod
22 changes: 0 additions & 22 deletions packages/lrod/lrod.install

This file was deleted.

14 changes: 7 additions & 7 deletions packages/lrod/PKGBUILD → packages/sr-71/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=lrod
pkgname=sr-71
pkgver=Version.r34.gbdd9b82
pkgrel=2
pkgrel=1
pkgdesc='Perform subdomain enumeration, endpoint recognition, and more.'
arch=('any')
groups=('blackarch' 'blackarch-recon')
url='https://gitlab.com/Edu0x01/Lrod'
url='https://gitlab.com/Edu0x01/SR-71'
license=('MIT')
depends=('python' 'python-virtualenv')
makedepends=('git' 'python-pip')
source=("git+https://gitlab.com/Edu0x01/$pkgname.git")
depends=('python')
makedepends=('git' 'python-setuptools' 'python-pip')
source=("$pkgname::git+https://gitlab.com/Edu0x01/$pkgname.git")
sha512sums=('SKIP')
install="$pkgname.install"

Expand Down Expand Up @@ -42,7 +42,7 @@ package() {
cat > "$pkgdir/usr/bin/$pkgname" << EOF
#!/bin/sh
source /usr/share/$pkgname/venv/bin/activate
exec python /usr/share/$pkgname/Lrod.py "\$@"
exec python /usr/share/$pkgname/SR-71.py "\$@"
EOF

chmod +x "$pkgdir/usr/bin/$pkgname"
Expand Down
16 changes: 16 additions & 0 deletions packages/sr-71/sr-71.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
post_install() {
set -e
cd /usr/share/sr-71
python -m venv venv
source venv/bin/activate &&
pip install --isolated --root=/usr/share/sr-71 --prefix=venv \
-r requirements.txt
}

post_upgrade() {
post_install "$@"
}

post_remove() {
rm -rf /usr/share/sr-71
}