From 65f20a12755bee603c44b689253899ee3eb3c5c9 Mon Sep 17 00:00:00 2001 From: dadevel Date: Tue, 5 Sep 2023 21:58:29 +0200 Subject: [PATCH] switch all pkgs to revcount based versioning --- adidnsdump/PKGBUILD | 2 +- aquatone/PKGBUILD | 2 +- asnmap/PKGBUILD | 2 +- azurehound/PKGBUILD | 2 +- bloodhound-python/PKGBUILD | 2 +- bloodhound/PKGBUILD | 2 +- certipy-bloodhound/PKGBUILD | 2 +- certipy/PKGBUILD | 2 +- coercer/PKGBUILD | 2 +- crackmapexec/PKGBUILD | 2 +- dnsx/PKGBUILD | 2 +- evil-winrm/PKGBUILD | 2 +- ffuf/PKGBUILD | 2 +- gobuster/PKGBUILD | 2 +- gowitness/PKGBUILD | 2 +- httpx/PKGBUILD | 2 +- ldapnomnom/PKGBUILD | 2 +- mapcidr/PKGBUILD | 2 +- masscan/PKGBUILD | 2 +- massdns/PKGBUILD | 2 +- mitm6/PKGBUILD | 2 +- name-that-hash/PKGBUILD | 2 +- nuclei/PKGBUILD | 2 +- pretender/PKGBUILD | 2 +- pypykatz/PKGBUILD | 2 +- responder/PKGBUILD | 2 +- shuffledns/PKGBUILD | 2 +- subfinder/PKGBUILD | 2 +- tlsx/PKGBUILD | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-) diff --git a/adidnsdump/PKGBUILD b/adidnsdump/PKGBUILD index d4ab190b..45bc9472 100644 --- a/adidnsdump/PKGBUILD +++ b/adidnsdump/PKGBUILD @@ -25,5 +25,5 @@ EOF pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/aquatone/PKGBUILD b/aquatone/PKGBUILD index ccabde59..8d7d5061 100644 --- a/aquatone/PKGBUILD +++ b/aquatone/PKGBUILD @@ -22,5 +22,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/asnmap/PKGBUILD b/asnmap/PKGBUILD index 41f23287..32f46c1a 100644 --- a/asnmap/PKGBUILD +++ b/asnmap/PKGBUILD @@ -21,5 +21,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/azurehound/PKGBUILD b/azurehound/PKGBUILD index 33c8fa75..7b4023e4 100644 --- a/azurehound/PKGBUILD +++ b/azurehound/PKGBUILD @@ -22,5 +22,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/bloodhound-python/PKGBUILD b/bloodhound-python/PKGBUILD index 90dfe1b7..6bd80e31 100644 --- a/bloodhound-python/PKGBUILD +++ b/bloodhound-python/PKGBUILD @@ -26,5 +26,5 @@ EOF pkgver() { cd "${srcdir}/${_reponame}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/bloodhound/PKGBUILD b/bloodhound/PKGBUILD index 89c906e3..e3881e44 100644 --- a/bloodhound/PKGBUILD +++ b/bloodhound/PKGBUILD @@ -31,5 +31,5 @@ EOF pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/certipy-bloodhound/PKGBUILD b/certipy-bloodhound/PKGBUILD index df2867f8..1e1e36e2 100644 --- a/certipy-bloodhound/PKGBUILD +++ b/certipy-bloodhound/PKGBUILD @@ -31,5 +31,5 @@ EOF pkgver() { cd "${srcdir}/bloodhound" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/certipy/PKGBUILD b/certipy/PKGBUILD index 034c914b..cdd00cc9 100644 --- a/certipy/PKGBUILD +++ b/certipy/PKGBUILD @@ -25,5 +25,5 @@ EOF pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/coercer/PKGBUILD b/coercer/PKGBUILD index f10d0795..d645ee28 100644 --- a/coercer/PKGBUILD +++ b/coercer/PKGBUILD @@ -26,5 +26,5 @@ EOF pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/crackmapexec/PKGBUILD b/crackmapexec/PKGBUILD index 5243d329..67047dbf 100644 --- a/crackmapexec/PKGBUILD +++ b/crackmapexec/PKGBUILD @@ -28,5 +28,5 @@ EOF pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/dnsx/PKGBUILD b/dnsx/PKGBUILD index 1dd083b4..d4a6de04 100644 --- a/dnsx/PKGBUILD +++ b/dnsx/PKGBUILD @@ -21,5 +21,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/evil-winrm/PKGBUILD b/evil-winrm/PKGBUILD index c33bae0f..190b56d7 100644 --- a/evil-winrm/PKGBUILD +++ b/evil-winrm/PKGBUILD @@ -26,5 +26,5 @@ EOF pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/ffuf/PKGBUILD b/ffuf/PKGBUILD index d878f1d3..084c1f10 100644 --- a/ffuf/PKGBUILD +++ b/ffuf/PKGBUILD @@ -21,5 +21,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/gobuster/PKGBUILD b/gobuster/PKGBUILD index 86d42cea..dcb5b2e2 100644 --- a/gobuster/PKGBUILD +++ b/gobuster/PKGBUILD @@ -21,5 +21,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/gowitness/PKGBUILD b/gowitness/PKGBUILD index d425b128..a4945549 100644 --- a/gowitness/PKGBUILD +++ b/gowitness/PKGBUILD @@ -22,5 +22,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/httpx/PKGBUILD b/httpx/PKGBUILD index c092268e..6010116f 100644 --- a/httpx/PKGBUILD +++ b/httpx/PKGBUILD @@ -21,5 +21,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/ldapnomnom/PKGBUILD b/ldapnomnom/PKGBUILD index b3e0cbff..5ffdfb9b 100644 --- a/ldapnomnom/PKGBUILD +++ b/ldapnomnom/PKGBUILD @@ -21,5 +21,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/mapcidr/PKGBUILD b/mapcidr/PKGBUILD index 25f0799b..b0945b3a 100644 --- a/mapcidr/PKGBUILD +++ b/mapcidr/PKGBUILD @@ -21,5 +21,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/masscan/PKGBUILD b/masscan/PKGBUILD index 91655172..acb5ee42 100644 --- a/masscan/PKGBUILD +++ b/masscan/PKGBUILD @@ -21,5 +21,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/massdns/PKGBUILD b/massdns/PKGBUILD index 9b95fc6f..87936a13 100644 --- a/massdns/PKGBUILD +++ b/massdns/PKGBUILD @@ -21,5 +21,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/mitm6/PKGBUILD b/mitm6/PKGBUILD index f278e329..da5abab8 100644 --- a/mitm6/PKGBUILD +++ b/mitm6/PKGBUILD @@ -25,5 +25,5 @@ EOF pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/name-that-hash/PKGBUILD b/name-that-hash/PKGBUILD index 5ab08ab8..c0a5119b 100644 --- a/name-that-hash/PKGBUILD +++ b/name-that-hash/PKGBUILD @@ -25,5 +25,5 @@ EOF pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/nuclei/PKGBUILD b/nuclei/PKGBUILD index 030c51f7..c993c19a 100644 --- a/nuclei/PKGBUILD +++ b/nuclei/PKGBUILD @@ -21,5 +21,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/pretender/PKGBUILD b/pretender/PKGBUILD index 55edcb15..cac3b704 100644 --- a/pretender/PKGBUILD +++ b/pretender/PKGBUILD @@ -22,5 +22,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/pypykatz/PKGBUILD b/pypykatz/PKGBUILD index 5de93f66..fade3b9c 100644 --- a/pypykatz/PKGBUILD +++ b/pypykatz/PKGBUILD @@ -25,5 +25,5 @@ EOF pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/responder/PKGBUILD b/responder/PKGBUILD index f1404638..88da17f1 100644 --- a/responder/PKGBUILD +++ b/responder/PKGBUILD @@ -36,5 +36,5 @@ EOF pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/shuffledns/PKGBUILD b/shuffledns/PKGBUILD index 4aa24241..e8563a40 100644 --- a/shuffledns/PKGBUILD +++ b/shuffledns/PKGBUILD @@ -22,5 +22,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/subfinder/PKGBUILD b/subfinder/PKGBUILD index 917643ed..cf4f28b2 100644 --- a/subfinder/PKGBUILD +++ b/subfinder/PKGBUILD @@ -21,5 +21,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } diff --git a/tlsx/PKGBUILD b/tlsx/PKGBUILD index e6a38b8f..f8f0dbf2 100644 --- a/tlsx/PKGBUILD +++ b/tlsx/PKGBUILD @@ -21,5 +21,5 @@ package() { pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's|-|_|g' + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" }