Page MenuHomeSolus

D2556.id6240.diff
No OneTemporary

D2556.id6240.diff

diff --git a/Makefile b/Makefile
new file mode 100644
--- /dev/null
+++ b/Makefile
@@ -0,0 +1 @@
+include ../Makefile.common
diff --git a/files/0001-set-shell-completion-files-permission.patch b/files/0001-set-shell-completion-files-permission.patch
new file mode 100644
--- /dev/null
+++ b/files/0001-set-shell-completion-files-permission.patch
@@ -0,0 +1,17 @@
+diff --git a/Makefile b/Makefile
+index acd7a0f..7257551 100644
+--- a/Makefile
++++ b/Makefile
+@@ -126,9 +126,9 @@ $(ZSH_COMPLETION_OUTPUT): build
+
+ install-completion: completion
+ @install -d $(DESTDIR)$(PREFIX)/share/zsh/site-functions $(DESTDIR)$(PREFIX)/share/bash-completion/completions $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d
+- @install -m 0755 $(ZSH_COMPLETION_OUTPUT) $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_gopass
+- @install -m 0755 $(BASH_COMPLETION_OUTPUT) $(DESTDIR)$(PREFIX)/share/bash-completion/completions/gopass
+- @install -m 0755 $(FISH_COMPLETION_OUTPUT) $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d/gopass.fish
++ @install -m 0644 $(ZSH_COMPLETION_OUTPUT) $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_gopass
++ @install -m 0644 $(BASH_COMPLETION_OUTPUT) $(DESTDIR)$(PREFIX)/share/bash-completion/completions/gopass
++ @install -m 0644 $(FISH_COMPLETION_OUTPUT) $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d/gopass.fish
+ @$(call ok)
+
+ codequality:
diff --git a/package.yml b/package.yml
new file mode 100644
--- /dev/null
+++ b/package.yml
@@ -0,0 +1,27 @@
+name : gopass
+version : 1.6.11
+release : 1
+source :
+ - https://github.com/justwatchcom/gopass/releases/download/v1.6.11/gopass-1.6.11.tar.gz : de5b27f81649548292dc83da98e8e46b9b92d8b0bb012797dee44b3207090c67
+license : MIT
+component : security
+summary : The slightly more awesome standard unix password manager for teams
+description: |
+ gopass is a rewrite of the pass password manager in Go with the aim of making it cross-platform and adding additional features.
+builddeps :
+ - gnupg # The generated shell completion files have a line of warning if gnupg is not present
+ - golang
+rundeps :
+ - git
+ - xdotool
+ - xsel
+setup : |
+ %patch -p1 < $pkgfiles/0001-set-shell-completion-files-permission.patch
+build : |
+ mv vendor src
+ mkdir -p src/github.com/justwatchcom
+ ln -s $workdir src/github.com/justwatchcom/gopass
+ GOPATH=$workdir %make build
+ GOPATH=$workdir %make completion
+install : |
+ GOPATH=$workdir PREFIX=/usr %make_install
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
new file mode 100644
--- /dev/null
+++ b/pspec_x86_64.xml
@@ -0,0 +1,37 @@
+<PISI>
+ <Source>
+ <Name>gopass</Name>
+ <Packager>
+ <Name>Longwu Ou</Name>
+ <Email>oulongwu@mit.edu</Email>
+ </Packager>
+ <License>MIT</License>
+ <PartOf>security</PartOf>
+ <Summary xml:lang="en">The slightly more awesome standard unix password manager for teams</Summary>
+ <Description xml:lang="en">gopass is a rewrite of the pass password manager in Go with the aim of making it cross-platform and adding additional features.
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>gopass</Name>
+ <Summary xml:lang="en">The slightly more awesome standard unix password manager for teams</Summary>
+ <Description xml:lang="en">gopass is a rewrite of the pass password manager in Go with the aim of making it cross-platform and adding additional features.
+</Description>
+ <PartOf>security</PartOf>
+ <Files>
+ <Path fileType="executable">/usr/bin</Path>
+ <Path fileType="data">/usr/share/bash-completion/completions/gopass</Path>
+ <Path fileType="data">/usr/share/fish/vendor_completions.d/gopass.fish</Path>
+ <Path fileType="data">/usr/share/zsh/site-functions/_gopass</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2018-03-17</Date>
+ <Version>1.6.11</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Longwu Ou</Name>
+ <Email>oulongwu@mit.edu</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 10, 5:43 PM (1 d, 2 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5794971
Default Alt Text
D2556.id6240.diff (4 KB)

Event Timeline