From ad88af05fc9e191adc403eac383e652d0ad6674b Mon Sep 17 00:00:00 2001 From: caltlgin Date: Wed, 4 Nov 2020 15:04:27 +1300 Subject: Add to AUR --- .SRCINFO | 13 +++++++++++++ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..5e5edca --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = gau + pkgdesc = Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl + pkgver = 1.0.7 + pkgrel = 1 + url = https://github.com/lc/gau + arch = x86_64 + license = MIT + makedepends = go + source = gau-1.0.7.tar.gz::https://github.com/lc/gau/archive/v1.0.7.tar.gz + sha256sums = 5672bd30f9da06b34a7d5b49f9f5e9ef1c8b83968f5801da3114a38fa563d8ad + +pkgname = gau + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..ef76a0d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Caltlgin Stsodaat + +pkgname='gau' +pkgver=1.0.7 +pkgrel=1 +pkgdesc="Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl" +arch=('x86_64') +url='https://github.com/lc/gau' +license=('MIT') +makedepends=('go') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=('5672bd30f9da06b34a7d5b49f9f5e9ef1c8b83968f5801da3114a38fa563d8ad') + +prepare() { + export GOPATH="${srcdir}/gopath" + go clean -modcache +} + +build() { + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" + + cd "${pkgname}-${pkgver}" + go build -v -o "${pkgname}" . +} + +package() { + cd "${pkgname}-${pkgver}" + install -Dvm755 "${pkgname}" -t "${pkgdir}/usr/bin" + install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim: ts=2 sw=2 et: -- cgit v1.2.3-70-g09d2 From adbc79ffb2f57170851035936d6afa0fcac45389 Mon Sep 17 00:00:00 2001 From: caltlgin Date: Sun, 8 Nov 2020 07:08:46 +1300 Subject: Fix LICENSE installation --- .SRCINFO | 2 +- PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 5e5edca..bffcebe 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = gau pkgdesc = Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl pkgver = 1.0.7 - pkgrel = 1 + pkgrel = 2 url = https://github.com/lc/gau arch = x86_64 license = MIT diff --git a/PKGBUILD b/PKGBUILD index ef76a0d..b3a1318 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname='gau' pkgver=1.0.7 -pkgrel=1 +pkgrel=2 pkgdesc="Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl" arch=('x86_64') url='https://github.com/lc/gau' @@ -31,7 +31,7 @@ package() { cd "${pkgname}-${pkgver}" install -Dvm755 "${pkgname}" -t "${pkgdir}/usr/bin" install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}" - install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}" } # vim: ts=2 sw=2 et: -- cgit v1.2.3-70-g09d2 From edcc28a38b3f734ee7a5bdfaa099b20088675caa Mon Sep 17 00:00:00 2001 From: caltlgin Date: Thu, 10 Dec 2020 16:05:07 +1300 Subject: Update to v1.1.0 --- .SRCINFO | 8 ++++---- .gitignore | 4 ++++ PKGBUILD | 6 +++--- 3 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 .gitignore diff --git a/.SRCINFO b/.SRCINFO index bffcebe..0e5584a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = gau pkgdesc = Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl - pkgver = 1.0.7 - pkgrel = 2 + pkgver = 1.1.0 + pkgrel = 1 url = https://github.com/lc/gau arch = x86_64 license = MIT makedepends = go - source = gau-1.0.7.tar.gz::https://github.com/lc/gau/archive/v1.0.7.tar.gz - sha256sums = 5672bd30f9da06b34a7d5b49f9f5e9ef1c8b83968f5801da3114a38fa563d8ad + source = gau-1.1.0.tar.gz::https://github.com/lc/gau/archive/v1.1.0.tar.gz + sha256sums = 1d5cbf2e4a9268268d50eeed3d56608754b6fc0112faa4e26d298f83257f407b pkgname = gau diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..05c6d4d --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/PKGBUILD b/PKGBUILD index b3a1318..5d67caa 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,15 +1,15 @@ # Maintainer: Caltlgin Stsodaat pkgname='gau' -pkgver=1.0.7 -pkgrel=2 +pkgver=1.1.0 +pkgrel=1 pkgdesc="Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl" arch=('x86_64') url='https://github.com/lc/gau' license=('MIT') makedepends=('go') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('5672bd30f9da06b34a7d5b49f9f5e9ef1c8b83968f5801da3114a38fa563d8ad') +sha256sums=('1d5cbf2e4a9268268d50eeed3d56608754b6fc0112faa4e26d298f83257f407b') prepare() { export GOPATH="${srcdir}/gopath" -- cgit v1.2.3-70-g09d2 From 713f461769b352924715536d8aa0f1ab996b780c Mon Sep 17 00:00:00 2001 From: amadejpapez Date: Sat, 17 Jul 2021 13:37:55 +0200 Subject: New upstream release 1.2.0 --- .SRCINFO | 8 ++++---- PKGBUILD | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 0e5584a..d15275a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = gau pkgdesc = Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl - pkgver = 1.1.0 + pkgver = 1.2.0 pkgrel = 1 url = https://github.com/lc/gau arch = x86_64 license = MIT makedepends = go - source = gau-1.1.0.tar.gz::https://github.com/lc/gau/archive/v1.1.0.tar.gz - sha256sums = 1d5cbf2e4a9268268d50eeed3d56608754b6fc0112faa4e26d298f83257f407b + depends = glibc + source = gau-1.2.0.tar.gz::https://github.com/lc/gau/archive/v1.2.0.tar.gz + sha256sums = fb363fab0d63fc3a46b4a42bcbf71bc817995b9f14523c0f4fce8ba9c0d89ffa pkgname = gau - diff --git a/PKGBUILD b/PKGBUILD index 5d67caa..f6ab890 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,15 +1,16 @@ -# Maintainer: Caltlgin Stsodaat +# Maintainer: amadejpapez pkgname='gau' -pkgver=1.1.0 +pkgver=1.2.0 pkgrel=1 pkgdesc="Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl" arch=('x86_64') url='https://github.com/lc/gau' license=('MIT') +depends=('glibc') makedepends=('go') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('1d5cbf2e4a9268268d50eeed3d56608754b6fc0112faa4e26d298f83257f407b') +sha256sums=('fb363fab0d63fc3a46b4a42bcbf71bc817995b9f14523c0f4fce8ba9c0d89ffa') prepare() { export GOPATH="${srcdir}/gopath" -- cgit v1.2.3-70-g09d2 From 70c89b581dd958aa2e13b909d6558eda6381ba01 Mon Sep 17 00:00:00 2001 From: amadejpapez Date: Tue, 16 Nov 2021 22:22:42 +0100 Subject: New upstream release 2.0.6 --- .SRCINFO | 6 +++--- PKGBUILD | 12 +++++------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index d15275a..f9baf42 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = gau pkgdesc = Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl - pkgver = 1.2.0 + pkgver = 2.0.6 pkgrel = 1 url = https://github.com/lc/gau arch = x86_64 license = MIT makedepends = go depends = glibc - source = gau-1.2.0.tar.gz::https://github.com/lc/gau/archive/v1.2.0.tar.gz - sha256sums = fb363fab0d63fc3a46b4a42bcbf71bc817995b9f14523c0f4fce8ba9c0d89ffa + source = gau-2.0.6.tar.gz::https://github.com/lc/gau/archive/v2.0.6.tar.gz + sha256sums = 1728c341b147388fa8e60784c4b3895391be25f1e2e1b1cbb734329be7603693 pkgname = gau diff --git a/PKGBUILD b/PKGBUILD index f6ab890..564868b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ -# Maintainer: amadejpapez +# Maintainer: pkgname='gau' -pkgver=1.2.0 +pkgver=2.0.6 pkgrel=1 pkgdesc="Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl" arch=('x86_64') @@ -10,7 +10,7 @@ license=('MIT') depends=('glibc') makedepends=('go') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('fb363fab0d63fc3a46b4a42bcbf71bc817995b9f14523c0f4fce8ba9c0d89ffa') +sha256sums=('1728c341b147388fa8e60784c4b3895391be25f1e2e1b1cbb734329be7603693') prepare() { export GOPATH="${srcdir}/gopath" @@ -24,15 +24,13 @@ build() { export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" - cd "${pkgname}-${pkgver}" + cd "${pkgname}-${pkgver}/cmd/gau" go build -v -o "${pkgname}" . } package() { cd "${pkgname}-${pkgver}" - install -Dvm755 "${pkgname}" -t "${pkgdir}/usr/bin" + install -Dvm755 "cmd/gau/gau" -t "${pkgdir}/usr/bin" install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}" install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}" } - -# vim: ts=2 sw=2 et: -- cgit v1.2.3-70-g09d2 From 1be890c6faded6bf035298f918e1f3c25ec295c6 Mon Sep 17 00:00:00 2001 From: amadejpapez Date: Tue, 18 Jan 2022 19:52:39 +0100 Subject: Upstream release 2.0.8 --- .SRCINFO | 8 ++++---- PKGBUILD | 20 +++++++------------- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f9baf42..103f069 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = gau pkgdesc = Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl - pkgver = 2.0.6 + pkgver = 2.0.8 pkgrel = 1 url = https://github.com/lc/gau - arch = x86_64 + arch = any license = MIT makedepends = go depends = glibc - source = gau-2.0.6.tar.gz::https://github.com/lc/gau/archive/v2.0.6.tar.gz - sha256sums = 1728c341b147388fa8e60784c4b3895391be25f1e2e1b1cbb734329be7603693 + source = gau-2.0.8.tar.gz::https://github.com/lc/gau/archive/v2.0.8.tar.gz + sha256sums = 9604f0b7bf258547778a155afd2c58d32eeeb82d3bcbcbe97616ccefd1287d9a pkgname = gau diff --git a/PKGBUILD b/PKGBUILD index 564868b..c4de113 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,21 +1,16 @@ # Maintainer: -pkgname='gau' -pkgver=2.0.6 +pkgname=gau +pkgver=2.0.8 pkgrel=1 pkgdesc="Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl" -arch=('x86_64') +arch=(any) url='https://github.com/lc/gau' -license=('MIT') -depends=('glibc') -makedepends=('go') +license=(MIT) +depends=(glibc) +makedepends=(go) source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('1728c341b147388fa8e60784c4b3895391be25f1e2e1b1cbb734329be7603693') - -prepare() { - export GOPATH="${srcdir}/gopath" - go clean -modcache -} +sha256sums=('9604f0b7bf258547778a155afd2c58d32eeeb82d3bcbcbe97616ccefd1287d9a') build() { export CGO_CPPFLAGS="${CPPFLAGS}" @@ -31,6 +26,5 @@ build() { package() { cd "${pkgname}-${pkgver}" install -Dvm755 "cmd/gau/gau" -t "${pkgdir}/usr/bin" - install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}" install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}" } -- cgit v1.2.3-70-g09d2