[arch-commits] Commit in evilginx/repos/community-x86_64 (PKGBUILD PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sun Jul 5 15:38:49 UTC 2020


    Date: Sunday, July 5, 2020 @ 15:38:49
  Author: foxboron
Revision: 657874

archrelease: copy trunk to community-x86_64

Added:
  evilginx/repos/community-x86_64/PKGBUILD
    (from rev 657873, evilginx/trunk/PKGBUILD)
Deleted:
  evilginx/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   80 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 41 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-05 15:38:40 UTC (rev 657873)
+++ PKGBUILD	2020-07-05 15:38:49 UTC (rev 657874)
@@ -1,39 +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=5
-url='https://github.com/kgretzky/evilginx2'
-license=('GPL3')
-arch=('x86_64')
-depends=('glibc')
-makedepends=('go-pie' '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
-  go build -v \
-    -trimpath \
-    -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
-    -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 657873, evilginx/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-05 15:38:49 UTC (rev 657874)
@@ -0,0 +1,41 @@
+# 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:



More information about the arch-commits mailing list