[arch-commits] Commit in gopass/repos/community-x86_64 (3 files)

Morten Linderud foxboron at archlinux.org
Sun May 3 20:30:47 UTC 2020


    Date: Sunday, May 3, 2020 @ 20:30:46
  Author: foxboron
Revision: 624638

archrelease: copy trunk to community-x86_64

Added:
  gopass/repos/community-x86_64/PKGBUILD
    (from rev 624637, gopass/trunk/PKGBUILD)
  gopass/repos/community-x86_64/clipboard.patch
    (from rev 624637, gopass/trunk/clipboard.patch)
Deleted:
  gopass/repos/community-x86_64/PKGBUILD

-----------------+
 PKGBUILD        |   68 ++++++++++++++++++++++++++++++------------------------
 clipboard.patch |   36 ++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-03 20:30:29 UTC (rev 624637)
+++ PKGBUILD	2020-05-03 20:30:46 UTC (rev 624638)
@@ -1,30 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-pkgname=gopass
-pkgver=1.9.0
-pkgrel=1
-pkgdesc="The slightly more awesome standard unix password manager for teams."
-arch=('x86_64')
-url="https://github.com/gopasspw/gopass"
-license=('MIT')
-makedepends=('go')
-optdepends=('xdotool: for typing passwords selected by dmenu'
-            'xsel: clipboard support'
-            'xclip: clipboard support')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/gopasspw/gopass/archive/v${pkgver}.tar.gz")
-sha512sums=('5f0dbc42bcdbb5acdb36806b24cc607115eb403e3ca5268818590dccf23e62f5337e570b77c5fadd42e9b508fb419b51603a6cb6bb4abe6d9fa334c9710d61ca')
-
-build(){
-  cd "${pkgname}-${pkgver}"
-  export GOPATH="${srcdir}"
-  export GOFLAGS="-buildmode=pie -trimpath"
-  export CGO_LDFLAGS="$LDFLAGS"
-  export CGO_CFLAGS="$CFLAGS"
-  make build
-  make completion
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" PREFIX="/usr" install
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: gopass/repos/community-x86_64/PKGBUILD (from rev 624637, gopass/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-03 20:30:46 UTC (rev 624638)
@@ -0,0 +1,38 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=gopass
+pkgver=1.9.0
+pkgrel=2
+pkgdesc="The slightly more awesome standard unix password manager for teams."
+arch=('x86_64')
+url="https://github.com/gopasspw/gopass"
+license=('MIT')
+makedepends=('go')
+optdepends=('xdotool: for typing passwords selected by dmenu'
+            'xsel: clipboard support'
+            'xclip: clipboard support')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/gopasspw/gopass/archive/v${pkgver}.tar.gz"
+        "clipboard.patch")
+sha512sums=('5f0dbc42bcdbb5acdb36806b24cc607115eb403e3ca5268818590dccf23e62f5337e570b77c5fadd42e9b508fb419b51603a6cb6bb4abe6d9fa334c9710d61ca'
+            '05442c85c4ffe4d579aee990cd75eee7fc93972d8adf82c423a2f2b79fab67ced132f64e941cb5f2681106879555f2f8b1db8a33181588283dd6fc741bd51e30')
+
+prepare(){
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 < "$srcdir/clipboard.patch"
+}
+
+build(){
+  cd "${pkgname}-${pkgver}"
+  export GOPATH="${srcdir}"
+  export GOFLAGS="-buildmode=pie -trimpath"
+  export CGO_LDFLAGS="$LDFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  make build
+  make completion
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" PREFIX="/usr" install
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: gopass/repos/community-x86_64/clipboard.patch (from rev 624637, gopass/trunk/clipboard.patch)
===================================================================
--- clipboard.patch	                        (rev 0)
+++ clipboard.patch	2020-05-03 20:30:46 UTC (rev 624638)
@@ -0,0 +1,36 @@
+From 05979a825ab10ca014052d55194273a43808b9f4 Mon Sep 17 00:00:00 2001
+From: Dominik Schulz <dominik.schulz at gauner.org>
+Date: Sun, 3 May 2020 21:15:32 +0200
+Subject: [PATCH] Properly specify aliases on the default show action (#1319)
+
+Fixes #1318
+
+RELEASE_NOTES=[BUGFIX] Fix -c and -C for default show action.
+
+Signed-off-by: Dominik Schulz <dominik.schulz at gauner.org>
+---
+ app.go | 10 ++++++----
+ 1 files changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/app.go b/app.go
+index 8c2d0ffc..0fdcc783 100644
+--- a/app.go
++++ b/app.go
+@@ -70,12 +70,14 @@ func setupApp(ctx context.Context, sv semver.Version) (context.Context, *cli.App
+ 			Usage: "Assume yes on all yes/no questions or use the default on all others",
+ 		},
+ 		&cli.BoolFlag{
+-			Name:  "clip, c",
+-			Usage: "Copy the first line of the secret into the clipboard",
++			Name:    "clip",
++			Aliases: []string{"c"},
++			Usage:   "Copy the first line of the secret into the clipboard",
+ 		},
+ 		&cli.BoolFlag{
+-			Name:  "alsoclip, C",
+-			Usage: "Copy the first line of the secret into the clipboard and show everything",
++			Name:    "alsoclip",
++			Aliases: []string{"C"},
++			Usage:   "Copy the first line of the secret into the clipboard and show everything",
+ 		},
+ 	}



More information about the arch-commits mailing list