[arch-commits] Commit in evilginx/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sat Feb 27 16:10:33 UTC 2021
Date: Saturday, February 27, 2021 @ 16:10:33
Author: foxboron
Revision: 875224
archrelease: copy trunk to community-x86_64
Added:
evilginx/repos/community-x86_64/PKGBUILD
(from rev 875223, evilginx/trunk/PKGBUILD)
Deleted:
evilginx/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 79 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 38 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-27 16:10:26 UTC (rev 875223)
+++ PKGBUILD 2021-02-27 16:10:33 UTC (rev 875224)
@@ -1,41 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: kpcyrd <git at rxv.cc>
-
-pkgname=evilginx
-pkgdesc='Man-in-the-middle attack framework used for phishing login credentials'
-pkgver=2.3.0
-pkgrel=6
-url='https://github.com/kgretzky/evilginx2'
-license=('GPL3')
-arch=('x86_64')
-depends=('glibc')
-makedepends=('go' 'git' 'dep')
-source=(https://github.com/kgretzky/evilginx2/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('385926bbd0a37568a4fa9fc9e500bd622a14209ecf0d60ff8b93e6e45b3d59b0649fe9f0c5571f6eade58e025d25a84f24bce9b64a63163939eabdea937bac69')
-
-prepare() {
- export GOPATH="${srcdir}/go"
- mkdir -p go/src/github.com/kgretzky
- ln -rTsf evilginx2-${pkgver} go/src/github.com/kgretzky/evilginx2
-}
-
-build() {
- cd go/src/github.com/kgretzky/evilginx2
- export GOPATH="${srcdir}/go"
- dep ensure -v
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
- go build -v -o ./bin/evilginx main.go
-}
-
-package() {
- cd go/src/github.com/kgretzky/evilginx2
- install -Dm 755 bin/evilginx -t "${pkgdir}/usr/bin"
- install -Dm 644 phishlets/* -t "${pkgdir}/usr/share/evilginx/phishlets"
- install -Dm 644 README.md CHANGELOG -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: evilginx/repos/community-x86_64/PKGBUILD (from rev 875223, evilginx/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-27 16:10:33 UTC (rev 875224)
@@ -0,0 +1,38 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: kpcyrd <git at rxv.cc>
+
+pkgname=evilginx
+pkgdesc='Man-in-the-middle attack framework used for phishing login credentials'
+pkgver=2.4.0
+pkgrel=1
+url='https://github.com/kgretzky/evilginx2'
+license=('GPL3')
+arch=('x86_64')
+depends=('glibc')
+makedepends=('go' 'git')
+source=(https://github.com/kgretzky/evilginx2/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('9023569cfddf49eeef3231b3e3a58db79e268ce14f2f1a1a6122135ff7268f0993de4fc14766c8033f4a70d5995bdcf7aeb93d498feb815fba83e606e43cc333')
+
+build() {
+ cd "${pkgname}2-${pkgver}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ go build -v -o ./bin/evilginx main.go
+}
+
+check() {
+ cd "${pkgname}2-${pkgver}"
+ go test ./...
+}
+
+package() {
+ cd "${pkgname}2-${pkgver}"
+ install -Dm 755 bin/evilginx -t "${pkgdir}/usr/bin"
+ install -Dm 644 phishlets/* -t "${pkgdir}/usr/share/evilginx/phishlets"
+ install -Dm 644 README.md CHANGELOG -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list