Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

above: add package. #4465

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

above: add package. #4465

wants to merge 1 commit into from

Conversation

s7x
Copy link
Contributor

@s7x s7x commented Feb 12, 2025

Added above, a network sniffer.

@s7x s7x requested a review from noptrix as a code owner February 12, 2025 11:15
Comment on lines +19 to +23
pkgver() {
cd $pkgname

echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pkgver() {
cd $pkgname
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
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)"
)
}

ref. https://github.com/BlackArch/blackarch-pkgbuilds/blob/master/PKGBUILD-generic-git

there are git tags https://github.com/casterbyte/Above/tags

'blackarch-fingerprint' 'blackarch-networking' 'blackarch-recon'
'blackarch-voip')
url='https://github.com/casterbyte/Above'
license=('GPL3')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cd /usr/share/above
python -m venv venv
source venv/bin/activate &&
pip install --isolated --root="/usr/share/above" --prefix='venv' \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants