[arch-commits] Commit in authoscope/repos/community-x86_64 (4 files)
Kpcyrd
kpcyrd at archlinux.org
Wed May 26 18:08:36 UTC 2021
Date: Wednesday, May 26, 2021 @ 18:08:35
Author: kpcyrd
Revision: 946848
archrelease: copy trunk to community-x86_64
Added:
authoscope/repos/community-x86_64/PKGBUILD
(from rev 946847, authoscope/trunk/PKGBUILD)
authoscope/repos/community-x86_64/authoscope.install
(from rev 946847, authoscope/trunk/authoscope.install)
Deleted:
authoscope/repos/community-x86_64/PKGBUILD
authoscope/repos/community-x86_64/badtouch.install
--------------------+
PKGBUILD | 101 ++++++++++++++++++++++++++-------------------------
authoscope.install | 9 ++++
badtouch.install | 9 ----
3 files changed, 62 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-26 18:08:12 UTC (rev 946847)
+++ PKGBUILD 2021-05-26 18:08:35 UTC (rev 946848)
@@ -1,48 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: kpcyrd <git at rxv.cc>
-
-pkgname=badtouch
-pkgver=0.7.3
-pkgrel=1
-pkgdesc='Scriptable network authentication cracker'
-url='https://github.com/kpcyrd/badtouch'
-depends=('openssl' 'lua52' 'libcap' 'zlib')
-makedepends=('cargo')
-arch=('x86_64')
-license=('GPL3')
-install=badtouch.install
-source=(https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
- https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc)
-sha256sums=('cb09ae83bbe37e17ce1d5e86ba1c9f8b8dd1dc1b30e3f7d69d7cfd8db7ae5547'
- 'SKIP')
-sha512sums=('e667192c9271720b94304a0af3f9eaa9e1408a0709dc005436270cc667e84dbcdd2d6cf924c0077f4782a786070f64e3b396e3d78f126777f2f077da9c05805e'
- 'SKIP')
-validpgpkeys=('64B13F7117D6E07D661BBCE0FE763A64F5E54FD6')
-
-build() {
- cd ${pkgname}-${pkgver}
- cargo build --release --locked
-}
-
-check() {
- cd ${pkgname}-${pkgver}
- cargo test --release --locked
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
-
- install -d "${pkgdir}/usr/share/bash-completion/completions" \
- "${pkgdir}/usr/share/zsh/site-functions" \
- "${pkgdir}/usr/share/fish/vendor_completions.d"
- "${pkgdir}/usr/bin/badtouch" completions bash > "${pkgdir}/usr/share/bash-completion/completions/badtouch"
- "${pkgdir}/usr/bin/badtouch" completions zsh > "${pkgdir}/usr/share/zsh/site-functions/_badtouch"
- "${pkgdir}/usr/bin/badtouch" completions fish > "${pkgdir}/usr/share/fish/vendor_completions.d/badtouch.fish"
-
- install -Dm 644 docs/badtouch.1 -t "${pkgdir}/usr/share/man/man1"
- install -Dm 644 scripts/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
- install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: authoscope/repos/community-x86_64/PKGBUILD (from rev 946847, authoscope/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-26 18:08:35 UTC (rev 946848)
@@ -0,0 +1,53 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=authoscope
+pkgver=0.8.0
+pkgrel=1
+pkgdesc='Scriptable network authentication cracker'
+url='https://github.com/kpcyrd/authoscope'
+depends=('openssl' 'lua52' 'libcap' 'zlib')
+makedepends=('cargo')
+arch=('x86_64')
+license=('GPL3')
+install=authoscope.install
+provides=('badtouch')
+conflicts=('badtouch')
+replaces=('badtouch')
+source=(https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+ https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc)
+sha512sums=('3a737999e6e021dfe71ded8fc07985e71ba0a685dc0a5981f34bc8e7cd6d22be029ced2d73e78ebf6630f473691d4dea859ba0fa67183fe8d8f64cf7f858a083'
+ 'SKIP')
+b2sums=('86fa7a8f41bb34083f56b901fd38adab52f035840aeb2f7e225d8acf6521512886140adc817e03eadbdd74b1db5f2287a98ece4e7cfb168c04a8d9357e8b49a9'
+ 'SKIP')
+validpgpkeys=('64B13F7117D6E07D661BBCE0FE763A64F5E54FD6')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ cargo build --release --locked
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ cargo test --release --locked
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -Dm 755 target/release/${pkgname} \
+ target/release/badtouch \
+ -t "${pkgdir}/usr/bin"
+
+ install -d "${pkgdir}/usr/share/bash-completion/completions" \
+ "${pkgdir}/usr/share/zsh/site-functions" \
+ "${pkgdir}/usr/share/fish/vendor_completions.d"
+ "${pkgdir}/usr/bin/authoscope" completions bash > "${pkgdir}/usr/share/bash-completion/completions/authoscope"
+ "${pkgdir}/usr/bin/authoscope" completions zsh > "${pkgdir}/usr/share/zsh/site-functions/_authoscope"
+ "${pkgdir}/usr/bin/authoscope" completions fish > "${pkgdir}/usr/share/fish/vendor_completions.d/authoscope.fish"
+
+ install -Dm 644 docs/authoscope.1 -t "${pkgdir}/usr/share/man/man1"
+ install -Dm 644 scripts/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
Copied: authoscope/repos/community-x86_64/authoscope.install (from rev 946847, authoscope/trunk/authoscope.install)
===================================================================
--- authoscope.install (rev 0)
+++ authoscope.install 2021-05-26 18:08:35 UTC (rev 946848)
@@ -0,0 +1,9 @@
+# vim: ft=sh ts=4 et
+
+post_install() {
+ setcap cap_sys_resource=+ep /usr/bin/authoscope
+}
+
+post_upgrade() {
+ post_install
+}
Deleted: badtouch.install
===================================================================
--- badtouch.install 2021-05-26 18:08:12 UTC (rev 946847)
+++ badtouch.install 2021-05-26 18:08:35 UTC (rev 946848)
@@ -1,9 +0,0 @@
-# vim: ft=sh ts=4 et
-
-post_install() {
- setcap cap_sys_resource=+ep /usr/bin/badtouch
-}
-
-post_upgrade() {
- post_install
-}
More information about the arch-commits
mailing list