[arch-commits] Commit in nebula/trunk (PKGBUILD)
Date: Monday, December 7, 2020 @ 11:54:07 Author: coderobe Revision: 771478 upgpkg: nebula 1.3.0-1 Modified: nebula/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-12-07 11:46:53 UTC (rev 771477) +++ PKGBUILD2020-12-07 11:54:07 UTC (rev 771478) @@ -1,6 +1,6 @@ # Maintainer: Robin Broda pkgname=nebula -pkgver=1.2.0 +pkgver=1.3.0 pkgrel=1 pkgdesc='A scalable overlay networking tool with a focus on performance, simplicity and security' arch=('x86_64') @@ -9,7 +9,7 @@ depends=() makedepends=('go') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('1d00594d74e147406f5809380860f538ceed5c19c3f390dd1d8e364f99b303b6') +sha256sums=('b94fba0251a4a436e25b127d0b9bc0181b991631f1dc8e344b1c8e895b55375d') build() { cd "${pkgname}-${pkgver}"
[arch-commits] Commit in nebula/trunk (PKGBUILD)
Date: Sunday, July 5, 2020 @ 14:37:55 Author: foxboron Revision: 657843 upgpkg: nebula 1.2.0-1 Updated to current go package guidelines Modified: nebula/trunk/PKGBUILD --+ PKGBUILD | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-07-05 14:35:48 UTC (rev 657842) +++ PKGBUILD2020-07-05 14:37:55 UTC (rev 657843) @@ -1,13 +1,13 @@ # Maintainer: Robin Broda pkgname=nebula pkgver=1.2.0 -pkgrel=0 +pkgrel=1 pkgdesc='A scalable overlay networking tool with a focus on performance, simplicity and security' arch=('x86_64') url='https://github.com/slackhq/nebula' license=('MIT') depends=() -makedepends=('go-pie') +makedepends=('go') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") sha256sums=('1d00594d74e147406f5809380860f538ceed5c19c3f390dd1d8e364f99b303b6') @@ -14,10 +14,15 @@ build() { cd "${pkgname}-${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" + for bin in nebula{,-cert,-service} do go build \ --trimpath \ --ldflags "-extldflags ${LDFLAGS} -X main.Build=${pkgver}" \ +-ldflags "-X main.Build=${pkgver}" \ -o "${bin}" "./cmd/${bin}" done }
[arch-commits] Commit in nebula/trunk (PKGBUILD)
Date: Thursday, April 9, 2020 @ 00:51:14 Author: coderobe Revision: 612866 upgpkg: nebula 1.2.0-0: 1.2.0 Modified: nebula/trunk/PKGBUILD --+ PKGBUILD | 30 -- 1 file changed, 12 insertions(+), 18 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-04-09 00:50:21 UTC (rev 612865) +++ PKGBUILD2020-04-09 00:51:14 UTC (rev 612866) @@ -1,7 +1,7 @@ # Maintainer: Robin Broda pkgname=nebula -pkgver=1.1.0 -pkgrel=2 +pkgver=1.2.0 +pkgrel=0 pkgdesc='A scalable overlay networking tool with a focus on performance, simplicity and security' arch=('x86_64') url='https://github.com/slackhq/nebula' @@ -9,25 +9,17 @@ depends=() makedepends=('go-pie') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('ff08ce10c202a047149397b172e2effaac7f213676e99bb01293b751e73a33fd') +sha256sums=('1d00594d74e147406f5809380860f538ceed5c19c3f390dd1d8e364f99b303b6') build() { cd "${pkgname}-${pkgver}" - go build \ + for bin in nebula{,-cert,-service} + do go build \ -trimpath \ -ldflags "-extldflags ${LDFLAGS} -X main.Build=${pkgver}" \ --o ./nebula ./cmd/nebula - - go build \ --trimpath \ --ldflags "-extldflags ${LDFLAGS} -X main.Build=${pkgver}" \ --o ./nebula-cert ./cmd/nebula-cert - - go build \ --trimpath \ --ldflags "-extldflags ${LDFLAGS} -X main.Build=${pkgver}" \ --o ./nebula-service ./cmd/nebula-service +-o "${bin}" "./cmd/${bin}" + done } check() { @@ -40,7 +32,9 @@ cd "${pkgname}-${pkgver}" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm755 nebula "${pkgdir}/usr/bin/nebula" - install -Dm755 nebula-cert "${pkgdir}/usr/bin/nebula-cert" - install -Dm755 nebula-service "${pkgdir}/usr/bin/nebula-service" + install -Dm644 dist/arch/nebula.service "${pkgdir}/usr/lib/systemd/system/nebula.service" + + for bin in nebula{,-cert,-service} + do install -Dm755 "${bin}" "${pkgdir}/usr/bin/${bin}" + done }
[arch-commits] Commit in nebula/trunk (PKGBUILD)
Date: Tuesday, March 10, 2020 @ 13:54:39 Author: felixonmars Revision: 593604 upgpkg: nebula 1.1.0-2: rebuild with go 1.14 Modified: nebula/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-03-10 13:51:35 UTC (rev 593603) +++ PKGBUILD2020-03-10 13:54:39 UTC (rev 593604) @@ -1,7 +1,7 @@ # Maintainer: Robin Broda pkgname=nebula pkgver=1.1.0 -pkgrel=1 +pkgrel=2 pkgdesc='A scalable overlay networking tool with a focus on performance, simplicity and security' arch=('x86_64') url='https://github.com/slackhq/nebula'
[arch-commits] Commit in nebula/trunk (PKGBUILD)
Date: Monday, January 27, 2020 @ 14:49:22 Author: coderobe Revision: 556077 upgpkg: nebula 1.1.0-1: 1.1.0 Modified: nebula/trunk/PKGBUILD --+ PKGBUILD | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-01-27 14:48:58 UTC (rev 556076) +++ PKGBUILD2020-01-27 14:49:22 UTC (rev 556077) @@ -1,6 +1,6 @@ # Maintainer: Robin Broda pkgname=nebula -pkgver=1.0.0 +pkgver=1.1.0 pkgrel=1 pkgdesc='A scalable overlay networking tool with a focus on performance, simplicity and security' arch=('x86_64') @@ -9,7 +9,7 @@ depends=() makedepends=('go-pie') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('e0585ef37fae1f8db18cdea20648d4087e586b20ff0961ab7eac59a6c9bdafa2') +sha256sums=('ff08ce10c202a047149397b172e2effaac7f213676e99bb01293b751e73a33fd') build() { cd "${pkgname}-${pkgver}" @@ -16,13 +16,18 @@ go build \ -trimpath \ --ldflags "-extldflags ${LDFLAGS} -X main.Build=$(date -u '+%Y%m%d%H%M%S' -d @${SOURCE_DATE_EPOCH})" \ +-ldflags "-extldflags ${LDFLAGS} -X main.Build=${pkgver}" \ -o ./nebula ./cmd/nebula go build \ -trimpath \ --ldflags "-extldflags ${LDFLAGS} -X main.Build=$(date -u '+%Y%m%d%H%M%S' -d @${SOURCE_DATE_EPOCH})" \ +-ldflags "-extldflags ${LDFLAGS} -X main.Build=${pkgver}" \ -o ./nebula-cert ./cmd/nebula-cert + + go build \ +-trimpath \ +-ldflags "-extldflags ${LDFLAGS} -X main.Build=${pkgver}" \ +-o ./nebula-service ./cmd/nebula-service } check() { @@ -37,4 +42,5 @@ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm755 nebula "${pkgdir}/usr/bin/nebula" install -Dm755 nebula-cert "${pkgdir}/usr/bin/nebula-cert" + install -Dm755 nebula-service "${pkgdir}/usr/bin/nebula-service" }