https://github.com/dadevel/archpkgs
Pentesting tools packaged for Arch Linux.
https://github.com/dadevel/archpkgs
archlinux pentesting pkgbuild redteaming
Last synced: 5 months ago
JSON representation
Pentesting tools packaged for Arch Linux.
- Host: GitHub
- URL: https://github.com/dadevel/archpkgs
- Owner: dadevel
- License: mit
- Created: 2022-07-02T17:37:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-09-18T06:49:13.000Z (6 months ago)
- Last Synced: 2025-09-18T08:41:08.822Z (6 months ago)
- Topics: archlinux, pentesting, pkgbuild, redteaming
- Language: Shell
- Homepage:
- Size: 138 KB
- Stars: 13
- Watchers: 3
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# archpkgs
Red teaming and pentesting tools packaged for Arch Linux.
Remarks:
- packages are installed under `/opt/archpkgs`
- Python packages are isolated in their own virtual environments
- packages are rebuild weekly
## Setup
Run the following command to add the repo.
~~~ bash
curl -sSfL https://github.com/dadevel/archpkgs/raw/main/setup.sh | sudo bash
~~~
List all packages provided by the repo.
~~~ bash
sudo pacman -Sl archpkgs
~~~
> **Note:** Breaking changes that require manual interaction are marked in the [commit history](https://github.com/dadevel/archpkgs/commits/main/) with an `!`.
## Development
1. Clone the repo.
~~~ bash
git clone --depth 1 https://github.com/dadevel/archpkgs.git
cd ./archpkgs
~~~
2. Create a new directory named like the package.
~~~ bash
mkdir ./example
~~~
3. Place a [PKGBUILD](https://wiki.archlinux.org/title/PKGBUILD) in the newly created directory that describes how the package is built.
~~~ bash
vim ./example/PKGBUILD
~~~
4. Update the build container.
~~~ bash
podman pull ghcr.io/dadevel/archpkgs-builder:latest
~~~
5. Build the package.
~~~ bash
podman run -it --rm --userns keep-id --group-add wheel -v ./example:/build -w /build --entrypoint /bin/env ghcr.io/dadevel/archpkgs-builder:latest makepkg --syncdeps --clean --needed --noconfirm
~~~~
6. Install the package and verify everything is on order.
~~~ bash
sudo pacman -U ./example/example-1234.5678900-1-any.pkg.tar.zst
~~~
7. Run `./generate-workflow.py` to update the CI pipeline.
8. Open a [pull request](https://github.com/dadevel/archpkgs/pulls).
## Tips
If building Rust fails with a strange linker error, use `CFLAGS="${CFLAGS/-flto=auto/}" cargo build ...`.