[arch-commits] Commit in gocryptfs/repos/community-x86_64 (4 files)

Maxim Baz maximbaz at archlinux.org
Sun Mar 17 21:20:56 UTC 2019


    Date: Sunday, March 17, 2019 @ 21:20:55
  Author: maximbaz
Revision: 442406

archrelease: copy trunk to community-x86_64

Added:
  gocryptfs/repos/community-x86_64/PKGBUILD
    (from rev 442405, gocryptfs/trunk/PKGBUILD)
  gocryptfs/repos/community-x86_64/build_flags.patch
    (from rev 442405, gocryptfs/trunk/build_flags.patch)
Deleted:
  gocryptfs/repos/community-x86_64/PKGBUILD
  gocryptfs/repos/community-x86_64/build_flags.patch

-------------------+
 PKGBUILD          |   85 ++++++++++++++++++++++++++--------------------------
 build_flags.patch |   26 ++++++---------
 2 files changed, 54 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-17 21:20:50 UTC (rev 442405)
+++ PKGBUILD	2019-03-17 21:20:55 UTC (rev 442406)
@@ -1,42 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: Peter Reschenhofer <peter.reschenhofer at gmail.com>
-
-_pkgauthor=rfjakob
-pkgname=gocryptfs
-pkgver=1.6.1
-pkgrel=1
-pkgdesc='Encrypted overlay filesystem written in Go.'
-arch=('x86_64')
-url="https://github.com/${_pkgauthor}/${pkgname}"
-license=('MIT')
-depends=('gcc-libs' 'openssl' 'fuse')
-makedepends=('go-pie' 'pandoc' 'man-db')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgauthor}/${pkgname}/releases/download/v${pkgver}/${pkgname}_v${pkgver}_src-deps.tar.gz"
-        "${pkgname}-${pkgver}.tar.gz.asc::https://github.com/${_pkgauthor}/${pkgname}/releases/download/v${pkgver}/${pkgname}_v${pkgver}_src-deps.tar.gz.asc"
-        "build_flags.patch")
-sha256sums=('fcaaf59cf7b062a6e216d2fcf69f374254018a9b8f99ae3177ac985f05b6c37b'
-            'SKIP'
-            '0e57cf29854c415cc5527d4cdff670ea566d37502dd00262ca4f1a1a34e75c07')
-validpgpkeys=('FFF3E01444FED7C316A3545A895F5BC123A02740')
-
-prepare() {
-    mkdir -p "${srcdir}/gopath/src/github.com/${_pkgauthor}"
-    ln -rTsf "${srcdir}/${pkgname}_v${pkgver}_src-deps" "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
-
-    cd "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
-    patch -Np1 -i "${srcdir}/build_flags.patch"
-}
-
-build() {
-    export GOPATH="${srcdir}/gopath"
-    cd "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
-    ./build.bash
-    ./Documentation/MANPAGE-render.bash >/dev/null
-}
-
-package() {
-    cd "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
-    install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}"
-    install -Dm644 "Documentation/${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-    install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
-}

Copied: gocryptfs/repos/community-x86_64/PKGBUILD (from rev 442405, gocryptfs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-17 21:20:55 UTC (rev 442406)
@@ -0,0 +1,43 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Peter Reschenhofer <peter.reschenhofer at gmail.com>
+
+_pkgauthor=rfjakob
+pkgname=gocryptfs
+pkgver=1.7
+pkgrel=1
+pkgdesc='Encrypted overlay filesystem written in Go.'
+arch=('x86_64')
+url="https://github.com/${_pkgauthor}/${pkgname}"
+license=('MIT')
+depends=('gcc-libs' 'openssl' 'fuse')
+makedepends=('go-pie' 'pandoc' 'man-db')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgauthor}/${pkgname}/releases/download/v${pkgver}/${pkgname}_v${pkgver}_src-deps.tar.gz"
+        "${pkgname}-${pkgver}.tar.gz.asc::https://github.com/${_pkgauthor}/${pkgname}/releases/download/v${pkgver}/${pkgname}_v${pkgver}_src-deps.tar.gz.asc"
+        "build_flags.patch")
+sha256sums=('2d1a2cfd072d554a28ee6e6807474b00ac710fb1aaf7aa81f3d8e94e80f6a703'
+            'SKIP'
+            'f43c3d2cc8c7f0338dbd553d0189eda269d7ceee6a3539dd6096c18e7344e567')
+validpgpkeys=('FFF3E01444FED7C316A3545A895F5BC123A02740')
+
+prepare() {
+    mkdir -p "${srcdir}/gopath/src/github.com/${_pkgauthor}"
+    ln -rTsf "${srcdir}/${pkgname}_v${pkgver}_src-deps" "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
+
+    cd "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
+    patch -Np1 -i "${srcdir}/build_flags.patch"
+}
+
+build() {
+    export GOPATH="${srcdir}/gopath"
+    cd "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
+    ./build.bash
+    ./Documentation/MANPAGE-render.bash >/dev/null
+}
+
+package() {
+    cd "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
+    install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}"
+    install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}-xray/${pkgname}-xray"
+    install -Dm644 -t "${pkgdir}/usr/share/man/man1/" "Documentation/${pkgname}.1"
+    install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
+}

Deleted: build_flags.patch
===================================================================
--- build_flags.patch	2019-03-17 21:20:50 UTC (rev 442405)
+++ build_flags.patch	2019-03-17 21:20:55 UTC (rev 442406)
@@ -1,15 +0,0 @@
---- a/build.bash
-+++ b/build.bash
-@@ -57,8 +57,10 @@ if [[ -z ${BUILDDATE:-} ]] ; then
- 	BUILDDATE=$(date +%Y-%m-%d)
- fi
-
--LDFLAGS="-X main.GitVersion=$GITVERSION -X main.GitVersionFuse=$GITVERSIONFUSE -X main.BuildDate=$BUILDDATE"
--go build "-ldflags=$LDFLAGS" "$@"
-+GO_GCFLAGS="all=-trimpath=$PWD"
-+GO_ASMFLAGS="all=-trimpath=$PWD"
-+GO_LDFLAGS="-extldflags=$LDFLAGS -X main.GitVersion=$GITVERSION -X main.GitVersionFuse=$GITVERSIONFUSE -X main.BuildDate=$BUILDDATE"
-+go build -ldflags "$GO_LDFLAGS" -gcflags "$GO_GCFLAGS" -asmflags "$GO_ASMFLAGS" "$@"
-
- (cd gocryptfs-xray; go build "$@")
-

Copied: gocryptfs/repos/community-x86_64/build_flags.patch (from rev 442405, gocryptfs/trunk/build_flags.patch)
===================================================================
--- build_flags.patch	                        (rev 0)
+++ build_flags.patch	2019-03-17 21:20:55 UTC (rev 442406)
@@ -0,0 +1,11 @@
+--- a/build.bash
++++ b/build.bash
+@@ -90,7 +90,7 @@ fi
+ # Actual "go build" call
+ go build "-ldflags=$GO_LDFLAGS" "-gcflags=$TRIM" "-asmflags=$TRIM" "$@"
+
+-(cd gocryptfs-xray; go build "-gcflags=$TRIM" "-asmflags=$TRIM" "$@")
++(cd gocryptfs-xray; go build "-ldflags=$GO_LDFLAGS" "-gcflags=$TRIM" "-asmflags=$TRIM" "$@")
+
+ ./gocryptfs -version
+


More information about the arch-commits mailing list